I
Immich2y ago
Eazy E

Explore Not Loading

I'm on a fresh install of the Immich stack in Kubernetes, and on both Firefox and Chrome, I get an Invalid URI. Load of media resource failed warning in the dev console. Eventually if I sit long enought I get the following error
Internal Error - undefined
undefined
Internal Error - undefined
undefined
Taking a look at the logs I'm not seeing anything that stands out. Perhaps this is related to https://discord.com/channels/979116623879368755/1130673420770750544 ?
13 Replies
southyfromtassie
I am getting the same issue here on Unraid. Fresh install today. Explore was working when only a few hundred assets loaded. Now there are close to 2,000 and getting this error.
bo0tzz
bo0tzz2y ago
@Eazy E this is related to your typesense problems yes @southyfromtassie can you check that all your containers are running and happy?
southyfromtassie
Unraid reports the Containers are running but I noticed errors in the logs for immich_server container pointing to Typesense error. Followed the prompts in the 'Typesense keeps restarting' thread and that got everything back up and running (but it prompted to reset-up as a fresh install and all previously loaded assets were not available). Hopefuly that fixes the issue
No description
southyfromtassie
Issue re-appeared within an hour and appears to be a Typesense error: ServerError: Request failed with HTTP code 503 | Server said: Not Ready or Lagging at ServerError.TypesenseError [as constructor] (/usr/src/app/node_modules/typesense/lib/Typesense/Errors/TypesenseError.js:23:28) at new ServerError (/usr/src/app/node_modules/typesense/lib/Typesense/Errors/ServerError.js:25:42) at ApiCall.customErrorForResponse (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:347:21) at /usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:204:58 at step (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:33:23) at Object.next (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:14:53) at step (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:18:139) at Object.next (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:14:53) at fulfilled (/usr/src/app/node_modules/typesense/lib/Typesense/ApiCall.js:5:58) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
bo0tzz
bo0tzz2y ago
What do the typesense logs say?
southyfromtassie
From the Unraid UI, the log window just closes on the Typesense container (works on all other containters). Reverted to the CLI via Unraid Terminal and got: "Error response from daemon: configured logging driver does not support reading" Any ideas?
bo0tzz
bo0tzz2y ago
That's because of this section in the compose file, if you remove that it should work (but restarting the container to apply it might clear the logs)
southyfromtassie
Commented the logging section out and updated the stack. The recreation brought the Typsense server back online, but the logs are now visible. Will wait for the error to re-occur and then check the Typesense logs The error seems to appear constantly after around ~1hour. This is recuring in the Typsense logs once the error appears: W20230718 12:07:26.904009 646 raft_server.cpp:570] Single-node with no leader. Resetting peers. W20230718 12:07:26.904014 646 node.cpp:866] node default_group:172.22.0.4:8107:8108 is in state ERROR, can't reset_peer I20230718 12:07:36.904918 646 raft_server.cpp:546] Term: 3, last_index index: 6268, committed_index: 6268, known_applied_index: 6268, applying_index: 0, queued_writes: 0, pending_queue_size: 0, local_sequence: 53234 W20230718 12:07:36.904953 646 raft_server.cpp:570] Single-node with no leader. Resetting peers. W20230718 12:07:36.904963 646 node.cpp:866] node default_group:172.22.0.4:8107:8108 is in state ERROR, can't reset_peer I20230718 12:07:46.906127 646 raft_server.cpp:546] Term: 3, last_index index: 6268, committed_index: 6268, known_applied_index: 6268, applying_index: 0, queued_writes: 0, pending_queue_size: 0, local_sequence: 53234
bo0tzz
bo0tzz2y ago
Hmm, very odd How is your system doing in terms of resources?
southyfromtassie
Nothing jumping out as far as CPU, RAM etc. When Immich is processing lots of files as part of an uplaod CPU might get to around 70-80% in bursts.
No description
bo0tzz
bo0tzz2y ago
Not sure why this would be happening then You might want to reach out to the typesense folks for this.
tlvince
tlvince2y ago
@southyfromtassie were you able to find a solution to this? I'm experiencing the same, in fact almost all of my maintenance tasks with immich are spent on typesense
Mihir
Mihir2y ago
@tlvince any solution for this? I have recently been having the same problems edit: try deleting the typesense volume and restarting

Did you find this page helpful?