VectorVue Documentation

Integration, platform operations, architecture, and assurance references

VectorVue Troubleshooting Guide

This guide covers high-frequency operational issues in production and demo environments.

1. Deployment Fails (make deploy)

Checks:

  1. Verify Docker daemon is running.
  2. Verify Compose can start postgres/redis.
  3. 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:

  1. Verify migration order:
make pg-schema-bootstrap
make phase65-migrate
make phase7e-migrate
make phase8-migrate
make phase9-migrate
  1. Recheck PostgreSQL health and rerun failing step.

3. Portal Login Fails

  1. Confirm tenant URL is correct.
  2. Confirm seeded credentials are current.
  3. Rerun demo seed in non-production:
make seed-clients
  1. If onboarding used make wizard option 2, confirm tenant host map is set in .env:
rg '^VV_TENANT_HOST_MAP=' .env

4. Worker Restart Loops

  1. 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
  1. 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

  1. Verify compliance migration applied: make phase9-migrate.
  2. Verify tenant-authenticated token and role.
  3. Verify compliance workers are running.

6. Data Scope or Tenant Mismatch

  1. Stop integration workflow immediately.
  2. Capture request/tenant identifiers.
  3. Escalate to platform admin for scope verification.

7. Slow Responses

  1. Check postgres and redis health.
  2. Check worker backlog and queue processing.
  3. Review app logs for timeouts and heavy queries.

8. Support Handoff Template

Include:

9. TUI Onboarding Wizard Fails

  1. Confirm you are logged in as admin role.
  2. Confirm PostgreSQL is reachable from app container.
  3. Confirm base migrations and tenant theme migration are applied:
make pg-schema-bootstrap
make phase65-migrate
make phase7d-migrate
  1. Retry onboarding in TUI with Ctrl+Shift+W.
  2. If failure persists, collect app logs:
docker compose logs --tail=120 vectorvue_app