Hello Nextcloud,
I have a problem that seems very simple, and the solutions I’ve found on this and other forums have also been simple, however, these don’t work for me unfortunately. The problem is that when I try to update with the web-updater to Nextcloud 11.0.2 from Nextcloud 11.0.1 I get the following:
The following places can not be written to:
/usr/share/nginx/html/nextcloud/updater/../occ
/usr/share/nginx/html/nextcloud/updater/../console.php
/usr/share/nginx/html/nextcloud/updater/../db_structure.xml
/usr/share/nginx/html/nextcloud/updater/../index.html
/usr/share/nginx/html/nextcloud/updater/../3rdparty/nikic/php-parser/grammar/README.md
[...]
My http-user is nginx, which is why I have donet the following before updating:
chown nginx:nginx -R /usr/share/nginx/html/nextcloud
find nextcloud/ -type f -exec chmod 640 {} \;
find nextcloud/ -type d -exec chmod 750 {} \;
I noticed that the problems with permissions comes from the update folder, so I wonder whether it would help to run
rm -rf /usr/share/nginx/html/nextcloud/updater
and then update manually?
I don’t know what else to try, therefore I would greatly appreciate any help on this issue.