Container Healthy But Web Inaccessible.
1. after installing with docker
bash <(curl -sL https://git.new/20)
i edited the SERVER_URL
to my domain
2. then do docker-compose down
and docker-compose up -d
for making the domain works.
3. after successfully setup nginx, i try to visit the homepage/root (/
) the i received Query Failed
error when submitting the email
4. look at docs, it says if you can't login do docker exec -it twenty-server-1 yarn
and docker exec -it twenty-server-1 npx nx database:reset
, and i do both.
5. now the container health check /healthz
is returning {"status":"ok","info":{},"error":{},"details":{}}
but the root page returning {"statusCode":404,"message":"Cannot GET /","error":"Not Found"}
it is even worse than the initial which at first i still getting the full rendered UI.
additional notes :
*all the containers, except twenty-change-vol-ownership-1
is successfully started. only that container that are can't be started. dunno what happen.
**i'm running all the commad with root.3 Replies
this is log for
docker exec -it twenty-server-1 yarn
and this is log for
docker exec -it twenty-server-1 npx nx database:reset
```log
✔ 1/1 dependent project tasks succeeded [0 read from cache]
Hint: you can run the command with --verbose to see the full dependent project outputs
—————————————————————————————————————————————————————————————————————————————————————————————————————
nx run twenty-server:build
rimraf dist
nest build --path ./tsconfig.build.json- TSC Initializing type checker... ✔ TSC Initializing type checker...
TSC Found 0 issues. SWC Running...Successfully compiled: 1108 files with swc (521.41ms)
nx run twenty-server:"database:reset"
nx ts-node-no-deps -- ./scripts/truncate-db.ts
nx run twenty-server:ts-node-no-deps ./scripts/truncate-db.ts
ts-node ./scripts/truncate-db.tsPerformed 'Fetching schemas...' successfully Performed 'Dropping schema pgboss...' successfully All schemas dropped successfully. up, i don't know what to do, the docs has a very limited information about this
Hi @Ibnu Rasikh - creatypestudio.co, sorry for the slow answer
Let's take it step by step to troubleshoot:
1) is your server running? could you give us the log of your twenty container while running?
2) is your database initialized ? do you see a core and a metadata schema provisioned in your postgres db
3) networking / dns / tls, we can check that later