You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(container)!: Update image ghcr.io/clusterzx/paperless-ai to 4.5.1 - #7639
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.
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.
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
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
Prompt rules: different prompts and settings per kind of document by @clusterzx in #1022
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
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.
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.
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.
rust84-botBot
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-botBot
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-botBot
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-botBot
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-botBot
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-botBot
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.9→4.5.1Warning
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 PaddleOCRCompare Source
What's Changed
Full Changelog: clusterzx/paperless-ai@v4.5.0...v4.5.1
v4.5.0: | Built-in archive, mobile apps, MCP serverCompare 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.
post_documentendpoint of Paperless-ngx), watch folders for scanners, IMAP mailboxes with rules, a WebDAV inbox and the share menu of your phone (installable app).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
tag:steuer -tag:erledigt from:adac type:vertrag created:2024-03 title:"Strom 2024"– in both modes, with completion and a help panel.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/ngxand 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
Upgrade notes
data/index.db(a backup goes todata/backups/); with a large archive the first start takes a little longer./consumeor/scans.What's Changed
Full Changelog: clusterzx/paperless-ai@v4.4.0...v4.5.0
v4.4.0: | Introducing Prompt rulesCompare 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.
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
What's Changed
Full Changelog: clusterzx/paperless-ai@v4.3.1...v4.4.0
v4.3.1Compare Source
What's Changed
Full Changelog: clusterzx/paperless-ai@v4.3.0...v4.3.1
v4.3.0: | OpenID Connect (OIDC) | Exlude TagsCompare Source
What's Changed
Full Changelog: clusterzx/paperless-ai@v4.2.0...v4.3.0
v4.2.0: | 2FA | Prompt Library | several BugfixesCompare Source
What's Changed
Full Changelog: clusterzx/paperless-ai@v4.1.0...v4.2.0
v4.1.0Compare 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 rewriteCompare 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.
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
Upgrading from 3.x
Keep your data volume and switch the image to
clusterzx/paperless-ai:latest(or4.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)
🚦 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.
This PR has been generated by Mend Renovate CLI.