mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #3624] The error was: expected /etc/letsencrypt/live/npm-2/cert.pem to be a symlink #2398
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#2398
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Schmandre on GitHub (Mar 12, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3624
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
Nginx Proxy Manager Version
To Reproduce
Steps to reproduce the behavior:
I really dont know. Was working everythime before. Just after moving from old system to new (files wasnt moved, completly new config) the error occures at every renewalphase.
I fixed with deleting all files and create everything new from zero. But that is very ... shit :)
Expected behavior
Working cert. renew
Screenshots
I like logs more, so here are logs from the error
Operating System
Desktop PC System with dedicated hardware
Additional context
Docker compose file
@feerlessleadr commented on GitHub (Mar 26, 2024):
I'm having this exact same issue. Any luck?
My log is identical to yours
@daniel-widrick commented on GitHub (May 10, 2024):
The work around for this issue is to simply delete the certs from the interface and then renable ssl on the hosts...
You can rebuild the cert structure manually but ideally this would be handled automatically. It's not unreasonable for these symlinks to get copied as files as part of a backup/migration solution and graceful handling would be nice.
@dampfhamm3r commented on GitHub (Jun 1, 2024):
I was in the same situation. In my case this issue arised after migrating NPM from a Linux container to a new docker instance.
I've copied all cert.pem/chain.pem/fullchain.pem/privkey.pem from each proxy host to the docker instance.
This messed up the symlinks. I've then created all the needed symlink manually and can now renew the certs without any issues.
For a proxy host
npm-4you need the following:The destination file names must contain a number (eg. cert
11.pem)! If the symlink points to a file without the number, the renewal will not work.@github-actions[bot] commented on GitHub (Dec 30, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@gautamsi commented on GitHub (Aug 10, 2025):
I was able to get a script using chatgpt, in case someone needs it.
My case was due to restore, the symlinks were gone, running from inside the npm container works or change the script accordingly