Skip to content

feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.5.1 - #7639

Open
rust84-bot[bot] wants to merge 1 commit into
mainfrom
renovate/ghcr.io-clusterzx-paperless-ai-4.x
Open

rust84-bot[bot] wants to merge 1 commit into
mainfrom
renovate/ghcr.io-clusterzx-paperless-ai-4.x

Conversation

@rust84-bot

@rust84-bot rust84-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Update Change
ghcr.io/clusterzx/paperless-ai major 3.0.9 → 4.5.1

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

clusterzx/paperless-ai (ghcr.io/clusterzx/paperless-ai)

v4.5.1: | Add PP-OCRv6 an addtional OCR model by PaddleOCR

Compare Source

What's Changed

Full Changelog: clusterzx/paperless-ai@v4.5.0...v4.5.1

v4.5.0: | Built-in archive, mobile apps, MCP server

Compare Source

Highlights

Built-in archive – Paperless-AI without Paperless-ngx

Paperless-AI can now be your archive on its own: the setup offers the built-in archive next to the companion mode. No Paperless-ngx, Redis or Postgres needed – one container.

  • Getting documents in: upload, a REST API (also the post_document endpoint of Paperless-ngx), watch folders for scanners, IMAP mailboxes with rules, a WebDAV inbox and the share menu of your phone (installable app).
  • Libraries with roles (owner, editor, viewer) for families and teams – every list, statistic and Ask your archive answer only shows what you may see. A default library per user decides where uploads go.
  • Versions with text comparison, a change log with undo for every change, a trash.
  • Full text search built for 200,000+ documents on modest hardware.

Existing installations stay in companion mode – nothing changes until you choose.

Move over from Paperless-ngx

The migration assistant analyses your Paperless-ngx archive, shows who will see what, imports it with the same document ids (AI history, OCR results, calendar and Ask your archive stay valid), keeps it in sync and switches over without a restart – with a rollback. Importing into a built-in archive that is already in use works too. Exports go out again in the Paperless-ngx exporter format or as plain folders.

Workflows

When something happens and the document matches, do something: set tags and fields, extract values with the AI, ask the AI as a condition, send e-mails or webhooks – with test runs, a run log and undo. Prompt rules are now workflows that run before the analysis.

Search syntax and duplicates
  • Search like tag:steuer -tag:erledigt from:adac type:vertrag created:2024-03 title:"Strom 2024" – in both modes, with completion and a help panel.
  • Tags & metadata → Find duplicates suggests tags, correspondents and types that mean the same (case, legal forms, typos, plurals) and merges them in one click.
The mobile apps made for Paperless-ngx

With the built-in archive, Swift Paperless, Paperless Mobile, Paperless Native and Paperparrot connect to Paperless-AI: enter https://your-server/ngx and sign in with your Paperless-AI account (two-factor code included). Browse, search, edit, upload. See Mobile apps.

MCP server for AI agents

