Skip to content

Cannot Log into Admin After Upgrade to 2.12.4 #4606

Open
@paelan8a

Description

@paelan8a

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?

Describe the bug
After upgrading from 2.12.3 to 2.12.4, I can no longer log into the admin panel. The login page is displayed, but authentication does not work. The Docker logs show the following and do not proceed any further:

nginx  | ❯ Starting backend ...
nginx  | [7/1/2025] [11:29:07 AM] [Global   ] › ℹ  info      Using Sqlite: /data/database.sqlite
nginx  | [7/1/2025] [11:29:08 AM] [Migrate  ] › ℹ  info      Current database version: none
nginx  | [7/1/2025] [11:29:08 AM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-50' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo '# Cloudflare API token
nginx  | dns_cloudflare_api_token=****' > '/etc/letsencrypt/credentials/credentials-50' && chmod 600 '/etc/letsencrypt/credentials/credentials-50'; }
nginx  | [7/1/2025] [11:29:08 AM] [Global   ] › ⬤  debug     CMD: [ -f '/etc/letsencrypt/credentials/credentials-63' ] || { mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo '# Cloudflare API token
nginx  | dns_cloudflare_api_token=****' > '/etc/letsencrypt/credentials/credentials-63' && chmod 600 '/etc/letsencrypt/credentials/credentials-63'; }
nginx  | [7/1/2025] [11:29:08 AM] [Certbot  ] › ▶  start     Installing cloudflare...
nginx  | [7/1/2025] [11:29:08 AM] [Global   ] › ⬤  debug     CMD: . /opt/certbot/bin/activate && pip install --no-cache-dir cloudflare==4.0.* acme==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+') certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+')  && deactivate
nginx  | [7/1/2025] [11:29:09 AM] [Certbot  ] › ✖  error     ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.
nginx  | ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
nginx  |
nginx  | [7/1/2025] [11:29:09 AM] [Global   ] › ✖  error     Some plugins failed to install. Please check the logs above CommandError: Some plugins failed to install. Please check the logs above
nginx  |     at /app/lib/certbot.js:39:14
nginx  |     at Immediate.<anonymous> (/app/node_modules/batchflow/lib/batchflow.js:80:9)
nginx  |     at process.processImmediate (node:internal/timers:483:21) {
nginx  |   previous: undefined,
nginx  |   code: 1,
nginx  |   public: false
nginx  | }

Rolling back to 2.12.3 works fine.

Nginx Proxy Manager Version
2.12.4

To Reproduce

  1. Update docker image from jc21/nginx-proxy-manager:2.12.3 to 2.12.4
  2. Access the admin panel
  3. Try to log in
  4. Login fails

Expected behavior
Should be able to log in as usual after the upgrade

Screenshots
N/A

Operating System
Ubuntu 24.04.2 LTS
Docker version 26.1.3, build b72abbb

Additional context

  • No issue with 2.12.3
  • Similar issue: #1769
  • No other errors are shown in docker logs
  • /api/tokens returns a 502 error.(Thanks for @LukeSearle )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions