Announcement

#1 2023-03-03 16:51:19

davidfungf
Member
2018-07-28
13

Photo Upload Stuck after 100%

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.

https://user-images.githubusercontent.com/11047158/161634323-7ba0a095-30f8-4da6-bfa1-a8c494b11486.png


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

 

#2 2023-03-05 03:00:57

davidfungf
Member
2018-07-28
13

Re: Photo Upload Stuck after 100%

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

 

#3 2023-03-05 12:02:57

erAck
Only trying to help
2015-09-06
2054

Re: Photo Upload Stuck after 100%

As the last comment there says, check the log if the generated URL can be reached and read by the server.


Running Piwigo at https://erack.net/gallery/

Offline

 

#4 2023-03-05 14:25:34

davidfungf
Member
2018-07-28
13

Re: Photo Upload Stuck after 100%

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.


Code:

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact