Content
"There are no visible projects in this instance" after restarting docker
Added by Chris Murphy over 3 years ago
I'm using this as a guide to run openproject in a container (podman actually).
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 openproject
followed 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.