Claude, Hermes, OpenCode, Cursor and other agents can now search, read, ask, change and add documents through the MCP server at /mcp. Clients that start a local program (Claude Desktop, Hermes) use the included stdio bridge. See AI agents (MCP). (#​969)

API keys with fine-grained permissions

Each key has its own permissions – read, change, delete, manage labels, upload, ask & chat, MCP, webhook, administration – plus libraries, expiry and a rate limit (requests per minute). Starting points like AI agent, reading or Scanner in the key dialog; the MCP configuration is shown right after creating a key.

And more
  • Single sign-on behind a reverse proxy uses the right redirect address (#​1012); admin groups and group sync from your identity provider.
  • Custom fields: amounts show as amount and currency; inputs per field type.
  • Tags & metadata can be sorted by name or number of documents.
  • The documentation is split into guides.

Upgrade notes

  • Pull the new image and start it – the database migrations run on start. The search index of Ask your archive moves into data/index.db (a backup goes to data/backups/); with a large archive the first start takes a little longer.
  • Accounts and roles: existing accounts become administrators; accounts added later are members unless you make them administrators.
  • API keys: a key of an administrator acts as administrator only with the Administration permission. Deleting documents and managing labels are permissions of their own now – existing keys that could change documents keep them, new keys need them ticked.
  • Document chat is a tab of every document; the separate page is gone (old links open the tab).
  • Watch folders inside the data directory or the file storage are refused – use a folder of its own such as /consume or /scans.
  • Details: Upgrading.

What's Changed

  • 4.5.0: built-in archive (standalone mode), migration from Paperless-ngx, workflows, search syntax, Paperless-ngx app API, MCP server by @​clusterzx in #​1024
  • Docs: bring the READMEs and guides up to date for 4.5.0 by @​clusterzx in #​1025

Full Changelog: clusterzx/paperless-ai@v4.4.0...v4.5.0

v4.4.0: | Introducing Prompt rules

Compare Source

Highlights

Prompt rules – different prompts and settings per kind of document

One archive, different kinds of documents: household papers need a correspondent, a document type and the tax year – teaching material needs a subject, a grade and no correspondent at all. With prompt rules (Prompt library → Prompt rules), matching documents are analysed with another prompt from the library and their own settings. The first matching rule wins; all other documents keep using the system prompt, so nothing changes until you add a rule.

  • Conditions: tags (any / all), document type, correspondent, storage path, owner, custom field value. A rule without conditions catches everything else.
  • Settings per rule: which fields the AI fills (e.g. no correspondent), which custom fields, only existing tags / correspondents / document types, fixed lists of allowed tags or document types, and another model of your AI provider.
  • See what happens: the manual review and the playground show which rule applies to a document; the history and the prompt library show which prompt was used.
  • Docker: set the rules with PROMPT_RULES (JSON, prompts referred to by name).

Tip: let Paperless set a routing tag on consumption (a workflow or CONSUMER_SUBDIRS_AS_TAGS) and use it as the condition of a rule. Details in the README.

Upgrade notes

  • A database migration runs automatically on start (the history now records which prompt was used).
  • Without prompt rules, processing works exactly as before.

What's Changed

Full Changelog: clusterzx/paperless-ai@v4.3.1...v4.4.0

v4.3.1

Compare Source

What's Changed

Full Changelog: clusterzx/paperless-ai@v4.3.0...v4.3.1

v4.3.0: | OpenID Connect (OIDC) | Exlude Tags

Compare Source

What's Changed

Full Changelog: clusterzx/paperless-ai@v4.2.0...v4.3.0

v4.2.0: | 2FA | Prompt Library | several Bugfixes

Compare Source

What's Changed

Full Changelog: clusterzx/paperless-ai@v4.1.0...v4.2.0

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: clusterzx/paperless-ai@v4.0.0...v4.1.0

v4.0.0: Paperless-AI 4.0 – a complete rewrite

Compare Source

One Node.js process instead of Node.js + Python, a much smaller image (~135 MB instead of several GB), a new web interface and much better search in your archive.

⚠️ Security notice for 3.x

In all versions before 4.0, the setup wizard can be used without logging in, which allows anyone who can reach an instance to replace its account and configuration. This is being exploited. Please update. If your 3.x instance was reachable from the internet, read Upgrading from 3.x before you migrate.

Highlights
  • Title, tags, correspondent, document type, date and custom fields (incl. long text and select) with structured output
  • AI providers: OpenAI, Anthropic (Claude), Ollama, OpenAI-compatible APIs (DeepSeek, OpenRouter, vLLM, LM Studio …) and Azure OpenAI – reasoning/thinking models included
  • Ask your archive: hybrid keyword + vector search, streamed answers with cited sources, exact counts for "how many" questions
  • History with real undo, manual review, prompt playground, document chat, live dashboard
  • Settings are applied instantly – no restart; 3.x environment variables keep working
  • Paperless-ngx 2.x and 3.x
Upgrading from 3.x

Keep your data volume and switch the image to clusterzx/paperless-ai:latest (or 4.0.0). Settings, account, processing state, history and token statistics are migrated automatically on the first start; the old files stay untouched. Full steps: Upgrading from 3.x.


Configuration

📅 Schedule: (in timezone Europe/London)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@rust84-bot

rust84-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Warning

  • ghcr.io/clusterzx/paperless-ai: major image version bump 3.0.9 → 4.5.1; likely breaking changes

Note

2 resources changed across 2 apps

image from to upstream
ghcr.io/clusterzx/paperless-ai 3.0.9@sha256:2b6588… 4.5.1@sha256:770bce… ❔

konflate 0.6.6 · rendered a2899b0 · full diff →

@rust84-bot

rust84-bot Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

AI Automated Review

Analysis engine: qwen3.8-flash-next (openai) — primary route · pr-reviewer-action v3.8.0

Findings (1 major, 1 minor, 1 info)

Severity Location Finding
⚠️ Major kubernetes/apps/ai/paperless-ai/app/helmrelease.yaml:53 Leftover 3.x env vars RAG_SERVICE_ENABLED and RAG_SERVICE_URL should be removed; RAG_SERVICE_ENABLED=false locks the new built-in RAG feature off in the UI per upstream's env-var-override semantics.
Minor kubernetes/apps/ai/paperless-ai/app/helmrelease.yaml Persistence mounts for nltk, hf-cache, home (.pm2), and openapi are artifacts of the removed Python/Torch/pm2 architecture and are now dead config.
Info kubernetes/apps/ai/paperless-ai/app/helmrelease.yaml Confirm the /health probe path and that all writable paths 4.0 needs are covered by the remaining mounts under readOnlyRootFilesystem: true.

Recommendation

The image bump is correct and urgent — ghcr.io/clusterzx/paperless-ai 3.x carries an actively-exploited vulnerability (unauthenticated setup wizard allows anyone reachable to replace the account and configuration), and 4.0.0 is the fix. The digest pin moves with the tag, the /app/data PVC is preserved (which is what upstream's automatic 3.x→4.0 migration keys off), and the existing resource limits are ample for 4.0's ~80–150 MB idle footprint.

However, the upgrade is incomplete against upstream's documented migration steps. The container still sets RAG_SERVICE_ENABLED: false and RAG_SERVICE_URL, which are 3.x-only variables. Per the upstream README, "All variables of Paperless-AI 3.x are still supported" and "Environment variables are optional and OVERRIDE the stored settings (shown as locked in the UI)." Setting RAG_SERVICE_ENABLED=false therefore locks the new built-in RAG feature off in the UI, making it non-configurable without removing the env var. Since hybrid BM25+vector search is a headline feature of 4.0, this is a concrete regression introduced by performing the bump without the documented cleanup. Remove both keys — the fix is a two-line deletion.

Findings

kubernetes/apps/ai/paperless-ai/app/helmrelease.yaml

  • Leftover 3.x RAG env vars (decisive). RAG_SERVICE_ENABLED: false and RAG_SERVICE_URL: http://localhost:8000 are 3.x-specific. The 4.0 .env.example replaces them with RAG_ENABLED, RAG_EMBEDDING_PROVIDER, RAG_EMBEDDING_MODEL, and RAG_QUERY_EXPANSION. Because 4.0 still honours 3.x env vars as overrides that lock the corresponding UI setting, RAG_SERVICE_ENABLED=false pins the new RAG engine off and makes it non-configurable from the web interface. Remove both lines.

  • Stale 3.x persistence mounts (non-blocking). The nltk (/home/node/nltk_data), hf-cache (/home/node/.cache), home (/home/node/.pm2), and openapi (/app/OPENAPI) emptyDirs are artifacts of the old Node.js + Python/Torch/pm2 architecture. 4.0 is a single ~135 MB Node.js process with none of those subsystems. Harmless but dead config — worth pruning for hygiene in a follow-up.

  • Verify probes and read-only filesystem under 4.0 (author confirmation). All three probes hit GET /health:3000 and the pod runs readOnlyRootFilesystem: true. Upstream confirms port 3000 (PAPERLESS_AI_PORT=3000), but the corpus doesn't confirm the /health path or that every writable path 4.0 needs is covered by the remaining mounts (/app/data, /tmp, /app/public/images). Worth a quick check on first rollout.

Operational note

Upstream recommends backing up the /app/data volume before the first 4.0 start (migration is automatic but rewrites settings/account/history). The config PVC is mounted at /app/data, so the migration source is correct — just snapshot it before Flux applies.

Required Checks

  • validate manifest against target cluster version — not applicable: the change is only a container image tag+digest inside app-template HelmRelease values; no Kubernetes API version or cluster-version-coupled field is touched.
  • check for resource quota / limit changes — satisfied: the diff changes no resources; requests stay 10m/256Mi and the 2Gi limit is generous for 4.0's ~80–150 MB idle footprint.

Sources

  • Upstream v4.0.0 release notes and README .env.example (clusterzx/paperless-ai), which list the new RAG variables and confirm 3.x env vars are still honoured as UI-locking overrides.
  • Konflate rendered diff: 2 resources changed, image bump only, no render failures.

@rust84-bot
rust84-bot Bot force-pushed the renovate/ghcr.io-clusterzx-paperless-ai-4.x branch from 06fb5d1 to 9cf2795 Compare November 18, 2026 09:27
@rust84-bot rust84-bot Bot changed the title feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.0.0 feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.2.0 Nov 18, 2026
@rust84-bot
rust84-bot Bot force-pushed the renovate/ghcr.io-clusterzx-paperless-ai-4.x branch from 9cf2795 to 96e4009 Compare November 19, 2026 00:55
@rust84-bot rust84-bot Bot changed the title feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.2.0 feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.3.0 Nov 19, 2026
@rust84-bot
rust84-bot Bot force-pushed the renovate/ghcr.io-clusterzx-paperless-ai-4.x branch from 96e4009 to d220a0d Compare November 19, 2026 08:09
@rust84-bot rust84-bot Bot changed the title feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.3.0 feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.3.1 Nov 19, 2026
@rust84-bot
rust84-bot Bot force-pushed the renovate/ghcr.io-clusterzx-paperless-ai-4.x branch from d220a0d to 8b5cd76 Compare November 20, 2026 21:44
@rust84-bot rust84-bot Bot changed the title feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.3.1 feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.4.0 Nov 20, 2026
@rust84-bot
rust84-bot Bot force-pushed the renovate/ghcr.io-clusterzx-paperless-ai-4.x branch from 8b5cd76 to 7ba15c3 Compare November 22, 2026 18:13
@rust84-bot rust84-bot Bot changed the title feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.4.0 feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.5.0 Nov 22, 2026
@rust84-bot
rust84-bot Bot force-pushed the renovate/ghcr.io-clusterzx-paperless-ai-4.x branch from 7ba15c3 to a2899b0 Compare November 23, 2026 00:06
@rust84-bot rust84-bot Bot changed the title feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.5.0 feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.5.1 Nov 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants