paperless-ngx

by Ad Noctem Collective

Helm chartv0.6.2App 3.4.2GPL-3.0Verified publisher

Paperless-NGX is a community-supported supercharged version of paperless - scan, index and archive all your physical documents

About this chart

Ad Noctem Collective - Paperless-NGX Helm Chart

[!IMPORTANT] This Helm chart relies on the open-source Bitnami Helm chart postgresql. Beginning on August 28th, 2025, Bitnami (VMware/Broadcom) has changed their public offering and will require a commercial license for the use of their charts and images (Bitnami Secure Images/BSI). The only images available to the public as of now are a small set of hardened images which are only available at the 'latest' tag and meant for testing and development purposes. As such, the PostgreSQL subchart included in this Helm chart is provided for convenience, but users are encouraged to use their own PostgreSQL instance, another PostgreSQL Helm chart or (preferably) an Operator-managed PostgreSQL instance like CloudnativePG, if they do not wish to obtain a Bitnami license.

ref: bitnami/charts - Issue 35164

Paperless-ngx is a community-supported open-source document management system that transforms your physical documents into a searchable online archive so you can keep, well, less paper. Paperless-NGX is the official successor to the original Paperless & Paperless-ng projects and is designed to distribute the responsibility of advancing and supporting the project among a team of people. The application organizes and indexes your documents with tags, correspondents, types and more, performs OCR on your documents, making their text searchable and selectable and due its' use of the Tesseract engine - recognizes more than 100 languages. On top of all that it features a beautiful modern web application and is accompanied by a plethora of mobile applications for iOS and Android, provided by the open-source community around the project. It delivers all of these features within a single Docker image available on GitHub Container Registry.

Head to the Paperless-NGX GitHub Repository or their Website for in-depth documentation and configuration guides.

✨ TL;DR

Helm Repository Installation

helm repo add adnoctem https://adnoctem.github.io/charts
helm install paperless-ngx adnoctem/paperless-ngx --version X.Y.Z

OCI Installation

helm install oci://ghcr.io/adnoctem/charts/paperless-ngx:X.Y.Z

Introduction

This chart bootstraps a Paperless-NGX StatefulSet on a Kubernetes cluster using the Helm package manager. For cluster networking a Service and Ingress manifest is also created, whereas the Ingress needs to be explicitly enabled. Lastly the chart configures a PodDisruptionBudget if enabled. RBAC manifests are enabled by default.

The chart exposes Paperless-NGX configuration through the paperless values and uses the official GitHub Container Registry image. Settings without dedicated values can be supplied through extraEnvVars. In particular, the existing AI enablement, provider, model and endpoint settings remain on that interface; this release adds dedicated values for the new embedding credential and extra request parameters.

Upgrading

To 0.6.1 (Paperless-ngx 3.4.1 -> 3.4.2)

Paperless-ngx 3.4.2 fixes search and LLM index initialization starting before OCR language installation finishes, ensures Celery loads bulk-edit tasks, and includes file-locking, saved-view and mobile UI fixes. Existing chart values remain compatible, with no new Paperless database migration files in this release. Back up the database, media and data volumes before upgrading; installations older than 3.4.1 must also follow the migration notes below.

Upstream now explicitly rejects a non-empty PAPERLESS_URL without a hostname. Keep paperless.domain as a hostname (the chart adds the scheme); if you supply PAPERLESS_URL through extraEnvVars, use a full URL such as https://paperless.example.com. The OIDC MFA parsing limitation documented for 0.6.0 remains present in 3.4.2; continue to leave that override unset and retain local two-factor authentication.

To 0.6.0 (Paperless-ngx 3.3.2 -> 3.4.1)

Back up the database, media and data volumes before upgrading. Review the 3.4.0 and 3.4.1 release notes. This update includes dependency security fixes from 3.3.4, workflow and search improvements, and PDF viewer fixes. Installations older than 3.3.2 must also follow the migration notes below.

PDF thumbnails now use Poppler; ImageMagick has been removed. paperless.binaries.convert and paperless.binaries.gs remain accepted for values compatibility but no longer render environment variables. Remove these values, ImageMagick-specific mounts, and any PAPERLESS_CONVERT_BINARY, PAPERLESS_GS_BINARY, PAPERLESS_CONVERT_MEMORY_LIMIT or PAPERLESS_CONVERT_TMPDIR overrides: the application ignores them. Review custom scripts that call ImageMagick inside the container and validate thumbnail generation on your documents.

Use paperless.data.paths.scratchDir to configure the writable workspace used for processing and exports (upstream default: /tmp/paperless). If you previously placed ImageMagick temporary files on disk to avoid a memory-backed /tmp, mount suitable storage and point this value at it. This is not a replacement memory limit. Move any existing PAPERLESS_SCRATCH_DIR entry from extraEnvVars to this value to avoid duplicate definitions.

OIDC MFA limitation in 3.4.1: upstream documents PAPERLESS_SOCIAL_ACCOUNT_MFA_TRUSTED_AMR as a comma-separated list defaulting to mfa. However, the tagged settings pass mfa as the parser's separator, not its default. Unset or mfa values produce an empty list, so they do not skip Paperless' own two-factor prompt; comma-separated lists do not work as documented. This chart does not add a dedicated value for that broken interface. Leave it unset to retain local two-factor authentication and validate SSO behavior before relying on provider MFA. See the tagged settings and parser.

