Flomp / wanderer

wanderer is a self-hosted trail database. Save your adventures!
GNU Affero General Public License v3.0
1.11k stars 29 forks source link

Clean install results in error 500 #2

Closed garbast closed 6 months ago

garbast commented 6 months ago

I took the docker-compose.yml and docker compose up without any change. The result in the browser for http://localhost:3000/ is an error 500

In the shell i get a lot of errors by the db:

wanderer-db      | exec /pocketbase: exec format error

And while the request was loading the this error:

wanderer-web     | TypeError: fetch failed
wanderer-web     |     at Object.fetch (node:internal/deps/undici/undici:11731:11)
wanderer-web     |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
wanderer-web     |   cause: Error: getaddrinfo EAI_AGAIN db
wanderer-web     |       at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
wanderer-web     |     errno: -3001,
wanderer-web     |     code: 'EAI_AGAIN',
wanderer-web     |     syscall: 'getaddrinfo',
wanderer-web     |     hostname: 'db'
wanderer-web     |   }
wanderer-web     | }
wanderer-web     | TypeError: fetch failed
wanderer-web     |     at Object.fetch (node:internal/deps/undici/undici:11731:11)
wanderer-web     |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
wanderer-web     |   cause: Error: getaddrinfo EAI_AGAIN db
wanderer-web     |       at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {
wanderer-web     |     errno: -3001,
wanderer-web     |     code: 'EAI_AGAIN',
wanderer-web     |     syscall: 'getaddrinfo',
wanderer-web     |     hostname: 'db'
wanderer-web     |   }
wanderer-web     | }
Flomp commented 6 months ago

I just fixed the docker image. The PocketBase binary should now be compiled for the right architecture.

garbast commented 6 months ago

Can confirm that after a repull it's working now.