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
24 Replies
: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: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



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
You also seem to have some missing thumbnails in the first log
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
Did you change ML model perhaps?
i didnt change it myself no, its currentely on ViT-B-32__openai
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
Did you limit system resources using the Docker Compose file?
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

yh the smart search is all over the place its giving me quite wrong results


Can I update immich to last version and check?
its already on latest version
thats how it messed up, i think in past 2 updates or so
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?
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 !
Did you delete files from your immich installation manually (from the file system)?
i have not
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
i mean for the videos
it says invalid data found when processing input
thinking should i run any other type of jubs before