-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Unknown error in logs when generating missing thumbnails from admin console #15708
Comments
I might are seeing the same behavior (version 1.125.3). This was not the case with version 1.124. Edit: I went back to 1.124.2 and the missing thumbnail job is running normally (nothing to proceed). |
Can you set the log level to verbose and see if it logs any more detail? |
Came here to report this same issue. Every night I get a warning of High CPU Usage and everytime it is trying to regenerate thumbnails for about 12,000 images. After it finished I tell it to regenerate for missing and it is always the same count. I will try to revert to an earlier version to see what happens. |
@mertalev Do you have some input on the query we use to determine the missing thumbnail? |
Same here. Job is generating 48k+ Thumbnails on each missing run. |
@HearthisAt Can you help me understand how you can identify the 48,000 thumbnails that were generated? |
But: after a short visual check: most of the thumbnails and images are available. (99.x%) |
Sometimes I find if I go to the photo ID that is generating the type of log message shown in the OP, I can choose to regen thumbnail and it works. Sometimes it doesnt. Could be some bad images that display fine in other software but can't gen a thumbnail? |
Is the number of jobs queued consistent with the number of people? There's a bug that queues all people to have their thumbnails generated (1 per person). |
It does look to be if I look at all people including those hidden. |
In my case it is close to that number but I also think I have some images that fail thumbnail generation... is there no explicit log entry for when that happens? Really looking forward to the rewritten Repair feature as I have a big library that I suspect has some orphans and such |
Hmm.. Hard to believe that this will sum up to 40k. But wait: Are Thumbs & Previews of one asset are counted as 2 Thumbnails in generation? |
I am getting 130k thumbnail generation, on account of about 130k photos, mostly in external library. People / faces is around 25k. |
External RO Library with nearly 11k assets. |
Failures do get logged with the error and stack trace. Unfortunately we can only report what the image library itself reports, so if it says "unknown error" then there's not much to work with.
Are those the only two accounts? Can you check the
No, the thumbnail and preview is generated in the same job. Person thumbnail jobs also only generate 1 file; there's no preview for them. |
Can you please send the commands for postgres to get these numbers? |
|
Thanks. It is exactly that amount of thumbnails: 40182 |
Sweet! That matches the behavior I see locally and is fixed with #15734 |
The bug
I've been noticing this error alot in the logs lately, when I go to generate missing thumbnails via the Jobs panel of the admin console (web)
The OS that Immich Server is running on
macOS Docker
Version of Immich Server
latest as of the date of this issue creation
Version of Immich Mobile App
latest as of the date of this issue creation
Platform with the issue
Your docker-compose.yml content
not relevant
Your .env content
Reproduction steps
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: