mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #264] Cannot delete document #211
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#211
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Perry3D on GitHub (Dec 21, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/264
Originally assigned to: @ciur on GitHub.
Description
I have a document in my inbox which came in by the imap import. I tried to delete it but it doesn't' disappear.
Expected
Document should disappear after deleting.
Actual
All i see is an error message in the log of the docker container:
Info:
@Perry3D commented on GitHub (Dec 21, 2020):
I think the document doesn't exist anymore. I cannot open it and the preview is also not available.

And i can delete other documents.
@ciur commented on GitHub (Dec 22, 2020):
@Perry3D, did you add some access permissions that document?
@Perry3D commented on GitHub (Dec 22, 2020):
I don't think so. But i am not 100% sure.
Btw i use version 1.5.3 but the interface shows 1.5.2.
@o--- commented on GitHub (Feb 25, 2021):
I am also having an issue with deleting documents. But I am not sure if the issue is the same. When I try to delete a document and check the browser debug messages, I see :
XHRPOST http://192.168.1.10/nodes/[HTTP/1.1 500 Internal Server Error 80ms]PermissionError at /nodes/[Errno 13] Permission denied: 'page-1.hocr'Request Method: POSTRequest URL: http://192.168.1.10/nodes/Django Version: 3.0.10Python Executable: /opt/papermerge/.venv//bin/pythonPython Version: 3.7.3This is a brand new setup (not docker). Version 1.5.5
Opening the url http://192.168.1.10/nodes/ in browser gives me:
{"msg": "OK"}Besides of that there is an error:
Uncaught TypeError: t.responseJSON is undefinedhttp://192.168.1.10/static/admin/js/papermerge.js:54http://192.168.1.10/static/admin/js/papermerge.js:25@o--- commented on GitHub (Feb 25, 2021):
And my problem is already resolved by changing the owner on file system level. The question that remains is, why were some folders owned by root? I guess its because of the worker process running under root?