# Process control for your OpenProject installation
Note: this guide is specific to the package-based installation.
## Restart all the OpenProject processes
## Packaged installation
#### Restart all the OpenProject processes
```bash
sudo openproject restart
```
## Run commands like rake tasks or rails console
#### Run commands like rake tasks or rails console
The OpenProject command line tool supports running rake tasks and known scripts. For instance:
@ -42,7 +48,9 @@ Check the version of Ruby used by OpenProject:
sudo openproject run ruby -v
```
## Scaling the number of web workers
#### Scaling the number of web workers
Note: Depending on your free RAM on your system, we recommend you raise the default number of web processes. The default from 9.0.3 onwards is 4 web processes. Each worker will take roughly 300-400MB RAM.
@ -65,3 +73,46 @@ After changing these values, simply restart the web process:
```bash
sudo openproject restart web
```
## Docker-based installation
#### Run commands like rake tasks or rails console
You can spawn an interactive shell in your docker container to run commands in the OpenProject environment.
First, find out the container ID of your web process with:
```bash
# Ensure the containers are running with the following output
@ -98,6 +98,9 @@ Q: After clicking on a provider badge, I am redirected to a signup form that say
A: This can happen if you previously created user accounts in OpenProject with the same email than what is stored in the OpenID provider. In this case, if you want to allow existing users to be automatically remapped to the OpenID provider, you should do the following:
Spawn an interactive console in OpenProject. The following example shows the command for the packaged installation.
See [our process control guide](https://docs.openproject.org/installation-and-operations/operation/control/) for information on other installation types.
@ -193,6 +193,9 @@ Q: After clicking on a provider badge, I am redirected to a signup form that say
A: This can happen if you previously created user accounts in OpenProject with the same email than what is stored in the identity provider. In this case, if you want to allow existing users to be automatically remapped to the SAML identity provider, you should do the following:
Spawn an interactive console in OpenProject. The following example shows the command for the packaged installation.
See [our process control guide](https://docs.openproject.org/installation-and-operations/operation/control/) for information on other installation types.