June 1, 20233 yr 本来想通过webdav在虚拟群晖备份unraid中Nextcloud的文件,结果提示没权限,就通过Dynamix File Manager把Nextcloud存储的主文件夹设置了other权限可读写,访问Nextcloud首页提示当前权限被其他人访问需要调整回来否则无法访问,就把之前在Dynamix File Manager调整的Other可读写改成了拒绝,最后结果就是Nextcloud首页报错,看了下日志: Quote {"reqId":"5y6HHZJ8WOF5y","level":3,"time":"2023-06-01T04:38:47+00:00","remoteAddr":"192.168.50.188","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /config/www/nextcloud/lib/private/legacy/OC_Util.php#1005","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"22.1.1.2","exception":{"Exception":"Error","Message":"chmod(): Operation not permitted at /config/www/nextcloud/lib/private/legacy/OC_Util.php#1005","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":1005,"function":"chmod"},{"file":"/config/www/nextcloud/lib/private/legacy/OC_Util.php","line":804,"function":"checkDataDirectoryPermissions","class":"OC_Util","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":656,"function":"checkServer","class":"OC_Util","type":"::"},{"file":"/config/www/nextcloud/lib/base.php","line":1083,"function":"init","class":"OC","type":"::"},{"file":"/config/www/nextcloud/index.php","line":34,"args":["/config/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/config/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}} {"reqId":"5y6HHZJ8WOF5y","level":3,"time":"2023-06-01T04:38:47+00:00","remoteAddr":"192.168.50.188","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /config/www/nextcloud/lib/private/Log/File.php#86","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"22.1.1.2"} Dynamix File Manager中只反复设置了几次other的访问权限,其他没设置过: 怀疑是不是设置整个nextcloud的权限时导致权限错乱而无法读取,所以首页就不让访问了。 首页报错如下: Edited June 1, 20233 yr by mingshun
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.