Open link in a new tab

Content

Expand project menu

Trying to back up - errors

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

Message actions

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

Message actions

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