Hey,
i think if no one followed this suggestion and this is a actually a bug in the external storage then i think you will also face the same problem in 2023.
eneubauer:
If you can reliably reproduce the issue, meaning you did another fresh install from scratch, you can use docker, and created a new S3 bucket that you add to that new installation and the error persists, you could try opening a ticket in github:
GitHub · Where software is built
Hey,
i think this could be a duplicate topic of Can't delete folders but I can delete files and i think this never has been reported to the ownCloud people at the bug tracker issue below. Maybe some one with a GitHub account could post the info over there or even create a bug report? Otherwise i think the ownCloud people will never notice
opened 10:27AM - 21 Apr 20 UTC
When i try to delete a folder i receive this error.
{"reqId":"49qiGyoRN7n9FtQty… zzS","level":0,"time":"2020-04-21T10:00:03+00:00","remoteAddr":"XXX.XXX.XXX.XXX","user":"user","app":"webdav","method":"DELETE","url":"\/remote.php\/dav\/files\/user\/S3\/123","message":"Exception: HTTP\/1.1 403 Forbidden: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\Forbidden\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(183): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->delete()\\n#1 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(295): Sabre\\\\DAV\\\\Tree->delete('files\\\/user\\\/S3\\\/1...')\\n#2 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/WildcardEmitterTrait.php(89): Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#3 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(474): Sabre\\\\DAV\\\\Server->emit('method:DELETE', Array)\\n#4 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(251): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/apps\\\/dav\\\/lib\\\/Server.php(329): Sabre\\\\DAV\\\\Server->start()\\n#6 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#7 \\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/remote.php(165): require_once('\\\/opt\\\/bitnami\\\/ap...')\\n#8 {main}\",\"File\":\"\\\/opt\\\/bitnami\\\/apps\\\/owncloud\\\/htdocs\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php\",\"Line\":345}"}
I've installed the latest verion both of Owncloud and than S3 external storage app; the file deletion works fine, the problem appen only with the folders.
I've also tryed to delete the folder from AWS cli and the folder are correctly been removed, so i don't think it's an aws permission problem.
ivnmad
September 27, 2023, 9:41pm
25
This works, but it doesn’t seem to have made it to a new version of the marketplace extension.
I had to manually change the code after installation in my ownCloud instance.
Hey,
i think it still wasn’t reported to the ownCloud developers so i think this will never make it in any release until some one is doing this