Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • 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
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise 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?

      or sign in with your existing account

      OpenProject ID Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Failed Migration from Version 9 - Version 10

Failed Migration from Version 9 - Version 10

Added by Chad Smith over 5 years ago

I am attempting to upgrade from Version 9 to Version 10. Version 9 is currently already running Postgres database. 

I followed the instructions in the guide (https://docs.openproject.org/installation-and-operations/operation/upgrading/), and updated my package source to be version 10 and then followed the guide to upgrade. When I run openproject configure I am getting a migration that fails. The migration it fails on seems to be the following: 20190722082648_add_derived_estimated_hours_to_work_packages.rb

The error I get is the following: 

PG::NotNullViolation: ERROR:  null value in column "version" violates not-null constraint
DETAIL:  Failing row contains (10854, WorkPackage, 1780, 93, _'Estimated hours' changed to 'Derived estimated hours'_, 2020-01-15 21:53:32.187262, null, work_packages).

I am not sure where to go from here or what the issue could be. Any ideas or suggestions would be greatly appreciated how the update from 9-10 or how I could get past this issue? Thanks to any suggestions!


Loading...