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
Does it actually say placeholder?
no
i had to shrink the character ammount
i was over by like 50
lol
Oh lol
sorry i didnt know what else to put there and didnt think that info would be relevant
What version of the server are you on?
1.54.1
What do you do to produce the error? Backup from phone? Is it an iPhone?
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
Did you upload files using the CLI?
via the phone app
like iphone app
Yeah.
Have you backed up photos to immich any other way?
nope
oh
wait
once
Have you edited any photos on the iPhone that are included in the albums you're backing up?
i went to like localhost:port/api logged in and clicked upload
but ages ago
i dont believe so
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.
both phones were just set to not have the screens turn off and have been uploading to the server
oh ok
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.
i see
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.
so really i should just like "ignore" it for now
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.
hmm i havent uploaded anything for either of the phones that are uploading right now via the pc
Someone else had the issue if they had edited a file
the pc upload i did was my own library which is done now
oh ok
They had an edits folder with some stuff in it that caused the issue.
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
Lol
odd
oh the error stopped
lemme go check his phone
He uses live photos though, right?
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*
I've only seen this error for live photos
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
Hmm
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

thats immich usage before when it was spamming
thats now

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.
alright
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.
y'all are doing great anyway 🙂
if you need any other info just ask 🙂
Sounds good!
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
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?
they were maybe a few hours apart
Can you share them?
I can maybe reproduce it with the files
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
Sounds good
ill see if the error shows again tomorrow i gotta sleep lol
Perfect, have a good night
1:128am X.x
Lololol
1:18
xD
@jrasm91 this is the issue with uploading both motion and still part in one trigger right?
Yes. They should be uploaded individually imo