-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] All images uploaded are corrupt with CIFS mount #4569
Comments
The broken link icon means no thumbnails have been generated. Make sure the microservices container is up and running. |
Looks like the microservices container is up and running, a lot of errors about the files themselves.
|
same error,how to fix? |
We are having an issue with You can add |
I was able to test this and it seems to work for new images. Are there any recommendations for reprocessing the images that were impacted by this? I deleted a few from the web interface and they seem to disappear on the mobile app and I'm not sure how best to approach reprocessing. |
@CranialRelics, remember also to remove them from the trash page, then you can reupload them :) |
Thank you! That's precisely the issue. I've got it to re-upload everything just for piece of mind. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
The bug
I've previously been using Immich in the background and occasionally come to it to look. Recently I noticed that all images were coming up as broken links.
Today I've finally had some time to look into the issue and I'm not sure what's actually happening.
Only one image seems to be loading, all others (video and image) seem to be broken links.
In the JSON API response I receive what appears to be normal information:
{"id":"c62f37a2-bf5f-4dce-9170-a82f9fb7c6e9","type":"IMAGE","thumbhash":null,"localDateTime":"2023-10-20T16:38:47.000Z","resized":false,"duration":"0:00:00.00000","livePhotoVideoId":null,"hasMetadata":true,"deviceAssetId":"1000019644","ownerId":"d759d497-891f-4eaa-9b1c-6ae480fc2e1f","owner":{"id":"d759d497-891f-4eaa-9b1c-6ae480fc2e1f","email":"redacted","firstName":"redacted","lastName":"redacted","storageLabel":"admin","externalPath":null,"profileImagePath":"","shouldChangePassword":true,"isAdmin":true,"createdAt":"2023-10-20T16:59:08.753Z","deletedAt":null,"updatedAt":"2023-10-20T16:59:08.753Z","oauthId":"","memoriesEnabled":true},"deviceId":"acfe901afa96dcef8021b1da06540b63770c6a92008e7ce21ade432116fe972b","libraryId":"01083507-192b-4c71-b6ce-9a1e691c26be","originalPath":"upload/library/admin/2023/2023-10-20/20231020_173847.jpg","originalFileName":"20231020_173847","fileCreatedAt":"2023-10-20T16:38:47.000Z","fileModifiedAt":"2023-10-20T16:38:48.000Z","updatedAt":"2023-10-20T17:13:43.804Z","isFavorite":false,"isArchived":false,"isTrashed":false,"exifInfo":{"make":null,"model":null,"exifImageWidth":null,"exifImageHeight":null,"fileSizeInByte":65536,"orientation":null,"dateTimeOriginal":"2023-10-20T16:38:47.000Z","modifyDate":"2023-10-20T16:38:48.000Z","timeZone":null,"lensModel":null,"fNumber":null,"focalLength":null,"iso":null,"exposureTime":null,"latitude":null,"longitude":null,"city":null,"state":null,"country":null,"description":"","projectionType":null},"tags":[],"people":[],"checksum":"18mwWpVlutDtavqMTQ/yKkifbSQ=","isExternal":false,"isOffline":false,"isReadOnly":false}
The originalPath refers to: upload/library/admin/2023/2023-10-20/20231020_173847.jpg
This is mount via CIFS network storage which seems to be fine for other docker containers running on the same host.
When I check these items, they cannot be opened. They are all exactly 64KB in file size.
See below for one of the files:
I've done the following so far:
I can't seem to find anything obvious in any of the container logs.
The website is available using nginx-proxy-manager.
The images are fine in the Immich app when local:
Files seem to be loading in the Gallery app on the phone.
The OS that Immich Server is running on
Ubuntu Server 22.04.2 LTS
Version of Immich Server
v1.82.1
Version of Immich Mobile App
1.82.0 build.106
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
6. Removed the Android app and re-installed. 7. Synced the files up. 8. Allowed the background processes to complete. 9. Files corrupted? 10. Added items through the web interface, also corrupt.
Additional information
No response
The text was updated successfully, but these errors were encountered: