I'm trying to update my OpenProject from v7.0 to v8.0 using the new Docker image.Everything went well till I try to import the database. The new version uses Postgresql v9.6 which is incompatible with the former Postgresql v9.4. There is a good guide on the OpenProject website on how to migrate to Postgresql v9.6: https://www.openproject.org/operations/upgrading/openproject-postgresql-migration-guide-9-6/ . But it covers only the linux installation.
How is it possible to migrate the OpenProject database from Postgresql v9.4 to v9.6 within docker ?
Finally a solution is found. Here are the general steps for the migration:
Create the database backup of the current installation:
Restore the database into a the new installation:
OpenProject system will automatically recognize the old database structure and will migrate the tables to match the new version.
I hope this will help someone