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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Trying to back up - errors

Trying to back up - errors

Added by Alasdair McAndrew over 8 years ago

Hello,

For some months now I’ve been unable to access my openproject installation: all I get when I attempt to go to it is a list of directories in my base web folder. (I’m using ubuntu server 14.04). So I thought I’d backup and re-install. But the command

RAILS_ENV=production bundle exec rake backup:database:create

has so far caused me no end of trouble - first a version incompatibility between ruby and the gemfile. This I fixed by installing a newer version of ruby with rvm. And now I’m told that I need to run “bundle install” which then tells me that I shouldn’t run it as root. But when I run it as myself, I get further errors…

Clearly something is wrong somewhere… My openproject installation is in /opt/openproject/. Do I need to add myself to the “openproject” group - and how will that help with my being able to backup? Do I do this as myself, as the “openproject” user, or as root?

Thanks,
Alasdair


Replies (2)

RE: Trying to back up - errors - Added by Oliver Günther over 8 years ago

Hi Alasdair,

I believe you have followed the manual backup guide on your packaged installation.

The packaged installation features a separate user that runs openproject, thus the bundle context is only available in, e.g, openproject run bundle exec...

Please follow the packaged backup guide

After you have dumped your database, please install the latest version with your package manager and re-run openproject reconfigure, it will ask you to confirm your existing configuration and should correct the installation. If you are currently running on OpenProject < 6, please follow the major upgrade guide

Best,
Oliver

RE: Trying to back up - errors - Added by Alasdair McAndrew over 8 years ago

Hi Oliver,

Thank you for your reply. I’ve done all of that - and the apt sources are indeed for version 6; but even after running “sudo openproject configure” the address “http://my.server.net:8080” simply takes me to a directory listing of /var/www/html.

Thanks again,
Alasdair

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