[GH-ISSUE #3380] My nginx proxy manager resets itself #2271

Closed
opened 2026-02-26 07:34:48 +03:00 by kerem · 4 comments
Owner

Originally created by @lidoror on GitHub (Dec 11, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3380

Hi everyone,
I installed the Nginx proxy manager and it seems like every restart of the operating system which is proxmox lxc contianer the data of the container disappears.
every reboot its like a fresh install and all the things I changed and did are disappearing even the passwords and mail I did.
a little about the environment:
I ran proxmox lxc container that has docker inside it (yea I know its a little junky but its works for all the rest of the containers)

the container has an NFS disk mounted to it and the data are saved there for some reason the Nginx proxy manager deletes all the data and acts like it's a fresh install after every reboot.

and i checked multiple time there are no problems with the NFS mount

this is the compose file I use

version: '3.8'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- /root/proxy-manager/data:/data
- /root/proxy-manager/letsencrypt:/etc/letsencrypt

Originally created by @lidoror on GitHub (Dec 11, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3380 Hi everyone, I installed the Nginx proxy manager and it seems like every restart of the operating system which is proxmox lxc contianer the data of the container disappears. every reboot its like a fresh install and all the things I changed and did are disappearing even the passwords and mail I did. a little about the environment: I ran proxmox lxc container that has docker inside it (yea I know its a little junky but its works for all the rest of the containers) the container has an NFS disk mounted to it and the data are saved there for some reason the Nginx proxy manager deletes all the data and acts like it's a fresh install after every reboot. and i checked multiple time there are no problems with the NFS mount this is the compose file I use version: '3.8' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports: - '80:80' - '81:81' - '443:443' volumes: - /root/proxy-manager/data:/data - /root/proxy-manager/letsencrypt:/etc/letsencrypt
kerem 2026-02-26 07:34:48 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@janot928 commented on GitHub (Jan 7, 2024):

Hi,
I have the same issue with nginx proxy manager running in docker on a VM.
I use the website docker composed as is (https://nginxproxymanager.com/setup/#running-the-app) and i have not defined a maria DB.
Everything is fine if I restart the docker, but as soon as i reboot the VM on witch docker is installed (ubuntu 22.04 LTS) it gets resset
How could I fixed so that it doesn't nuke everythink i did everytime I reboot my server / VM ?

Thanks

<!-- gh-comment-id:1880107580 --> @janot928 commented on GitHub (Jan 7, 2024): Hi, I have the same issue with nginx proxy manager running in docker on a VM. I use the website docker composed as is (https://nginxproxymanager.com/setup/#running-the-app) and i have not defined a maria DB. Everything is fine if I restart the docker, but as soon as i reboot the VM on witch docker is installed (ubuntu 22.04 LTS) it gets resset How could I fixed so that it doesn't nuke everythink i did everytime I reboot my server / VM ? Thanks
Author
Owner

@jflecool2 commented on GitHub (May 9, 2024):

@lidoror I suspect that your issue is not with nginx proxy manager. You did mount /data to /root/proxy-manager/data, but /root isnt a hard drive in your context, because your Docker NPM is within a "proxmox lxc container". I dont know much about this tech so lets assume its a docker container (docker within docker). If THAT layer doesnt have a mount for /root (or /root/proxy-manager), then restarting that container will reset the content of /root, then your docker inside LXC will start with an empty folder.
Just restart the NPM container itself (docker restart my-nginx-proxy-manager-container, NOT your os or your lxc thing) and if data is still there, the problem is not with NPM.

<!-- gh-comment-id:2102931339 --> @jflecool2 commented on GitHub (May 9, 2024): @lidoror I suspect that your issue is not with nginx proxy manager. You did mount /data to /root/proxy-manager/data, but /root isnt a hard drive in your context, because your Docker NPM is within a "proxmox lxc container". I dont know much about this tech so lets assume its a docker container (docker within docker). If THAT layer doesnt have a mount for /root (or /root/proxy-manager), then restarting that container will reset the content of /root, then your docker inside LXC will start with an empty folder. Just restart the NPM container itself (docker restart my-nginx-proxy-manager-container, NOT your os or your lxc thing) and if data is still there, the problem is not with NPM.
Author
Owner

@github-actions[bot] commented on GitHub (Jan 2, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2567224704 --> @github-actions[bot] commented on GitHub (Jan 2, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

Issue was closed due to inactivity.

<!-- gh-comment-id:3775812008 --> @github-actions[bot] commented on GitHub (Jan 21, 2026): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2271
No description provided.