[BUG] Thumbnails and images don't show in the app, after i deleted them from my phone. #1667

Closed
opened 2026-02-05 02:57:21 +03:00 by OVERLORD · 12 comments
Owner

Originally created by @yurividal on GitHub (Nov 21, 2023).

The bug

Screenshot_20231121_110344

I have my immich app set to sync my Camera album. It works fine, but after the images have been backed up to immich, if i use the Android gallery to delete them from my phone, they get corrupted in the app.

I have waited several hours, and they still show as blank squares.

The OS that Immich Server is running on

Ubuntu 22.04

Version of Immich Server

V1.88.1

Version of Immich Mobile App

V1.88.1

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Same as example

Your .env content

Same as example

Reproduction steps

1. Set immich on Android to sync Camera folder
2. Take a picture and wait for immich to upload it.
3. Use the android gallery to delete the image from your phone
4. Photo will show as white square on immich app.

Additional information

Samsung Galaxy S23 running Android 14

Originally created by @yurividal on GitHub (Nov 21, 2023). ### The bug ![Screenshot_20231121_110344](https://github.com/immich-app/immich/assets/8555749/71db8134-5189-425f-990d-ebedfcacd9e9) I have my immich app set to sync my Camera album. It works fine, but after the images have been backed up to immich, if i use the Android gallery to delete them from my phone, they get corrupted in the app. I have waited several hours, and they still show as blank squares. ### The OS that Immich Server is running on Ubuntu 22.04 ### Version of Immich Server V1.88.1 ### Version of Immich Mobile App V1.88.1 ### Platform with the issue - [ ] Server - [ ] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Same as example ``` ### Your .env content ```Shell Same as example ``` ### Reproduction steps ```bash 1. Set immich on Android to sync Camera folder 2. Take a picture and wait for immich to upload it. 3. Use the android gallery to delete the image from your phone 4. Photo will show as white square on immich app. ``` ### Additional information Samsung Galaxy S23 running Android 14
OVERLORD added the 📱mobile label 2026-02-05 02:57:21 +03:00
Author
Owner

@aatumaykin commented on GitHub (Nov 21, 2023):

After updating the server, the same thing is observed in the browser

