I run several instances of Nextcloud on a Synology NAS/DSM6/Apache2.4/PHP7.4. The web user on the Synology is http
A couple of days ago I used the web updater to update one instance from Nextcloud 19 to Nextcloud 20. The update failed right at the end with an Internal Server Error report, the issue turned out to be that permissions for nextcloud/config/config.php had turned to Read only for http and read/write for myusername, and the owner of /config was changed to myusername rather than http. When I reset the permissions, all was well.
So yesterday I used the web updater to update the same instance to Nextcloud 21. This failed multiple times at different stages, nearly every time it was due to the same permissions change as noted above, and after manually giving http suitable permissions I was able to move slowly through the process. There was one other issue, an “no APCu” error fixed by removing the APCu line from config.php
To summarise, it appears that the web updater keeps resetting the owner of /config to myusername and the http permissions for config.php to read only.
I would welcome any thoughts - is this an issue with the web updater, or is there something I can do to fix it? It took so long to complete that I am now rather scared of updating my other four instances.