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
-
G girish marked this topic as a regular topic
-
@girish Up and running (again). Thanks a lot.
Jan 19 16:01:20 I, [2026-01-19T15:01:20.091084 #151] INFO -- : [492d6ba1-3377-4a8b-85e0-421a68d2f038] method=GET path=/health_checks/all format=html controller=OkComputer::OkComputerController action=show status=200 allocations=2052 duration=29.78 view=0.84 db=5.42 user=2 -
L luckow marked this topic as a question
-
L luckow has marked this topic as solved