Skip to content

ERROR: /etc/letsencrypt is not mounted! Check your docker configuration. #3557

@littlegraycells

Description

@littlegraycells

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
With the jc21/nginx-proxy-manager:latest image, I'm getting the following error in the logs:

❯ Configuring npm user ...
useradd warning: npm's uid 0 outside of the UID_MIN 1000 and UID_MAX 60000 range.
❯ Configuring npm group ...
❯ Checking paths ...
--------------------------------------
ERROR: /etc/letsencrypt is not mounted! Check your docker configuration.
--------------------------------------
s6-rc: warning: unable to start service prepare: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.

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 hub

To Reproduce
Steps to reproduce the behavior:

  1. Pull the jc21/nginx-proxy-manager:latest image and run the container without providing a host mount for /etc/letsencrypt.
  2. The NPM container crashes with the above mentioned error.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions