From 09d2440221d56255c43c14680741183d4c078e2f Mon Sep 17 00:00:00 2001 From: Mat M Date: Sun, 22 Nov 2020 23:40:03 +0100 Subject: [PATCH] Improve suggested command line Since mostly the www-data user has no shell, you cannot easily cd and the sudo locally. Signed-off-by: Mat M --- admin_manual/maintenance/update.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_manual/maintenance/update.rst b/admin_manual/maintenance/update.rst index 2101e1ac5..416b2a530 100644 --- a/admin_manual/maintenance/update.rst +++ b/admin_manual/maintenance/update.rst @@ -173,7 +173,7 @@ The steps are basically the same as for the web based updater: 2. Instead of clicking that button you can now invoke the command line based updater by going into the `updater/` directory in the Nextcloud directory and executing the `updater.phar` as the web server user. (i.e. - ``sudo -u www-data php updater.phar``) + ``sudo -u www-data php /var/www/nextcloud/updater/updater.phar``) .. image:: images/updater-cli-2-start-updater.png :class: terminal-image @@ -220,7 +220,7 @@ except an error occured during the ``occ upgrade`` or the replacement of the code. To execute this, run the command with the ``--no-interaction`` option. (i.e. -``sudo -u www-data php updater.phar --no-interaction``) +``sudo -u www-data php /var/www/nextcloud/updater/updater.phar --no-interaction``) .. image:: images/updater-cli-8-no-interaction.png :class: terminal-image