I
Immich3w ago
Tonius

Artifacts on generated previews/thumbnails

Trying to set up Immich as my photo storage, I've been having a strange issue with generated previews and thumbnails. They sometimes include these artifacts (see uploads), which are added seemingly at random. They look like grey dots and are often laid out horizontally. Both previews and thumbnails have this issue, but it is especially noticeable on previews, like when flipping through photos. In the web interface, the artifacts always disappear when zooming in on an image, I presume because it switches to the original image asset? It seems the original photos are at least undamaged. Regenerating thumbnails for an image sometimes fixes it, sometimes it just results in different artifacts. Tried using jpeg or webm, different quality and resolution settings but they all yield the same results. Has this been seen before, is there something that could cause this?
No description
No description
18 Replies
Immich
Immich3w ago
:wave: Hey @Tonius, 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.
schuhbacca
schuhbacca3w ago
Are you able to check the server logs when you refresh the thumbnail on one of those images?
Daniel
Daniel3w ago
There is a bug in chrome that's causing stuff like this. Is it possible you're using chrome? Does it also show up in other browsers?
Tonius
ToniusOP3w ago
Yes, I've set the server to verbose logging but don't see anything abnormal, just the following:
[Nest] 17 - 05/09/2025, 5:14:02 PM VERBOSE [Api:LoggingInterceptor~vvoqib3e] {"assetIds":["c2def17b-4cf1-49dc-bd61-289f9811e973"],"name":"regenerate-thumbnail"}
[Nest] 17 - 05/09/2025, 5:14:02 PM VERBOSE [Api:LoggingInterceptor~vvoqib3e] {"assetIds":["c2def17b-4cf1-49dc-bd61-289f9811e973"],"name":"regenerate-thumbnail"}
I'm using Firefox, just tried Chromium with the same results though. Let me check the generated files on disk though
Tonius
ToniusOP3w ago
Here's some of the files in the thumbs directory, the artifacts are also present here
No description
No description
Tonius
ToniusOP3w ago
The thumbnail and preview seem to have the same artifacts so maybe this happens during reading the original image file?
Daniel
Daniel3w ago
Yeah, I'd check the original file and see if they're also affected
Tonius
ToniusOP3w ago
I meant maybe something goes wrong in the decoding process. The original files in library are unaffected
Daniel
Daniel3w ago
Did you already try re-generating thumbs for this asset?
NoMachine
NoMachine3w ago
what format is the original file?
Tonius
ToniusOP3w ago
Yes, it seems to happen randomly each time thumbnails are generated. Sometimes it comes out fine, sometimes it gets new artifacts, like this:
No description
Tonius
ToniusOP3w ago
Originals are all regular .jpg files
Daniel
Daniel3w ago
@sogan thoughts?
Tonius
ToniusOP3w ago
If it helps, here's my docker compose setup
sogan
sogan3w ago
I've never seen this before. As you say, something seems to be going wrong when decoding. What did you take these pictures with?
Tonius
ToniusOP3w ago
These photos are pretty old, taken with my old Nexus 6P. But the issue also occurs with my newer photos from a different phone, so I don't think it matters here I now suspect this may be caused by my storage setup, I use MergerFS to create a single volume from multiple HDDs. I'll try limiting Immich to a specific disk
Daniel
Daniel3w ago
It could definitely be FS corruption, yea
Tonius
ToniusOP3w ago
No change unfortunately. But I have now tried on a different PC and everything works fine. So maybe it's a hardware issue The hardware is about 10 years old (it's my old PC repurposed as a NAS) so might just be time for an upgrade

Did you find this page helpful?