User Tools

Site Tools


upgrade_nextcloud

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
upgrade_nextcloud [2022/05/09 18:06] chrisupgrade_nextcloud [2023/09/14 17:42] (current) admin
Line 5: Line 5:
 Login to your Nextcloud commandline and enter the following: Login to your Nextcloud commandline and enter the following:
  
-   sudo -u abc php /config/www/nextcloud/updater/updater.phar+   sudo -u www-data php /var/www/nextcloud/updater/updater.phar
  
 this will start the update sequence. After it has finished enter: this will start the update sequence. After it has finished enter:
  
-   sudo -u abc php /config/www/nextcloud/occ upgrade+   sudo -u www-data php /var/www/nextcloud/occ upgrade
  
 this will start the upgrade sequence. For the last step enter: this will start the upgrade sequence. For the last step enter:
  
-   sudo -u abc php /config/www/nextcloud/occ maintenance:mode --off+   sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off 
  
 This will bring up Nextcloud and you are able to use the web-interface again. This will bring up Nextcloud and you are able to use the web-interface again.
 +
 +In most cases you will need to run a repair script:
 +
 +   sudo -u www-data php occ db:add-missing-indices
 +
 +If using crontab please re-enable it by doing:
 +
 +   crontab -u www-data -e
 + 
  
 That's all! That's all!
upgrade_nextcloud.1652112362.txt.gz · Last modified: 2022/05/09 18:06 by chris