Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. OpenProject
  3. db migration error with the latest update to org.openproject.cloudronapp@3.45.0

db migration error with the latest update to org.openproject.cloudronapp@3.45.0

Scheduled Pinned Locked Moved OpenProject
4 Posts 4 Posters 28 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Online
    luckowL Online
    luckow
    translator
    wrote last edited by
    #1

    migration stopped with

    Jan 17 12:58:56 PG::DuplicateTable: ERROR: relation "work_packages" already exists (PG::DuplicateTable)
    

    Anyone else?

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    2
    • jamesJ Online
      jamesJ Online
      james
      Staff
      wrote last edited by
      #2

      Hello @luckow

      After which step is this issue occurring for you, what is the => print before this error is thrown, is it => Starting supervisor?

      1 Reply Last reply
      1
      • Lloyd66L Offline
        Lloyd66L Offline
        Lloyd66
        wrote last edited by Lloyd66
        #3

        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 exists

        https://github.com/opf/openproject/blob/v10.6.5/db/migrate/10000000000000_to_v710_aggregated_migrations.rb

        Is 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

        1 Reply Last reply
        2
        • girishG Do not disturb
          girishG Do not disturb
          girish
          Staff
          wrote last edited by
          #4

          I have revoked this package version to investigate further.

          1 Reply Last reply
          1
          • girishG girish marked this topic as a regular topic
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search