Good morning
Something odd is going on. I have a fresh installed rpi4 buster nextcloud 18 on nginx and it is working fine. I have passman installed and preview generator. Everything is working great.
I am used to the gui updater not working for me, so i usually does it from command line. But now neither works, and dur to the amount of family photos, i hesitate to just copy and unzip the new version and copy back the conf and data. I really would like the updater to work. Here is what happens :
GUI : as admin i see the below, and when i press open updater, i get back the the admin files view - here is what i see in the version section Version
Nextcloud 18.0.0
A new version is available: Nextcloud 18.0.2
All apps have an update for this version available
Apps with available updates
Update channel:
Stable
COMMAND LINE :
/var/www/nextcloud# sudo -u www-data ./occ update:check
Nextcloud 18.0.2 is available. Get more information on how to update at https://docs.nextcloud.com/server/18/admin_manual/maintenance/upgrade.html.
1 update available
/var/www/nextcloud# sudo -u www-data ./occ upgrade
Nextcloud is already latest version
/var/www/nextcloud# sudo -u www-data php updater/updater.phar
Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty
Current version is 18.0.0.
Update to Nextcloud 18.0.2 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-18.0.2.zip
Open changelog
Steps that will be executed:
[ ] Check for expected files
[ ] Check for write permissions
[ ] Create backup
[ ] Downloading
[ ] Verify integrity
[ ] Extracting
[ ] Enable maintenance mode
[ ] Replace entry points
[ ] Delete old files
[ ] Move new files in place
[ ] Done
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[] Check for expected files
[✘] Check for write permissions failed
The following places can not be written to:
/var/www/nextcloud/updater/…/.user.ini
/var/www/nextcloud/updater/…/.htaccess
Update failed. To resume or retry just execute the updater again.
<<<the user.ini and htaccess do indeed not exist, and i believe this is correct since i am on nginx…??>>