Skip to content

[BUG] symbolic links not accessible #549

Open
@Meldrak

Description

@Meldrak

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello

before I can access my certificate from mounted docker config folder, but now I can't since about one month

UNRAID:~# ls -l /mnt/cache/appdata/letsencrypt/keys
total 0
lrwxrwxrwx 1 root root 27 Mar 9 12:09 cert.crt -> ./letsencrypt/fullchain.pem
lrwxrwxrwx 1 root root 25 Mar 9 12:09 cert.key -> ./letsencrypt/privkey.pem
lrwxrwxrwx 1 root root 39 Mar 9 12:09 letsencrypt -> /config/etc/letsencrypt/live/myfqdn.fr

UNRAID:~# ls -l /mnt/cache/appdata/letsencrypt/keys/letsencrypt/
/bin/ls: cannot access '/mnt/cache/appdata/letsencrypt/keys/letsencrypt/': No such file or directory

inside the container it is ok

root@SWAG:/# ls -l /config/keys/letsencrypt/
total 12
-rw-r--r-- 1 abc abc 692 Aug 13 2024 README
lrwxrwxrwx 1 abc abc 34 Feb 10 02:12 cert.pem -> ../../archive/myfqdn.fr/cert4.pem
lrwxrwxrwx 1 abc abc 35 Feb 10 02:12 chain.pem -> ../../archive/myfqdn.fr/chain4.pem
lrwxrwxrwx 1 abc abc 39 Feb 10 02:12 fullchain.pem -> ../../archive/myfqdn.fr/fullchain4.pem
-rw------- 1 abc abc 3074 Feb 10 02:12 priv-fullchain-bundle.pem
lrwxrwxrwx 1 abc abc 37 Feb 10 02:12 privkey.pem -> ../../archive/myfqdn.fr/privkey4.pem
-rw------- 1 abc abc 2736 Feb 10 02:12 privkey.pfx

Expected Behavior

No response

Steps To Reproduce

see above

Environment

- OS: Unraid

CPU architecture

x86-64

Docker creation

docker run
  -d
  --name='swag'
  --pids-limit 2048
  -e TZ="Europe/Paris"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="UNRAID"
  -e HOST_CONTAINERNAME="swag"
  -e 'TCP_PORT_443'='443'
  -e 'TCP_PORT_80'='80'
  -e 'URL'='myfqdn.fr'
  -e 'VALIDATION'='dns'
  -e 'SUBDOMAINS'='wildcard'
  -e 'CERTPROVIDER'=''
  -e 'DNSPLUGIN'='cloudflare'
  -e 'PROPAGATION'='30'
  -e 'EMAIL'='mail.fr'
  -e 'ONLY_SUBDOMAINS'='false'
  -e 'EXTRA_DOMAINS'=''
  -e 'STAGING'='false'
  -e 'DOCKER_MODS'='linuxserver/mods:swag-dbip|linuxserver/mods:swag-dashboard'
  -e 'MAXMINDDB_LICENSE_KEY'='xxxxxxxx'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -e 'UMASK'='022'
  -l net.unraid.docker.managed=dockerman
  -v '/mnt/cache/appdata/custom-cont-init.d/swag/':'/custom-cont-init.d':'rw'
  -v '/mnt/cache/appdata/letsencrypt/':'/config':'rw'

Container logs

Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Wildcard cert for myfqdn.fr will be requested
E-mail address entered: mail.fr
dns validation via cloudflare plugin is selected
Certificate exists; parameters unchanged; starting nginx
The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).
**** Applying the SWAG dashboard mod... ****
Applying the dbip mod...
Applied the dbip mod
**** Adding goaccess to package install list ****
**** libmaxminddb already installed, skipping ****
**** Applied the SWAG dashboard mod ****
[pkg-install-init] **** Installing all mod packages ****
fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
(1/1) Installing goaccess (1.9.3-r0)
Executing busybox-1.37.0-r12.trigger
OK: 184 MiB in 223 packages
[custom-init] Files found, executing
[custom-init] sample.sh: executing...
[custom-init] sample.sh: exited 0
[custom-init] zztables.sh: executing...
[custom-init] zztables.sh: exited 0
[ls.io-init] done.
Server ready

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions