Some thing seems to have gone wrong when upgrading my Nextcloud docker stack. It seems a new image is now being used, and my Nextcloud is no longer reachable. All I see is the following message in the web interface:
Update needed
Please use the command line updater because updating via browser is disabled in your config.php.
This is a huge problem and my family is about to kill me
I already tried to set ‘upgrade.disable-web’ => false, in the config, but the message remains the same.
How can I do this upgrade via the command line?
Please help!
Hello @BerndBop
In the Nextcloud Admin Manual you will find some occ commands about upgrading with explanations. These commands can be executed with the console. You only need SSH access to the server.
Since I’m using Docker, I’m not sure were/how to issue that command. On the server running Docker? Probably not.
In the Nextcloud container? Does not work:
root@605df339b705:/var/www/html# sudo -u www-data php occ upgrade -v
bash: sudo: command not found
I guess this is probably really simple, but right now I’m clueless…