I
Immich4w ago
Struan

Failed to search smart

Search smart not working. Face recognition works fine. I have tried rerunning the smart search job multiple times. Using the default http://immich-machine-learning:3003/ but that isn't my server address or port exactly where it is installed on Truenas. This is accessing immich directly with a proxy, latest version. etc. The only variable I changed was to the slightly better CLIP of ViT-SO400M-16-SigLIP2-384__webli.
No description
5 Replies
Immich
Immich4w ago
:wave: Hey @Struan, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
Struan
StruanOP4w ago
No docker-compose.yml as I installed as a Truenas app with the help of Xiticks(who was awesome fyi). System is Truenas with Immich app v1.140.1 and version v1.9.23. I have tried resetting Smart Search, different CLIPs, different ip address settings for the machine learning, and then resetting everything back to stock... I think. Zero recent changes to Immich system System is an i7-12700K, no dedicated GPU, 32g RAM, 2x ssd system drives, 2x m2. application drives, 2x 8TB data drives, everything in mirror.
Struan
StruanOP4w ago
Sorry I am not sure how to get the logs you are requesting from the Truenas installation.
Struan
StruanOP4w ago
Was able to capture this from the live log recording in Truenas.
2025-09-09 12:58:33.420285+00:00[Nest] 7 - 09/09/2025, 7:58:33 AM  WARN [Microservices:MachineLearningRepository] Machine learning request to "http://immich-machine-learning:3003/" failed: fetch failed
2025-09-09 12:58:33.422155+00:00[Nest] 7 - 09/09/2025, 7:58:33 AM  ERROR [Microservices:{"id":"b0f54a06-2522-42f4-8e10-c90a383d94d2"}] Unable to run job handler (SmartSearch): Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-SO400M-16-SigLIP2-384__webli"}}}' failed for all URLs
2025-09-09 12:58:33.422394+00:00Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-SO400M-16-SigLIP2-384__webli"}}}' failed for all URLs
2025-09-09 12:58:33.422453+00:00at MachineLearningRepository.predict (/usr/src/app/server/dist/repositories/machine-learning.repository.js:98:15)
2025-09-09 12:58:33.422469+00:00at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-09-09 12:58:33.422478+00:00at async MachineLearningRepository.encodeImage (/usr/src/app/server/dist/repositories/machine-learning.repository.js:116:26)
2025-09-09 12:58:33.422487+00:00at async SmartInfoService.handleEncodeClip (/usr/src/app/server/dist/services/smart-info.service.js:91:27)
2025-09-09 12:58:33.422496+00:00at async JobService.onJobStart (/usr/src/app/server/dist/services/job.service.js:198:28)
2025-09-09 12:58:33.422504+00:00at async EventRepository.onEvent (/usr/src/app/server/dist/repositories/event.repository.js:126:13)
2025-09-09 12:58:33.422513+00:00at async /usr/src/app/server/node_modules/.pnpm/bullmq@5.57.0/node_modules/bullmq/dist/cjs/classes/worker.js:496:32
2025-09-09 12:58:33.422521+00:00at async Worker.retryIfFailed (/usr/src/app/server/node_modules/.pnpm/bullmq@5.57.0/node_modules/bullmq/dist/cjs/classes/worker.js:774:24)
2025-09-09 12:58:33.420285+00:00[Nest] 7 - 09/09/2025, 7:58:33 AM  WARN [Microservices:MachineLearningRepository] Machine learning request to "http://immich-machine-learning:3003/" failed: fetch failed
2025-09-09 12:58:33.422155+00:00[Nest] 7 - 09/09/2025, 7:58:33 AM  ERROR [Microservices:{"id":"b0f54a06-2522-42f4-8e10-c90a383d94d2"}] Unable to run job handler (SmartSearch): Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-SO400M-16-SigLIP2-384__webli"}}}' failed for all URLs
2025-09-09 12:58:33.422394+00:00Error: Machine learning request '{"clip":{"visual":{"modelName":"ViT-SO400M-16-SigLIP2-384__webli"}}}' failed for all URLs
2025-09-09 12:58:33.422453+00:00at MachineLearningRepository.predict (/usr/src/app/server/dist/repositories/machine-learning.repository.js:98:15)
2025-09-09 12:58:33.422469+00:00at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-09-09 12:58:33.422478+00:00at async MachineLearningRepository.encodeImage (/usr/src/app/server/dist/repositories/machine-learning.repository.js:116:26)
2025-09-09 12:58:33.422487+00:00at async SmartInfoService.handleEncodeClip (/usr/src/app/server/dist/services/smart-info.service.js:91:27)
2025-09-09 12:58:33.422496+00:00at async JobService.onJobStart (/usr/src/app/server/dist/services/job.service.js:198:28)
2025-09-09 12:58:33.422504+00:00at async EventRepository.onEvent (/usr/src/app/server/dist/repositories/event.repository.js:126:13)
2025-09-09 12:58:33.422513+00:00at async /usr/src/app/server/node_modules/.pnpm/bullmq@5.57.0/node_modules/bullmq/dist/cjs/classes/worker.js:496:32
2025-09-09 12:58:33.422521+00:00at async Worker.retryIfFailed (/usr/src/app/server/node_modules/.pnpm/bullmq@5.57.0/node_modules/bullmq/dist/cjs/classes/worker.js:774:24)
Immich
Immich4w ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?