-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index: Automatically remove orphan file entries #1559
Comments
Seems more like an issue with the files. When photos are in review, they have their quality set to -1, same as for photos with indexing issues e.g. because the format is not properly supported and no thumbs could be created. May happen for new RAW formats Darktable and RawTherapee can't properly handle yet. |
You're welcome to send samples for testing as guessing what the issue might be takes too long (there are just too many possibilities what can go wrong with files): hello@photoprism.app |
Also please use the stable version, the last tag is 20210925 - there is no version from 27/09/2021, also no preview. |
Before debugging further, it would be best to check your error / warning logs e.g. https://demo.photoprism.org/library/errors |
May I ask what issues would those be ? I mean if I click on those files, the video is played proper. Thumbnail creation has had another erratic behavior lately. See below image for example. Thumbnails end up showing in the main view on PhotoPrism (Under Review). This has been annoying as I have had to explicitly validate that they are thumbnails (looking at their file size) and delete them. |
Under Errors, I get many such errors on first index run. On consecutive index run, those errors are not seen afaik. And by preview, I meant that I'm using the stable version from the 25th of September. Yes. Just that I build the images locally. |
Exactly, videos would show under hidden when ffmpeg can't create a thumb as the assumption is that the files are broken. |
You deleted video JPEG previews manually? That would explain the issue. |
Are you using a case-insensitive file system? |
Errors look like the same files might exist multiple times, maybe with different capitalization... this shouldn't happen usually, never seen this. Any manual database changes? |
No. I'm on I've triggered a full-index now. Please allow me to have it complete and then I'll share my findings on this issue. |
No. Everything is as close to the docker-compose recipe you've prepared. I only rebuild locally. The only exception about database is that I had to manually The instance I have running is:
|
Today morning, magically, all those annoying thumbnails were gone. After taking a closer look at the logs, I noticed that I have a scheduled job to run
|
This commit will search for orphan rows in the |
Tested with the latest changes from
|
I get a bunch of pictures/videos under Review. After examining them, I mark them as Approved. After a while, like say 15 minutes, they show up again under Review.
The logs do capture what I've described above. Is this a bug somewhere ?
Installation Details:
The text was updated successfully, but these errors were encountered: