Lychee-v3 icon indicating copy to clipboard operation
Lychee-v3 copied to clipboard

Upload failed with no error.

Open misaka00251 opened this issue 5 years ago • 10 comments

Detailed description of the problem

Can't upload some photos.

Steps to reproduce the issue

Same error when uploading as #205. https://user-images.githubusercontent.com/35893306/52866555-372e6980-313f-11e9-9caa-de3cf3fcc110.png

Console: Imgur

Output of the diagnostics (Settings => Diagnostics)

Diagnostics
-----------
Warning: Dropbox import not working. No property for dropboxKey.
No critical problems found. Lychee should work without problems!


System Information
------------------
Lychee Version (json):  3.2.13
DB Version:             update_030213
System:                 Linux
PHP Version:            7.3
MySQL Version:          50505
Imagick:                1
Imagick Active:         1
Imagick Version:        1687
GD Version:             2.2.5
Plugins:                


Config Information
------------------
version:                 update_030213
checkForUpdates:         1
sortingPhotos:           ORDER BY id DESC
sortingAlbums:           ORDER BY id DESC
imagick:                 1
lang:                    en
skipDuplicates:          0
layout:                  0
image_overlay:           0
default_license:         none
small_max_width:         0
small_max_height:        360
medium_max_width:        1920
medium_max_height:       1080
deleteImported:          1
image_overlay_type:      exif
php_script_limit:        0
useExiftool:             0

Browser and system

Chrome 73.0.3683.75 Windows 10

misaka00251 avatar Mar 15 '19 09:03 misaka00251

Try taking a look at your server (apache/nginx/whatever) and php logs. There might be a clue there

d7415 avatar Mar 15 '19 09:03 d7415

Really strange, nothing in my nginx & php log file.

misaka00251 avatar Mar 15 '19 11:03 misaka00251

Could be related to this? I don’t think it was ever merged to this new repo https://github.com/electerious/Lychee/pull/785

mkiric avatar Mar 27 '19 22:03 mkiric

It was. If you click on your link it shows that it was applied in 35df3450431101c860578bd36d366da3473e0845

d7415 avatar Mar 28 '19 10:03 d7415

Here are two samples you can test with: https://tools.251.sh/Temp/DR-DOS.7z Upgrade to 3.2.14 still not solve this problem.

misaka00251 avatar Mar 29 '19 08:03 misaka00251

@misaka00251 Tried on my VM, could not reproduce.

As follows is my diagnostic page:

Diagnostics
-----------
Error: Upgrade to PHP 7.1 or higher
Error: 'data/config.php' is world readable.


System Information
------------------
Lychee Version (json):  3.2.14
Lychee Version (git):   b5272e8 (master)
DB Version:             update_030214
System:                 Linux
PHP Version:            7
MySQL Version:          50505
Imagick:                1
Imagick Active:         1
Imagick Version:        1687
GD Version:             2.2.4
Plugins:                


Config Information
------------------
checkForUpdates:         1
default_license:         CC0
deleteImported:          1
full_photo:              1
image_overlay:           1
image_overlay_type:      exif
imagick:                 1
lang:                    en
layout:                  1
medium_max_height:       1080
medium_max_width:        1920
php_script_limit:        0
skipDuplicates:          0
small_max_height:        360
small_max_width:         0
sortingAlbums:           ORDER BY title ASC
sortingPhotos:           ORDER BY takestamp DESC
useExiftool:             0
version:                 update_030214

I am using Apache.

ildyria avatar Apr 10 '19 09:04 ildyria

I'm having the same issue. Nginx/PHP 7.2

peiris avatar Apr 27 '19 21:04 peiris

What is your client_max_body_size setting in your nginx config? I had a similar issue due to misconfiguration of my nginx. Now I just use client_max_body_size 64M;

frankenmichl avatar Jun 24 '19 10:06 frankenmichl

client_max_body_size 128M;

misaka00251 avatar Jun 26 '19 05:06 misaka00251

Hello. I have a similar problem with the linuxserver docker image when pictures are ~10mo in size.

However, if I have a failed message from the upload menu, the pictures are well sent. Or almost. I had sent 25 pictures, and at the 16th, the upload was stuck at 27%. I refreshed the page and then tried to sent the rest. But the first upload stay stuck at 1% or 12%. Sometimes it get me 504 Gateway out.

Lychee logs shows only stuff like that : 2019-08-04 12:19:45 - notice - Lychee\Modules\Photo::add (242) - Skipped adjustment of photo (DSC_0215)

I have no php or nginx errors. The server load is cool, and the only noticeable thing is that my images folder is on a s3 object storage.

NoxInmortus avatar Aug 04 '19 11:08 NoxInmortus