[GH-ISSUE #971] Container unhealthy #815

Closed
opened 2026-02-26 06:34:32 +03:00 by kerem · 1 comment
Owner

Originally created by @psharma04 on GitHub (Mar 23, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/971

Are you in the right place?

  • If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit.
  • If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask.
  • If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the right place.

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
  • Are you sure you're not using someone else's docker image?
  • If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network?
    Issue arose after updating from 2.8.0 to 2.8.1.
    Describe the bug
    I can no longer log into the admin panel, docker console reports
    [3/23/2021] [1:43:21 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:52 AM] [Global ] › ℹ info Wrote db configuration to config file: ./config/production.json, [3/23/2021] [1:41:59 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:54 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:56 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:52 AM] [Global ] › ℹ info Generating MySQL db configuration from environment variables, [3/23/2021] [1:41:55 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:57 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:58 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db

To Reproduce
Steps to reproduce the behavior:

  1. Have an instance of 2.8.0 running
  2. Update using docker-compose pull
  3. Re-deploy using docker-compose up -d
  4. run docker-compose logs or try to log into the panel.

Expected behavior
I expected to be able to log into the panel.

Screenshots
If applicable, add screenshots to help explain your problem.

Operating System

  • OS: Ubuntu 20.04 Focal Fossa
  • Kernel: x86_64 Linux 5.4.0-66-generic
  • 14G free on disk
  • No OOM reports

Additional context

  • Docker version 20.10.5, build 55c4c88
  • docker-compose version 1.25.0, build unknown
  • docker-py version: 4.1.0
  • CPython version: 3.8.5
  • OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
Originally created by @psharma04 on GitHub (Mar 23, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/971 **Are you in the right place?** - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Are you sure you're not using someone else's docker image? - If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network? Issue arose after updating from 2.8.0 to 2.8.1. **Describe the bug** I can no longer log into the admin panel, docker console reports ` [3/23/2021] [1:43:21 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:52 AM] [Global ] › ℹ info Wrote db configuration to config file: ./config/production.json, [3/23/2021] [1:41:59 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:54 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:56 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:52 AM] [Global ] › ℹ info Generating MySQL db configuration from environment variables, [3/23/2021] [1:41:55 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:57 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db, [3/23/2021] [1:41:58 AM] [Global ] › ✖ error getaddrinfo ENOTFOUND db` **To Reproduce** Steps to reproduce the behavior: 1. Have an instance of 2.8.0 running 2. Update using `docker-compose pull` 3. Re-deploy using `docker-compose up -d` 4. run `docker-compose logs` or try to log into the panel. **Expected behavior** I expected to be able to log into the panel. **Screenshots** If applicable, add screenshots to help explain your problem. **Operating System** - OS: Ubuntu 20.04 Focal Fossa - Kernel: x86_64 Linux 5.4.0-66-generic - 14G free on disk - No OOM reports **Additional context** - Docker version 20.10.5, build 55c4c88 - docker-compose version 1.25.0, build unknown - docker-py version: 4.1.0 - CPython version: 3.8.5 - OpenSSL version: OpenSSL 1.1.1f 31 Mar 2020
kerem 2026-02-26 06:34:32 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@psharma04 commented on GitHub (Mar 23, 2021):

Solution was to reboot. Not quite sure why that worked.

<!-- gh-comment-id:804531887 --> @psharma04 commented on GitHub (Mar 23, 2021): Solution was to reboot. Not quite sure why that worked.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#815
No description provided.