You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading to Nextcloud 30.0.4 and switching to Group Folder 18.0.8, it is no longer possible to delete a folder/file.
This issue will be linked to this one: #2604 => having had no feedback, I tested by updating everything and the initial problem disappeared, but now you can't no longer delete a folder/file.
Steps to reproduce
Create group folders A & B
Both group folders are only set has admin group and no advanced permissions
Inside of each folders create a folder ( x inside of A and y inside of B )
Share folder x to group G_x and share folder y to group G_y
Now set group G_x and G_y to a user
Connect to the user and try to delete a file/folder: permission denied. Create, edit, move => OK but not delete
Expected behaviour
A user with editing rights must be able to make the deletion.
Actual behaviour
From GUI :
"Delete file" action failed
From Nextcloud logs :
{"reqId":"NdoWtV8IPFSTLmSbtFle","level":3,"time":"2024-12-17T13:28:21+00:00","remoteAddr":"x.x.x.x","user":"demo02","app":"webdav","method":"DELETE","url":"/remote.php/dav/files/demo02/PARTAGE-EXAMPLE-COMMUN/hello.txt","message":"/demo02/files_trashbin/groupfolders/5","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0","version":"30.0.4.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/demo02/files_trashbin/groupfolders/5","Code":0,"Trace":[{"file":"/srv/nextcloud/www/lib/private/Files/Node/LazyFolder.php","line":141,"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/srv/nextcloud/www/apps/groupfolders/lib/Trash/TrashBackend.php","line":245,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/srv/nextcloud/www/apps/files_trashbin/lib/Trash/TrashManager.php","line":85,"function":"moveToTrash","class":"OCA\\GroupFolders\\Trash\\TrashBackend","type":"->"},{"file":"/srv/nextcloud/www/apps/files_trashbin/lib/Storage.php","line":168,"function":"moveToTrash","class":"OCA\\Files_Trashbin\\Trash\\TrashManager","type":"->"},{"file":"/srv/nextcloud/www/apps/files_trashbin/lib/Storage.php","line":67,"function":"doDelete","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/srv/nextcloud/www/lib/private/Files/View.php","line":1136,"function":"unlink","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/srv/nextcloud/www/lib/private/Files/View.php","line":666,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/lib/Connector/Sabre/File.php","line":501,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Tree.php","line":197,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/lib/Connector/Sabre/Server.php","line":43,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/lib/Server.php","line":371,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/srv/nextcloud/www/remote.php","line":146,"args":["/srv/nextcloud/www/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/srv/nextcloud/www/lib/private/Files/Node/Root.php","Line":187,"message":"/demo02/files_trashbin/groupfolders/5","exception":{},"CustomMessage":"/demo02/files_trashbin/groupfolders/5"}}
Not an isolated case, I have the same thing on a second server (same configuration).
Server configuration
Debian 12
PHP-FPM 8.2
MariaDB 10.11
Nextcloud 30.0.4
GF 18.0.8
Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"NdoWtV8IPFSTLmSbtFle","level":3,"time":"2024-12-17T13:28:21+00:00","remoteAddr":"x.x.x.x","user":"demo02","app":"webdav","method":"DELETE","url":"/remote.php/dav/files/demo02/PARTAGE-EXAMPLE-COMMUN/hello.txt","message":"/demo02/files_trashbin/groupfolders/5","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0","version":"30.0.4.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/demo02/files_trashbin/groupfolders/5","Code":0,"Trace":[{"file":"/srv/nextcloud/www/lib/private/Files/Node/LazyFolder.php","line":141,"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/srv/nextcloud/www/apps/groupfolders/lib/Trash/TrashBackend.php","line":245,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/srv/nextcloud/www/apps/files_trashbin/lib/Trash/TrashManager.php","line":85,"function":"moveToTrash","class":"OCA\\GroupFolders\\Trash\\TrashBackend","type":"->"},{"file":"/srv/nextcloud/www/apps/files_trashbin/lib/Storage.php","line":168,"function":"moveToTrash","class":"OCA\\Files_Trashbin\\Trash\\TrashManager","type":"->"},{"file":"/srv/nextcloud/www/apps/files_trashbin/lib/Storage.php","line":67,"function":"doDelete","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/srv/nextcloud/www/lib/private/Files/View.php","line":1136,"function":"unlink","class":"OCA\\Files_Trashbin\\Storage","type":"->"},{"file":"/srv/nextcloud/www/lib/private/Files/View.php","line":666,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/lib/Connector/Sabre/File.php","line":501,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Tree.php","line":197,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/srv/nextcloud/www/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/lib/Connector/Sabre/Server.php","line":43,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/lib/Server.php","line":371,"function":"start","class":"OCA\\DAV\\Connector\\Sabre\\Server","type":"->"},{"file":"/srv/nextcloud/www/apps/dav/appinfo/v2/remote.php","line":19,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/srv/nextcloud/www/remote.php","line":146,"args":["/srv/nextcloud/www/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/srv/nextcloud/www/lib/private/Files/Node/Root.php","Line":187,"message":"/demo02/files_trashbin/groupfolders/5","exception":{},"CustomMessage":"/demo02/files_trashbin/groupfolders/5"}}
The text was updated successfully, but these errors were encountered:
I have the same problem.
Disabling the "Deleted files" app will fix this error temporarily, but it is not a good option for my business.
After creating the folder "/demo02/files_trashbin/groupfolders/5" on the filesystem manually, the file can be deleted now, but it will NOT be shown in the users or in the groupfolders trash bin at all.
The file was moved correctly in that filesystem folder, but a recovery of that file will be impossible.
Also the deletion will not be shown in the users activities, but in the groupadmins activities without the filename and a file not found icon.
Yes indeed, it's only a temporary fix, I also need the trashbin but there's no alternative for the moment .. @joshtrichards perhaps you could pass this to the development teams ?
Hi everyone,
Since upgrading to Nextcloud 30.0.4 and switching to Group Folder 18.0.8, it is no longer possible to delete a folder/file.
This issue will be linked to this one: #2604 => having had no feedback, I tested by updating everything and the initial problem disappeared, but now you can't no longer delete a folder/file.
Steps to reproduce
Expected behaviour
A user with editing rights must be able to make the deletion.
Actual behaviour
From GUI :
From Nextcloud logs :
Not an isolated case, I have the same thing on a second server (same configuration).
Server configuration
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: