mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #4239] Cannot change ownership of files under /etc/letsencrypt/live/npm-1 after restarting OR tearing down and recreating container #2740
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#2740
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaysee260 on GitHub (Dec 16, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4239
Checklist
jc21/nginx-proxy-manager:latestdocker 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.1Expected 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
@jaysee260 commented on GitHub (Dec 17, 2024):
Can confirm than I don't even have to tear down the container for this to happen... simply stopping it and restarting causes the issue to start happening!
@sonpeter88 commented on GitHub (Dec 17, 2024):
having the same issue...
there's already an open issue
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4205
@github-actions[bot] commented on GitHub (Jun 24, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