-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: /etc/letsencrypt is not mounted! Check your docker configuration. #3557
Comments
can you not mount the volume and just not use sll certs? |
@Dialgatrainer02 Yes, I could do that (and it does work). Is that the recommended approach? It seems like previous version did not have this as a necessity if not using Let's Encrypt. But if that's the proper way to do it, then please feel free to resolve this ticket. |
I am experiencing the same issue as of January 21st 2024. I only use Nginx to access Vaultwarden so it took some time to figure out what was wrong. Is there a solution for this? EDIT: Went back to 2.10.4 and all is now working as expected. Told WatchTower not to auto-update this container ;-) Hope this thread will get a reply when a fix is available. All contributors: thanks for the hard work :) |
Similar issue here, except I do use SSL and I have a directory bound to /etc/letsencrypt. I get this error with latest as of 2/26/24; going back to 2.10.4 makes everything work again. |
same Problem here after "default" install: ERROR: /etc/letsencrypt is not mounted! Check your docker configuration. yes, the 2.10.4 works fine... |
Same as above |
1 similar comment
Same as above |
same here! |
Same here , the 2.10.4 works fine |
This issue still persists. I have yet to find a solution. Is there any quick fix other than using the older version? |
Still persists |
Here is the breaking changes: Issue #3170 with PR #3258 If you are not using SSL certificates at all (i.e. only hosting locally) you could probably just mount an empty directory for letsencrypt. Something like this in your compose file: ---
# ...
services:
nginx-proxy-manager:
# ...
volumes:
# ...
- nginx-proxy-manager_letsencrypt:/etc/letsencrypt
volumes:
# ...
nginx-proxy-manager_letsencrypt:
name: 'nginx-proxy-manager_letsencrypt' |
+1 to the above comments - issue still persists, June 2024. This is just a brand-new setup using the compose file from the README (with my added custom networks, but I'm not certain that is contributing to the issues here):
This is after using the workaround suggested above - this is my compose file:
What's difficult is I can't confirm that it's related to LE, since I can't even get it to load long enough to try to configure esomething - LE or otherwise. |
6 months later and still getting "ERROR: /etc/letsencrypt is not mounted! Check your docker configuration." This prevents renewing certs. This is my compose file (using Portainer):
How come this is still an issue? Is nobody using LE with NPM? Is there a workaround? |
Just wanted to add that v2.10.4 works fine for me as well. (Installed as "custom app" in TrueNAS SCALE) |
Took some trial and error, but this is my working services:
nginx-proxy-manager:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-manager
ports:
- 80:80/tcp
- 81:81/tcp
- 443:443/tcp
- 3001:3000/tcp
networks:
- nginx-proxy-manager
environment:
- TZ=America/Chicago
- PUID=1000
- PGID=1000
- X_FRAME_OPTIONS=sameorigin
- DB_SQLITE_FILE=/data/database.sqlite
- DISABLE_IPV6=true
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/containers/nginx-proxy-manager/letsencrypt:/etc/letsencrypt
- /docker/containers/nginx-proxy-manager/config:/data
healthcheck:
test: ["CMD", "/bin/check-health"]
interval: 10s
timeout: 3s
restart: no
networks:
nginx-proxy-manager:
external: true
I didn't try to save any certs and in fact deleted some from a prior image tag. This fixed both a certbot python import error from 2.10.4 and the 2.11.0 complaint about Hope that helps! |
still same issue useradd warning: npm's uid 0 outside of the UID_MIN 1000 and UID_MAX 60000 range. |
If no volume is mounte /etc/letsencrypt is not created:
|
For any of you folks running Portainer and need a solution, this worked for me.
|
Checklist
jc21/nginx-proxy-manager:latest
docker image?Describe the bug
With the
jc21/nginx-proxy-manager:latest
image, I'm getting the following error in the logs:I'm not using Let's Encrypt and so do not have
/etc/letsencrypt
mounted in my compose file.I went back to
jc21/nginx-proxy-manager:2.10.4
and everything works as expected.Nginx Proxy Manager Version
latest
from docker hubTo Reproduce
Steps to reproduce the behavior:
jc21/nginx-proxy-manager:latest
image and run the container without providing a host mount for/etc/letsencrypt
.Expected behavior
The container should operate normally without this mount.
Operating System
Linux **** 5.15.0-1051-oracle 57-Ubuntu SMP Wed Jan 24 18:31:24 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
The text was updated successfully, but these errors were encountered: