-
Notifications
You must be signed in to change notification settings - Fork 454
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
Themes broken in 5.2.0 container? #367
Comments
Hi @YouveGotMeowxy |
Happy to. :) phpmyadmin:
hostname: 'phpmyadmin'
image: 'phpmyadmin/phpmyadmin:latest'
environment:
TZ: 'America/Chicago'
PMA_HOST: 'mysql'
MYSQL_ROOT_PASSWORD_FILE: '/run/secrets/MySQL-PW'
PMA_ABSOLUTE_URI: 'https://phpmyadmin.redacted.com/'
volumes:
- '/opt/docker/configs/phpmyadmin/saved:/saved:rw'
- '/opt/docker/configs/phpmyadmin/upload:/upload:rw'
- '/opt/docker/configs/phpmyadmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php:ro'
- '/opt/docker/configs/phpmyadmin/themes:/var/www/html/themes:ro'
secrets:
- 'MySQL-PW'
networks:
- 'mysql'
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
- 'node.labels.Main == true'
restart_policy:
condition: 'any' |
So one of the first things I would advise is using the Docker official image (more to learn in #363) - image: 'phpmyadmin/phpmyadmin:latest'
+ image: 'phpmyadmin:latest' Then, you should check the permissions in - - '/opt/docker/configs/phpmyadmin/themes:/var/www/html/themes:ro'
+ - '/opt/docker/configs/phpmyadmin/themes/favoritetheme:/var/www/html/themes/favoritetheme:ro' |
@williamdes THANK YOU! I followed all 3 suggestions and it works now. I'm not sure which one did it, though, lol I'm guessing the permissions. My entire phpmyadmin config mount is set as the docker user (1000), but somehow the themes folder got set to root (not being a linux user I didnt even think to look at perms, since it worked previously). I set it recursively to 1000 again so it matches the rest, and now everything loads again. wewt! :) I appreciate it so much! Viva La Fronce! :-P |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Don't know. All I did was update the container to the latest and now themes wont load. I may be wrong, but it seems like the path is wrong? (see screenshot).
Expected behavior
Themes load.
Screenshots
Server configuration
The text was updated successfully, but these errors were encountered: