Nextcloud version 26.0.1
Operating system and version docker
Apache or nginx version apache2
The issue you are facing:
Wenn ich eine Datei löschen will, egal ob im webinterface oder über die dateifreigabe in meinem ubuntu-nautilus, kommt der Fehler, dass die datei nicht gelöscht werden kann.
Is this the first time you’ve seen this error? (Y/N):
Y
Steps to replicate it:
- erstelle im webinterface eine datei “22.md” und gebe ein paar zeichen ein, damit diese nicht 0KB groß bleibt
- versuche die datei im webinterface zu löschen
The output of your Nextcloud log in Admin > Logging:
{"reqId":"ae8VSm7AEunj431ytt1V","level":0,"time":"2023-05-24T11:23:45+00:00","remoteAddr":"46.114.173.202","user":"ruben","app":"carnet","method":"DELETE","url":"/remote.php/dav/files/ruben/tmp/22.md","message":"/appinfo/app.php
is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0","version":"26.0.1.1","data":{"app":"car
net"}}
{"reqId":"ae8VSm7AEunj431ytt1V","level":0,"time":"2023-05-24T11:23:45+00:00","remoteAddr":"46.114.173.202","user":"ruben","app":"encryption","method":"DELETE","url":"/remote.php/dav/files/ruben/tmp/22.md","message":"/appinfo/app.
php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0","version":"26.0.1.1","data":{"app":
"encryption"}}
{"reqId":"ae8VSm7AEunj431ytt1V","level":3,"time":"2023-05-24T11:23:45+00:00","remoteAddr":"46.114.173.202","user":"ruben","app":"webdav","method":"DELETE","url":"/remote.php/dav/files/ruben/tmp/22.md","message":"Client \"Mozilla/
5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0\" is not allowed to access end-to-end encrypted content","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0","version
":"26.0.1.1","exception":{"Exception":"OCA\\DAV\\Connector\\Sabre\\Exception\\Forbidden","Message":"Client \"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0\" is not allowed to access end-to-end enc
rypted content","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"checkLock","class":"OCA\\EndToEndEncryption\\Connector\\Sabre\\LockPlugin","type":"->","args":[["Sa
bre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":456,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMethod:DELETE",[["Sabre\\HTTP\\Re
quest"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Resp
onse"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":366,"function":"exec"
,"class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":1
72,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/custom_apps/end_to_end_encryption/lib/Connector/Sabre/LockPlugin.php","Line":122,"message":"Client \"Mozilla/5.0 (X11; U
buntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0\" is not allowed to access end-to-end encrypted content","exception":{},"CustomMessage":"Client \"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefo
x/110.0\" is not allowed to access end-to-end encrypted content"}}
Es scheint, dass dies mit dem encryption modul zu tun hat, denn, wenn ich in der Datei nichts eingeben, dann kann ich diese 0KB datei noch löschen.
Sobald etwas drin steht ist diese gesperrt.
Ich habe auch schon versucht verschlüsselung zu deaktivieren und wieder zu reaktivieren, wie hier beschrieben: Falscher privater Schlüssel für die Verschlüsselungs-App. Bitte aktualisieren Sie Ihren privaten Schlüssel in Ihren persönlichen Einstellungen um wieder Zugriff auf die verschlüsselten Dateien zu erhalten - #22 by rubo77