Open HalibutGitWiz opened 2 months ago
can confirm, I have the same issue.
Same issue here.
I faced the same issue after upgrading from 13.8 to 14.3. I could see the photos were still present on the file system in /home/yunohost.app/piwigo
, but the requests to display them was returning 404 errors.
I looked at the code of i.php
, and found that it was trying to read the file from the folder <piwigo_root>/$conf['data_location']
, and data_location
is set to /home/yunohost.app/piwigo
. So there is a mismatch between the config set by the YNH package and the fact that Piwigo expects the data folder to be a sub-folder of the application root.
To solve the problem on my server, I replaced the folder /var/www/piwigo/home/yunohost.app/piwigo
(which existed but as mostly empty) with a symbolic link to /home/yunohost.app/piwigo
. The pictures are now correctly displayed.
I hope this helps people work around the problem, and package maintainers provide a fix...
Describe the bug
After a fresh install (both Yunohost and Piwigo), uploading pictures seem to work. But the pictures are not displayed correctly afterwards.
Context
Steps to reproduce
This step seems to behave as expected : I get a confirmation message and the upload takes a few seconds per picture. But the pictures don't appear.
Browser console shows a 404 error and a very small file size. I checked on the server and the files indeed don't exist.
Expected behavior
See the images I uploaded both in Administration panel and in the gallery.
Logs
I don't know where Piwigo logs are stored.
This issue was discussed (in French) in the forum