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 Solved OpenProject
6 Posts 4 Posters 398 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 Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by luckow
    #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
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #5

      Just published 17.0.1 and it works in our CI . Can you guys check?

      luckowL 1 Reply Last reply
      2
      • jamesJ Offline
        jamesJ Offline
        james
        Staff
        wrote on 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 on 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 Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            I have revoked this package version to investigate further.

            1 Reply Last reply
            2
            • girishG girish marked this topic as a regular topic on
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              Just published 17.0.1 and it works in our CI . Can you guys check?

              luckowL 1 Reply Last reply
              2
              • girishG girish

                Just published 17.0.1 and it works in our CI . Can you guys check?

                luckowL Offline
                luckowL Offline
                luckow
                translator
                wrote on last edited by
                #6

                @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
                

                Pronouns: he/him | Primary language: German

                1 Reply Last reply
                2
                • luckowL luckow marked this topic as a question on
                • luckowL luckow has marked this topic as solved on

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                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