Ja das war dann wohl ein typischer Anfängerfehler.
Warum bin ich nicht selber drauf gekommen.
Danke Stefan.
Nachtrag: nach einem Neustart vom Paperless finde ich diese Einträge im paperless.log
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipeline.py", line 186, in get_pdfinfo
return PdfInfo(
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/pdfinfo/info.py", line 1150, in __init__
with Pdf.open(infile) as pdf:
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pikepdf/_methods.py", line 399, in open
pdf = Pdf._open(
^^^^^^^^^^
pikepdf._core.PdfError: /tmp/ocrmypdf.io.ivqko65v/origin.pdf: unable to find trailer dictionary while recovering damaged file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/paperless/src/paperless_tesseract/parsers.py", line 381, in parse
ocrmypdf.ocr(**args)
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/api.py", line 380, in ocr
return run_pipeline(options=options, plugin_manager=plugin_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipelines/ocr.py", line 223, in run_pipeline
return _run_pipeline(options, plugin_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipelines/ocr.py", line 174, in _run_pipeline
pdfinfo = get_pdfinfo(
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipeline.py", line 198, in get_pdfinfo
raise InputFileError() from e
ocrmypdf.exceptions.InputFileError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipeline.py", line 186, in get_pdfinfo
return PdfInfo(
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/pdfinfo/info.py", line 1150, in __init__
with Pdf.open(infile) as pdf:
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pikepdf/_methods.py", line 399, in open
pdf = Pdf._open(
^^^^^^^^^^
pikepdf._core.PdfError: /tmp/ocrmypdf.io.8imtp0yr/origin.pdf: unable to find trailer dictionary while recovering damaged file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/paperless/src/paperless_tesseract/parsers.py", line 432, in parse
ocrmypdf.ocr(**args)
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/api.py", line 380, in ocr
return run_pipeline(options=options, plugin_manager=plugin_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipelines/ocr.py", line 223, in run_pipeline
return _run_pipeline(options, plugin_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipelines/ocr.py", line 174, in _run_pipeline
pdfinfo = get_pdfinfo(
^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ocrmypdf/_pipeline.py", line 198, in get_pdfinfo
raise InputFileError() from e
ocrmypdf.exceptions.InputFileError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/asgiref/sync.py", line 327, in main_wrap
raise exc_info[1]
File "/usr/src/paperless/src/documents/consumer.py", line 477, in run
document_parser.parse(self.working_copy, mime_type, self.filename)
File "/usr/src/paperless/src/paperless_tesseract/parsers.py", line 444, in parse
raise ParseError(f"{e.__class__.__name__}: {e!s}") from e
documents.parsers.ParseError: InputFileError:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/paperless/src/documents/tasks.py", line 148, in consume_file
msg = plugin.run()
^^^^^^^^^^^^
File "/usr/src/paperless/src/documents/consumer.py", line 509, in run
self._fail(
File "/usr/src/paperless/src/documents/consumer.py", line 151, in _fail
raise ConsumerError(f"{self.filename}: {log_message or message}") from exception
Ich überlege, ob ich das Update rüberbügel und hoffe das es sich richtet oder doch lieber, auch wegen der Stabilität und Daten, neu installieren?
Backup habe ich täglich machen lassen und würde es bei einer Neuinstallation auch noch mal extra machen. Für den Fall der Neuinstallation, wie entferne ich am besten die alte Installation. Container löschen wäre zu einfach… Dankeschön