Project

General

Profile

Actions

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

« Previous | Revision 2/5 (diff) | Next »
Gareth Eaton, 03/18/2024 04:42 PM


Nextcloud 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.

cd /var/www/nextcloud/

Put your Nextcloud instance into maintenance mode. This step ensures that no user interactions occur during the update process, which helps prevent data inconsistencies.

sudo -u www-data php occ maintenance:mode --on

Update the Collabora Online - Built-in CODE Server app using the following command:

sudo -u www-data php occ app:update <app_name>

Once the update is complete, disable the maintenance mode.

sudo -u www-data php occ maintenance:mode --off

Check for available app updates using the following command:

sudo -u www-data php occ app:list

Updated by Gareth Eaton about 2 months ago · 2 revisions