Hello,
During the file upload, it stuck after 100% even the file format is jpg (5MB size). The photo is uploaded to album successfully. But I found the linked album data field shows "This photo is an orphan"
After 2 minutes, it returns a success message and the linked album data field is created successfully.
Piwigo 13.6.0 Check for upgrade
Installed on 3 March 2023, 1 hour ago
Operating system: Linux
PHP: 7.4.3-4ubuntu2.18 (Show info) [2023-03-03 23:47:14]
MySQL: 5.7.31-0ubuntu0.18.04.1 [2023-03-03 23:47:14]
Graphics Library: ImageMagick 6.9.10-23
Cache size N/A never calculated Refresh
Last edited by davidfungf (2023-03-04 03:37:59)
Offline
Finally, I sovled the problem by [Github] Piwigo issue #849
Commenting out line of /admin/include/functions_upload.inc.php
// fetchRemote($derivative_url, $dest)
Offline
As the last comment there says, check the log if the generated URL can be reached and read by the server.
Offline
Thank you. I missed the last message. After I modify the host file, it works fine. No need to modify the functions_upload.inc.php file.
root@xxxxx:/var/www/photos# cat _data/logs/log_2022-11-05_2da7f981e0e79d42ea0351187a992d25f36737bc.txt | grep add_uploaded_file [2022-11-05 19:08:34] [INFO] add_uploaded_file : force cache generation, derivative_url = https://xxxxxxx.com/photos/i.php?/upload/2022/11/05/20221105190834-b6b9575f-me.jpg
Offline