Search stopped working
Just love this app, however last few months the search feature stopped working where should I look to find errors or get more info to fix this for myself, thanks for any help. I'm running on Docker with portainer.
12 Replies
Check whether all the containers are running and if their logs have any errors, particularly when trying to use the search
It's likely that the problem is with the typesense container in some way
I'm getting the following error
RuntimeError: Failed to download https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d53657276696365/onnx/ViT-B-32/textual.onnx within retry limit 3
Failed to download
https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d536572
76696365/onnx/ViT-B-32/textual.onnx with URLError(gaierror(-3, 'Temporary
failure in name resolution')) at the 0th attempt
Failed to download
https://clip-as-service.s3.us-east-2.amazonaws.com/models-436c69702d61732d536572
76696365/onnx/ViT-B-32/textual.onnx with URLError(gaierror(-3, 'Temporary
failure in name resolution')) at the 1th attempt
Sounds like a dns issue
But the file I can download fine from my pc or wget on the server that docker is installed on
That narrows it down, but it's still possible that the dns is broken in docker for some reason
I'm looking at that, but don't have ping or wget on the docker is there another way on the docker to check this ?
I've change /etc/resolv.conf nameserver to 8.8.8.8 for the time being and the jobs seem to be running and no errors on the immich_machine_learning container so far...
it seems to be working... is there a way I can change this permanently ?
What nameserver do you normally use?
I have a local pihole... but just used 8.8.8.8 to avoid any confusion...
Is that pihole the same system that you have Immich running on?
yes it is a docker on the same machine.
That'll be why then - the containers are isolated from eachother, so Immich cannot reach pihole
(It's probably using the host's IP address for the nameserver, but it can't reach the host either)
Depending on what network you have set up you might be able to use your pihole anyway. For bridged networks docker creates hostnames for each container and a routable bridge interface. So, if you use a bridged network (e.g. the default network), you should be able to set the DNS in your containers to the pihole hostname (usually container name) and it should work.