Internal server error on search

I have a new install of the latest version, added a bunch of images as normal. I get this error whenever I search for something. Any ideas? Internal server error - 500 - Internal Server Error undefined From the log:
[Nest] 7 - 10/20/2023, 1:14:41 PM ERROR [ExceptionsHandler] Request for clip failed with status 500: Internal Server Error
Error: Request for clip failed with status 500: Internal Server Error
at MachineLearningRepository.post (/usr/src/app/dist/infra/repositories/machine-learning.repository.js:29:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:110:35)
at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
[Nest] 7 - 10/20/2023, 1:14:41 PM ERROR [ExceptionsHandler] Request for clip failed with status 500: Internal Server Error
Error: Request for clip failed with status 500: Internal Server Error
at MachineLearningRepository.post (/usr/src/app/dist/infra/repositories/machine-learning.repository.js:29:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:110:35)
at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
No description
13 Replies
ishbuggy
ishbuggy2y ago
Yeah, same issue here. It looks to be a problem with downloading the needed textual files https://github.com/immich-app/immich/issues/4117
neonz
neonz2y ago
Same issue here
ishbuggy
ishbuggy2y ago
So far I don't find any solutions
Thinkharder
ThinkharderOP2y ago
Interesting, least I'm not the only one, thought it was something I'd done somehow as I'd previously installed an older version to learn and then wiped it for a fresh install! Does changing the clip model make any difference?
ishbuggy
ishbuggy2y ago
The issue I linked is marked closed... but I'm not sure if there is a new version of it I haven't tried yet. I'd like to use the default, as it is the best model as far as I know 🤔
Thinkharder
ThinkharderOP2y ago
It's not the best, but I guess it's default for a reason
ishbuggy
ishbuggy2y ago
it's being discussed now in #immich
madkatz
madkatz2y ago
any fix to this? Having the same problem
Alex Tran
Alex Tran2y ago
GitHub
[BUG] Unable to download CLIP model for search · Issue #4117 · immi...
Important🟢 See this comment for temporary solution 🟢 The bug When I search for anything in immich, I get generic errors in the UI. In docker logs, I can see that something is trying to download Dow...
madkatz
madkatz2y ago
@Alex thanks for the reply - but seems like I have the same error for a different reason? Here is my server log after I try to search and get the "500 - Internal Server Error". Used to work in past Immich versions and I haven't made any setting changes:
[Nest] 6 - 10/28/2023, 4:55:02 PM ERROR [ExceptionsHandler] fetch failed

TypeError: fetch failed

at Object.fetch (node:internal/deps/undici/undici:11372:11)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async MachineLearningRepository.post (/usr/src/app/dist/infra/repositories/machine-learning.repository.js:27:21)

at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:110:35)

at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28

at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
[Nest] 6 - 10/28/2023, 4:55:02 PM ERROR [ExceptionsHandler] fetch failed

TypeError: fetch failed

at Object.fetch (node:internal/deps/undici/undici:11372:11)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async MachineLearningRepository.post (/usr/src/app/dist/infra/repositories/machine-learning.repository.js:27:21)

at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:110:35)

at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28

at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
Alex Tran
Alex Tran2y ago
You can check your machine learning for logs We would know more
madkatz
madkatz2y ago
🫣 sorry my bad, stupid for me not looking at those logs. All fixed based on the above. Thanks! (time for me to increase my monthly donation to you!)
Alex Tran
Alex Tran2y ago
Haha no worry, and thank you ❤️

Did you find this page helpful?