Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.
This repository was 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

@keops62

Description

@keops62

(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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions