From 0bd598389f91af5a53a3dd0cfc2ef699b76b027a Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sun, 4 Oct 2026 19:54:45 +0200 Subject: [PATCH] Document merging scanned images with archive fallback --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c4d1a92..a04e0bc 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Load the automatic document feeder, choose the HP scanner, its feeder source, ** ScanservJS stores staged scans in the `scanner-staging` directory on the same retained CephFS claim. The deployment uses the pinned upstream image; its `config.local.js` action is in `app.yaml` and has a local handoff test in `test.sh`. The Authentik proxy application is created by `setup-authentik.sh` along with Paperless's OIDC application. +To merge Paperless documents imported from JPG scans, enable **Try to include archive version in merge for non-PDF files** in the merge dialog. Paperless's default merge tries to open the original JPG as a PDF and skips it. Enable **Delete original documents after successful merge** if you want only the merged entry in the active document list; the source entries go to Paperless's trash. For future multipage letters, choose a PDF output pipeline in ScanservJS before scanning. + ## CI/CD `./test.sh` checks syntax, the deployment manifest, and the scanner PDF handoff. `./deploy.sh` updates the existing workloads, services, ConfigMap, and ingress using `app.yaml`. The GitLab and Gitea workflows call these same scripts. Bootstrap once with `./create-ci-kubeconfig.sh`, then save its single output line as the protected CI variable / Gitea Actions secret `KUBE_CONFIG_BASE64`. Do not commit it. The deployer has named-object read and patch permissions and cannot read Secrets. Run `./install.sh` manually for first installation or changes to `storage.yaml` or Authentik setup.