mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #4942] [Bug] "The migration directory is corrupt, the following files are missing:" when re-building the container #3070
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#3070
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 @ViNoS-ab on GitHub (Nov 15, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4942
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
I rebuilt the npm image, then i couldn't login
checked the logs and :
Nginx Proxy Manager Version
v2.12.6
To Reproduce
I had a running npm container, then I rebuilt the container from :latest image and i had this error, I am using sqlite
Operating System
Ubuntu server
Additional context
docker-compose
@ViNoS-ab commented on GitHub (Nov 15, 2025):
for now i am using jc21/nginx-proxy-manager:2.13.2
and it is working
but using latest will cause the error
this is because in the error, the missing migration file is
20251111090000_redirect_auto_scheme.jswhich was added 4 days ago@jc21 commented on GitHub (Nov 18, 2025):
Yes, this is expected behaviour for anyone who upgrades to newer releases and then downgrades for whatever reason.
This migration was added in v2.13.3 and has been applied to your database. You mentioned initially using v2.12.6 which is not going to work with a 2.13.3 database.
@poprhythm commented on GitHub (Nov 18, 2025):
I was also getting this error after doing an update to latest yesterday. I also tried to revert to a 2.12 version, but it didn't work as you'd mentioned. I'm back at latest (2.13.5) right now. The nginx configuration is working great, but I can no longer log into the web ui. Here is the error:
@kmarius commented on GitHub (Dec 5, 2025):
Is there an issue with the migrations? I updated to 2.13.5 13 days ago and had no problems. Today I changed the name of an access list and now the web UI broke. The Dashboard does not load and the logs show the same errors as for @poprhythm. I did not up- or downgrade to any other version.
Edit: Seems to be a different problem. I restored from a backup and noticed that there was a mismatch between the Username for the Access List > Authorization and the login username (which I changed at some point)
@JakobTewes commented on GitHub (Dec 15, 2025):
also got problems with the thing. What was the fix for you, @kmarius?
@kmarius commented on GitHub (Dec 15, 2025):
I restored the configuration from a backup and removed all Authorizations from all Access Lists via the UI (tbf I don't remember adding any). If you don't have a backup you could try modifying the
database.sqlite. Myaccess_list_authtable is now empty.Another thing that I thought about afterwards is that I was proxying the web ui via NPM, maybe it works if you access it directly via its port on the container.
@poprhythm commented on GitHub (Dec 15, 2025):
I also rolled back and I remember having to adjust the database as well. I don't remember exactly, but I think a database migration row had to be removed. I was also using it with an NPM proxy - I had to directly access the server by IP during the process.
@JakobTewes commented on GitHub (Dec 15, 2025):
Found a working solution for me. Was (as always ;-)) a dns issue:
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5085
@lastplace1990 commented on GitHub (Dec 25, 2025):
I am having the same issues as of today exactly. I had to pin the latest build
2.13.5to make this work for me. But when usinglatestit fails and my logs show the same error: