"Broken" uploads
Hello,
I have a bunch of “broken” uploads and I don't know how to fix them.
To test I tried deleting the photo uploaded "yesterday" and reuploading and in the logs I see this error related to the DB (I think?)
https://pastebin.com/R1y7TmHM
Is there a way to fix it?
34 Replies
:wave: Hey @gottoesplosivo,
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. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: 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.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:Generally this is because immich can't access the thumbnails to display.
Is your media on a network mount?
I forgot to mention. Immich is running in docker on an ubuntu VM on top of Proxmox. The files are stored on a zfs pool mounted to the vm
Pastebin
docker-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.
Need the server logs
all containers?
Server would probably be fine. Particularly after you navigate to the web and see the broken images
ok!
here they are https://pastebin.com/qar4GUej
Pastebin
immich server logs - 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.
Yeah the container can't find the thumbnails it seems. If you click on a photo and zoom in with your mouse, do you see the image?
nope and I get this
it works with videos, if I pass the arrow over one I can see the preview and I can also open it
but the thumbnail of the video is also broken
Looks like your mount point is broken somehow then. The cotnainer can't find the files. You could try bringing down the stack and back up, or rebooting the vm. OTherwise you will have to get a shell in the container and try and see if it has access to the thumbnail files
so I tried restarting the stack and the VM and still no luck
on this bit
[Nest] 18 - 09/11/2025, 3:05:28 PM DEBUG [Api:LoggingInterceptor~wbpa0tqv] GET /api/assets/e1bd1199-09c4-4371-85f3-da1eb5f08b25 200 7.33ms 192.168.1.1
is e1bd1199-09c4-4371-85f3-da1eb5f08b25 also then name of the file?
I want to see if from inside the. container I can find the files I try to open on the uiYou can see the container path of the image by replacing the uuid at the end of a url with
e1bd1199-09c4-4371-85f3-da1eb5f08b25
, then in the details on the right, hit the little i icon next to the image name. That will show you the path that immich has in the db for the assetoh duh you're right, like PXL_20250906_085659846.jpg
So yeah, I would verify that when you get in the container, you can see the file at that path it shows in the ui
oot@dbb4957200e3:/usr/src/app/upload/upload/64ad6322-25db-46ac-bd6f-f5c506314b4c/43/99# ls -alh
total 7.0M
drwxr-xr-x 2 root root 3 Sep 6 17:35 .
drwxr-xr-x 110 root root 110 Sep 6 17:35 ..
-rw-r--r-- 1 root root 7.0M Sep 6 10:57 4399c60e-2a50-4920-a0c9-5596c684e2a8.jpg
so the file is there
I'm gonna try to copy from the container to the vm and then download it to see if it opens
If you try and regenerate a single thumbnail for one of the broken images, does that work?
so the image is not corrupted
I'm regenerating the thumbnail
how do I run a job immediatly?
Click on the photo, top right menu, Refresh Thumbnail
I did but the job doesn't run right away

Can you post the logs from all the container this time? Something funky is going on in your instance
defo
Pastebin
immich all containers logs - 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.
Strange. Does this all happen over local ip? If you remove all the extra networking stuff from your compose and retry to generate what happens? Did the thumbs disappear or were new uplaods not working?
yes it happens also over local ip
What do you mean with "remove all the extra networking stuff from your compose"?
and the thumbs on new uploads weren't working
It seems like the job is hanging, we have seen before with improper networking stuff. I mean, remove the
From your compose. Try and get closer to a default setup
ooh that seems to have fixed it
Something funky in your networks setup then, whether that's running out of addresses or something along those lines
But basically redis isn't picking up the jobs because of it
I need to inspect the network I think
and learn how to do it :KEKW:
but thank you very much for the help!!!
I really appreciate it
No worries, glad was found, and yeah some reading up would be good, and now you have a starting point
I think this ticket can be closed now
This thread has been closed. To re-open, use the button below.