linuxserver / docker-lychee

GNU General Public License v3.0
45 stars 16 forks source link

(Unraid template) Import from Server stops after certain number of photos imported #11

Closed coolsaber57 closed 5 years ago

coolsaber57 commented 5 years ago

Selecting Import from Server will start the import process, but it eventually stops after ~80 to a few hundred photos. It's hard to tell when it stops as the import dialog box stays up and shows "importing" and there is no progress indicator.

I have an Unraid share "Photos" mapped in the template.

I took a look at the diagnostics and see this:

2019-01-09 16:06:15 - error - Lychee\Modules\Database::createTables (171) - Table 'lychee.lychee_settings' doesn't exist 2019-01-09 16:06:15 - error - Lychee\Modules\Database::createTables (216) - Table 'lychee.lychee_albums' doesn't exist 2019-01-09 16:06:15 - error - Lychee\Modules\Database::createTables (239) - Table 'lychee.lychee_photos' doesn't exist 2019-01-09 16:06:16 - error - update_030203 (12) - Unknown column 'small' in 'field list' 2019-01-09 16:06:16 - error - update_030204 (12) - Unknown column 'lens' in 'field list' 2019-01-09 16:06:16 - error - update_030205 (12) - Unknown column 'license' in 'field list' 2019-01-09 16:06:16 - error - update_030207 (12) - Unknown column 'license' in 'field list' 2019-01-09 16:16:03 - notice - Lychee\Modules\Photo::createMedium (536) - No resize (image is too small)! 2019-01-09 16:16:03 - notice - Lychee\Modules\Photo::createMedium (528) - Skipped creation of small-photo, because uploads/small/ is missing or not readable and writable.

and it repeats a lot of the last notice for a bunch of photos.

linuxserver.io

Unraid 6.6.6

image

image

Possible permissions issue?

Thanks, team linuxserver.io

thelamer commented 5 years ago

Yep sounds like perms to me can you create folders or files in the mounted directory as the 99:100 user ?

aptalca commented 5 years ago

I believe the small thumbs folder was not getting created before, but this was fixed recently. Please try again and let us know.

meetthemeat commented 5 years ago

I also have the same problem. I stops after an arbitrary import of photos. Any further ideas? PIUD and PGID are setted

thx in advance

aptalca commented 5 years ago

did you edit the user.ini in the config folder under lychee to increase upload limits?

meetthemeat commented 5 years ago

didn't. should I use this proposal https://github.com/electerious/Lychee/blob/master/docs/FAQ.md ?

aptalca commented 5 years ago

user.ini already has the parameters defined. Increase the numbers as needed

meetthemeat commented 5 years ago

thx for your support. will check

homerr commented 5 years ago

If this continues to be an issue please join us in Discord for further support as this doesn't appear to be an issue with the container itself, (as delivered) but potentially a configuration issue.