VectorVue Troubleshooting Guide
This guide covers high-frequency operational issues in production and demo environments.
1. Deployment Fails (make deploy)
Checks:
- Verify Docker daemon is running.
- Verify Compose can start postgres/redis.
- Check container logs:
docker compose logs --tail=120 vectorvue_app
docker compose logs --tail=120 vectorvue_postgres
2. Migration Errors
If schema errors appear during migration:
- Verify migration order:
make pg-schema-bootstrap
make phase65-migrate
make phase7e-migrate
make phase8-migrate
make phase9-migrate
- Recheck PostgreSQL health and rerun failing step.
3. Portal Login Fails
- Confirm tenant URL is correct.
- Confirm seeded credentials are current.
- Rerun demo seed in non-production:
make seed-clients
- If onboarding used
make wizardoption2, confirm tenant host map is set in.env:
rg '^VV_TENANT_HOST_MAP=' .env
4. Worker Restart Loops
- Inspect worker logs:
docker compose logs --tail=120 vectorvue_ml_worker
docker compose logs --tail=120 vectorvue_compliance_observation_worker
docker compose logs --tail=120 vectorvue_compliance_daily_worker
- Rebuild and recreate relevant services:
docker compose build vectorvue_app
docker compose up -d --force-recreate vectorvue_app vectorvue_ml_worker vectorvue_compliance_observation_worker vectorvue_compliance_daily_worker
5. Compliance Endpoint Errors
- Verify compliance migration applied:
make phase9-migrate. - Verify tenant-authenticated token and role.
- Verify compliance workers are running.
6. Data Scope or Tenant Mismatch
- Stop integration workflow immediately.
- Capture request/tenant identifiers.
- Escalate to platform admin for scope verification.
7. Slow Responses
- Check postgres and redis health.
- Check worker backlog and queue processing.
- Review app logs for timeouts and heavy queries.
8. Support Handoff Template
Include:
- command run
- timestamp
- service logs snippet
- tenant/environment impacted
- expected vs actual behavior
9. TUI Onboarding Wizard Fails
- Confirm you are logged in as
adminrole. - Confirm PostgreSQL is reachable from app container.
- Confirm base migrations and tenant theme migration are applied:
make pg-schema-bootstrap
make phase65-migrate
make phase7d-migrate
- Retry onboarding in TUI with
Ctrl+Shift+W. - If failure persists, collect app logs:
docker compose logs --tail=120 vectorvue_app