From 5c819ef120e7f95878038dea4c0d103df9c00a2a Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 31 Mar 2025 06:16:41 -0500 Subject: [PATCH] paperless-ngx: Work around PDF rendering errors Occasionally, some documents may have odd rendering errors that prevent the archival process from working correctly. I'm less concerned about the archive document than simply having a centralized storage for paperwork, so enabling this "continue on soft render error" feature is appropriate. As far as I can tell, it has no visible effect for the documents that could not be imported at all without it. --- paperless-ngx/paperless-ngx.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paperless-ngx/paperless-ngx.yaml b/paperless-ngx/paperless-ngx.yaml index 3b27b63..3af73cd 100644 --- a/paperless-ngx/paperless-ngx.yaml +++ b/paperless-ngx/paperless-ngx.yaml @@ -80,6 +80,8 @@ spec: value: '1' - name: PAPERLESS_ENABLE_FLOWER value: 'true' + - name: PAPERLESS_OCR_USER_ARGS + value: '{"continue_on_soft_render_error": true}' ports: - name: http containerPort: 8000