Then finish the installation by reading the [*Initial configuration*][initial-config] section.
Then finish the installation by reading the [*Initial configuration*][initial-config] section.
**Note:** For SLES12, we do not provide required dependencies for full-text extraction of attachments. If you need this feature, please install the required dependencies (`catdoc unrtf poppler-utils tesseract-ocr`) manually. For more information, [please see the plaintext gem](https://github.com/planio-gmbh/plaintext). Once installed, check `Administration > Information` to see if OpenProject is able to pick up these dependencies.
- **Repositories**: svn- and git-\<timestamp>.tar.gz
- **Repositories**: svn- and git-\<timestamp>.tar.gz
@ -19,6 +19,10 @@ This guide should leave you with a set of archives that you should manually move
The following steps outline the migration process to the OpenProject package (possibly, a newer version).
The following steps outline the migration process to the OpenProject package (possibly, a newer version).
## Stop OpenProject on old server
To stop the servers from being accessed on the old installation, stop the service with `service openproject stop` or `systemctl stop openproject` depending on your distribution.
## Install new package
## Install new package
Follow the first step (**Installation**) of our packaged installation guides at https://www.openproject.org/download-and-installation/.
Follow the first step (**Installation**) of our packaged installation guides at https://www.openproject.org/download-and-installation/.
@ -42,7 +46,7 @@ You can simply look through the installer.dat and change those values you need.
Additional environment, either generated from the wizard or entered by you through `openproject config:set` is written to `/etc/openproject/conf.d/{server,database,other}`. Also look through those and check which contain relevant values for your new installation.
Additional environment, either generated from the wizard or entered by you through `openproject config:set` is written to `/etc/openproject/conf.d/{server,database,other}`. Also look through those and check which contain relevant values for your new installation.
### Database
### PostgreSQL database
On your new host or cluster, ensure you have created a database user and database, ideally using the same names as the old environment (You may want to choose a different random password, however).
On your new host or cluster, ensure you have created a database user and database, ideally using the same names as the old environment (You may want to choose a different random password, however).
@ -51,12 +55,10 @@ To read the values from the old installation, you can execute the following comm
First the dump has to be extracted (unzipped) and then restored. The command used should look very similar to this:
First the dump has to be extracted (unzipped) and then restored. The command used should look very similar to the following. The `--clean` option is used to drop any database object within `<dbname>` so ensure this is the correct database you want to restore, as you will lose all data within it!
Then, to restore the PostgreSQL dump please use the `pg_restore` command utility:
Then, to restore the PostgreSQL dump please use the `pg_restore` command utility. **WARNING:** The command `--clean --if-exists` is used and it will drop objects in the database and you will lose all changes in this database! Double-check that the database URL above is the database you want to restore to.
```bash
This is necessary since the backups of OpenProject does not clean statements to remove existing options and will lead to duplicate index errors when trying to restore to an existing database. The alternative is to drop/recreate the database manually, if you have the permissions to do so.