nextcloud更新问题

我的23版nextcloud更新时一直出现问题如下:
[✘] Check for write permissions failed The following places can not be written to: /www/wwwroot/我的域名/updater/../.user.ini
搜了很久没找到解决方法
最后发现是宝塔把.user.ini锁定了还是咋的(灵感来自https://www.water-is.me/index.php/2020/09/29/156.html
使用命令进入文件夹后执行>chattr -i .user.ini chown -R www:www /www/wwwroot/cloud.lovesuyun.cn 即可

应该是这样解决的,之前试了很多解决方案,一并把链接贴出来把,希望对你有帮助
https://help.nextcloud.com/t/updater-check-for-write-permissions/34723/2
https://help.nextcloud.com/t/write-permission-issues-when-updating-from-10-0-1-to-10-0-2/5978/15
https://help.nextcloud.com/t/failed-integrity-check-after-manual-upgrade/1382/27
https://help.nextcloud.com/t/nextcloud-13-0-2-and-12-0-7-available-collabora-online-3-2-is-out/30914/6

注意:复制这种命令的时候,宝塔用户记得把www-data改为www

不会用centos看不懂,纯一点一点试一点一点摸索的,大佬轻喷,希望可以帮助到和我一样的小白

posted @ 2022-03-23 19:02  Lem0ke  阅读(718)  评论(0)    收藏  举报