Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Expanded. Click to collapseCollapsed. Click to showWiki
        • Hierarchy leaf2nd Level Support
You are here:
  • Forums
  • Support Installation & Updates

Content

OpenProject upgrade from 7.4.7 to 12.0.0

Added by Virendra Singh Mehra 7 months ago

we are running 7.4.7 with MySQL DB, looking for steps to upgrade from 7.4.7 to 12.0.0, also, we have mysql database. can we use the same db with latest version of OpenProject, if not then how to migrate from MySQL to PgSQL.


Replies (12)

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Adam Szabo 7 months ago

Dear Virendra

please take a look at the Documentation:

https://www.openproject.org/docs/installation-and-operations/misc/upgrading-older-openproject-versions/

Thank you

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 7 months ago

Dear Adam, thanks for the suggestion, however, we were unable to do it by these steps.

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Adam Szabo 6 months ago

Please read also here, there was a user with OP 5 and they made it.

https://community.openproject.org/topics/15387?r=15388#message-15388

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 6 months ago

Kindly see the attachment for the error I am getting.

to migrate the DB from MySQL to PSQL I had installed opeproject in Virtual Machine and inserted table vise data from from MYSQL to PSQL. Some of the errors I have resolved. Some are still pending.

Getting another issue while creating child into the migrated User Story/EPIC. Please see attachment.

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Adam Szabo 6 months ago

Hi again, 

First of all you would need to share all steps that you did according to this documentation including terminal log and not on a a screenshot but in an attachment of a log file :)

https://www.openproject.org/docs/installation-and-operations/misc/upgrading-older-openproject-versions/

There we might see which command turns to an error.

Thank you

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 6 months ago

Hi, I have followed the migration steps, and did it 3-4 times, getting message 'migration unsuccessful. Please check the migration.log'. Please see the screen shot.

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 6 months ago

2022-09-21T05:10:15+0000: [Worker(host:37bc831a6b46 pid:143)] Job Projects::ReorderHierarchyJob [7f231b9e-fe5b-4151-9152-083939d0e096] from DelayedJob(default) with arguments: [] (id=1479) (queue=default) FAILED (2 prior attempts) with NameError: uninitialized constant Projects::ReorderHierarchyJob
[Worker(host:37bc831a6b46 pid:143)] Job Projects::ReorderHierarchyJob [7f231b9e-fe5b-4151-9152-083939d0e096] from DelayedJob(default) with arguments: [] (id=1479) (queue=default) FAILED permanently because of 3 consecutive failures

2022-09-21T05:10:15+0000: [Worker(host:37bc831a6b46 pid:143)] Job Projects::ReorderHierarchyJob [7f231b9e-fe5b-4151-9152-083939d0e096] from DelayedJob(default) with arguments: [] (id=1479) (queue=default) FAILED permanently because of 3 consecutive failures
[Worker(host:37bc831a6b46 pid:143)] Job Announcements::SchedulerJob [6de9b5d7-86be-45d4-84c2-875d654f4a2f] from DelayedJob(default) with arguments: [{"subject"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.subject"}, "body"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body"}, "body_header"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_header"}, "body_subheader"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_subheader"}, "_aj_ruby2_keywords"=>["subject", "body", "body_header", "body_subheader"]}] (id=1478) (queue=default) RUNNING
2022-09-21T05:10:21+0000: [Worker(host:37bc831a6b46 pid:143)] Job Announcements::SchedulerJob [6de9b5d7-86be-45d4-84c2-875d654f4a2f] from DelayedJob(default) with arguments: [{"subject"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.subject"}, "body"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body"}, "body_header"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_header"}, "body_subheader"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_subheader"}, "_aj_ruby2_keywords"=>["subject", "body", "body_header", "body_subheader"]}] (id=1478) (queue=default) RUNNING
[Worker(host:37bc831a6b46 pid:143)] Job Announcements::SchedulerJob [6de9b5d7-86be-45d4-84c2-875d654f4a2f] from DelayedJob(default) with arguments: [{"subject"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.subject"}, "body"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body"}, "body_header"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_header"}, "body_subheader"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_subheader"}, "_aj_ruby2_keywords"=>["subject", "body", "body_header", "body_subheader"]}] (id=1478) (queue=default) FAILED (2 prior attempts) with NameError: uninitialized constant Announcements

