I
Immich•2y ago
miknzau

thumbnails missing after update to v1.83.0

I am seeing no thumbnails in the UI since updating today to 1.83 with and immich_server is throwing:
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset c544b764-c98e-47d8-9f2d-2c6ebb35d40f
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 9c85894d-e56d-485b-8541-745cfe98b3d8
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 9cc7b621-119a-48a3-b59d-d9fe62ae7d45
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset bdacd2eb-2fdf-4527-8f8d-0773a9053a15
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 1bc0f05d-0910-4b47-9b45-508d7ca19e34
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 9b006306-141e-4c6c-a8d0-aea36e27aed3
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset c544b764-c98e-47d8-9f2d-2c6ebb35d40f
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 9c85894d-e56d-485b-8541-745cfe98b3d8
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 9cc7b621-119a-48a3-b59d-d9fe62ae7d45
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset bdacd2eb-2fdf-4527-8f8d-0773a9053a15
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 1bc0f05d-0910-4b47-9b45-508d7ca19e34
2023-10-31 23:31:18 getAssetThumbnail
2023-10-31 23:31:18 [Nest] 7 - 10/31/2023, 12:31:18 PM ERROR [AssetService] Cannot create read stream for asset 9b006306-141e-4c6c-a8d0-aea36e27aed3
2023-10-31 23:31:18 getAssetThumbnail
Thanks in advance for any troubleshooting help.
33 Replies
miknzau
miknzauOP•2y ago
After reading some other threads it seems my issue is related to thumbnail assets location. I looked on my drive where immich is running as defined in UPLOAD_LOCATION and I am seeing something quite bizarre. All the thumb folders have a sub folder with the same folder names as the parent folder, and then the thumbnails themselves are in there. For example in the folder: D:\immich\thumbs\68f20d3c-f255-436d-b509-00cc5506613d I see folders 00, Oa, Ob, Oc and so on, as it should be. If I then click on folder OO, instead of seeing the thumbnails, I see another list of subfolders, 00, Oa, Ob, Oc and so on!! To see the thumbs themselves I need to go into another OO folder. (see attached image) How would this have happened and more importantly how will I fix it??
No description
Alex Tran
Alex Tran•2y ago
the sub folder is intended
miknzau
miknzauOP•2y ago
Ok so that is not the problem then?
ERROR [AssetService] Cannot create read stream for asset
ERROR [AssetService] Cannot create read stream for asset
Alex Tran
Alex Tran•2y ago
yeah, the problem is probably the folder doesn't get mounted correctly are you still using Windows Docker?
miknzau
miknzauOP•2y ago
Yes, windows docker. Is there a command I can run to verify the mount(s)?
Alex Tran
Alex Tran•2y ago
You can attach to the container and check the upload directory
miknzau
miknzauOP•2y ago
No description
miknzau
miknzauOP•2y ago
No description
Alex Tran
Alex Tran•2y ago
hmm why only the library folder inside the upload dir do you map others directory like thumbnail/encode-videos to different location?
miknzau
miknzauOP•2y ago
nope - stock standard install
Alex Tran
Alex Tran•2y ago
interesting, this is why I don't like Docker on Windows so many issues
miknzau
miknzauOP•2y ago
No description
miknzau
miknzauOP•2y ago
I haven't seen this issue before though, so it is very strange. I did a PULL today to get the new update 1.83, that has been the only change
Alex Tran
Alex Tran•2y ago
try bring the stack down then back up
miknzau
miknzauOP•2y ago
have done already
Alex Tran
Alex Tran•2y ago
Can you go to your D:\immich and show me the folders in it?
miknzau
miknzauOP•2y ago
No description
miknzau
miknzauOP•2y ago
No description
Alex Tran
Alex Tran•2y ago
Uhmm do you mind restart docker engine and bring the stack back up?
miknzau
miknzauOP•2y ago
yep will do docker compose down, then restart the docker engine, then docker compose up -d ... correct?
Alex Tran
Alex Tran•2y ago
correct
miknzau
miknzauOP•2y ago
Seems to have fixed it. So strange, but before I hadn't restarted the docker engine after the update, just took the stack down and up.
No description
miknzau
miknzauOP•2y ago
Many thanks Alex!
Alex Tran
Alex Tran•2y ago
yeah no problem. I remember you said you were going to have a Linux server setup, right?
miknzau
miknzauOP•2y ago
Haha, well someone has to test the windows env!! I did buy a new machine with a view to having linux on it, but it came installed with Windows11 pro and so I wanted to just try with Windows docker. The experience has been better than MacOs Docker thus far for sure. More stable. The machine I am using is: https://store.blackview.hk/products/mp80-price
Alex Tran
Alex Tran•2y ago
Ah I see yeah if you want more compatibility, I recommend go with Linux for server environment easier to install stuffs but if this works for you it is fine
miknzau
miknzauOP•2y ago
Performance is good. Yes if I keep running into issues, I can blow away the win11 and stick linux on it, for now, I am a sucker for punishment! Also learning a lot!
Alex Tran
Alex Tran•2y ago
learning is good 🙂
miknzau
miknzauOP•2y ago
lol well that seemed to not last long, now getting:
[Nest] 7 - 10/31/2023, 4:03:21 PM ERROR [JobService] Unable to run job handler (recognizeFaces/recognize-faces): Error: ENODEV: no such device, open 'upload/thumbs/68f20d3c-f255-436d-b509-00cc5506613d/a8/b8/a8b85dfa-bb5b-4b82-9dbf-6142165c64bf.jpeg'
[Nest] 7 - 10/31/2023, 4:03:21 PM ERROR [JobService] Unable to run job handler (recognizeFaces/recognize-faces): Error: ENODEV: no such device, open 'upload/thumbs/68f20d3c-f255-436d-b509-00cc5506613d/a8/b8/a8b85dfa-bb5b-4b82-9dbf-6142165c64bf.jpeg'
Alex do you think this is the same type of error in that it is a in-container mount problem possibly?
miknzau
miknzauOP•2y ago
There are no subfolders in immich_microservices usr/src/app seems there should be an "upload" folder in there?
No description
miknzau
miknzauOP•2y ago
No description
miknzau
miknzauOP•2y ago
A docker restart fixed this as well, so I am good for now. Interestingly, she runs for a few mins, then these mounts seem to drop out. Strange.
Alex Tran
Alex Tran•2y ago
lmao time to install Linux my friend

Did you find this page helpful?