[GH-ISSUE #1996] version 2.9.15 to 2.9.18 docker upgrade broke npm #1442

Closed
opened 2026-02-26 07:31:01 +03:00 by kerem · 2 comments
Owner

Originally created by @DWShuo on GitHub (Apr 13, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1996

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

Was running the docker image for version 2.9.15
Upgraded the docker image to 2.9.18 via docker-compose pull && docker-compose up -d
No WebUI, and website behind NPM shows Error 521

Nginx Proxy Manager Version

Cant access login page

To Reproduce
Steps to reproduce the behavior:

  1. Running version 2.9.15
  2. docker-compose down
  3. docker-compose pull && docker-compose up -d

Expected behavior

192.168.0.100:81/ should show login page

Operating System

Ubuntu 21.10 inside LXC

Additional context

Error from docker log nginx-docker_app_1

nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-1/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-1/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

docker-compose.yml file since 2.9.15

version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypts

File tree

|-- data
|   |-- access
|   |-- custom_ssl
|   |-- database.sqlite
|   |-- letsencrypt-acme-challenge
|   |-- logs
|   |   |-- default-host_access.log
|   |   |-- default-host_error.log
|   |   |-- fallback_access.log
|   |   |-- fallback_error.log
|   |   |-- proxy-host-1_access.log
|   |   `-- proxy-host-1_error.log
|   `-- nginx
|       |-- dead_host
|       |-- default_host
|       |   `-- site.conf
|       |-- default_www
|       |-- dummycert.pem
|       |-- dummykey.pem
|       |-- proxy_host
|       |   `-- 1.conf
|       |-- redirection_host
|       |-- stream
|       `-- temp
|-- docker-compose.yml
`-- letsencrypt
Originally created by @DWShuo on GitHub (Apr 13, 2022). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1996 **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** <!-- A clear and concise description of what the bug is. --> Was running the docker image for version 2.9.15 Upgraded the docker image to 2.9.18 via `docker-compose pull && docker-compose up -d` No WebUI, and website behind NPM shows Error 521 **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> Cant access login page **To Reproduce** Steps to reproduce the behavior: 1. Running version 2.9.15 2. docker-compose down 3. docker-compose pull && docker-compose up -d **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> 192.168.0.100:81/ should show login page **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Ubuntu 21.10 inside LXC **Additional context** <!-- Add any other context about the problem here, docker version, browser version, logs if applicable to the problem. Too much info is better than too little. --> Error from docker log nginx-docker_app_1 ``` nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-1/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-1/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) ``` docker-compose.yml file since 2.9.15 ``` version: '3' services: app: image: 'jc21/nginx-proxy-manager:latest' restart: unless-stopped ports: - '80:80' - '81:81' - '443:443' volumes: - ./data:/data - ./letsencrypt:/etc/letsencrypts ``` File tree ``` |-- data | |-- access | |-- custom_ssl | |-- database.sqlite | |-- letsencrypt-acme-challenge | |-- logs | | |-- default-host_access.log | | |-- default-host_error.log | | |-- fallback_access.log | | |-- fallback_error.log | | |-- proxy-host-1_access.log | | `-- proxy-host-1_error.log | `-- nginx | |-- dead_host | |-- default_host | | `-- site.conf | |-- default_www | |-- dummycert.pem | |-- dummykey.pem | |-- proxy_host | | `-- 1.conf | |-- redirection_host | |-- stream | `-- temp |-- docker-compose.yml `-- letsencrypt ```
kerem 2026-02-26 07:31:01 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DWShuo commented on GitHub (Apr 13, 2022):

tried upgrading from 2.9.15 to 2.9.16 also failed for me

<!-- gh-comment-id:1097817901 --> @DWShuo commented on GitHub (Apr 13, 2022): tried upgrading from 2.9.15 to 2.9.16 also failed for me
Author
Owner

@DWShuo commented on GitHub (Apr 13, 2022):

I was able to fix this by removing and re-adding all the proxy hosts, and SSL certs. Then updating to the latest version, seems to be working correctly now

<!-- gh-comment-id:1097874967 --> @DWShuo commented on GitHub (Apr 13, 2022): I was able to fix this by removing and re-adding all the proxy hosts, and SSL certs. Then updating to the latest version, seems to be working correctly now
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#1442
No description provided.