2022-09-21T05:10:30+0000: [Worker(host:37bc831a6b46 pid:143)] Job Announcements::SchedulerJob [6de9b5d7-86be-45d4-84c2-875d654f4a2f] from DelayedJob(default) with arguments: [{"subject"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.subject"}, "body"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body"}, "body_header"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_header"}, "body_subheader"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_subheader"}, "_aj_ruby2_keywords"=>["subject", "body", "body_header", "body_subheader"]}] (id=1478) (queue=default) FAILED (2 prior attempts) with NameError: uninitialized constant Announcements
[Worker(host:37bc831a6b46 pid:143)] Job Announcements::SchedulerJob [6de9b5d7-86be-45d4-84c2-875d654f4a2f] from DelayedJob(default) with arguments: [{"subject"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.subject"}, "body"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body"}, "body_header"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_header"}, "body_subheader"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_subheader"}, "_aj_ruby2_keywords"=>["subject", "body", "body_header", "body_subheader"]}] (id=1478) (queue=default) FAILED permanently because of 3 consecutive failures
2022-09-21T05:10:30+0000: [Worker(host:37bc831a6b46 pid:143)] Job Announcements::SchedulerJob [6de9b5d7-86be-45d4-84c2-875d654f4a2f] from DelayedJob(default) with arguments: [{"subject"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.subject"}, "body"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body"}, "body_header"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_header"}, "body_subheader"=>{"_aj_serialized"=>"ActiveJob::Serializers::SymbolSerializer", "value"=>"notifications.update_info_mail.body_subheader"}, "_aj_ruby2_keywords"=>["subject", "body", "body_header", "body_subheader"]}] (id=1478) (queue=default) FAILED permanently because of 3 consecutive failures
[Worker(host:37bc831a6b46 pid:143)] 2 jobs processed at 0.0208 j/s, 2 failed
2022-09-21T05:10:31+0000: [Worker(host:37bc831a6b46 pid:143)] 2 jobs processed at 0.0208 j/s, 2 failed

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Adam Szabo 6 months ago

Hi,

you are sharing a problem inside the migrated OpenProject.

please share first the steps how you migrated...

First of all you would need to share all steps that you did according to this documentation including terminal log

https://www.openproject.org/docs/installation-and-operations/misc/upgrading-older-openproject-versions/

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 6 months ago

I have created a VM.

inside Vagrant VM - copied mysql dump and migration script.

installed docker and then used this command to migrate DB-  /tmp/migrate-from-pre-8.sh 172.17.0.1 /tmp/openproject16sept.sql

it worked successfully until migrating to version 10, when its migrating from 10 to current version 12

I am getting the error, I have mentioned.

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 6 months ago

Please see the attachment.

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Virendra Singh Mehra 6 months ago

Please see also see the below error-

 2.7) Making extra sure primary keys are named correctly
127.0.0.1:11211 failed (count: 0) Errno::ECONNREFUSED: Connection refused - send
DalliError: No server available
127.0.0.1:11211 failed (count: 1) Errno::ECONNREFUSED: Connection refused - send
127.0.0.1:11211 is down
DalliError: No server available
[DEPRECATED] Bundler.environment has been removed in favor of Bundler.load (called at /app/lib/open_project/plugins/acts_as_op_engine.rb:178)
hook registered
Migrating to EnsurePostgresIndexNames (20190502102512)
== 20190502102512 EnsurePostgresIndexNames: reverting =========================
== 20190502102512 EnsurePostgresIndexNames: reverted (0.0000s) ================

RE: OpenProject upgrade from 7.4.7 to 12.0.0 - Added by Adam Szabo 6 months ago

Did you read this documentation?

10 to 12 is PSQL 10 to PSQL 13

https://www.openproject.org/docs/installation-and-operations/misc/migration-to-postgresql13/

  • (1 - 12/12)
Loading...