db migration error with the latest update to org.openproject.cloudronapp@3.45.0
-
migration stopped with
Jan 17 12:58:56 PG::DuplicateTable: ERROR: relation "work_packages" already exists (PG::DuplicateTable)Anyone else?
-
I have the same issue, it is related to a migration which is not present in the last versions of open project :
I, [2026-01-19T09:03:16.770535 #12] INFO -- : Migrating to ToV710AggregatedMigrations (10000000000000)
Jan 19 10:03:16 == 10000000000000 ToV710AggregatedMigrations: migrating =======================
Jan 19 10:03:16 -- create_table("work_packages", {:id=>:integer, :bulk=>true})
Jan 19 10:03:16 rake aborted!
Jan 19 10:03:16 StandardError: An error has occurred, this and all later migrations canceled: (StandardError)
Jan 19 10:03:16 2026-01-19T09:03:16Z
Jan 19 10:03:16 PG::DuplicateTable: ERROR: relation "work_packages" already existsIs there an issue in the version provided ? We should not see this migration, on the 17.0.1 tag we get a 404 -> https://github.com/opf/openproject/blob/v17.0.1/db/migrate/10000000000000_to_v710_aggregated_migrations.rb
-
I have revoked this package version to investigate further.
-
G girish marked this topic as a regular topic