Skip to content

Upgrade to or within v3 ​

The tagvico_ai_data volume is the upgrade boundary. It holds settings, processing history, queues, and the local admin account. Keep it, back it up, and change only the container image during a normal upgrade.

Before upgrading ​

  1. Read the release notes and note any v3 migration warnings.
  2. Keep Review first enabled if the release changes metadata behavior.
  3. Stop Tagvico and back up its named volume:
bash
docker compose stop tagvico-ai
docker run --rm \
  -v tagvico_ai_data:/source:ro \
  -v "$PWD":/backup \
  alpine tar czf /backup/tagvico-ai-data.tgz -C /source .

Pull the pinned release ​

Update image: in docker-compose.yml to the exact release tag, then run:

bash
docker compose pull
docker compose up -d
docker compose ps
docker compose logs --tail=100 tagvico-ai
curl http://localhost:8080/health

After signing in, confirm the displayed version, test the Paperless connection, check /api/health, and open /docs/ to confirm the bundled release documentation is available. Process one non-sensitive document in Review first before re-enabling Automatic mode.

Tagvico checkpoints SQLite and creates a pre-migration database backup before schema upgrades. The external volume backup remains the safest rollback point.

The v3 Settings migration does not replace data/.env. Existing variable names remain readable and compatible values are written back through the new typed Settings API. /settings now redirects into the single Next.js settings workspace; the removed EJS settings form is not a rollback or compatibility surface.

Legacy bookmarks redirect into the task-oriented v3 information architecture: /dashboard to /automation, /history to /activity, /operations to /automation/recovery, and /manual to /automation/manual. /review remains the clear approval destination. Their former EJS views and page-specific browser scripts have been retired.

From 3.2 onward, /automation is labelled Home, /documents provides a document-first history view, and /tags contains the dedicated duplicate-tag review flow. These are navigation and presentation changes; existing history, conversations, provider credentials, automation rules and recovery queues stay in the same v3 data volume.

Upgrading to 3.5 ​

Version 3.5 changes the interface and one Compose default. It does not change the data schema, so the usual image swap is enough.

  • Compose channel variables are now empty by default. The bundled docker-compose.yml used to set TELEGRAM_BOT_ENABLED=no, TELEGRAM_USERS_JSON=[], DISCORD_BOT_ENABLED=no and similar values, which made the container environment own those settings. 3.5.0 passes every TELEGRAM_* and DISCORD_* variable through empty, so the new Channels tab can save them. If you copy the new file, nothing else changes. If you keep your old file, or set the variables in your own .env, those values still win and the Channels tab lists them as set by the container environment. To manage a bot in the UI, delete its lines from your Compose file and recreate the container.
  • Channels moved to their own settings tab. Telegram and Discord left Settings → Automation for Settings → Channels. Old /settings/automation#telegram and #discord links redirect there, and /settings/telegram and /settings/discord open the Channels tab. The bots keep their existing configuration.
  • Settings tabs. Settings now have six tabs: Paperless, AI models, Automation, Channels, Tags and People & security. Bookmarks to the former sections (/settings/ai, /settings/household, /settings/security, /settings/tag-library and similar) redirect to the matching tab.
  • Navigation. Signing in opens the chat. The former Home dashboard is Overview in the account menu, and Ask Tagvico is now just the chat. Channel status left the sidebar. On phones there is a top bar and a menu drawer, with no bottom tab bar and no horizontal navigation row.
  • Providers. ChatGPT plan is the new first provider. The Codex-based provider is called ChatGPT via Codex (legacy) and is unchanged. New installations default to GPT-6 Luna on OpenAI direct and OpenRouter; existing installations keep the model they have configured.

Roll back ​

Stop the new container, restore the backup volume if the upgrade changed its schema, pin the previous image tag, and start Compose again. Do not run two Tagvico versions against the same volume at the same time.

v2 to v3

Treat a major-version upgrade as a maintenance window. Back up the volume, read the v3 release notes, and allow the first container start to complete the schema-v5 migration. It adds households, members, Action Cases, steps, Companion sessions, and approval audit records. The visible application moves to Next.js on port 3000 while the scanner runs as an internal process on port 3001; do not expose the internal port.

Tagvico AI V3.5.0 documentation