-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed as duplicate of#4629
Closed as duplicate of#4629
Copy link
Labels
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
When I start the container for the first time it's taking an incredibly long due to it setting ownership:
nginx-proxy-manager | ❯ Configuring npm user ...
nginx-proxy-manager | ❯ Configuring npm group ...
nginx-proxy-manager | ❯ Checking paths ...
nginx-proxy-manager | ❯ Setting ownership ...
I did a bit of investigation and found out it's due to this command:
chown -R "$PUID:$PGID" /opt/certbot
This code was added in this commit:
05307aa
I ran this command myself inside the container and it took about 5 minutes to complete:
To me it feels a bit strange to have to execute this command on the /opt folder which isn't even mapped to my host system. So why not do this during the creation of the container rather then during boot?
Nginx Proxy Manager Version
2.10.4
To Reproduce
See above
Expected behavior
Boot quickly
Screenshots
N/A
Operating System
Docker inside a container on a Synology NAS
Additional context
panos-stavrianos, extremelf, nivg1992, willtaylor, technotiger and 9 more