Merge pull request #987 from paperless-ngx/canon-mfp-new-config

Docs: Add link to new config option in scanners.rst
This commit is contained in:
Quinn Casey 2022-05-18 14:48:30 -07:00 committed by GitHub
commit c3997c9f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -88,7 +88,7 @@ Physical scanners
.. [1] Scanners with API Integration allow to push scanned documents directly to :ref:`Paperless API <api-file_uploads>`, sometimes referred to as Webhook or Document POST. .. [1] Scanners with API Integration allow to push scanned documents directly to :ref:`Paperless API <api-file_uploads>`, 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 .. [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-polling>` configuration values for your scanner. The scanner timeout is 3 minutes, so ``180`` is a good starting point. :ref:`polling <configuration-polling>` and :ref:`inotify <configuration-inotify>` configuration values for your scanner. The scanner timeout is 3 minutes, so ``180`` is a good starting point.
Mobile phone software Mobile phone software
===================== =====================

View File

@ -237,11 +237,12 @@ open the affected documents in paperless for editing. Paperless will continue to
show the invalid metadata. show the invalid metadata.
Consumer fails with a FileNotFoundError Consumer fails with a FileNotFoundError
############################ #######################################
You might find messages like these in your log files: You might find messages like these in your log files:
.. code:: .. 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' [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): Traceback (most recent call last):
File "/app/paperless/src/paperless_tesseract/parsers.py", line 261, in parse 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 <configuratio
try adjusting the :ref:`polling configuration <configuration-polling>`. try adjusting the :ref:`polling configuration <configuration-polling>`.
Consumer fails waiting for file to remain unmodified. Consumer fails waiting for file to remain unmodified.
############################ #####################################################
You might find messages like these in your log files: You might find messages like these in your log files:
.. code:: .. code::
[ERROR] [paperless.management.consumer] Timeout while waiting on file /usr/src/paperless/src/../consume/SCN_0001.pdf to remain unmodified. [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. 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 <configuration-polling>` values should res
back in, for the initial failing file to be consumed. back in, for the initial failing file to be consumed.
Consumer fails reporting "OS reports file as busy still". Consumer fails reporting "OS reports file as busy still".
############################ #########################################################
You might find messages like these in your log files: You might find messages like these in your log files:
.. code:: .. code::
[WARNING] [paperless.management.consumer] Not consuming file /usr/src/paperless/src/../consume/SCN_0001.pdf: OS reports file as busy still [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 This indicates paperless was unable to open the file, as the OS reported the file as still being in use. To prevent a