answerLoopsanswerLoopsDocs
Self-hosting guide

Troubleshooting

Fixes for common issues encountered when self-hosting answerLoops.

Find your symptom below, open it, and follow the fix. Problems are grouped by where you notice them. For most of them, the first thing to check is the logs.

docker compose logs app --tail=50
docker compose logs bot --tail=50

If you run the published-image or from-source stack, add -f docker-compose.ghcr.yml or -f docker-compose.prod.yml after docker compose.

Quick lookup

What you seeMost likely causeJump to
App will not startMissing setting, or the database is not readyStartup and database
ECONNREFUSED on port 5432Wrong database host, or Postgres still startingStartup and database
redirect_uri_mismatchGoogle redirect URI does not match AUTH_URLSign-in and access
No sign-in buttonGoogle credentials not setSign-in and access
No AI draft on a ticketNo usable AI keyAnswers and AI
Bot connects but never repliesAutomatic Deflections is offChannels
Knowledge-base syncs never finishBot service is not runningChannels
Data gone after a restartVolumes were deletedStartup and database

Startup and database

Sign-in and access

Answers and AI

Channels

Still stuck?

Gather the relevant log lines from the app and bot, and the exact error text, before you ask for help. Remove any keys or tokens first.

Where to go next

On this page