nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Internal Error on NPM login page - ER_NO_SUCH_TABLE: Table 'npm.auth' doesn't exist

Open psycoticninja opened this issue 3 years ago • 5 comments

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)?
    • Yes

Describe the bug

On version 2.10.2 I can no longer login to the admin portal. Error observed in the GUI is 'Internal Error'.

Reviewing logs the following log message appears:

select `auth`.* from `auth` where `user_id` = 1 and `type` = 'password' - ER_NO_SUCH_TABLE: Table 'npm.auth' doesn't exist

Nginx Proxy Manager Version

v2.10.2

To Reproduce Steps to reproduce the behavior:

  1. Proceed to login.
  2. Observe Internal Error after authentication.
  3. Review logs.

Expected behavior

Successful login attempt.

psycoticninja avatar Apr 02 '23 23:04 psycoticninja

Same here. select auth.* from auth where user_id = 1 and type = 'password' - ER_NO_SUCH_TABLE: Table 'npm.auth' doesn't exist Nginx running and works. But no login possible.

thule1291 avatar Apr 03 '23 09:04 thule1291

Solution here:

https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1499#issuecomment-1494593464

or here:

https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2774#issuecomment-1494410006

isms-core-project avatar Apr 03 '23 18:04 isms-core-project

Thank you. Solution with seperated Folders works perfectly.

thule1291 avatar Apr 04 '23 09:04 thule1291

Separated folders also did the trick for me - one of my installs also needed a restart of the npm-db container.

psycoticninja avatar Apr 04 '23 10:04 psycoticninja

Thank you, a year and a bit later - folders worked for me too ..

matwritescode avatar Jul 26 '24 09:07 matwritescode