tlvince
tlvince
IImmich
Created by tlvince on 8/6/2023 in #help-desk-support
How can I rebuild machine learning tags?
Upon restarting my server, I noticed the typesense container failed to start. It kept cycling with:
Aug 06 17:06:13 host typesense[5492]: E20230806 16:06:13.396109 158 raft_server.cpp:601] Node not ready yet (known_applied_index is 0).
Aug 06 17:06:14 host typesense[5492]: W20230806 16:06:14.396674 158 node.cpp:811] [default_group:10.0.2.100:8107:8108 ] Refusing concurrent conf
iguration changing
Aug 06 17:06:14 host typesense[5492]: E20230806 16:06:14.397166 181 raft_server.h:62] Peer refresh failed, error: Doing another configuration change
Aug 06 17:06:13 host typesense[5492]: E20230806 16:06:13.396109 158 raft_server.cpp:601] Node not ready yet (known_applied_index is 0).
Aug 06 17:06:14 host typesense[5492]: W20230806 16:06:14.396674 158 node.cpp:811] [default_group:10.0.2.100:8107:8108 ] Refusing concurrent conf
iguration changing
Aug 06 17:06:14 host typesense[5492]: E20230806 16:06:14.397166 181 raft_server.h:62] Peer refresh failed, error: Doing another configuration change
I removed the container and its volume, recreated and it started fine. Now the "Explore" tab fails with a 500 error (as expected). Logs:
immich-server[4792]: [Nest] 3 - 08/06/2023, 5:12:44 PM ERROR [ExceptionsHandler] Typesense multi-search error: 404 - Not found.
immich-server[4792]: Error: Typesense multi-search error: 404 - Not found.
immich-server[4792]: at TypesenseRepository.asResponse (/usr/src/app/dist/infra/repositories/typesense.repository.js:230:19)
immich-server[4792]: at TypesenseRepository.vectorSearch (/usr/src/app/dist/infra/repositories/typesense.repository.js:225:21)
immich-server[4792]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich-server[4792]: at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:121:26)
immich-server[4792]: at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
immich-server[4792]: at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
immich-server[4792]: [Nest] 3 - 08/06/2023, 5:12:44 PM ERROR [ExceptionsHandler] Typesense multi-search error: 404 - Not found.
immich-server[4792]: Error: Typesense multi-search error: 404 - Not found.
immich-server[4792]: at TypesenseRepository.asResponse (/usr/src/app/dist/infra/repositories/typesense.repository.js:230:19)
immich-server[4792]: at TypesenseRepository.vectorSearch (/usr/src/app/dist/infra/repositories/typesense.repository.js:225:21)
immich-server[4792]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
immich-server[4792]: at async SearchService.search (/usr/src/app/dist/domain/search/search.service.js:121:26)
immich-server[4792]: at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
immich-server[4792]: at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
I assumed this would resolve by re-running the "tag objects" and/or "encode clip" jobs (via "all"), however, this also fails with the following (repeated) logs:
immich-microservices[6365]: [Nest] 3 - 08/06/2023, 5:16:54 PM ERROR [TypesenseRepository] Unable to index documents
immich-microservices[6365]: [Nest] 3 - 08/06/2023, 5:16:54 PM ERROR [TypesenseRepository] Unable to index documents
How can I resolve this? Immich: v1.71.0
5 replies