Added by Raphael Leutenegger 5 months ago
Hello OpenProject Community
I tried to update Ubuntu version from 22.04 to 24.04. But I got a postgresql error and the update stopped. Does anyone know how to solve this problem? Picture is in the attachment. Is the OpenProject already released for the new Ubuntu version?
Many Thanks, Regards Raphael
Replies (12)
Looks like there is no package available for 24.04 yet (see here)...
The installation instructions are not up-to-date. The repository for 24.04 exists see here https://dl.packager.io/srv/opf/openproject/stable/15/installer/ubuntu/24.04.repo
Clemens Sonnleitner wrote:
I don't know if you already resolved the problem but probably this could be useful for other people: I had the same issue and I removed the postgresql package and then everything worked fine
Raphael Leutenegger wrote:
No, I don't solve it, so fare, still stay at the Ubuntu version 22.04. How did you remove the postgesql package? And did you have to reinstall anything or reinstall openproject after the Ubuntu update?
I just ran this in the terminal
sudo apt-get remove postgresql-12
Bug: Update (Install) 15.x (15.1) on Ubuntu 24.04 LTS
https://community.openproject.org/projects/openproject/work_packages/60120/activity
:(
Maybe it is possible to download separately the DEB package by version 22.04 and manually install it to update 15.x in Ubuntu 24.04?
Can anyone tell me how to do this, if it is possible?
I'm answering my own question.
Yes, it's possible.
Open: https://packager.io/gh/opf/openproject/builds/13111/logs/ubuntu-22.04
Download deb package: openproject_15.2.0-1737526965.711a70ee.jammy_amd64.deb
Install package: sudo dpkg -i openproject_15.2.0-1737526965.711a70ee.jammy_amd64.deb
Enjoy using Ubuntu 24.04
Thanks for the information. In the end I toked my backup with the ubundu 22.04 and wait until they make the official 24.04 release.
I already updated the system to 24.04, so there were two options, without the ability to roll back to 22.04:
I opened a ticket with support and this is the answer I received:
"
Hello Andrea,
thank you for reaching out. I am afraid the latest package repository we offer is for Ubuntu 22.04. currently.
At the moment, the best way to use OpenProject on 24.04 would be via Docker (compose is recommended). Please find more information on the Docker setup here -> [1].
Kind regards,
xxxxxxxxxxx
[1] https://www.openproject.org/docs/installation-and-operations/installation/docker-compose/#openproject-installation-with-docker-compose
"
In a second answer, I was pointed to a migration guide:
"
It actually happens quite often that someone switches the installation method and we of course will be glad to support you in case you have any questions on this. Most often, Docker compose or the all-in-one container are used to deploy OpenProject (We recommend compose). In both cases, you would need to perform a backup of your current installation [1] and restore this backup in your container. The corresponding guide on this can be found here:
https://www.openproject.org/docs/installation-and-operations/operation/restoring/#docker-based-installation
As mentioned, in case you have any questions on such a restore, do not hesitate to contact us. We are happy to help you with this.
Kind regards,
xxxxx
[1] https://www.openproject.org/docs/installation-and-operations/operation/backing-up/#backing-up-your-openproject-installation
"
Yes, I thought about reinstalling on Ubuntu 22.04, with the creation of a backup of OpenProject and its restoration.
But this should have taken a lot of time with an unpredictable result.
But updating the package manually turned out to be the easiest solution.
PS: You do everything at your own risk, the actions described are exclusively my experience!