[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset 71e35893-76db-454c-ab4d-78b16356d257, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset 71e35893-76db-454c-ab4d-78b16356d257
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset 7000893d-9645-45dc-b80c-47c070145d94, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset 7000893d-9645-45dc-b80c-47c070145d94
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset 0630c3bf-2f1e-4c73-b693-939be0ae1794, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset 0630c3bf-2f1e-4c73-b693-939be0ae1794
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset bb7a13db-12e5-448c-9425-c2fc7be7d127, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset bb7a13db-12e5-448c-9425-c2fc7be7d127
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset ebe159e7-a30b-4e17-a7d6-31131bd06cea, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset ebe159e7-a30b-4e17-a7d6-31131bd06cea
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset ba9f2c09-ca18-4a1e-9fcb-c21f6b9b23ec, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset ba9f2c09-ca18-4a1e-9fcb-c21f6b9b23ec
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset a454c993-7fe7-47b1-bc64-b49763d5183c, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset a454c993-7fe7-47b1-bc64-b49763d5183c
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset 3472b8b3-062e-4daa-90cd-28a16a2b355a, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset 3472b8b3-062e-4daa-90cd-28a16a2b355a
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset 6cb9376c-0c43-41da-a585-220a75c4af44, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset 6cb9376c-0c43-41da-a585-220a75c4af44
getAssetThumbnail
[Nest] 8  - 11/21/2023, 11:35:30 AM    WARN [AssetService] WebP thumbnail requested but not found for asset f88351c7-5c94-4b5e-b28d-eb43709521d3, falling back to JPEG
[Nest] 8  - 11/21/2023, 11:35:30 AM   ERROR [AssetService] Cannot create read stream for asset f88351c7-5c94-4b5e-b28d-eb43709521d3

UPD:
Sorry, I removed immich-microservices from docker-compose, so thumbnails didn't work

@aatumaykin commented on GitHub (Nov 21, 2023): After updating the server, the same thing is observed in the browser ``` [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset 71e35893-76db-454c-ab4d-78b16356d257, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset 71e35893-76db-454c-ab4d-78b16356d257 getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset 7000893d-9645-45dc-b80c-47c070145d94, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset 7000893d-9645-45dc-b80c-47c070145d94 getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset 0630c3bf-2f1e-4c73-b693-939be0ae1794, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset 0630c3bf-2f1e-4c73-b693-939be0ae1794 getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset bb7a13db-12e5-448c-9425-c2fc7be7d127, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset bb7a13db-12e5-448c-9425-c2fc7be7d127 getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset ebe159e7-a30b-4e17-a7d6-31131bd06cea, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset ebe159e7-a30b-4e17-a7d6-31131bd06cea getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset ba9f2c09-ca18-4a1e-9fcb-c21f6b9b23ec, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset ba9f2c09-ca18-4a1e-9fcb-c21f6b9b23ec getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset a454c993-7fe7-47b1-bc64-b49763d5183c, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset a454c993-7fe7-47b1-bc64-b49763d5183c getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset 3472b8b3-062e-4daa-90cd-28a16a2b355a, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset 3472b8b3-062e-4daa-90cd-28a16a2b355a getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset 6cb9376c-0c43-41da-a585-220a75c4af44, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset 6cb9376c-0c43-41da-a585-220a75c4af44 getAssetThumbnail [Nest] 8 - 11/21/2023, 11:35:30 AM WARN [AssetService] WebP thumbnail requested but not found for asset f88351c7-5c94-4b5e-b28d-eb43709521d3, falling back to JPEG [Nest] 8 - 11/21/2023, 11:35:30 AM ERROR [AssetService] Cannot create read stream for asset f88351c7-5c94-4b5e-b28d-eb43709521d3 ``` UPD: Sorry, I removed immich-microservices from docker-compose, so thumbnails didn't work
Author
Owner

@xshyne commented on GitHub (Nov 21, 2023):

I got the same issue with version 1.87.0. It seem to happen when the folder is deleted.
When i delete just some photos of the folder, i don't have any issue. But when i delete all photos from a folder the folder seems to be completely deleted (it's not in the list of folder i can backup) and all the photo from this folder are shown like in the screenshot.
To seen my photos again i had to reinstall the app (or just delete all the data from the app seem to work too).

@xshyne commented on GitHub (Nov 21, 2023): I got the same issue with version 1.87.0. It seem to happen when the folder is deleted. When i delete just some photos of the folder, i don't have any issue. But when i delete all photos from a folder the folder seems to be completely deleted (it's not in the list of folder i can backup) and all the photo from this folder are shown like in the screenshot. To seen my photos again i had to reinstall the app (or just delete all the data from the app seem to work too).
Author
Owner

@picklerick323 commented on GitHub (Nov 23, 2023):

I have this same issue on IOS. The solution for me is logging out and logging back in from the app.

@picklerick323 commented on GitHub (Nov 23, 2023): I have this same issue on IOS. The solution for me is logging out and logging back in from the app.
Author
Owner

@h4p commented on GitHub (Jan 2, 2024):

@picklerick323 I can confirm this. After logging out- and back in the broken/missing image thumbnails are gone. There must be a procedure coupled to the login phase that synchronizes the app with the local photos folder.

@h4p commented on GitHub (Jan 2, 2024): @picklerick323 I can confirm this. After logging out- and back in the broken/missing image thumbnails are gone. There must be a procedure coupled to the login phase that synchronizes the app with the local photos folder.
Author
Owner

@foxisawesome commented on GitHub (Feb 16, 2024):

Rebuild timeline also works for me in this case.

@foxisawesome commented on GitHub (Feb 16, 2024): Rebuild timeline also works for me in this case.
Author
Owner

@kuzi-moto commented on GitHub (Jun 25, 2024):

Running into this bug as well, also using iOS. I have already tried signing out/in and clearing cached data and can't get the thumbnails nor image to display in the app or on the web. How can I rebuild the timeline? I ran most of the jobs like building thumbnails but that didn't see to have any effect.

