diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php index 24b2bee..1013892 100644 --- a/core/templates/update.admin.php +++ b/core/templates/update.admin.php @@ -37,7 +37,7 @@
t('To avoid timeouts with larger installations, you can instead run the following command from your installation directory:')) ?> -
./occ upgrade
+
sudo -u apache php /usr/share/nextcloud/occ upgrade
diff --git a/core/templates/update.use-cli.php b/core/templates/update.use-cli.php index 52d40cd..945d4d9 100644 --- a/core/templates/update.use-cli.php +++ b/core/templates/update.use-cli.php @@ -7,8 +7,10 @@ } else { p($l->t('Please use the command line updater because automatic updating is disabled in the config.php.')); } ?>

- t('For help, see the documentation.', [link_to_docs('admin-cli-upgrade')])); ?>

+ +sudo -u apache php /usr/share/nextcloud/occ upgrade + +