-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
[BUG] Some plugins do not work due to the use of symlinks for plugin directory #70
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
same problem after upgrade piwigo from 13.1.0 to 14.0.0. |
Same issue her as well. Both v13 and v14 |
Can this be added to the linuxserver Bug and PR Tracker? |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Any updates on this one? |
I've picked this up and will try to resolve. If it is indeed a symlink issue it may require some changes to how the container works. |
I'is great! Thank you. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is locked due to inactivity |
Is there an existing issue for this?
Current Behavior
Hello,
I'm trying to use this docker image with the plugin OpenID Connect.
It works with the image
lscr.io/linuxserver/piwigo:13.1.0
, but starting withlscr.io/linuxserver/piwigo:13.2.0
the plugin does not work :When I open http://localhost:8080/plugins/OpenIdConnect/auth.php I get an internal error (code 500) instead of being redirected to the auth provider.
The image
13.2.0
correspond, I think, to the addition of the symbolic link/app/www/public/plugins -> /config/www/plugins
. I believe this is because some modules define relative path, like here auth.php#L18 which doesn't points to the right directory when symbolic links are used.There is also an issue in Piwigo repository which does not seem up-to-date but which mention incompatibility between symbolic links and some plugins: Piwigo#907
When I remove the symlink, be deleting the line init-piwigo-config/run#L50, the module works perfectly.
Expected Behavior
http://localhost:8080/plugins/OpenIdConnect/auth.php shouldn't raise an internal error.
Steps To Reproduce
Issuer URL
,Client ID
andClient secret
. CheckEnable Authorization Code Flow
and save settingsEnvironment
CPU architecture
arm64
Docker creation
I use the following Docker compose file: version: "3" services: piwigo-app: image: lscr.io/linuxserver/piwigo:13.8.0 container_name: piwigo-app restart: unless-stopped volumes: - ./piwigo-app/config:/config - ./piwigo-app/gallery:/gallery env_file: .env networks: - piwigo-backend ports: - 8080:80 piwigo-db: image: mariadb:10.11.2 container_name: piwigo-db restart: unless-stopped volumes: - ./piwigo-db:/var/lib/mysql env_file: .env networks: - piwigo-backend networks: piwigo-backend: name: piwigo-backend
Container logs
In
/config/log/nginx/error.log
there is also an error:The text was updated successfully, but these errors were encountered: