Motion photos not auto-generating thumbnails
When uploading motion photos from a Samsung Galaxy S25, they appear on the web with "Error loading image", both in the thumbnail and when I try to expand it
If I go to
Administration
> Jobs
and click MISSING
on Generate Thumbnails
, it generates them all and they load perfectly
This does not happen with non-motion photos, when disabling motion photos the upload has the thumbnail right away
Server is on version v1.131.352 Replies
:wave: Hey @bartowski,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. 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 ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
6. :blue_square: uploaded the relevant information (see below).
7. :blue_square: 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)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.I see a few potential duplicates on github: https://github.com/immich-app/immich/issues/16546 https://github.com/immich-app/immich/issues/17323 https://github.com/immich-app/immich/issues/17323
however they have errors in their docker logs, where I don't see any errors, everything seems to be working fine:
just doesn't seem to be happening automatically for some reason
Same issue on my S22. No errors in logs too. This seems to only be a Samsung or Android problem. Motion photos on my iPhone upload without issues.
Same issue on S23. No errors in logs.
Only started after updating to 1.131.3
Can anyone zip up and send here a sample file?
like one of the failing photos or something else?
Yes, one of the failing photos
hmm "work fine on my instance"...
If you remove the file from your instance, then download and reupload it, does it work?
otherwise, can you restart the stack?
i've restarted it a few times since the issue started happening
but i'll try one more
Yeah, can you try monitor the logs when uoploading the file
also note, it works totally fine if i manually go in and tell it to generate the thumbnails
Yep, the file thumbnial is generated automatically for me
make sure to run
docker compose down && docker compose pulll && dokcer compose up
that's the only log item i see show up
yup, latest is pulled
where is your redis instance?
in the same docker-compose, i'll share my yml one sec
tried on a different account as well, still no luck, deleted and reuploaded and still error loading image
Can you make sure to run
docker compose down
then check docker ps
, make sure that redis has been removedyup it's definitely down
docker ps has a bunch of other images so won't paste, but it's definitely removed
alright
now run again
and reupload the photos
can you copy the whole logs after the photo is uploaded?
to be sure: you're looking at the browser right?
Yes the browser
Is there some extra logging I should turn on?
Can you try turn on verbose logging and upload the file?
set the logs to debug, still not much from redis:
Can you help set to verbose?

Can you please share your .env file with secrets omitted?
ommitted all the commented out stuff as well
Can you remove
REDIS_HOSTNAME=immich_redis
and restart the stack?no change
🤔
if you upload a random photo, is the thumbnail get generated?
yup, any non-motion photos are generated fine, from same phone and from others
Alright. let's try this. Can you bring down the stack, then remove all the docker's images related to Immich, then repull and restart the stack?
done, no change 😦
weird, do you mind create a sample test instance and try to upload that file
do you want to compare image IDs to make sure i don't have one that's somehow old? or are those unique per computer, not positive how docker image IDs work
oh wait
I upload to my prod instance and it doesn't generate thumbnail
thank god
😂
it works on
main
hmmmso something in main fixed it presumably
yeah
is it possible it's this?
https://github.com/immich-app/immich/pull/17347/files
and there may still be an issue with thumbnail generation, but you're getting the original image displayed?
turning on "Display original photos" half fixes it, with that turned on i can see the image when i click on it now, before it was still broken
thumbnail still isn't there
There is an oddity that the thumbnail generated on dev build but not prod build
I will have to look into this a bit more
I just went through the same exercise as bartowski, blowing away the full stack, etc. and the issue is still occurring for me. Manually running the generate thumbnails job still fixes it, it just doesn't happen during upload. There's nothing interesting in the standard docker logs.
found a bug, well, race condition
will be fix in the next release, for now you can either ignore it so it gets generate nightly or manually run thumbnail extraction for missing
Thank you for looking into this!
no problem, it bugs me as well
I also got hit by this, and it's why I joined the discord. Thanks for the quick investigation.
No problem, the issue will be resolved in the next release