[Support] error when Send email from workflow with attach #11192
-
What's your question or issue?Hello, If the email contains only text, everything is fine. In the logs, here is the error: [paperless.handlers] Error occurred sending notification email: [Errno 2] No such file or directory: '/usr/src/paperless/media/documents/originals/0000861.pdf' The actual file name is incorrect (0000861.pdf), and the specified folder exists, but it doesn't contain any files. Only subdirectories named after the storage paths are listed. What have you tried?No response Paperless-ngx version2.19.2 Host OSSynology - docker Installation methodDocker - official image System statusNo response Relevant logs or output[2025-10-25 23:21:35,495] [INFO] [paperless.matching] Document matched WorkflowTrigger 17 from Workflow: Géraldine
[2025-10-25 23:21:35,495] [INFO] [paperless.handlers] Applying WorkflowAction 53 from Workflow: Géraldine
[2025-10-25 23:21:35,527] [INFO] [paperless.handlers] Applying WorkflowAction 54 from Workflow: Géraldine
[2025-10-25 23:21:35,531] [DEBUG] [paperless.templating] Jinja Template is : Courrier reçu à xxxx
[2025-10-25 23:21:35,534] [DEBUG] [paperless.templating] Jinja Template is : Voici un courrier reçu
[2025-10-25 23:21:35,536] [ERROR] [paperless.handlers] Error occurred sending notification email: [Errno 2] No such file or directory: '/usr/src/paperless/media/documents/originals/0000869.pdf'
Traceback (most recent call last):
File "/usr/src/paperless/src/documents/signals/handlers.py", line 1168, in email_action
n_messages = send_email(
^^^^^^^^^^^
File "/usr/src/paperless/src/documents/mail.py", line 61, in send_email
with attachment_path.open("rb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/pathlib.py", line 1013, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/paperless/media/documents/originals/0000869.pdf'
[2025-10-25 23:21:35,572] [INFO] [paperless.matching] Document did not match Workflow: Logic Center
[2025-10-25 23:21:35,573] [DEBUG] [paperless.matching] Document content matching settings for algorithm '3' did not match
[2025-10-25 23:21:35,601] [INFO] [paperless.matching] Document did not match Workflow: Thierry Peterburger
[2025-10-25 23:21:35,602] [DEBUG] [paperless.matching] Document content matching settings for algorithm '3' did not match
[2025-10-25 23:21:35,633] [INFO] [paperless.matching] Document did not match Workflow: Gsour
[2025-10-25 23:21:35,633] [DEBUG] [paperless.matching] Document content matching settings for algorithm '3' did not match
[2025-10-25 23:21:35,634] [INFO] [paperless.matching] Document did not match Workflow: Gsour
[2025-10-25 23:21:35,634] [DEBUG] [paperless.matching] Document content matching settings for algorithm '3' did not match
[2025-10-25 23:21:35,695] [DEBUG] [paperless.consumer] Deleting original file /tmp/paperless/tmpst93ozh1/2025-10-20 2025-10-24-20-04-59-655.pdf
[2025-10-25 23:21:35,695] [DEBUG] [paperless.consumer] Deleting working copy /tmp/paperless/paperless-ngxhqy9e0uh/2025-10-20 2025-10-24-20-04-59-655.pdf
[2025-10-25 23:21:35,699] [DEBUG] [paperless.parsing.tesseract] Deleting directory /tmp/paperless/paperless-pfeupe_3
[2025-10-25 23:21:35,700] [INFO] [paperless.consumer] Document 2025-10-20 2025-10-20 2025-10-24-20-04-59-655 consumption finished
[2025-10-25 23:21:35,711] [INFO] [paperless.tasks] ConsumeTaskPlugin completed with: Success. New document id 869 created |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
This appears to be a bug introduced by a recent change, and should be fixed in our next release. Thanks for reporting |
Beta Was this translation helpful? Give feedback.
-
|
Hi,
Thank you
Do you know when the next release will be because this option is very used.
See You
Avec mes meilleures salutations.
Thierry Peterburger
Directeur
<https://www.wifipro.ch/>
<https://www.wioo.ch/>
Installation & Gestion Wifi
Digital Signage
Logic Center Sàrl – En Clamogne 27 – 1170 Aubonne
Analyses & Etudes & Développements - Informatique
Tél Lausanne
Tél Genève
+41(21)3127802
+41(22)5521178
***@***.*** | +41(79)2125734
De : shamoon ***@***.***>
Envoyé : lundi, 27 octobre 2025 17:48
À : paperless-ngx/paperless-ngx ***@***.***>
Cc : Tpeterburger ***@***.***>; Author ***@***.***>
Objet : Re: [paperless-ngx/paperless-ngx] [Support] error when Send email from workflow with attach (Discussion #11192)
This appears to be a bug introduced by a recent change, and should be fixed in our next release. Thanks for reporting
#11196
<#11196>
—
Reply to this email directly,view it on GitHub
<#11192 (comment)>, orunsubscribe
<https://github.com/notifications/unsubscribe-auth/BSZMRQXHBQ6KFJGNE2VBW433ZZECFAVCNFSM6AAAAACKJUHGE6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZZGU3DSNQ>.
You are receiving this because you authored the thread. Message ID: ***@***.***>
La politique de confidentialité Logic Center Sàrl s’applique à cet email
Adoptez l'éco-attitude, n’imprimez ce message que si nécessaire
|
Beta Was this translation helpful? Give feedback.
-
|
This discussion has been automatically closed because it was marked as answered. Please see our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much for the correction.
😀😃
If I update the docker with Portainer in Pull image, will the
correction be included?
See you
Je vous souhaite une belle journée.
Avec mes meilleures salutations.
Thierry Peterburger
+41792125734
(Message envoyé depuis mon tel)
…-------- Message d'origine --------
De : shamoon ***@***.***>
Date : 28.10.25 00:14 (GMT+01:00)
À : paperless-ngx/paperless-ngx ***@***.***>
Cc : Tpeterburger ***@***.***>, Author
***@***.***>
Objet : Re: [paperless-ngx/paperless-ngx] [Support] error when Send
email from workflow with attach (Discussion #11192)
_____
De : shamoon ***@***.***
À : paperless-ngx/paperless-ngx ***@***.***
Cc : Tpeterburger ***@***.***, Author
***@***.***
Date : mardi, octobre 28 2025 00:13:17
I mean, its only been 14 hours since you reported it and its already
fixed... I dont have an eta, but soon I think?
—
Reply to this email directly, view it on GitHub
<#11192 (comment)
sioncomment-14798544> , or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BSZMRQTGFGTKFPUWIIXU7
MD3Z2RI3AVCNFSM6AAAAACKJUHGE6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK
3TUHMYTINZZHA2TINA> .
You are receiving this because you authored the thread.
<https://github.com/notifications/beacon/BSZMRQV2AN5EYZW4PRZQJMT3Z2RI3A5
CNFSM6AAAAACKJUHGE6WGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3
PNVWWK3TUL5UWJTQA4HHNA.gif> Message ID:
***@***.***
thub.com>
La politique de confidentialité Logic Center Sàrl s’applique à cet email
Adoptez l'éco-attitude, n’imprimez ce message que si nécessaire
|
Beta Was this translation helpful? Give feedback.
-
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
This appears to be a bug introduced by a recent change, and should be fixed in our next release. Thanks for reporting
#11196