Added by Rafael Cardero 5 days ago
I am running OpenProject v16. After I update to OpenProject v17, the system stops working and I get this weird error in the logs. It says the installed version is older than v16.
compose-seeder-1 | Migration::MigrationSquasher::IncompleteMigrationsError:
It appears you are migrating from an incompatible version.
Your database has only some migrations to be squashed.
OpenProject only supports migrating from one major version to the next.
Please update your installation to OpenProject v16 (any minor or patch level) first.
After the migrations in that version ran successfully, reinstall this OpenProject version and rerun the migrations.
The following migrations are missing: ["1000015"] (Migration::MigrationSquasher::IncompleteMigrationsError)
Any idea or recommendation?
I am still on PostgreSQL v13. Should I upgrade PostgreSQL before upgrading OpenProject?
Thanks,
Replies (2)
Hi Rafael,
The squashed migration with version 1000015 was added in OpenProject 16.3.0:
https://github.com/opf/openproject/blob/v16.3.0/db/migrate/1000015_aggregated_migrations.rb
In versions before that, the migration is not available:
https://github.com/opf/openproject/blob/v16.2.2/db/migrate/1000015_aggregated_migrations.rb
So you would need to upgrade to a version >= 16.3.0 and < 17.0.0 first.
After that, you can upgrade to version 17.x.x.
Best regards
Tizian
Hi Tizian,
Thanks! I followed the procedure you said and it worked perfectly!
I am now running OpenProject v17.2.2.
Thank you guys for such amazing tool. As soon as budget allows it, I will move to a paid version to get more from OpenProject and retribute your effort.
Best,
Rafael