thumbnails are missing after “Generate Thumbnails” “All” job finished
Thumbnails were regenerated overnight but not all. “Missing” button has no effect.
On web ui, “regenerate thinmbnail” on each missing thumbnail, fixes that single one broken, but there are a lot of them, so it’s not practical. iPhone ui doesn’t even have that option. Please help
12 Replies
Are there any errors in the containers' logs?
There might be some timeout errors, let me filter out for a single thumbnail and I will post it here
So the file that it expects doesn't exist
Any errors in the microservices container when you ran the jobs?
I wasn't able to find those logs. I discovered that my .yml file was outdated and I had to recreate containers, so logs are lost now
I would imagine that "Missing" button would go and search missing files on disk, but apparently it doesn't really do that
It bases it on the database entries, which are wrong in your case
The easiest option would probably be to regenerate all thumbnails
We are going in circles 🙂 That's how the problem actually started
Try running it again but this time getting the logs so you can see the errors it generates ;)
That's promising, lol. I would imagine there is bad error handling somewhere in the code which does thumbnails generation. Database update and file creation isn't atomic/transactioned
Correct, that's an issue we have in a few places. There is error handling in place, but if things go wrong enough there's not a lot we can do
Maybe some kind of database consistency tool would be useful
That is something we'd like to add at some point, yea
Basically run file existence / validity on all records which reference those files