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

      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. upgrade from 2.4

upgrade from 2.4

Added by Michael Wilson over 9 years ago

I have inherited the task of upgrading from 2.4 and keep getting stuck at this…

$ bundle exec rake db:migrate RAILS_ENV=production
(in /var/openproject)
rake aborted!
Don’t know how to build task ‘doc/app/index.html’
/var/openproject/Rakefile:17:in `require’
(See full trace by running task with —trace)

I have tried googling but am not finding anything useful… Any help appreciated!


Replies (2)

RE: upgrade from 2.4 - Added by Oliver Günther over 9 years ago

It doesn’t seem to find a task defined by Rails2: https://github.com/opf/openproject/blob/36d04e7caa70a8079ca66516e2730dd1d621ec26/Rakefile#L17,
can’t really help you on that end any more than that.

The migration should work if you:

1. Backup your existing database.

2. Install the newest OpenProject 5.0 version (preferably as a package if you used MySQL, but it works manually as well). See this guide as a starting point

3. Point the wizard to the old database (or configure config/database.yml accordingly)

4. The package wizard will migrate the database. It should be a linear upgrade from 2.4, although there may be other issues that arise.

Best,
Oliver

RE: upgrade from 2.4 - Added by Michael Wilson over 9 years ago

Oliver,

Thanks for the advice! I tried what you said but it looks like I probably messed up the database during a previous upgrade attempt. Although it still seems to be working from a user perspective, there are some inconsistencies that are prohibiting a smooth upgrade.

Looks like the enterprise support is quite reasonable so I think i’ll got that route and save myself a little time.

Cheers,

Michael

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