Project

General

Profile

Nextcloud App Updates- A Step-by-Step Guide for Shell Users » History » Revision 3

Revision 2 (Gareth Eaton, 03/18/2024 04:42 PM) → Revision 3/5 (Gareth Eaton, 03/18/2024 04:42 PM)

h1. Nextcloud    +App+ *App* Updates 

 Navigate to the Nextcloud installation directory. The location may vary depending on your server setup. Typically, it can be found in the /var/www/nextcloud/ directory. 

 <pre> 
 cd /var/www/nextcloud/ 
 </pre> 

 Put your Nextcloud instance into maintenance mode. This step ensures that no user interactions occur during the update process, which helps prevent data inconsistencies. 
 <pre> 
 sudo -u www-data php occ maintenance:mode --on 
 </pre> 

 Update the Collabora Online - Built-in CODE Server app using the following command: 
 <pre> 
 sudo -u www-data php occ app:update <app_name> 
 </pre> 

 Once the update is complete, disable the maintenance mode. 

 <pre> 
 sudo -u www-data php occ maintenance:mode --off 
 </pre> 

 ---- 

 Check for available app updates using the following command: 

 <pre> 
 sudo -u www-data php occ app:list 
 </pre>