Hello,
On of my NC server is not working anymore after an upgrade from 16.0.5.1 to 17.0.1
The web is stuck within Maintenance mode, and from the CLI I get :
sudo -u www-data /usr/bin/php /var/www/nextcloud/updater/updater.phar
Nextcloud Updater - version: v16.0.3-3-ga0c2b25 dirty
Current version is 17.0.1.
Update to Nextcloud 17.0.1 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-17.0.1.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
Continue 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
[β] Create backup
[β] Downloading
[β] Verify integrity
[β] Extracting
[β] Enable maintenance mode
[β] Replace entry points
[β] Delete old files
[β] Move new files in place
[β] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n]
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /var/www/nextcloud/console.php on line 94
Keep maintenance mode active? [y/N]
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /var/www/nextcloud/console.php on line 94
Maintenance mode is disabled
Then not only updater is not working anymore, but occ as well, with the same PHP error in console.php :
sudo -u www-data php /var/www/nextcloud/occ
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in /var/www/nextcloud/console.php on line 94
#
Thanks in advance for your help !