-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] 500 getaddrinfo ENOTFOUND immich-server #2055
Comments
Is the typesense container running? The server can't reach it. |
It's running if I add Edit: Actually it's not running. Just restarting... |
You'll need to enable logging on the typesense container to figure out why it's having trouble starting. Either way this is not a problem in Immich, so I'll close this issue. |
Same problem with docker-compose running on portainer. |
TYPESENSE_API_KEY is missing in the env file and needed by typesense container. Edit: Please also mention how to update to latest version using portainer in the docs. |
It seems that typesense requires a CPU with AVX support, which I don't have... Maybe this should be mentioned in sys requirements. |
Good find, I think we weren't aware of that! We are planning to make typesense an optional component in a future release. |
I have the same problem, after updating to the newest version, my immich instance (proxmox instance: debian 5.10.162-1) won't boot up.
edit: I'm having the same issues with the typesense_api_key? How can I fix this? |
@Peda1996 Try disabling machine learning and typesense.
Logs: |
Running into the same thing. Should this be re-opened? |
Ah, never mind. Didn't realize I need to update .env. |
Dang it, I got it all working and that search is SO SUPER AWESOME! TYTYTYTY! |
Oh, sorry forgot to mention that I already fixed it with the help of
discord. Fixed it as followed:
1. add these to .env
TYPESENSE_API_KEY=some-random-text
2. exchange your docker compose for the newest version
Now just update like you would regularly update the service:
1. docker compose pull
2. docker compose up -d
Florian Sauer ***@***.***> schrieb am So., 26. März 2023,
18:05:
… Dang it, I got it all working and that search is SO SUPER AWESOME!
TYTYTYTY!
—
Reply to this email directly, view it on GitHub
<#2055 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANU6NLIBTOTWIAXHM3UACLW6BZL7ANCNFSM6AAAAAAWE7OKFU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@bertmelis do you think we can get a non-avx image working here? |
I don't know. I guess I can start a build container: https://github.com/typesense/typesense#build-from-source and see what happens. Edit: after some minor changes to their Docker build script, it's building. I have no clue about the outcome or the time it takes. |
So. I just built Typesense from source, using the script in the typesense repo and pointed the compose file to the locally generated image. On my J4105 it took a less then 4 hours. Not a big deal to do it yourself. It also doesn't clutter your system with all kind of dependencies because the build process is entirely contained in build containers. I probably won't publish an image because it actually is just too easy to create one yourself. And then it is built for your cpu. I'm happy to write the instructions if you need help. |
I'll give it a try! Thanks! |
How do you get docker to reference the locally built typesense image in the compose file? My typesense build worked after running the command several times due to some checksums not working. Eventually it did build though (not sure how long it took, walked away and got some food, when I came back build was done). It was tagged by default as However, when I run |
This should go in your composefile: image: localhost/typesense/typesense:nightly If you omit the localhost, it searches in the (online) registries as found in your configuration files. |
If I paste that in, I get:
|
Sorry, I'm using Podman, not Docker. I'm not familiar with your error. Can you run the image as-is, outside of the Immich stack? |
Via docker run? I don't see why that wouldn't work. It's when I |
Some googling suggests you just shouldn't pull. When the stack is started, docker will find the local image. |
Wait - but I need to pull to update immich
Edit: |
Could you please share the changes you introduced? |
I'm using postman on a SELinux-enabled machine. The two changes:
|
@bertmelis: I'm interested in compiling typesense for my Intel N5100. Could you provide your build script? Are you still running this non-avx version, and has it been sufficient for a personal immich install? |
I'm still running it. For me it is sufficient. It might take a tad longer but it's a background task. It still processes the pictures faster than I shoot them. I don't know how I built the container but I might find some leftovers on my home server... Stay tuned. |
fyi you need to build this version: https://github.com/immich-app/immich/blob/main/docker/docker-compose.yml#L55C4-L55C4 please see: #300 (comment) Just follow these instructions: https://github.com/typesense/typesense/tree/v0.24.1#build-from-source |
ah yes. Typesense is on v0.25 but Immich uses v0.24. The instructions to build it yourself are extremely simple: just download/clone the Typesense repo with the correct version and execute the script. |
After my inspection, the official archive compiled by typesense supports most x64 platforms. Based on the platform instruction set, it requires at least SSE2, SSSE3, SSE4.1 support, and may require SSE3 and SSE4.2 support. The AVX instruction set is additional and not necessarily required. |
The bug
Can't access Immich web page since version v1.51.0.
I get 500 getaddrinfo ENOTFOUND immich-server error.
_immich_server_logs.txt
The OS that Immich Server is running on
Debian 11
Version of Immich Server
v1.51.2
Version of Immich Mobile App
v1.51.0
Platform with the issue
Your docker-compose.yml content
Latest from the docs
Your .env content
Reproduction steps
Additional information
No response
The text was updated successfully, but these errors were encountered: