OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Layout
Cyril Rohrb070bc6b63b6
diff --git a/help/installation-and-operations/configuration/README.md b/help/installation-and-operations/configuration/README.mdnew file mode 100644index 00000000000..581ad8369c2--- /dev/null+++ b/help/installation-and-operations/configuration/README.md@@ -0,0 +1,9 @@+---+sidebar_navigation:+ title: Advanced configuration+ priority: 100+---++# Advanced configuration++TODOdiff --git a/help/installation-and-operations/docker/README.md b/help/installation-and-operations/docker/README.mdindex 5714c4003a1..488f9603230 100644--- a/help/installation-and-operations/docker/README.md+++ b/help/installation-and-operations/docker/README.md@@ -1,10 +1,9 @@---sidebar_navigation:title: Docker installation- priority: 200+ priority: 300---# Docker installationTODO-diff --git a/help/installation-and-operations/misc/README.md b/help/installation-and-operations/misc/README.mdnew file mode 100644index 00000000000..f2d1eaa196a--- /dev/null+++ b/help/installation-and-operations/misc/README.md@@ -0,0 +1,9 @@+---+sidebar_navigation:+ title: Other+ priority: 0+---++# Guides for infrequent operations++TODOdiff --git a/help/installation-and-operations/operation/README.md b/help/installation-and-operations/operation/README.mdnew file mode 100644index 00000000000..57f3fe3c909--- /dev/null+++ b/help/installation-and-operations/operation/README.md@@ -0,0 +1,9 @@+---+sidebar_navigation:+ title: Operation+ priority: 200+---++# Operating OpenProject++TODOdiff --git a/help/installation-and-operations/operation/backing-up.md b/help/installation-and-operations/operation/backing-up.mdnew file mode 100644index 00000000000..e204f34bb6c--- /dev/null+++ b/help/installation-and-operations/operation/backing-up.md@@ -0,0 +1,48 @@+---+sidebar_navigation:+ title: Backing up+ priority: 600+---++# Backing up your OpenProject installation++We advise to backup your OpenProject installation regularly — especially before upgrading to a newer version.++## What should be backed up++In general the following parts of your OpenProject installation should be backed up:++- Data stored in the database+- Configuration files+- Uploaded files (attachments)+- Repositories (typically subversion) if applicable++## Packaged installation (DEB/RPM)++The DEB/RPM packages provide a backup tool which can be used to take a snaphsot+of the current OpenProject installation. This tool will create a backup of+all parts mentioned above. The backup tool is used by executing the following+command:++```+sudo openproject run backup+```++The command will create backup files in the following location on your system:++```+/var/db/openproject/backup+```++The content of that directory should look very similar to the following (depending on your database engine, you will see either a `mysql-dump-<date>.sql.gz` or a `postgresql-dump-<pgdump>` file).++```+root@test-packager-backup:/opt/openproject# ls -l /var/db/openproject/backup/+total 24+-rw-r----- 1 openproject openproject 117 Apr 8 09:55 attachments-20150408095521.tar.gz+-rw-r----- 1 openproject openproject 667 Apr 8 09:55 conf-20150408095521.tar.gz+-rw-r----- 1 openproject openproject 8298 Apr 8 09:55 postgres-dump-20150408095521.sql.gz+-rw-r----- 1 openproject openproject 116 Apr 8 09:55 svn-repositories-20150408095521.tar.gz+```++You should then copy those dump files to a secure location, for instance an S3 bucket or some sort of backup server.diff --git a/help/installation-and-operations/operation/reconfiguring.md b/help/installation-and-operations/operation/reconfiguring.mdnew file mode 100644index 00000000000..c34b90b7be0--- /dev/null+++ b/help/installation-and-operations/operation/reconfiguring.md@@ -0,0 +1,25 @@+---+sidebar_navigation:+ title: (Re)configuring+ priority: 800+---++# (Re)configuring OpenProject++## Packaged installation++For packaged installations, you can restart the cofniguration process by issuing the following command on the server where OpenProject runs:++```+sudo openproject reconfigure+```++This will restart the installation wizard, and allow you to modify any of the choices that you previously selected. If a configuration options doesn't need to be modified, just hit `ENTER` to proceed to the next screen.++## Docker installation++For docker-based installations, you should update the environment file passed to the `--env-file` docker option, and issue the following command:++```+docker restart openproject+```diff --git a/help/installation-and-operations/operation/restoring.md b/help/installation-and-operations/operation/restoring.mdnew file mode 100644index 00000000000..c85ca44ca54--- /dev/null+++ b/help/installation-and-operations/operation/restoring.md@@ -0,0 +1,75 @@+---+sidebar_navigation:+ title: Restoring+ priority: 500+---++# Restoring an OpenProject backup++## Packaged installation (DEB/RPM)++Assuming you have a backup of all the OpenProject files at hand (see the [Backing up](../backing-up) guide), here is how you would restore your OpenProject installation from that backup.++As a reference, we will assume you have the following dumps on your server, located in `/var/db/openproject/backup`:++```+-rw-r----- 1 openproject openproject 117 Apr 8 09:55 attachments-20150408095521.tar.gz+-rw-r----- 1 openproject openproject 667 Apr 8 09:55 conf-20150408095521.tar.gz+-rw-r----- 1 openproject openproject 8298 Apr 8 09:55 postgres-dump-20150408095521.sql.gz+-rw-r----- 1 openproject openproject 116 Apr 8 09:55 svn-repositories-20150408095521.tar.gz+```++### Stop the processes++First, it is a good idea to stop the OpenProject instance:++```+sudo service openproject stop+```++### Restoring assets++Untar the attachments to their destination:++```+tar xzf /var/db/openproject/backup/attachments-20150408095521.tar.gz -C /var/db/openproject/files/+```++Untar the configuration to its destination:++```+tar xzf /var/db/openproject/backup/conf-20150408095521.tar.gz -C /etc/openproject/+```++Untar the repositories to their destination:++```+tar xzf /var/db/openproject/backup/svn-repositories-20150408095521.tar.gz -C /var/db/openproject/repositories+```++### Restoring the database++Note: in this section, the `<dbusername>`, `<dbhost>` and `<dbname>` variables that appear below have to be replaced with+the values that are contained in the `DATABASE_URL` setting of your+installation. This setting can be seen by running:++First, get the necessary details about your database:++```+openproject config:get DATABASE_URL+#=> e.g.: postgres://dbusername:dppassword@dbhost:dbport/dbname+```++Then, to restore the PostgreSQL dump please use the `psql` command utilities:++```+zcat /var/db/openproject/backup/postgres-dump-20150408095521.sql.gz | psql -h <dbhost> -u <dbusername> -W <dbname>+```++### Restart the OpenProject processes++Finally, restart all your processes as follows:++```+sudo service openproject restart+```diff --git a/help/installation-and-operations/packaged/README.md b/help/installation-and-operations/packaged/README.mdindex 46e46e8fb24..efc218353ab 100644--- a/help/installation-and-operations/packaged/README.md+++ b/help/installation-and-operations/packaged/README.md@@ -1,7 +1,7 @@---sidebar_navigation:- title: Packaged installation- priority: 300+ title: Packages+ priority: 400---# Packaged installation (DEB/RPM)diff --git a/help/installation-and-operations/packaged/backup.md b/help/installation-and-operations/packaged/backup.mddeleted file mode 100644index 29a506e3d5d..00000000000--- a/help/installation-and-operations/packaged/backup.md+++ /dev/null@@ -1,110 +0,0 @@-----sidebar_navigation:- title: Backup Guide- priority: 50------# Packaged installation backup guide--<div class="alert alert-info" role="alert">--Note: this guide only applies if you've installed OpenProject using our DEB/RPM-packages. [Please see the index](../) for guides on other installation methods.--</div>--We advise to backup your OpenProject installation regularly — especially before upgrading to a newer version.--## What should be backed up--In general the following parts of your OpenProject installation should be backed up:--- Data stored in the database-- Configuration files-- Uploaded files (attachments)-- Repositories (typically subversion) if applicable--## How to backup--The DEB/RPM packages provide a backup tool which can be used to take a snaphsot-of the current OpenProject installation. This tool will create a backup of-all parts mentioned above. The backup tool is used by executing the following-command:--```-sudo openproject run backup-```--The command will create backup files in the following location on your system--```-/var/db/openproject/backup-```--The content of that directory should look very similar to the following (depending on your used database, you will see either a `mysql-dump-<date>.sql.gz` or a `postgresql-dump-<pgdump>` file).--```bash-root@test-packager-backup:/opt/openproject# ls -l /var/db/openproject/backup/-total 24--rw-r----- 1 openproject openproject 117 Apr 8 09:55 attachments-20150408095521.tar.gz--rw-r----- 1 openproject openproject 667 Apr 8 09:55 conf-20150408095521.tar.gz--rw-r----- 1 openproject openproject 8298 Apr 8 09:55 mysql-dump-20150408095521.sql.gz--rw-r----- 1 openproject openproject 116 Apr 8 09:55 svn-repositories-20150408095521.tar.gz-```----## How to restore--The backup created with the tool consists of four parts-which are all compressed using `gzip`. Except the database dump these parts-can be restored by decompressing the `*.tar.gz` files and copy the content to the-proper location. The command to untar and unzip the `*.tar.gz` files looks like-this (using sample file names from above):--```bash-tar vxfz attachments-20150408095521.tar.gz-```----### Database--The `<dbuser>`, `<dbhost>` and `<dbname>` variables have to be replaced with-the values that are container in the `DATABASE_URL` setting of your-installation. This setting can be seen by running:--```-openproject config:get DATABASE_URL-#=> e.g.: mysql2://dbusername:dbpassword@dbhost:dbport/dbname-```----#### PostgreSQL--To restore the PostgreSQL dump please use the `pg_restore` command utilities.----```bash-pg_restore -h <dbhost> -u <dbuser> -W <dbname>-```----First the dump has to be extracted (unzipped) and then restored. The command-used should look very similar to this:--#### MySQL----To restore the MySQL dump it is recommended to use the `mysql` command line client.--First the dump has to be extracted (unzipped) and then restored. The command-used should look very similar to this:--```bash-zcat mysql-dump-20150408095521.sql.gz | mysql -u <dbuser> -h <dbhost> -p <dbname>-```diff --git a/help/installation-and-operations/packaged/configuration.md b/help/installation-and-operations/packaged/configuration.mdindex 588d75c37d5..a55adb9699a 100644--- a/help/installation-and-operations/packaged/configuration.md+++ b/help/installation-and-operations/packaged/configuration.md@@ -1,6 +1,12 @@+---+sidebar_navigation:+ title: Initial configuration+ priority: 100+---+# Initial configuration of your packaged installation-After you have successfully installed the OpenProject package ([see the installation guide](./installation)), you can now perform the initial configuration of OpenProject, using the wizard that ships with the OpenProject package.+After you have successfully installed the OpenProject package ([see the installation guide](../installation)), you can now perform the initial configuration of OpenProject, using the wizard that ships with the OpenProject package.## Prerequisites@@ -10,9 +16,9 @@ After you have successfully installed the OpenProject package ([see the installa## Step 0: start the wizard-To start the configuration wizard, please run the following command with `sudo`, or as root.+To start the configuration wizard, please run the following command with `sudo`, or as root:-```bash+```sudo openproject configure```@@ -32,21 +38,21 @@ The first dialog in the wizard allows you to choose an option for the PostgreSQLThe dialog allows you to choose from three options:-1. Install a new PostgreSQL server and database locally (default)+### Install a new PostgreSQL server and database locally (default)- Choose this option if you want OpenProject to set up and configure a local database server manually. This is the best choice if you are unfamiliar with adminstering databases, or do not have a separate PostgreSQL database server installed that you want to connect to.+Choose this option if you want OpenProject to set up and configure a local database server manually. This is the best choice if you are unfamiliar with adminstering databases, or do not have a separate PostgreSQL database server installed that you want to connect to.-2. Use an existing PostgreSQL database+### Use an existing PostgreSQL database- Choose this option if you have a PostgreSQL database server installed either on the same host as the OpenProject package is being installed on, or on another server you can connect to from this machine.+Choose this option if you have a PostgreSQL database server installed either on the same host as the OpenProject package is being installed on, or on another server you can connect to from this machine.- The wizard will show you multiple additional steps in this case to enter the hostname, username & password as well as the database name for the PostgreSQL database.+The wizard will show you multiple additional steps in this case to enter the hostname, username & password as well as the database name for the PostgreSQL database.-3. Skip (not recommended)+### Skip (not recommended)- The wizard will not try to connect to any database. You will have to specify a database manually thorugh the `DATABASE_URL` environment variable. If you choose skip and did not set a `DATABASE_URL`, the configuration process will fail.+The wizard will not try to connect to any database. You will have to specify a database manually thorugh the `DATABASE_URL` environment variable. If you choose skip and did not set a `DATABASE_URL`, the configuration process will fail.- You can set this `DATABASE_URL` parameter yourself to a PostgreSQL database URL.+You can set this `DATABASE_URL` parameter yourself to a PostgreSQL database URL.```sudo openproject config:set DATABASE_URL="postgresql://[user[:password]@][host][:port][/dbname][?param1=value1&...]@@ -62,17 +68,17 @@ This wizard step allows you to auto-install an Apache2 web server to function asThe available options are:-1. **Install Apache2 web server** (default)+### **Install Apache2 web server** (default)- We recommend that you let OpenProject install and configure the outer web server, in which case we will install an Apache2 web server with a VirtualHost listening to the domain name you specify, optionally providing SSL/TLS termination.+We recommend that you let OpenProject install and configure the outer web server, in which case we will install an Apache2 web server with a VirtualHost listening to the domain name you specify, optionally providing SSL/TLS termination.-2. **Skip** (not recommended)+### **Skip** (not recommended)- The installer will not set up an external web server for accessing. You will need to either install and set up a web server such as Apache2 or Nginx to function as the web server forwarding to our internal server listeing at `localhost:6000` by proxying.+The installer will not set up an external web server for accessing. You will need to either install and set up a web server such as Apache2 or Nginx to function as the web server forwarding to our internal server listeing at `localhost:6000` by proxying.- Only choose this option if you have a local Apache2 installed that the OpenProject package may not control, or need to use a different web server such as Nginx. Please note that not all functionality (especially regarding Repositories) are supported on Nginx.+Only choose this option if you have a local Apache2 installed that the OpenProject package may not control, or need to use a different web server such as Nginx. Please note that not all functionality (especially regarding Repositories) are supported on Nginx.- When installing with an existing Apache2, you can use our [installation wizard templates](https://github.com/pkgr/addon-apache2/tree/master/conf) for guidance on how to set up the integration. [For a minimal nginx config, please see this gist](https://gist.github.com/seLain/375d16ccd4542e3727e97a7478187d3a) as as starting point.+When installing with an existing Apache2, you can use our [installation wizard templates](https://github.com/pkgr/addon-apache2/tree/master/conf) for guidance on how to set up the integration. [For a minimal nginx config, please see this gist](https://gist.github.com/seLain/375d16ccd4542e3727e97a7478187d3a) as as starting point.In case you select to auto-install Apache2, multiple dialogs will request the parameters for setting it up.@@ -116,19 +122,19 @@ OpenProject requires a setup for sending outgoing emails for notifications, suchThe wizard supports the following options:-1. **Sendmail** (default)+### **Sendmail** (default)- Uses a local sendmail installation or sets up a local-only postfix MTA in case you do not have sendmail.+Uses a local sendmail installation or sets up a local-only postfix MTA in case you do not have sendmail.- Easiest setup as it does not require an SMTP configuration, but your Mails may not be delivered consistently depending on your mail accounts or firewall setup.+Easiest setup as it does not require an SMTP configuration, but your Mails may not be delivered consistently depending on your mail accounts or firewall setup.-2. **SMTP** (recommended for production systems)+### **SMTP** (recommended for production systems)- Allows you to connect to a SMTP host through authentication types `NONE`, `PLAIN,` `LOGIN`, or `CRAM-MD5`. Use this if you have a dedicated mail account to use for delivering OpenProject mail, or when sendmail does not work due to your local firewall / mail relay setup.+Allows you to connect to a SMTP host through authentication types `NONE`, `PLAIN,` `LOGIN`, or `CRAM-MD5`. Use this if you have a dedicated mail account to use for delivering OpenProject mail, or when sendmail does not work due to your local firewall / mail relay setup.-3. **Skip** (not recommended)+### **Skip** (not recommended)- Does not set up mail configuration. You can configure the mail setup in OpenProject by visiting `openproject.example.com/settings?tab=notifications` in your installation. For more information, [visit our help page on this topic](https://www.openproject.org/help/system-settings/email-notification-settings/).+Does not set up mail configuration. You can configure the mail setup in OpenProject by visiting `openproject.example.com/settings?tab=notifications` in your installation. For more information, [visit our help page on this topic](https://www.openproject.org/help/system-settings/email-notification-settings/).## Step 5: Administrator email@@ -136,12 +142,14 @@ The wizard will ask you for an administrative email address so that it can creat-### Step 6: Memcached server+## Step 6: Memcached server- OpenProject heavily relies on caching, which is why the wizard suggests you to install a local memcached server the OpenProject instances can connect to. You should always set this to `install` unless you have a reason to configure another caching mechanism - for example when configuring multiple shared instances of OpenProject.+OpenProject heavily relies on caching, which is why the wizard suggests you to install a local memcached server the OpenProject instances can connect to. You should always set this to `install` unless you have a reason to configure another caching mechanism - for example when configuring multiple shared instances of OpenProject.+## Result+With this last step confirmed, the OpenProject wizard will complete, and apply all the configuration options that you have just selected. This might take a few minutes depending on your machine and internet connection, as OpenProject might need to install additional packages (such as the web server, database) depending on your selections.In case this process crashes or exits with an obvious error, please keep the output and send your configuration from`/etc/openproject/installer.dat` (removing any passwords from it) to us at [email protected] , or [reach out to the community forums](https://community.openproject.com/projects/openproject/forums).@@ -150,6 +158,9 @@ When this process completes, it will have started the internal application and wYou should be able to reach the OpenProject instance by visiting your installation at `http://<openproject.example.com>/<server prefix>`.-You can then log in using the default user/password combination **admin/admin**. You will be asked to change this password immediately after the first login.+You can then log in using the default user/password combination:+* username = `admin`+* password = `admin`+You will be asked to change this password immediately after the first login.diff --git a/help/installation-and-operations/packaged/installation.md b/help/installation-and-operations/packaged/installation.mdindex 16d5577be76..91a214a43b0 100644--- a/help/installation-and-operations/packaged/installation.md+++ b/help/installation-and-operations/packaged/installation.md@@ -1,10 +1,10 @@----sidebar_navigation: false- title: Installation Guide+sidebar_navigation:+ title: Installationpriority: 200----# Packaged Installation Guide+# Installation of OpenProject with DEB/RPM packagesThe packaged installation of OpenProject is the recommended way to install and maintain OpenProject using DEB or RPM packages.@@ -52,20 +52,20 @@ The first step of the installation is to add the OpenProject package source to tImport the PGP key used to sign our packages:-```bash+```wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add -```Add the OpenProject package source:-```bash+```sudo wget -O /etc/apt/sources.list.d/openproject.list \https://dl.packager.io/srv/opf/openproject/stable/10/installer/ubuntu/18.04.repo```Download the OpenProject package:-```bash+```sudo apt-get updatesudo apt-get install openproject```@@ -76,20 +76,20 @@ Then finish the installation by reading the [*Initial configuration*][initial-coImport the PGP key used to sign our packages:-```bash+```wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add -```Add the OpenProject package source:-```bash+```sudo wget -O /etc/apt/sources.list.d/openproject.list \https://dl.packager.io/srv/opf/openproject/stable/10/installer/ubuntu/16.04.repo```Download the OpenProject package:-```bash+```sudo apt-get updatesudo apt-get install openproject```@@ -100,20 +100,20 @@ Then finish the installation by reading the [*Initial configuration*][initial-coImport the PGP key used to sign our packages:-```bash+```wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add -```Add the OpenProject package source:-```bash+```sudo wget -O /etc/apt/sources.list.d/openproject.list \https://dl.packager.io/srv/opf/openproject/stable/10/installer/debian/10.repo```Download the OpenProject package:-```bash+```sudo apt-get updatesudo apt-get install openproject```@@ -124,20 +124,20 @@ Then finish the installation by reading the [*Initial configuration*][initial-coImport the PGP key used to sign our packages:-```bash+```wget -qO- https://dl.packager.io/srv/opf/openproject/key | sudo apt-key add -```Add the OpenProject package source:-```bash+```sudo wget -O /etc/apt/sources.list.d/openproject.list \https://dl.packager.io/srv/opf/openproject/stable/10/installer/debian/9.repo```Download the OpenProject package:-```bash+```sudo apt-get updatesudo apt-get install openproject```@@ -155,7 +155,7 @@ sudo wget -O /etc/yum.repos.d/openproject.repo \Download the OpenProject package:-```bash+```sudo yum install openproject```@@ -172,12 +172,12 @@ wget -O /etc/zypp/repos.d/openproject.repo \Download the OpenProject package:-```bash+```sudo zypper install openproject```Then finish the installation by reading the [*Initial configuration*][initial-config] section.-[initial-config]: ./configuration+[initial-config]: ../configurationdiff --git a/help/installation-and-operations/system-requirements.md b/help/installation-and-operations/system-requirements.mdindex 5b3518f9de4..d2ad6a1fd86 100644--- a/help/installation-and-operations/system-requirements.md+++ b/help/installation-and-operations/system-requirements.md@@ -1,3 +1,9 @@+---+sidebar_navigation:+ title: System requirements+ priority: 1000+---+# System requirements__Note__: The configurations described below are what we use and test against.