mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 09:55:51 +03:00
[GH-ISSUE #3380] My nginx proxy manager resets itself #2271
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#2271
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 @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
@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
@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.
@github-actions[bot] commented on GitHub (Jan 2, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Jan 21, 2026):
Issue was closed due to inactivity.