Cannot change ownership of files under /etc/letsencrypt/live/npm-1
after restarting OR tearing down and recreating container
#4239
Labels
Checklist
jc21/nginx-proxy-manager:latest
docker image?Describe the bug
I am setting up Nginx Proxy Manager for the very first time. I create my own SSL cert using LetsEncrypt.
The very first time I started the container, everything worked; I was able to login, register proxy hosts, etc.
However, whenever if I tear down and recreate the container, the process inside the container seems to be unable to access the cert files in
/etc/letsencrypt/live/npm-1
.I am using docker compose on Debian 12, and here's what I see in the logs whenever I restart or recreate the container.
This makes it so that I can't login to the admin page.
Here's my docker-compose config for the service:
If I tear down EVERYTHING and start fresh, meaning... recreating an admin user, recreating an SSL cert, re-adding my proxy hosts, etc, then it works. But, of course, I'd like to avoid having to do this every time!
Is it something around the mounted volume's permissions? I've been scratching my head at this for a few hours, if anyone has any insight into what the problem might be, or how to fix it, I'd greatly appreciate it!
Nginx Proxy Manager Version
2.12.1
Expected behavior
Since I am using a mounted volume to store the nginx manager data and my SSL cert on my host machine, I would expected to be able to tear down the container and spin up a new one as many times, and still be able to login and re-use the cert I created.
Operating System
Debian 12
The text was updated successfully, but these errors were encountered: