Hi,

I am trying to get everything setup on Unraid. However, I am stuck at the step logging into the admin panel for the first time. I can't find the credentials and there is an error in the logs.

🔎 Typesense: Client created.
ServerError: Request failed with HTTP code 503 | Server said: Not Ready or Lagging
    at ServerError.TypesenseError [as constructor] (/app/node_modules/typesense/lib/Typesense/Errors/TypesenseError.js:23:28)
    at new ServerError (/app/node_modules/typesense/lib/Typesense/Errors/ServerError.js:25:42)
    at ApiCall.customErrorForResponse (/app/node_modules/typesense/lib/Typesense/ApiCall.js:384:21)
    at /app/node_modules/typesense/lib/Typesense/ApiCall.js:233:58
    at step (/app/node_modules/typesense/lib/Typesense/ApiCall.js:33:23)
    at Object.next (/app/node_modules/typesense/lib/Typesense/ApiCall.js:14:53)
    at step (/app/node_modules/typesense/lib/Typesense/ApiCall.js:18:139)
    at Object.next (/app/node_modules/typesense/lib/Typesense/ApiCall.js:14:53)
    at fulfilled (/app/node_modules/typesense/lib/Typesense/ApiCall.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  httpStatus: 503
}
📚 Connecting to database...
📚 Database connected!
🚀 3, 2, 1... Journey Self-Hosted Web Server launched!
🔊 Listening on port 8080
📘 Happy Writing! Have a great Journey ahead! 👋
Go to http://tower:8080/admin to continue.

Can anybody help?

John changed the title to Error message shown in Unraid setup .

How did you install? Did you use docker?

    Pakko Yes, Docker Compose with the provided compose file on Github.

    Hi Stan-w, thanks for trying out the self-hosted journal. Please check on your docker app if all of the services are running, esp typesense-service. Based on the log, it seems that the issue lies with Typesense. Please take alook at the video on how to run in docker. https://vimeo.com/961329713/a95b2f1c5e?share=copy

      EDIT: I think I found the problem. The typesense container is not ready to receive requests when the request by journey-journey-sync-self-hosted-service-1 container is done. Just restarting the container the container worked.

      JourneyDev It seems that all services are running. These are the logs of the typesense container:

      I20240619 08:17:14.859226   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:17:21.702324   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:17:24.860029   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:17:24.860085   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:17:31.387624   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:17:34.860919   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:17:34.861042   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:17:44.861881   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:17:44.861996   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:17:54.862825   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:17:54.862882   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:18:04.863674   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:18:04.863725   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:18:14.864552   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:18:14.864692   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:18:21.702477   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:18:24.865533   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:18:24.865598   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:18:32.393128   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:18:34.866461   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:18:34.866513   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:18:44.867341   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:18:44.867453   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:18:54.868232   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:18:54.868309   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:19:04.869161   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:19:04.869261   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:19:14.870110   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:19:14.870177   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:19:21.702644   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:19:24.870993   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:19:24.871101   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:19:33.398717   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:19:34.871893   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:19:34.871954   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:19:44.872761   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:19:44.872828   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:19:54.873714   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:19:54.873834   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:20:04.874626   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:20:04.874744   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:20:14.875581   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:20:14.875741   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:20:21.702801   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:20:24.876518   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:20:24.876582   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:20:34.404323   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:20:34.877379   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:20:34.877431   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:20:44.878255   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:20:44.878363   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:20:54.879102   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:20:54.879182   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:21:04.879976   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:21:04.880034   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:21:14.880841   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:21:14.880937   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:21:21.702951   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:21:24.881806   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:21:24.881904   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:21:34.882697   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:21:34.882767   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:21:35.409824   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:21:44.883621   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:21:44.883687   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:21:54.884526   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:21:54.884619   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:22:04.885470   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:22:04.885583   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:22:14.886410   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:22:14.886512   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:22:21.703104   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:22:24.887276   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:22:24.887332   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:22:34.888187   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:22:34.888263   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:22:36.415498   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:22:44.889071   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:22:44.889181   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:22:54.890028   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:22:54.890137   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:23:04.890875   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:23:04.890944   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:23:14.891749   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:23:14.891857   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:23:21.703262   361 conversation_manager.cpp:187] Cleared 0 expired conversations
      I20240619 08:23:24.892668   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:23:24.892760   397 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:23:34.893589   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:23:34.893728   385 raft_server.h:60] Peer refresh succeeded!
      I20240619 08:23:37.421043   359 batched_indexer.cpp:415] Running GC for aborted requests, req map size: 0
      I20240619 08:23:44.894533   358 raft_server.cpp:693] Term: 16, pending_queue: 0, last_index: 44, committed: 44, known_applied: 44, applying: 0, pending_writes: 0, queued_writes: 0, local_sequence: 107
      I20240619 08:23:44.894593   397 raft_server.h:60] Peer refresh succeeded!
      • John replied to this.

        stan-w Thanks for the update. Are you able to get the otp keys in the credentials?

          John Yes, it seems to work all. However, I want to host it in my tailscale network. I've setup https and I can access the admin panel in my Tailscale network over https. When I want to add the sync drive in the web app, it can't find the server. In other words, it seems that the sync drive needs to be accessible over the internet while I presumed that the web app would just connect straight from the browser to the sync drive. Is this correct, or is there another problem?

          EDIT: I see this request https://journey.cloud/api/v1/self/link with the server and credentials as body. Is the journey server then trying to connect to my self-hosted sync drive?