Added by Johan Bouduin over 5 years ago
I'm trying to migrate from MySQL to PostgresSQL in order to upgrade OpenProject to v.10.
OpenProject v.8.3.2 is running on Ubuntu 18.04.
I follow all the steps explained here:
https://www.openproject.org/operations/migration-guides/migrating-packaged-openproject-database-postgresql/
Everything's fine until I try to run the migration tool, where it says that './docker/mysql-to-postgres/bin/migrate-mysql-to-postgres' is not found.
Should I first update to V9.x to get that file?
any help appreciated
Johan
Replies (3)
Well, I'm not an expert, but I think you should upgrade to v.9 before migrating to PostgresSQL, as explained in this page:
https://www.openproject.org/deprecating-mysql-support/
BTW, I'm having a different error while running the migration tool:
https://community.openproject.com/topics/11271
Hope you can migrate your DB without errors.
Best.
Hi Johan,
yes the migration script was added in 9.0.. You can safely upgrade your package to 10.0 before running the migration script. Your database will be unchanged until you run
openproject configure
(which in 10.0., would fail if you still use MySQL).So either works:
or
openproject configure
after the migrationBest,
Oliver
Hi Oliver,
I used the second scenario (upgrade directly to V10) and I can tell: it worked like a charm!
So I'm excited to discover all the new features myself now.
Thanks a lot
Johan