Troubleshooting
Backend will not start
Check the app logs for database connection errors:
docker logs -f uptimeo-app
Common causes:
- PostgreSQL is not healthy yet — wait for the health check to pass.
-
SPRING_DATASOURCE_URLdoes not match your PostgreSQL host or container name. -
JWT_BASE64_SECRETis missing or shorter than 64 bytes — generate one withopenssl rand -base64 64.
Login returns HTTP 500
Make sureSPRING_DATASOURCE_HIKARI_AUTO_COMMIT=false is set on the app container. With HikariCP's default autoCommit=true, /api/authenticate fails.
Agent reports no heartbeats
- 1 Confirm the agent is running and has leadership:
docker logs agent-us-east-1 | grep "Acquired leadership"
- 1 Verify the agent has assigned monitors in the UI.
-
2
Check that
API_BASE_URLis reachable from the agent container — usehttp://host.docker.internal:8080, nothttp://localhost:8080, when the app runs on the same Docker host. -
3
Confirm
API_KEYis valid and has not expired.
Status page is empty
- Make sure the status page includes monitors that have heartbeats.
-
Confirm the page is enabled: Status Pages → your page → Enable Public Status Page, then open
http://localhost:8080/status/.
Partition missing error
Create today's partition manually:
SELECT create_daily_partition();
Reset Everything
From the directory with the Compose file:
docker compose down -v
docker compose up -d