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

      OpenProject ID 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. "There are no visible projects in this instance" after restarting docker

"There are no visible projects in this instance" after restarting docker

Added by Chris Murphy almost 4 years ago

I'm using this as a guide to run openproject in a container (podman actually).

https://www.openproject.org/docs/installation-and-operations/installation/docker/#using-this-container-in-production

docker.io/openproject/community  11          8c93bc00ebba  2 days ago  1.86 GB

This is the command I'm using

podman run -d -p 8080:80 --name openproject \
 -e SERVER_HOSTNAME=fovo.local \
 -e SECRET_KEY_BASE=$random32 \
 -v ~/.var/openproject/pgdata:/var/openproject/pgdata:Z \
 -v ~/.var/openproject/assets:/var/openproject/assets:Z \
 openproject/community:11

It initially works fine. I create a new project and add a bunch of stuff, but after podman stop openprojectfollowed by podman start openproject and connecting with a web browser, I can't login and the main page shows "There are no visible projects in this instance" where there should be the project I created.

However, there's ~69M of data added to ~/.var/openproject/ and when I inspect some of the files I can see the work package contents (titles, descriptions). So it did make it to persistent media, but for some reason isn't being used when I restart the container.

Attached is the command run with -it instead of -d to show output.


Loading...