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

Import from server : some errors (wide picture or mp4-mov video) #156

Open
keops62 opened this issue Dec 25, 2018 · 5 comments
Open

Import from server : some errors (wide picture or mp4-mov video) #156

keops62 opened this issue Dec 25, 2018 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@keops62
Copy link

keops62 commented Dec 25, 2018

(first, sorry for my french english)

Leaving FlickR ($!§%$) I decided to make my own Lychee 3.2.7 server under a dedicated Ubuntu 18.04 LTS server.
LAMP 7.2's PHP.ini was set with Lychee's FAQ informations (picture + video), upload max set to twice more ;-)
My workstation is under MS Windows 10 64bits with FireFox 54.0 64bits to navigate in Lychee web frontend.
I worked on local LAN to access to Lychee 's server (FireFox or SSH).

I sorted my backup (more than 8 000 files) with a Lazarus FreePascal homemade software to get all my pictures in subdrectories as albums (154) from json files ...
I sent all this old FlickR folder on Ubuntu server and then copy it (care) into Lychee/uploads/import directory.
Not successfull :
I discovered some hours after beginning that Lychee freezed after some Albums made ... with no feedback/error shown !

So I moved directories from uploads/import to get them back here step by step, 3 directories by 3 directories to locate errors, trying not to sent more thant 150 files each time.

In Logs, I just read the same errors (not a lot) :
2018-12-23 14:07:00 - error - Lychee\Modules\Import::server (170) - Could not import folder. Function returned warning

Else I read just notice like :
2018-12-25 10:00:34 - notice - Lychee\Modules\Photo::add (242) - Skipped adjustment of photo (img_3696_14920641556_o)
2018-12-25 10:00:35 - notice - Lychee\Modules\Photo::createMedium (536) - No resize (image is too small)!

I discovered that large panoramic pictures (more than 9000x700px and 3Gb) made Lychee freeze : I had to update page by F5 key. As shown, no error about it in Logs.
I think it's the only real reason to freeze, except maybe too much files to treat (not sure at all).

I discovered too that video files were not imported :
no error shwon but Albums were free of videos (mp4, mov !)
Simple File import to Lychee works fine with video files.
I just got a normal error in Logs when I tried to sent an AVI file :
2018-12-25 17:37:09 - error - Lychee\Modules\Photo::add (142) - Photo format not supported

I hope this will be helpfull.

Just a need :
I think it would be great for "import from server" to have a progress feedback to view if a problem is occuring/occured.

A great THANK YOU for your wonderfull job !
It's helping me to save my pictures and to be able to share them (or not).
It motivated me to finally build my own Ubuntu server, learning a lot more than I did with some desktop Ubuntu I tried for pleasure.
Lychee was my own Christmas' present ;-)

I wish you all a merry Chrsitmas and an hapy new year !

@ildyria
Copy link
Member

ildyria commented Dec 25, 2018

I discovered that large panoramic pictures (more than 9000x700px and 3Gb) made Lychee freeze : I had to update page by F5 key. As shown, no error about it in Logs.

3Gb like 3 GigaByte ?

We already solved some troubles with Imagick but I don't know if the same troubles appear with GD. I still need to have a second look because I don't like the idea of GD being a solution over Imagick if the picture is too big.

Did you tried to do an upload via the browser instead of putting the files in import and importing them?

I did not work on the video files, so i don't know how they interact with import.
@clementlamoureux can you have a look ?

Glad that you like the software. I'm currently working on solving issues #152 #149 #154 #51

@ildyria ildyria added bug Something isn't working help wanted Extra attention is needed labels Dec 25, 2018
@keops62
Copy link
Author

keops62 commented Dec 26, 2018

Hye

Oups : 3 Mb indeed !

I now tried to upload the panoramic picture via browser and get instantly a feedback error (red) telling me (translation from French) "Server returned an unkown answer" and to look at Logs but nothing written in.
If you want the picture to test I attached it at this message.

Good luck for bug tracking ! with success I'm sure ;-)

@keops62
Copy link
Author

keops62 commented Dec 26, 2018

I dont't see the link to the picture (maybe my "old" Firefox ;-) ),
So I set it in GD with Diagnostics and Log parts :
https://drive.google.com/drive/folders/1oP_xSHEhlPLFToUgMPFZzHRNJvqLpy3P?usp=sharing

@ildyria
Copy link
Member

ildyria commented Dec 26, 2018

@keops62 I just tried on my personal server (running https://github.com/LycheeOrg/Lychee-Laravel which aims to be the next big version of Lychee). I did not get any error.

I will try on a normal installation now.

@ildyria
Copy link
Member

ildyria commented Dec 26, 2018

@keops62 I do see it breaking on a normal installation. :( I don't really have the time to hunt for that bug. May I advise you to switch to Lychee-Laravel. You won't be disappointed. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants