Hello,
Paperless-ngx works great and flawless.
Deleting documents also work, they are visible in the trash afterwards.
The issue is: deleting documents finally from the trash is failing.
Consequence: the documents remain in the folders thumbnails, originals and archive and I have to delete them manually (much work and risky):
From Log file:
[2025-03-02 13:37:19,347] [INFO] [paperless.tasks] ConsumeTaskPlugin completed with: Success. New document id 1321 created
[2025-03-02 13:38:46,309] [DEBUG] [paperless.handlers] Moving /usr/src/paperless/media/documents/originals/2025/20250224, _Zulieferer, Rechnung.pdf to trash at /usr/src/paperless/trash/20250224, _Zulieferer, Rechnung.pdf
[2025-03-02 13:38:46,310] [ERROR] [paperless.handlers] Failed to move /usr/src/paperless/media/documents/originals/2025/20250224, _Zulieferer, Rechnung.pdf to trash at /usr/src/paperless/trash/20250224, _Zulieferer, Rechnung.pdf: [Errno 1] Operation not permitted: ‘/usr/src/paperless/trash/20250224, _Zulieferer, Rechnung.pdf’. Skipping cleanup!
[2025-03-02 13:38:46,317] [INFO] [paperless.tasks] Deleted 0 documents from trash
From the paperless-ngx container shell:
Using ‘id’ shows:
uid=0(root) gid=0(root) groups=0(root),568(paperless)
Deleting documents with ‘rm’ works
From installation dialog:
User ID: 568 (apps)
Group ID: 568 (apps)
From Dataset:
Owner: apps (allow | full control)
Group: apps (allow | modify)
Guess this is a permission issue, but I do not see it.
Any idea? Any obvious?