User Tools

Site Tools


upgrade_nextcloud

Differences

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

Link to this comparison view

Next revision
Previous revision
upgrade_nextcloud [2022/05/09 18:05] – created 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.
  
-That's all,+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
 + 
 +\\ 
 +\\ 
 +Enjoy, 
 + 
 +**Your ArtIT Team** 
 +\\ 
 +\\ 
 + 
 +**[[applications|BACK]]** 
 + 
upgrade_nextcloud.1652112322.txt.gz · Last modified: 2022/05/09 18:05 by chris