I
Immich•2y ago
Destro

Unsure why this happens...

This doesnt show up until its been running for a while, me and a user have been uploading here. error shows randomly [Nest] 151 - 05/01/2023, 12:25:27 AM ERROR [ExceptionsHandler] Could not find any entity of type "AssetEntity" matching: { "where": { "ownerId": "Placeholder", "checksum": { "type": "Buffer", "data": [ 198, 20, 169, 4, 143, 5, 155, 155, 199, 97, 179, 255, 226, 212, 116, 134, 12, 6, 40, 65 ] } }, "relations": [ "exifInfo" ] } EntityNotFoundError: Could not find any entity of type "AssetEntity" matching: { "where": { "ownerId": "Placeholder", "checksum": { "type": "Buffer", "data": [ 198, 20, 169, 4, 143, 5, 155, 155, 199, 97, 179, 255, 226, 212, 116, 134, 12, 6, 40, 65 ] } }, "relations": [ "exifInfo" ] } at /app/immich/server/node_modules/typeorm/entity-manager/EntityManager.js:638:39 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async AssetService.uploadFile (/app/immich/server/dist/apps/immich/apps/immich/src/api-v1/asset/asset.service.js:72:35) at async AssetController.uploadFile (/app/immich/server/dist/apps/immich/apps/immich/src/api-v1/asset/asset.controller.js:62:29)
55 Replies
jrasm91
jrasm91•2y ago
Does it actually say placeholder?
Destro
DestroOP•2y ago
no i had to shrink the character ammount i was over by like 50 lol
jrasm91
jrasm91•2y ago
Oh lol
Destro
DestroOP•2y ago
sorry i didnt know what else to put there and didnt think that info would be relevant
jrasm91
jrasm91•2y ago
What version of the server are you on?
Destro
DestroOP•2y ago
1.54.1
jrasm91
jrasm91•2y ago
What do you do to produce the error? Backup from phone? Is it an iPhone?
Destro
DestroOP•2y ago
as far as im aware using the app doesnt behave any differently with that error being spammed it is from an iphone, and it happens after the backup has been going for a while restarting the container it goes away for a little but comes back after uploading for a while again
jrasm91
jrasm91•2y ago
Did you upload files using the CLI?
Destro
DestroOP•2y ago
via the phone app like iphone app
jrasm91
jrasm91•2y ago
Yeah. Have you backed up photos to immich any other way?
Destro
DestroOP•2y ago
nope oh wait once
jrasm91
jrasm91•2y ago
Have you edited any photos on the iPhone that are included in the albums you're backing up?
Destro
DestroOP•2y ago
i went to like localhost:port/api logged in and clicked upload but ages ago i dont believe so
jrasm91
jrasm91•2y ago
What's happening is this. You're trying to back up a live photo and it's hitting a weird edge case we haven't fixed yet.
Destro
DestroOP•2y ago
both phones were just set to not have the screens turn off and have been uploading to the server oh ok
jrasm91
jrasm91•2y ago
Live photos have a still and a motion part. When we detect a duplicate we try to return the asset id of the duplicate. What's happening is the motion part is a duplicate, but the still part doesn't exist. We can't return the asset id of the still because it doesn't exist.
Destro
DestroOP•2y ago
i see
jrasm91
jrasm91•2y ago
I've only seen this where somebody uploaded files from the computer and then independently uploaded from the mobile app. The stills weren't identical but the motion was, so it triggered this situation.
Destro
DestroOP•2y ago
so really i should just like "ignore" it for now
jrasm91
jrasm91•2y ago
Except that i think it will try to reupload the same file over and over again. We should log a bug for this or make sure it gets fixed soon.
Destro
DestroOP•2y ago
hmm i havent uploaded anything for either of the phones that are uploading right now via the pc
jrasm91
jrasm91•2y ago
Someone else had the issue if they had edited a file
Destro
DestroOP•2y ago
the pc upload i did was my own library which is done now oh ok
jrasm91
jrasm91•2y ago
They had an edits folder with some stuff in it that caused the issue.
Destro
DestroOP•2y ago
im pretty sure nothing like that on the phone throwing this error, its my dads phone he doesnt even know how to use siri on his phone lol
jrasm91
jrasm91•2y ago
Lol
Destro
DestroOP•2y ago
odd oh the error stopped lemme go check his phone
jrasm91
jrasm91•2y ago
He uses live photos though, right?
Destro
DestroOP•2y ago
127.0.0.1 - - [01/May/2023:00:39:41 +1000] "POST /image-classifier/tag-image HTTP/1.1" 200 12 "-" "axios/0.26.1" 127.0.0.1 - - [01/May/2023:00:39:42 +1000] "POST /object-detection/detect-object HTTP/1.1" 200 3 "-" "axios/0.26.1" now its back to just this which is normal right ? um idek if he doesn does*
jrasm91
jrasm91•2y ago
I've only seen this error for live photos
Destro
DestroOP•2y ago
hes like old if its on by default which i think it is then he probably uses it ill go check nah its turned off permenently
jrasm91
jrasm91•2y ago
Hmm
Destro
DestroOP•2y ago
and in his camera roll he only has like 11 live photos from like ages ago that original error i posted btw was getting like spammed in the docker logs and now its just gone
Destro
DestroOP•2y ago
No description
Destro
DestroOP•2y ago
thats immich usage before when it was spamming
Destro
DestroOP•2y ago
thats now
No description
jrasm91
jrasm91•2y ago
Dang. It must have just been trying it over and over. It has to be one of those live photos though. There is not other places in the code that could throw that error.
Destro
DestroOP•2y ago
alright
jrasm91
jrasm91•2y ago
We should probably change something on our end, but deleting them or not including them in the backup would probably fix the problem as well.
Destro
DestroOP•2y ago
y'all are doing great anyway 🙂 if you need any other info just ask 🙂
jrasm91
jrasm91•2y ago
Sounds good!
Destro
DestroOP•2y ago
not that it really matters but the error is back and spamming again [Nest] 151 - 05/01/2023, 1:02:12 AM ERROR [ExceptionsHandler] Could not find any entity of type "AssetEntity" matching: { "where": { "ownerId": "1e7d48c6-cbbf-45b5-bbe6-69901955850f", "checksum": { "type": "Buffer", "data": [ 132, 194, 76, 169, 251, 84, 126, 216, 75, 178, 193, 209, 199, 48, 179, 178, 85, 89, 19, 70 ] } }, "relations": [ "exifInfo" ] } EntityNotFoundError: Could not find any entity of type "AssetEntity" matching: { "where": { "ownerId": "1e7d48c6-cbbf-45b5-bbe6-69901955850f", "checksum": { "type": "Buffer", "data": [ 132, 194, 76, 169, 251, 84, 126, 216, 75, 178, 193, 209, 199, 48, 179, 178, 85, 89, 19, 70 ] } }, "relations": [ "exifInfo" ] } at /app/immich/server/node_modules/typeorm/entity-manager/EntityManager.js:638:39 at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async AssetService.uploadFile (/app/immich/server/dist/apps/immich/apps/immich/src/api-v1/asset/asset.service.js:72:35) at async AssetController.uploadFile (/app/immich/server/dist/apps/immich/apps/immich/src/api-v1/asset/asset.controller.js:62:29) i also just noticed the data part the numbers are different every error
jrasm91
jrasm91•2y ago
There could be a few different ones, maybe all 11. If you look at them are they all completely different? Were they taken at different times?
Destro
DestroOP•2y ago
they were maybe a few hours apart
jrasm91
jrasm91•2y ago
Can you share them? I can maybe reproduce it with the files
Destro
DestroOP•2y ago
not exactly they are of family events i just went and excluded them from the backup ill just turn them into normal photos at some point
jrasm91
jrasm91•2y ago
Sounds good
Destro
DestroOP•2y ago
ill see if the error shows again tomorrow i gotta sleep lol
jrasm91
jrasm91•2y ago
Perfect, have a good night
Destro
DestroOP•2y ago
1:128am X.x
jrasm91
jrasm91•2y ago
Lololol
Destro
DestroOP•2y ago
1:18 xD
Alex Tran
Alex Tran•2y ago
@jrasm91 this is the issue with uploading both motion and still part in one trigger right?
jrasm91
jrasm91•2y ago
Yes. They should be uploaded individually imo

Did you find this page helpful?