From 286affea38f4ca1772dbc85bf9d7c55adacc0dd5 Mon Sep 17 00:00:00 2001 From: Quinn Casey Date: Wed, 18 May 2022 14:30:16 -0700 Subject: [PATCH 1/2] Fix formatting --- docs/troubleshooting.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/troubleshooting.rst b/docs/troubleshooting.rst index 08cc916b0..3db9a069e 100644 --- a/docs/troubleshooting.rst +++ b/docs/troubleshooting.rst @@ -237,11 +237,12 @@ open the affected documents in paperless for editing. Paperless will continue to show the invalid metadata. Consumer fails with a FileNotFoundError -############################ +####################################### You might find messages like these in your log files: .. code:: + [ERROR] [paperless.consumer] Error while consuming document SCN_0001.pdf: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ocrmypdf.io.yhk3zbv0/origin.pdf' Traceback (most recent call last): File "/app/paperless/src/paperless_tesseract/parsers.py", line 261, in parse @@ -266,11 +267,12 @@ check for documents, try adjusting the :ref:`inotify configuration `. Consumer fails waiting for file to remain unmodified. -############################ +##################################################### You might find messages like these in your log files: .. code:: + [ERROR] [paperless.management.consumer] Timeout while waiting on file /usr/src/paperless/src/../consume/SCN_0001.pdf to remain unmodified. This indicates paperless timed out while waiting for the file to be completely written to the consume folder. @@ -282,11 +284,12 @@ Adjusting :ref:`polling configuration ` values should res back in, for the initial failing file to be consumed. Consumer fails reporting "OS reports file as busy still". -############################ +######################################################### You might find messages like these in your log files: .. code:: + [WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/SCN_0001.pdf: OS reports file as busy still This indicates paperless was unable to open the file, as the OS reported the file as still being in use. To prevent a From bc232582df76e746d5d43b1ac1a3a1f22309c0be Mon Sep 17 00:00:00 2001 From: Quinn Casey Date: Wed, 18 May 2022 14:30:33 -0700 Subject: [PATCH 2/2] Add link to new config option --- docs/scanners.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scanners.rst b/docs/scanners.rst index e8685fadc..27ba38e31 100644 --- a/docs/scanners.rst +++ b/docs/scanners.rst @@ -88,7 +88,7 @@ Physical scanners .. [1] Scanners with API Integration allow to push scanned documents directly to :ref:`Paperless API `, sometimes referred to as Webhook or Document POST. .. [2] Canon Multi Function Printers show strange behavior over SMB. They close and reopen the file after every page. It's recommended to tune the - :ref:`polling ` configuration values for your scanner. The scanner timeout is 3 minutes, so ``180`` is a good starting point. + :ref:`polling ` and :ref:`inotify ` configuration values for your scanner. The scanner timeout is 3 minutes, so ``180`` is a good starting point. Mobile phone software =====================