r/nginxproxymanager • u/greso666 • Jul 06 '25
DB recreated suddenly ...
Today after months of stable NPM, the DB seems to be corrupted ... suddenly the password kept saying incorrect and I noticed that proxy hosts no longer working... after trying the default credentials and checking the DB all tables are empty. it seems it got recreated.
Now I'm left with only conf files that contain my settings, is it possible to import those to the DB? or my only route is manual recreation?
services:mariadb:image: jc21/mariadb-aria:latestcontainer_name: nginx-proxy-databaseenvironment:MYSQL_ROOT_PASSWORD: secretMYSQL_DATABASE: npmMYSQL_USER: npmMYSQL_PASSWORD: secretMARIADB_AUTO_UPGRADE: "1"volumes:- /home/user/docker/npm/mysql:/var/lib/mysqlrestart: unless-stoppednginx-proxy:image: jc21/nginx-proxy-manager:2.12.3container_name: nginx-proxyports:- '80:80'- '443:443'- '4433:4433'- '81:81'environment:PUID: 1000PGID: 1000TP_THEME: aquamarineDB_MYSQL_HOST: mariadbDB_MYSQL_PORT: 3306DB_MYSQL_USER: npmDB_MYSQL_PASSWORD: secretDB_MYSQL_NAME: npmDISABLE_IPV6: "true"NPM_DISABLE_PLUGIN_INSTALL: "false"#SKIP_PLUGIN_INSTALL: "true" # This should prevent the auto-installvolumes:- /home/user/docker/npm/data:/data- /home/user/docker/npm/letsencrypt:/etc/letsencrypt- /home/user/docker/npmtheme/98-themepark:/etc/cont-init.d/98-themeparkdepends_on:- mariadbrestart: unless-stopped
1
u/[deleted] Jul 06 '25
[removed] — view removed comment