I’ve just tried to use the web updater for an update from 20.0.0 to 20.0.1 and hit an odd situation. The updater goes through all of the steps happily, but then falls over when trying to delete files (step 9). It claims that it cannot delete many of them - which is strange, as they are owned by the web user and the permissions are set to 644 (files) and 755 (directories).
Looking at the updater.log file, I can see where it is failing, so I can move/delete the files and folders that it is having an issue with. However, it eventually gets to the point where it wants to delete “…/core”, which I can do manually, but then when I rerun it, it throws an error that it cannot now get to “…/core/shipped.json”. Looking at the updater.php code, this suggests that it doesn’t even try the deletion of the files if this file doesn’t exist
Luckily, I restored the files from the earlier backup, and it now works. Is this likely to be a bug, or is it more likely to be a configuration issue? I can probably manage to try again another day if needed, but I’m not currently in a position to fiddle with something that has some of my data synced through it
I’ve been running Nextcloud for a couple of years, but a mis-typed command recently destroyed the virtual drive that the server was running on, so this is a brand new VM, only installed in the last 2 weeks.