I am using Nextcloud 9.0.53 and Galleryplus 15.1.1. If I remember correcty the behaviour when clicking on an image was to display it in some kind of slideshow. Instead of this the browser tries to download the file (tested with latest Firefox and Chrome)
Within the browser console I noticed a Content-Security-Policy error: Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert (“script-src https://example.org ‘unsafe-eval’”). (Sorry for the german message, it means that loading of a resource was blocked because of CSP.) After adding unsafe-inline to the CSP script-src header the error doesn’t appear anymore but the slideshow isn’t working also (so I changed the CSP back to the default)
I don’t know how long this error affects me but I think it persits already for a long time and after searching through the forums and GitHub issues I could not find any solution.
I am thankful for any advise you give me.
EDIT: Of course I had a look in the owncloud.log but not a single line is logged while clicking on an image or browsing through the images.
After disabling the apps I cleared my browser cache. I don’t use asset pipelinging so I think this should be enough, right?)
UPDATE: I have just noticed one thing: The slideshow works but only if I view images via a shared link. Is this the expected behaviour? If I remember correctly I also could use the slideshow while viewing my own files/images.
The memory limit was set to 512M (which should be enough I think) and raising it to 1024 MB did not make any difference.
I think I should try with a clean nextcloud installation on a testing server and see if the galleryplus apps works. If it works, which I think it should, I hopefully will find something which differs from my instalation.
Thank you for your help so far.
For this request I get a valid JSON response (containing a features / mediatypes object). As a temporary workaround I modified the file apps/gallery/appinfo/routes.php at line 71 so the url for config#get also has a trailing slash. With this the response gets correctly answered and the gallery and slideshow are working even if I am logged in.
Unfortunately I don’t know why the response /apps/gallery/config gets redirected and I don’t know why the second request /apps/gallery/config.public doesn’t get redirected.