@kuzi-moto commented on GitHub (Jun 25, 2024): Running into this bug as well, also using iOS. I have already tried signing out/in and clearing cached data and can't get the thumbnails nor image to display in the app or on the web. How can I rebuild the timeline? I ran most of the jobs like building thumbnails but that didn't see to have any effect.
Author
Owner

@t34wrj commented on GitHub (Jul 19, 2024):

Same here on Android - if I delete the local version of the photo after it has uploaded, it still appears to look for the file locally which it can't find and the icon with the crossed-out photo appears. Going into the Android app settings -> advanced and enabling prefer remote images is a workaround.

@t34wrj commented on GitHub (Jul 19, 2024): Same here on Android - if I delete the local version of the photo after it has uploaded, it still appears to look for the file locally which it can't find and the icon with the crossed-out photo appears. Going into the Android app settings -> advanced and enabling prefer remote images is a workaround.
Author
Owner

@mycarrysun commented on GitHub (Nov 9, 2024):

I'm running into this issue as well - still exists in server version 1.120.1 and app version 1.120.1 build.166 on android

@mycarrysun commented on GitHub (Nov 9, 2024): I'm running into this issue as well - still exists in server version 1.120.1 and app version 1.120.1 build.166 on android
Author
Owner

@kuzi-moto commented on GitHub (Nov 9, 2024):

For what it's worth, my issues seemed to resolve themselves after several weeks. I'm not sure if it was due to anything that I did. All the thumbnails that were missing are there now.

@kuzi-moto commented on GitHub (Nov 9, 2024): For what it's worth, my issues seemed to resolve themselves after several weeks. I'm not sure if it was due to anything that I did. All the thumbnails that were missing are there now.
Author
Owner

@mycarrysun commented on GitHub (Nov 9, 2024):

For what it's worth, my issues seemed to resolve themselves after several weeks. I'm not sure if it was due to anything that I did. All the thumbnails that were missing are there now.

What fixed it for me was logging out and back in. I didn't want to wait though. Only tried refreshing a bunch of times over about 30 minutes.

The bad part about this workaround is it removed my configuration for my background backup albums, minor inconvenience but would be nice if we could force a rebuilt timeline without having to logout.

@mycarrysun commented on GitHub (Nov 9, 2024): > For what it's worth, my issues seemed to resolve themselves after several weeks. I'm not sure if it was due to anything that I did. All the thumbnails that were missing are there now. What fixed it for me was logging out and back in. I didn't want to wait though. Only tried refreshing a bunch of times over about 30 minutes. The bad part about this workaround is it removed my configuration for my background backup albums, minor inconvenience but would be nice if we could force a rebuilt timeline without having to logout.
Author
Owner

@sebinity commented on GitHub (Dec 31, 2024):

Just wanting to check in and report that this issue is still present:

  • Backed up photos with Immich
  • Deleted full DCIM folder on phone
  • No thumbnails and images loading
  • Log-out and -in fixes the issue

Immich Android 1.123.0 on Pixel 6 Pro

@sebinity commented on GitHub (Dec 31, 2024): Just wanting to check in and report that this issue is still present: - Backed up photos with Immich - Deleted full DCIM folder on phone - No thumbnails and images loading - Log-out and -in fixes the issue _Immich Android 1.123.0 on Pixel 6 Pro_
Author
Owner

@gsabater commented on GitHub (Feb 20, 2025):

I think that this might have something to see with how local devices treat "trash".
On most devices, when you delete a file, it gets trashed for some time, usually 30 days.

Immich might be looking for the local file, which exists, but as it's trashed, it might not have a thumbnail or metadata.
A solve for this issue without logging out and in again is activating prefer remote images

@gsabater commented on GitHub (Feb 20, 2025): I think that this might have something to see with how local devices treat "trash". On most devices, when you delete a file, it gets trashed for some time, usually 30 days. Immich might be looking for the local file, which exists, but as it's trashed, it might not have a thumbnail or metadata. A solve for this issue without logging out and in again is activating `prefer remote images`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1667