Closed Genry777Morgan closed 9 months ago
/usr/src/app/node_modules/@nestjs/config/dist/config.module.js:78
throw new Error(Config validation error: ${error.message}
);
^
Error: Config validation error: "TYPESENSE_API_KEY" is required
at ConfigModule.forRoot (/usr/src/app/node_modules/@nestjs/config/dist/config.module.js:78:23)
at Object.
Node.js v20.10.0
/usr/src/app/node_modules/@nestjs/config/dist/config.module.js:78
throw new Error(Config validation error: ${error.message}
);
^
He needs a type sense key, which we removed from the docker composition
Perhaps this is because I deleted the unused Typesense container after using the new dockercompose.yml file, now I used docker compose again for version 1.89(with typesense), and the server started up. Then I again deleted all the lines associated with typesense from the docker composition file, and everything worked, perhaps you can’t delete the typesense container (docker rm -f immich_typesense)
In console [Nest] 7 - 12/08/2023, 7:34:01 AM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 7:34:01 AM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 7:34:01 AM WARN [ExpressAdapter] Content-Type doesn't match Reply body, you might need a custom ExceptionFilter for non-JSON responses [Nest] 7 - 12/08/2023, 7:34:49 AM LOG [CommunicationRepository] Websocket Connect: fHcWyBf1sgp2L-4SAAAJ [Nest] 7 - 12/08/2023, 7:34:52 AM LOG [CommunicationRepository] Websocket Disconnect: fHcWyBf1sgp2L-4SAAAJ [Nest] 7 - 12/08/2023, 7:35:10 AM LOG [CommunicationRepository] Websocket Connect: aDltlxcsNhmwhjBlAAAL [Nest] 7 - 12/08/2023, 7:35:40 AM LOG [CommunicationRepository] Websocket Disconnect: aDltlxcsNhmwhjBlAAAL [Nest] 7 - 12/08/2023, 7:35:50 AM LOG [CommunicationRepository] Websocket Connect: nI80A1xYaeYAc7JGAAAN [Nest] 7 - 12/08/2023, 7:36:34 AM LOG [CommunicationRepository] Websocket Disconnect: nI80A1xYaeYAc7JGAAAN [Nest] 7 - 12/08/2023, 7:36:50 AM LOG [CommunicationRepository] Websocket Disconnect: g4BIE7ce1HWWuT81AAAH [Nest] 7 - 12/08/2023, 7:36:51 AM LOG [CommunicationRepository] Websocket Connect: ANloyBtGfNaxZLsBAAAP [Nest] 7 - 12/08/2023, 7:36:59 AM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 7:36:59 AM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 7:36:59 AM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 7:36:59 AM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 7:37:01 AM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 7:37:01 AM ERROR [ErrorInterceptor] Error: Request aborted [Nest] 7 - 12/08/2023, 7:37:01 AM ERROR [ErrorInterceptor] Failed to serve file [Nest] 7 - 12/08/2023, 7:37:01 AM ERROR [ErrorInterceptor] Error: Request aborted
The bug
After updating the server it starts with an error Request #1702018343205: Request to node 0 failed due to "EAI_AGAIN getaddrinfo EAI_AGAIN typesense" Request #1702018343205: sleep for 4 seconds and then repeat the request...
There were no problems when updating to version 1.90.0, but the error returned to version 1.90.1
The OS that Immich Server is running on
Ubuntu 22
Version of Immich Server
v.1.90.1
Version of Immich Mobile App
v.1.90.1
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response