Project

General

Profile

Actions

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

Revision 1/5 | Next »
Gareth Eaton, 07/05/2023 11:37 AM


Nextcloud App Updates- A Step-by-Step Guide for Shell Users

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 11 months ago · 1 revisions