I encountered timeouts and problems with the web updater of NextCloud. Since it is super easy to use the command line updater and nothing like that has appeared here I think this is the way to go. I run a root server with PLESK. I use PHP 7.3 installed via plesk for the cloud subdomain.
Here are all the commands:
Change directory to wherever your NextCloud installation is located:
Your USER would be www-data or the owner of the domain in PLESK:
sudo -u USER /opt/plesk/php/7.3/bin/php updater/updater.phar
Say “yes” to start the upgrade.
Say no here! The system php maybe different from the one used by Plesk.
sudo -u USER /opt/plesk/php/7.3/bin/php occ upgrade
This checks if some maintenance on db side (not indexed columns) needs to be taken care of.
sudo -u USER /opt/plesk/php/7.3/bin/php ./occ db:add-missing-indices
Then switch off the maintenance mode.
sudo -u USER /opt/plesk/php/7.3/bin/php occ maintenance:mode --off
If you’re running the awesome window manager and are using the gnome-session or gnome-settings-daemon as well as the gnome-control-center you might have noticed it is missing some icons (see screenshot on the right).
This is due to an entry in the “gnome*panel*.desktop” files located in “/usr/share/applications”:
You can quickly fix this by changing it to:
Of course you do not have to do this by hand. Simply use this handy command: