after the update 500 connect ECONNREFUSED 172.21.0.4:3001
i did the update using "docker-compose pull && docker-compose up -d # Or
docker compose
" and after that i get this error, i restarted the containers but nothing,
16 Replies
If you haven't please refer to the release note for the change in the setup
GitHub
Release v1.51.0 · immich-app/immich
v1.51.0
Breaking Changes 🚨
This release added a new container to Immich's ecosystem, namely Typesense. Please update your docker-compose.yml file to include the new container and .env file to h...
I also got that error and could resolve it by adding TYPESENSE_HOST=immich_typesense. (See https://github.com/immich-app/immich/issues/2028#issuecomment-1476692049)
But I also named my container "immich_typesense" instead of "typesense".
GitHub
[BUG] Internal server error 500 when clicking "Explore" · Issue #20...
The bug When clicking "Explore" on the web, the server generates an internal error 500. immich-server shows this log: [Nest] 1 - 03/20/2023, 5:42:08 PM ERROR [ExceptionsHandler] Request f...
I tried but nothing changes
Can you share you immich-server and immich-microservice logs?
where can i find them?
docker logs immich_server
Error: Config validation error: "TYPESENSE_API_KEY" is required
at Function.forRoot (/usr/src/app/node_modules/@nestjs/config/dist/config.module.js:75:23)
at Object.<anonymous> (/usr/src/app/dist/apps/immich/apps/immich/src/app.module.js:39:35)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/usr/src/app/dist/apps/immich/apps/immich/src/main.js:12:22)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
/usr/src/app/node_modules/@nestjs/config/dist/config.module.js:75
throw new Error(
Config validation error: ${error.message}
);
^Yeah, so you need to add that to the env. Did you read the release notes?
yes this is my env
did I do something wrong?
What about your
.env
file?
You should just need to add TYPESENSE_API_KEY=
(with some random data for the key) to your .env
file and then run docker-compose up again
You can generate some random data with something like this openssl rand -base64 24
You need to remove the
$
, {
and }
characters
Oh wait hmm...
Maybe try removing the slashes/plus sign from the value and try againThanks so much for your help, it works now🙏