Generating Thumbnails stuck, need several restart to get failed and finish
Hello, I'm trying to find what is causing thumbnail stuck, every night it restart (missing thumbs?) and get stuck, non generating new files until I unstuck manually (need to do like 50 restarts to finish), any help figuring out where are the problem files? I have log on verbose, but don't get any message about errors and/or witch file is generating thumbnails, tried find on db, but the command from site guide doesn't work (to find files without thumbnails).
Compose: https://pastebin.com/KBBkGhVp
.env: https://pastebin.com/Q83im1mP
Pastebin
compose - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
.env - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

20 Replies
:wave: Hey @nihues,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker compose ps
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: I have read applicable release notes.
3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
4. :ballot_box_with_check: I have reviewed Github for known issues.
5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:Please post the requested info, we can't help without it
done, updated first message with compose, env, logs attached, it's a bunch of restarting, there was 1 error and I handled, but it started with ~80 files in line, done several restarts until it starts to go down and fail (it was stuck for ~8h)
also new files doesn't update until I finish generating thumbs

This is normal
I don't see anything in your logs about thumbnail gen, so either the log file you posted is incomplete or it's not actually set to verbose
it is

it finished, clicked on "missing", the only output is this

and this is from jobs, it stuck there:

What's the output of
docker ps -a
?Hmm
Are you sure that's all?
I was really expecting to see an old immich_microservices
yes it is... I was using truecharts (that was on old version 1.102 I think) and moved/migrated to compose on the 1.120 and updated to 1.121 using the compose from site
jobs from immich show on htop like these (the stuck ones):

Do you have any really large files in Immich?
I have some tif that used for panorama (using hugin), but it's not gigantic (I remember seeing them on immich fine, so probably it's not them).
the thing is that I can't find any log about this jobs 😒
yeah that's pretty odd
You don't have any remote worker or whatever going on?
no, it's all on the compose file only, all local
no smb, no external folder/library
Can you do
docker compose down
then docker compose up
after that click on the generating thumbnail for missing and monitor the log while it perform the job?done, also restarted server, same log
This seems extremely similar to my issue. Mine also doesn't output any errors in the logs when set to verbose, yet one of the threads gets maxed out to 100%. I have verified it has something to do with my external library, but I can't easily narrow down what file(s) are causing this without any proper log output.