Guides
Troubleshooting
Common issues and how to resolve them.
Common issues developers might encounter and their solutions.
Database Connection Refused
Error: ECONNREFUSED 127.0.0.1:5432
Solution:
- Ensure Docker is running.
- Check if the database container is up:
docker ps. - If running
pnpm composer:upfails with "port already in use", stop other Postgres instances running on your machine.
Docker Permissions (Linux)
Error: permission denied while trying to connect to the Docker daemon socket
Solution: Add your user to the docker group:
sudo usermod -aG docker $USER
newgrp dockerTurbo Build Caching Issues
Issue: Changes aren't being reflected in the build.
Solution: Force a rebuild by ignoring the cache:
pnpm build --forceOIDC Redirect Issues
Issue: "Invalid redirect_uri" when trying to log in.
Solution:
Ensure your frontend URL matches what is whitelisted in the OIDC Provider configuration (apps/api/src/auth/oidc/oidc.config.ts).