Troubleshooting
Start with the container status, recent logs, and both health endpoints:
docker compose ps
docker compose logs --tail=200 tagvico-ai
curl --fail http://localhost:8080/health
curl --fail http://localhost:8080/api/health/health verifies the Tagvico process and its database. /api/health also reports the configured model adapter's health when the adapter exposes a health check, and returns 503 on an explicit failure. An unknown provider result is not a successful connection test; use the Test connection actions in Settings to verify Paperless and the selected provider.
Setup returns 403
Remote setup is disabled by default. When the browser is not running on the same machine as Tagvico, temporarily set ALLOW_REMOTE_SETUP=yes, recreate the container, and complete setup. Remove the setting afterward and recreate the container again.
Setup returns 409
The instance already has setup data. This is intentional: public setup cannot replace an existing admin account or its connection settings. Sign in and use Settings for normal changes. For disaster recovery, restore a known-good data volume backup rather than exposing a reset endpoint.
Paperless connection fails
- Use the Paperless base URL without
/api. - Verify the API token in Paperless and use a dedicated token where possible.
- From a container,
localhostrefers to that container—not the Docker host. Use a shared Compose network and the Paperless service name, or a reachable host address. - Test the exact URL from the Docker host before changing Tagvico settings.
Provider health is degraded
Open Settings → AI provider, confirm the selected provider, and run its connection test. Check the endpoint, model, credentials, account entitlement, and provider status. Model catalogs and quotas are controlled by the provider and may change independently of Tagvico.
For a local Ollama endpoint, confirm the model is pulled and that Ollama listens on an address reachable from the Tagvico container. An endpoint bound only to the host loopback interface is not normally reachable from another container.
Documents are not processing
- Check Operations for runner state, retries, terminal failures, or OCR rescue work.
- Confirm the Paperless token can see the expected documents.
- Use Scan now for an immediate pass.
- Inspect History for the specific failure instead of repeatedly rescanning.
Keep Review first enabled while diagnosing write behavior. A suggestion that is already queued remains reviewable when the processing mode changes.
Upgrade does not start cleanly
Do not run two Tagvico versions against the same data volume. Stop the stack, preserve the failed container logs, and follow the rollback procedure. Restore the pre-upgrade volume backup when the new release migrated the database and the previous image cannot read it.
Get more help
When reporting a problem, include the Tagvico version, deployment method, provider name, relevant sanitized log lines, and the failing health status. Remove API keys, tokens, document text, personal data, account identifiers, and private URLs before posting an issue in the GitHub issue tracker.