NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Updating system gives me a clean database, all data lost.

Open
#3,070 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

I am trying to update my npm installation. I currently have version 2.9.19 with MariaDB version. 10.4.12.

I used
docker-compose down
docker-compose pull -- for the database it says error, then app pulls the latest version.
docker-compose up -- I can see it is trying to migrate the database, and it creates a new admin account.

When I try to login using my previous admin account it says not found, if I log in with the newly created account, I get in, but all my hosts and streams are gone.

How can I update my installation with losing all my data?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported docker-compose down, docker-compose pull, and docker-compose up sequence with MariaDB 10.4.12, then inspect the database migration output and whether the existing data volume is reused. Done means the previous admin account, hosts, and streams remain available after the update.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, mariadb
Domain
database, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.