-
Notifications
You must be signed in to change notification settings - Fork 129
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
Latest image broken - static files in /var/www/html/public_html won't served #326
Comments
I can not reproduce that so far. Could you let me know:
|
[...]
roundcube-app:
image: roundcube/roundcubemail
container_name: roundcube-app
restart: unless-stopped
environment:
- ROUNDCUBEMAIL_SKIN=elastic
[...]
volumes:
- ./volumes/roundcube/html:/var/www/html
- ./volumes/roundcube/config/:/var/roundcube/config
labels:
# Watchtower
- com.centurylinklabs.watchtower.enable=true
depends_on:
- roundcube-db
[...] |
Are you using Docker? Or something else? What is the image digest? ( |
FWIW, I seem to have the exact same behavior mentioned by @foorschtbar `[Wed Feb 26 15:40:33.967253 2025] [core:error] [pid 132:tid 132] [client 10.0.1.6:50834] AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/public_html/skins, referer: https://webmail.quaqua.nl/
10.0.1.6 - - [26/Feb/2025:15:40:33 +0000] "GET /skins/elastic/deps/bootstrap.min.css?s=1739004467 HTTP/1.1" 403 443 "https://webmail.quaqua.nl/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0"
[Wed Feb 26 15:40:33.968362 2025] [core:error] [pid 133:tid 133] [client 10.0.1.6:50840] AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/public_html/skins, referer: https://webmail.quaqua.nl/` digest: But I highly suspect it already existed on a somewhat older image as I pulled the very latest image to see if it would solve the problem I was already having. |
Sorry, yes Docker CE.
Yes, sorry. Digest: But its now working after deleting the |
I mount
Before I did that these had ownership Thanks for the hints here :-) |
I checked my backups, the files hat |
Interesting observation @foorschtbar , which got me think a bit further. So, yes, with ownership I'm sure someone will tell me that this is well-documented behavior of symbolic links, but I never quite realized it I guess. |
Since updating the container tonight to the latest apache image, Roundcube won't serve any static files:
Maybe this had something to do with #321? I'm not sure if it's my setup or if the new image had a problem.
I can see that there a now symbolic links, but its disabled in apache config?
The text was updated successfully, but these errors were encountered: