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. Restore backup from an older version

Restore backup from an older version

Added by Petr Zeman over 2 years ago

Hi. I am running OpenProject 10.0.2 (PostgreSQL) as an older instance within a FreeBSD jail.
Now I would like to use the latest version (switching to new HW), so I deployed a new instance with the fresh installation of 12.4.

Is there a way to migrate the content from an old instance to the new one? Simple backup/restore will probably not work.
It ends with the error:

Error: The application encountered the following error: cannot load such file -- /usr/local/www/openproject/config/../lib/open\_project/configuration (LoadError)  

There is information about running openproject configure  in the [Upgrading Docs]. But I am not aware of such binary in my installation (installed manually from GIT sources). So far I used rake to run OpenProject stuff. E.g. redmine:email:receive_imap.
But I didn't find anything like configure in rake tasks. Is openproject configure some wrapper to rake?

In rake tasks I can see just:
rake app:update # Update configs and some other initially generated files (or use just update:configs or update:bin)

But it ends with the same error as above. Is there any migration tool, or something like that?

Or do I really need to upgrade 10.0.2 to 10.0.3 ... to 10.latest, then to 11.0.0 ... 11.latest, and then to 12.4? If so, do I need to include all minor and hotfix versions? Or is it possible to upgrade 10.0.2 directly to 11.latest? And what is the best way of upgrading manual installation? 

I have my own bash script to clone the GIT repository, then it installs the needed version of RUBY, and all other requirements (node, npm, passenger), and the relevant part is done via:
bundle install --deployment --without mysql2 sqlite development test therubyracer docker; npm install

Is it possible to upgrade such an installation? For production, I am going to switch from FreeBSD jail to Linux to avoid such issues in the future. But at my home lab, I have only a server with TrueNAS - FreeBSD-based distribution, so I would like to solve this anyway.

Thank you in advance for any hints. Ruby is not a language I am familiar with.


Loading...