Content
You are here:
Openproject 11 and Debian 10: Upgrade both to latest using a backup?
Added by Steffen K almost 3 years ago
I have a virtual machine running Debian 10 and Openproject 11 as a a package installation. It's a very small server with less than 10 users. Now I want to upgrade the OS to Debian 11 (that also includes Postgresql 13 by default) and Openproject to version 12.
So I'm thinking about doing an upgrade like this:
- Do a backup using Openproject using the included backup tool.
- Create a fresh virtual machine and do a clean install Debian 11.
- Install Openproject 12 as stated in the manual.
- Transfer the backup files from the old server to the new server using rsync or SFTP.
- Do a restore of this data on the new virtual machine.
- Trash the old virtual machine.
I'm I missing something? Or will this work flawlessly?
Replies (4)
Is your original db in postgresql 13?
Because in the manual there is a step to migrate db itself from 10 to 13.
Migrating your OpenProject installation to PostgreSQL 13
No. The current server is running postgresql 10 installed from from postgresql's own repositry.
Do versions matter in case of postgresql when you do a dump of the database in e.g. version 10 and restore the dump on another server that is running version 13 for example?
Steffen, no idea, but logically, if there is requirement to upgrade db separately, I would say you should have done this.
Not sure though.
Just did it on the same VM. My Postgresql was installed from Postgresql's own repositries.
And after the reboot everything was working fine. Although I just ran openproject configure once more just to check if this shows any problems.