Self-Hosting
Upgrading
How to update your self-hosted AnswerLoops instance.
Standard upgrade
git pull origin main
docker compose up --build -dDrizzle migrations run automatically on startup.
Check migration status
docker compose exec postgres psql -U community -d community \
-c "SELECT * FROM __drizzle_migrations ORDER BY created_at DESC LIMIT 5;"Rollback
AnswerLoops doesn't ship automatic rollback tooling. To revert:
git checkout <previous-tag>
docker compose up --build -dIf a migration added new columns or tables, rolling back the code won't remove them. This is generally safe — extra columns are ignored. Dropped columns may cause issues; check the migration diff before rolling back.
Check current version
git log --oneline -1