To 0.5.1 (Paperless-ngx 3.3.0 -> 3.3.2)

Paperless-ngx 3.3.2, including the 3.3.1 fixes, corrects document-version permissions, metadata permission copying, search indexing and exporter filename collisions. Existing chart values remain compatible. Back up the database and document storage before upgrading; installations older than 3.3.0 must also follow the migration notes below.

To 0.5.0 (Paperless-ngx 3.1.3 -> 3.3.0)

Back up the database, media and data volumes before upgrading. Paperless applies database migrations and updates its search index during startup; allow them to finish. Review the [3.2.0][release_320] and [3.3.0][release_330] release notes and the [tagged configuration reference][configuration_330].

NLTK is removed. paperless.enableNLTK and paperless.data.paths.nltkDir remain accepted for compatibility, but no longer render environment variables. Remove these values and any NLTK-specific mounts or environment overrides from your configuration. Classification now uses Tantivy preprocessing based on the first OCR language; stemming and stop-word removal always apply for supported languages, even if you previously disabled NLTK.

Retrain the classifier and review automatic matching. The model format changed, so the previous classifier must be rebuilt. The next scheduled training run does this; if training is disabled or you need automatic matching immediately, run python3 manage.py document_create_classifier in the Paperless container. The new paperless.classifierMatchThreshold defaults to 0.3 and discards low-confidence correspondent, document-type and storage-path predictions. Set it to 0 to disable that cutoff; this does not restore the old preprocessing or training algorithm. paperless.matchRegexTimeoutSeconds defaults to 0.1; increase it if matching rules or date parsing time out on long documents.

Redis prefixes now include Celery task results. With a non-empty paperless.redis.prefix, new workers read and write results under that prefix; results stored previously without it are not found at the new keys. Let running tasks finish before upgrading and avoid running mixed application versions against the same queue. The default empty prefix is unaffected.

The Django admin login now uses the application authentication flow, including configured two-factor authentication. Check scripts or bookmarks that depend on the old standalone admin login form.

New optional values:

  • paperless.consume.barcodes.storeValues stores detected barcode contents for display and search. It defaults to false and does not require enabling barcode page separation. Reprocess existing documents to populate their barcode contents; only pages within the configured barcode scan limit are read.
  • paperless.ai.embeddingApiKey configures a separate embedding key through either .value or .existingSecret.name and .existingSecret.key. An existing Secret takes precedence. Leaving both unset preserves upstream's fallback to the main LLM API key. Other AI settings are still configured through the application UI or extraEnvVars; setting an embedding key alone does not enable AI.
  • paperless.ai.extraParams accepts an object, rendered as JSON, for provider-specific LLM request options. These options override Paperless' request parameters; the provider must support them.

For example, use an existing embedding credential and a provider-specific request option:

paperless:
  ai:
    embeddingApiKey:
      existingSecret:
        name: paperless-embedding
        key: api-key
    extraParams:
      temperature: 0.2

Move any existing overrides for these new dedicated settings out of extraEnvVars to avoid duplicate definitions. Stored application UI settings can override their corresponding environment values; use Reset to external in the configuration UI when you want Helm-supplied values to apply.

To 0.4.0 (Paperless-ngx 2.10.1 -> 3.1.3)

[!WARNING] Upgrading to v3 can only be performed from v2.20.15 - this is an upstream requirement, not a chart limitation. If you're running an existing installation older than 2.20.15, first upgrade this chart's appVersion to 2.20.15, let it run its migrations, and only then upgrade further to 3.1.3. Skipping this step is unsupported by upstream and may leave your database in an inconsistent state.

If you have any documents with encryption enabled (deprecated since paperless-ng 0.9.3), decrypt them with the decrypt_documents management command before upgrading - encryption support is removed entirely in v3.

This is a major version upgrade with many breaking changes - the full details are in upstream's v3 migration guide. The items below cover what's relevant to this chart specifically.

  • Fixed a bug where the generated Paperless secret key rotated on every helm upgrade (when paperless.secretKey.value/.existingSecret weren't set), invalidating every active session and other signed token each time the chart was upgraded, completely independent of this version bump. The generated key is now preserved across upgrades.
  • PAPERLESS_SECRET_KEY is now a required setting upstream; this chart has always generated one automatically if you don't set paperless.secretKey.value yourself, so no action is needed on that front.
  • Duplicate handling behavior changed by default: v3 no longer rejects duplicate documents outright - they're consumed and flagged as duplicates in the UI instead. paperless.consume.deleteDuplicates (default false, unchanged) now controls this rejection behavior itself, not just whether the duplicate file gets cleaned up afterwards as it did in v2. Set it to true if you want the old reject-on-duplicate behavior back.
  • paperless.ocr.mode's skip value is gone, replaced by the new default auto - if you had mode: skip explicitly set, change it to auto.
  • paperless.ocr.skipArchiveFile has been renamed to paperless.ocr.archiveFileGeneration (the old PAPERLESS_OCR_SKIP_ARCHIVE_FILE setting is removed upstream). The new default (always) preserves this chart's previous archiving behavior exactly - the value never means the opposite thing in the new setting (never skip archiving vs. never generate one), so if you had skipArchiveFile set to anything, don't carry the literal value over - see the mapping in values.yaml's comments or the

Deploy paperless-ngx with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has paperless-ngx on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpaperless-ngx is pinned at v0.6.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply