I
Immich4w ago
elco

Smart search not working

As per the title, smart search doesnt seem to work. ive typed the word car into the bar and nothing comes up. looking at the server logs there doesnt seem to be anything related to this. ive done the search at 10:27 PM and these ar eteh logs, you can see from 12:00:29 am till 10:28:00 pm these are the only ones: I am on the latest stable release v1.131.3 all docker services are up and healthy ML is running (http://immich-machine-learning:3003) with smart search model ViT-B-32__openai . Running on debian VM using the script
[Nest] 7 - 04/04/2025, 12:00:29 AM LOG [Microservices:BackupService] Database Backup Success
[Nest] 17 - 04/04/2025, 10:27:16 PM LOG [Api:EventRepository] Websocket Connect: WeFSan_dBzaZbe5GAAAR
[Nest] 17 - 04/04/2025, 10:28:00 PM ERROR [Api:LoggingRepository~531uskz8] Unable to send file: Error
Error: ENOENT: no such file or directory, access 'upload/thumbs/7accfcfb-6a57-4d5a-9ee2-d4c1fde4bfb5/69/0a/690a6eb9-3456-4595-8ced-3b6601eb8ec1-thumbnail.webp'
at async access (node:internal/fs/promises:605:10)
at async sendFile (/usr/src/app/dist/utils/file.js:53:9)
at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:60:13)
[Nest] 17 - 04/04/2025, 10:28:00 PM ERROR [Api:GlobalExceptionFilter~531uskz8] Unknown error: Error: ENOENT: no such file or directory, access 'upload/thumbs/7accfcfb-6a57-4d5a-9ee2-d4c1fde4bfb5/69/0a/690a6eb9-3456-4595-8ced-3b6601eb8ec1-thumbnail.webp'
Error: ENOENT: no such file or directory, access 'upload/thumbs/7accfcfb-6a57-4d5a-9ee2-d4c1fde4bfb5/69/0a/690a6eb9-3456-4595-8ced-3b6601eb8ec1-thumbnail.webp'
at async access (node:internal/fs/promises:605:10)
at async sendFile (/usr/src/app/dist/utils/file.js:53:9)
at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:60:13)
[2243887.631927] clocksource: Long readout interval, skipping watchdog check: cs_nsec: 1884911776 wd_nsec: 1884911677
[Nest] 7 - 04/04/2025, 12:00:29 AM LOG [Microservices:BackupService] Database Backup Success
[Nest] 17 - 04/04/2025, 10:27:16 PM LOG [Api:EventRepository] Websocket Connect: WeFSan_dBzaZbe5GAAAR
[Nest] 17 - 04/04/2025, 10:28:00 PM ERROR [Api:LoggingRepository~531uskz8] Unable to send file: Error
Error: ENOENT: no such file or directory, access 'upload/thumbs/7accfcfb-6a57-4d5a-9ee2-d4c1fde4bfb5/69/0a/690a6eb9-3456-4595-8ced-3b6601eb8ec1-thumbnail.webp'
at async access (node:internal/fs/promises:605:10)
at async sendFile (/usr/src/app/dist/utils/file.js:53:9)
at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:60:13)
[Nest] 17 - 04/04/2025, 10:28:00 PM ERROR [Api:GlobalExceptionFilter~531uskz8] Unknown error: Error: ENOENT: no such file or directory, access 'upload/thumbs/7accfcfb-6a57-4d5a-9ee2-d4c1fde4bfb5/69/0a/690a6eb9-3456-4595-8ced-3b6601eb8ec1-thumbnail.webp'
Error: ENOENT: no such file or directory, access 'upload/thumbs/7accfcfb-6a57-4d5a-9ee2-d4c1fde4bfb5/69/0a/690a6eb9-3456-4595-8ced-3b6601eb8ec1-thumbnail.webp'
at async access (node:internal/fs/promises:605:10)
at async sendFile (/usr/src/app/dist/utils/file.js:53:9)
at async AssetMediaController.viewAsset (/usr/src/app/dist/controllers/asset-media.controller.js:60:13)
[2243887.631927] clocksource: Long readout interval, skipping watchdog check: cs_nsec: 1884911776 wd_nsec: 1884911677
24 Replies
Immich
Immich4w ago
:wave: Hey @elco, 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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
elco
elcoOP4w ago
ive restarted the docker and can see during the 1st search there is an error doing smart search, it seems to be to do with memory hoiwever ive got plent of memory left
[ 32.642735] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=docker-9e4db92d9db03811eea129894f55a43f2231a8650d759baff741973d69d3b903.scope,mems_allowed=0,global_oom,task_memcg=/system.slice/docker-fa5c87ae613ab8699ca315dc6e0d0b9d5c800b4a203292dc9ed737973bafe8fd.scope,task=immich,pid=1265,uid=0
[ 32.644410] Out of memory: Killed process 1265 (immich) total-vm:1837060kB, anon-rss:222176kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:6728kB oom_score_adj:0
[ 32.642735] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=docker-9e4db92d9db03811eea129894f55a43f2231a8650d759baff741973d69d3b903.scope,mems_allowed=0,global_oom,task_memcg=/system.slice/docker-fa5c87ae613ab8699ca315dc6e0d0b9d5c800b4a203292dc9ed737973bafe8fd.scope,task=immich,pid=1265,uid=0
[ 32.644410] Out of memory: Killed process 1265 (immich) total-vm:1837060kB, anon-rss:222176kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:6728kB oom_score_adj:0
elco
elcoOP4w ago
No description
elco
elcoOP4w ago
No description
elco
elcoOP4w ago
No description
Mraedis
Mraedis4w ago
oom_killer means the process that was using all that memory was killed, and thus freeing it up again @elco So of course there is plenty available after OOM killer did it's job
Zeus
Zeus4w ago
You also seem to have some missing thumbnails in the first log
elco
elcoOP4w ago
so you are saying for smart search i needto put in more than 6 gigs ? im seeing the ram usage graph and it never spikes up so not sure what is oging on here sorry for the late reply i was out i dont know what went wrong, but everything was fine I had it set to 6gigs all this time but recent update seems to have messed it up
Mraedis
Mraedis4w ago
Did you change ML model perhaps?
elco
elcoOP4w ago
i didnt change it myself no, its currentely on ViT-B-32__openai
Mraedis
Mraedis4w ago
I guess either 6GiB was right at the edge of what it needs or something else is at play here Usually you'd see a "SIGKILL" message in the container logs though
aviv
aviv4w ago
Did you limit system resources using the Docker Compose file?
elco
elcoOP4w ago
i have not ypu nothing so i disabeld balooning on the vm. seems i dont get that error on the right side in immich and i dont see anythign on immich logs it seems thing such as "car" , "boat" doesnt work but for some erason if i write something like "rat" as an example it works ??? seems very much a hit and miss ram usage sitting at 2gigs
elco
elcoOP4w ago
No description
elco
elcoOP4w ago
yh the smart search is all over the place its giving me quite wrong results
elco
elcoOP4w ago
No description
No description
aviv
aviv4w ago
Can I update immich to last version and check?
elco
elcoOP4w ago
its already on latest version thats how it messed up, i think in past 2 updates or so
Tempest
Tempest4w ago
can you re-generate all thumbnails? It seems that you have some thumbnail errors on disk, and then perhaps run "missing" on smart search? That should likely take care of the first portion. If you watch your ram usage in realtime (using something like htop), and then do a search, or multiple searches, how much free ram do you have remaining?
elco
elcoOP4w ago
yes running them now, while i wait ive done a re gen all thumbnails and ive got a lot of erros to do with missing file when it tries to run thumbnail gen, do i need to run some other job before this ? I also get erros to do with input file contains unsupported image format and to add on top of that, some videos seem to fail ffmpeg error 234 convesion failed smart search does seem to be workign now though so thats good, one issue fixed !
Tempest
Tempest4w ago
Did you delete files from your immich installation manually (from the file system)?
elco
elcoOP4w ago
i have not
Tempest
Tempest4w ago
Then that's really strange. It almost sounds like a broken install if you're unable to create thumbnails for files because they're missing
elco
elcoOP4w ago
i mean for the videos it says invalid data found when processing input
[Nest] 7 - 04/06/2025, 8:05:15 PM ERROR [Microservices:{"id":"be6cc3d4-6c5e-4717-8ba8-1146a151218e"}] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: ffprobe exited with code 1
ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x54ed4060180] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x54ed4060180] moov atom not found
/mnt/phone_backups/haseeb_phone/haseeb phone 2024/202307__/IMG_6410.MOV: Invalid data found when processing input
[Nest] 7 - 04/06/2025, 8:05:15 PM ERROR [Microservices:{"id":"be6cc3d4-6c5e-4717-8ba8-1146a151218e"}] Unable to run job handler (thumbnailGeneration/generate-thumbnails): Error: ffprobe exited with code 1
ffprobe version 7.0.2-Jellyfin Copyright (c) 2007-2024 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto=auto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libxml2 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libharfbuzz --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil 59. 8.100 / 59. 8.100
libavcodec 61. 3.100 / 61. 3.100
libavformat 61. 1.100 / 61. 1.100
libavdevice 61. 1.100 / 61. 1.100
libavfilter 10. 1.100 / 10. 1.100
libswscale 8. 1.100 / 8. 1.100
libswresample 5. 1.100 / 5. 1.100
libpostproc 58. 1.100 / 58. 1.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x54ed4060180] Format mov,mp4,m4a,3gp,3g2,mj2 detected only with low score of 1, misdetection possible!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x54ed4060180] moov atom not found
/mnt/phone_backups/haseeb_phone/haseeb phone 2024/202307__/IMG_6410.MOV: Invalid data found when processing input
thinking should i run any other type of jubs before

Did you find this page helpful?