Update problem 24.0.12 to 25.0.13

Hello

we try to update the nextcloud to the version 25.0.13 with the automaticly updater command line.

we have a right error to access to the directories as shown below :

admin@cloud:~$ sudo -u www-data php /var/www/nextcloud/updater/updater.phar
[sudo] password for admin:

Nextcloud Updater - version: v24.0.0beta3-1-g67bf13b dirty

Current version is 24.0.12.

Update to Nextcloud 25.0.13 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip
Open changelog :arrow_upper_right:

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.

[:heavy_check_mark:] Check for expected files
[✘] Check for write permissions failed
The following places can not be written to:
/var/www/nextcloud/updater/…/version.php
/var/www/nextcloud/updater/…/occ
/var/www/nextcloud/updater/…/AUTHORS
/var/www/nextcloud/updater/…/COPYING
/var/www/nextcloud/updater/…/public.php
/var/www/nextcloud/updater/…/index.php
/var/www/nextcloud/updater/…/remote.php
/var/www/nextcloud/updater/…/status.php
/var/www/nextcloud/updater/…/robots.txt
/var/www/nextcloud/updater/…/.user.ini
/var/www/nextcloud/updater/…/index.html
/var/www/nextcloud/updater/…/console.php
/var/www/nextcloud/updater/…/cron.php

Update failed. To resume or retry just execute the updater again.

Thanks a lot for your help

SYNERGY

please show ls -la /var/www/nextcloud/

Hello,

I have try the command but unfortunetly i have a permission denied message …

I noticed when doing the command you gave me on the www folder that the user is not root but www-data for the nextcloud folder.

sudo bash /var/scripts/menu.sh –> Update Major — or, as root in the terminal — update_nextcloud

You can also use the first step to only change the owner of /var/www/nextcloud:

sudo chown www-data /var/www/nextcloud

Hi, I got same the problem as error message shown below:

root@raspberrypi:/home/ken# sudo -u www-data php /var/www/html/nextcloud/updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4

Current version is 24.0.12.

Update to Nextcloud 25.0.13 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip
Open changelog :arrow_upper_right:

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 failed
The following extra files have been found:
dist

Update failed. To resume or retry just execute the updater again.

rm /var/www/nextcloud/dist

Hi,
I have a similar problem. But I used the webbased updater https://mynextcloud.de/updater/ . After I did it)* nextcloud did not come up again - I see a white screen, when I call the URL of my nextcloud https://mynextcloud.de .
The webGUI ist not shown, after
)* I clicked [disable maintenance mode and continue with the web based updater].

→ I have no sudo rights on the server I use. But I could delete files if necessary-

Please help !

The following I see in the browser tab with https://mynextcloud.de/updater/

Initializing

Current version is 24.0.12.
Update to Nextcloud 25.0.13 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip
Open changelog :arrow_upper_right:

  • Check for expected files
  • Check for write permissions
  • Create backup
  • Downloading
  • Verifying integrity
  • Extracting
  • Enable maintenance mode
  • Replace entry points
  • Delete old files
  • Move new files in place
  • Continue with web based updater
    [disable maintenance mode and continue with the web based updater]

update:

[Martin_Ho]
rm /var/www/nextcloud/dist

I removed my dist directory /www/htdocs/—/nc/dist
brought nothing