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. Not able to recover from backup

Not able to recover from backup

Added by Marek Sybilak over 6 years ago

I am not able to recover from backup with Docker installation.
I start with a fresh container with latest version of docker image run with command:

docker run -d -p 80:80 --name openproject -e SECRET_KEY_BASE=secret \
-v /var/lib/openproject/pgdata:/var/lib/postgresql/9.6/main \
-v /var/lib/openproject/logs:/var/log/supervisor \
-v /var/lib/openproject/static:/var/db/openproject \
openproject/community
 
Then after successful installation I log into the panel, change some data, create a project.
 
After that I copy data to from /var/lib/openroject to a file:
tar -xcvf open.tar.gz /var/lib/openproject
  
On another machine I start with same procedure, previously putting unpacked files into /var/lib/openproject directory.But Docker does't start with 
docker start openproject
command. 

Also I was starting Docker first, stopping next, replacing files, and starting again. Same result - Docker doesn't start.
 
I am not an expert with Docker.
Do I need to provide additional steps to run my Docker image with backup files?


Replies (1)

RE: Not able to recover from backup - Added by Oliver Günther over 6 years ago

This might be a permission error, do you have any logs to append for the startup command?

Best,

Oliver

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