Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Upload failed with no error. #226

Open
misaka00251 opened this issue Mar 15, 2019 · 10 comments
Open

Upload failed with no error. #226

misaka00251 opened this issue Mar 15, 2019 · 10 comments
Labels
Nginx Nginx related problems

Comments

@misaka00251
Copy link

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

@d7415
Copy link
Contributor

d7415 commented Mar 15, 2019

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

@misaka00251
Copy link
Author

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

@mkiric
Copy link

mkiric commented Mar 27, 2019

Could be related to this? I don’t think it was ever merged to this new repo electerious/Lychee#785

@d7415
Copy link
Contributor

d7415 commented Mar 28, 2019

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

@misaka00251
Copy link
Author

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.

@ildyria
Copy link
Member

ildyria commented Apr 10, 2019

@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.

@peiris
Copy link

peiris commented Apr 27, 2019

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

@ildyria ildyria added the Nginx Nginx related problems label Jun 18, 2019
@frankenmichl
Copy link

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;

@misaka00251
Copy link
Author

misaka00251 commented Jun 26, 2019

client_max_body_size 128M;

@NoxInmortus
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Nginx Nginx related problems
Projects
None yet
Development

No branches or pull requests

7 participants