NginxProxyManager / NginxProxyManager/nginx-proxy-manager

Internal error but 0 logs

Open
#4,384 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
34.2k
Forks
3.9k
Avg merge
21h 12m
Merged PRs (30d)
20

Description

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
I'm triyng to setup my host but when i try to request the new SSL certificate i got an Internal Error, the problem is that nothing register in a log to try to find a solution, this is the only i got by the container:

2025-02-21T20:06:33.269831952Z | stdout | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details. -- | -- | -- 2025-02-21T20:06:33.269502903Z | stdout | Some challenges have failed. 2025-02-21T20:06:33.268143118Z | stdout | [2/21/2025] [8:06:33 PM] [Express  ] › ⚠  warning   Saving debug log to /tmp/letsencrypt-log/letsencrypt.log 2025-02-21T20:06:33.026615244Z | stdout | [2/21/2025] [8:06:33 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload 2025-02-21T20:06:33.026453581Z | stdout | [2/21/2025] [8:06:33 PM] [Nginx    ] › ℹ  info      Reloading Nginx 2025-02-21T20:06:32.999132553Z | stdout | [2/21/2025] [8:06:32 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;" 2025-02-21T20:06:32.982250308Z | stdout | [2/21/2025] [8:06:32 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/temp/letsencrypt_10.conf 2025-02-21T20:06:29.692411788Z | stdout | [2/21/2025] [8:06:29 PM] [Global   ] › ⬤  debug     CMD: certbot certonly --config '/etc/letsencrypt.ini' --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-10" --agree-tos --authenticator webroot --email '' --preferred-challenges "dns,http" --domains "" 2025-02-21T20:06:29.692282489Z | stdout | [2/21/2025] [8:06:29 PM] [SSL      ] › ℹ  info      Command: certbot certonly --config '/etc/letsencrypt.ini' --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-10" --agree-tos --authenticator webroot --email ' --preferred-challenges "dns,http" --domains "" 2025-02-21T20:06:29.691772529Z | stdout | [2/21/2025] [8:06:29 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates for Cert #10: 2025-02-21T20:06:24.670003512Z | stdout | [2/21/2025] [8:06:24 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -s reload 2025-02-21T20:06:24.669842003Z | stdout | [2/21/2025] [8:06:24 PM] [Nginx    ] › ℹ  info      Reloading Nginx 2025-02-21T20:06:24.645461653Z | stdout | [2/21/2025] [8:06:24 PM] [Global   ] › ⬤  debug     CMD: /usr/sbin/nginx -t -g "error_log off;" 2025-02-21T20:06:24.641789381Z | stdout | } 2025-02-21T20:06:24.641751906Z | stdout | "path": "/data/nginx/proxy_host/7.conf.err" 2025-02-21T20:06:24.641715566Z | stdout | "syscall": "unlink", 2025-02-21T20:06:24.641678602Z | stdout | "code": "ENOENT", 2025-02-21T20:06:24.641641097Z | stdout | "errno": -2, 2025-02-21T20:06:24.641592086Z | stdout | [2/21/2025] [8:06:24 PM] [Nginx    ] › ⬤  debug     Could not delete file: { 2025-02-21T20:06:24.641530181Z | stdout | [2/21/2025] [8:06:24 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/proxy_host/7.conf.err 2025-02-21T20:06:24.641001194Z | stdout | [2/21/2025] [8:06:24 PM] [Nginx    ] › ⬤  debug     Deleting file: /data/nginx/proxy_host/7.conf

Nginx Proxy Manager Version
v2.12.3

Expected behavior
A log with information about the errors to find a possible solution

Screenshots

https://i.imgur.com/1JjhjqL.png

Operating System
DSM 7.1-42661 Update 1 on DS920+

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the SSL certificate request with the jc21/nginx-proxy-manager:latest image and inspect /tmp/letsencrypt-log/letsencrypt.log, including the reported Certbot command. Trace how the certificate failure is surfaced in the container logs; done means the underlying error is available in a useful log rather than only an Internal Error response.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops, observability, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.