-
-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Container startup fails with this log message:
crontab: can't open '/config/crontabs/abc': Permission denied
s6-rc: warning: unable to start service init-crontabs-config: command exited 1
Expected Behavior
No response
Steps To Reproduce
- On Synology NAS Docker
- With a user named
nginx-swagthat owns the full config local directory that is mapped into the container - UID and GID for the container set up
- nginx-swag versions after
2.2.0-ls175
Environment
- OS: Synology DSM 7.1.1-42962 Update 4
- How docker service was installed: from the Synology app store
- Docker version: Docker version 20.10.3, build 55f0773CPU architecture
x86-64
Docker creation
docker-compose.yml:
version: "3.3"
networks:
traefik:
external: true
services:
swag:
image: linuxserver/swag:2.2.0-ls175
container_name: swag
cap_add:
- NET_ADMIN
networks:
- traefik
environment:
- PUID=1046
- PGID=100
- TZ=Europe/Berlin
- URL=<redacted>
- SUBDOMAINS=wildcard # DuckDNS certs support subdomain wildcadrs
- VALIDATION=duckdns
- DNSPLUGIN=duckdns # optional
- DUCKDNSTOKEN=<redacted>
- ONLY_SUBDOMAINS=true # optional
- DOCKER_MODS=linuxserver/mods:swag-dashboard|linuxserver/mods:swag-dbip|linuxserver/mods:swag-auto-reload
- WATCHLIST="/config/nginx|/config/nginx/proxy-confs"
volumes:
- ./config:/config
ports:
- 8443:443
restart: alwaysContainer logs
docker-compose logs:
Starting swag ... done
Attaching to swag
swag | [mod-init] Attempting to run Docker Modification Logic
swag | [mod-init] Applying linuxserver/mods:swag-dashboard files to container
swag | [mod-init] linuxserver/mods:swag-dashboard at sha256:d50df4493919a652c74a4b0570d7822ccc31f06c2bf0abc28825b55deae10146 has been previously applied skipping
swag | [mod-init] Applying linuxserver/mods:swag-dbip files to container
swag | [mod-init] linuxserver/mods:swag-dbip at sha256:8d4d9cec2795ce0ad2636a05aabe93fe261226568f57f4def3d372c64ce28385 has been previously applied skipping
swag | [mod-init] Applying linuxserver/mods:swag-auto-reload files to container
swag | [mod-init] linuxserver/mods:swag-auto-reload at sha256:70f83cfcb537678558870a5f59660c367df6a914f4b5face582648ebd01c01b7 has been previously applied skipping
swag | [migrations] started
swag | [migrations] 01-nginx-site-confs-default: skipped
swag | [migrations] done
swag | usermod: no changes
swag | ───────────────────────────────────────
swag |
swag | ██╗ ███████╗██╗ ██████╗
swag | ██║ ██╔════╝██║██╔═══██╗
swag | ██║ ███████╗██║██║ ██║
swag | ██║ ╚════██║██║██║ ██║
swag | ███████╗███████║██║╚██████╔╝
swag | ╚══════╝╚══════╝╚═╝ ╚═════╝
swag |
swag | Brought to you by linuxserver.io
swag | ───────────────────────────────────────
swag |
swag | To support the app dev(s) visit:
swag | Certbot: https://supporters.eff.org/donate/support-work-on-certbot
swag |
swag | To support LSIO projects visit:
swag | https://www.linuxserver.io/donate/
swag |
swag | ───────────────────────────────────────
swag | GID/UID
swag | ───────────────────────────────────────
swag |
swag | User UID: 1046
swag | User GID: 100
swag | ───────────────────────────────────────
swag |
swag | using keys found in /config/keys
swag | crontab: can't open '/config/crontabs/abc': Permission denied
swag | s6-rc: warning: unable to start service init-crontabs-config: command exited 1
swag | /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.
swag | prog: fatal: stopping the container.Metadata
Metadata
Assignees
Labels
No labels