diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php index aaeacea..251dc73 100644 --- a/core/templates/update.admin.php +++ b/core/templates/update.admin.php @@ -38,7 +38,7 @@ <div class="infogroup"> <em> <?php p($l->t('To avoid timeouts with larger installations, you can instead run the following command from your installation directory:')) ?> - <pre>./occ upgrade</pre> + <pre>sudo -u apache php /usr/share/nextcloud/occ upgrade</pre> </em> </div> </div> diff --git a/core/templates/update.use-cli.php b/core/templates/update.use-cli.php index 06d7e28..2abd560 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.')); } ?><br><br> - <?php - print_unescaped($l->t('For help, see the <a target="_blank" rel="noreferrer noopener" href="%s">documentation</a>.', [link_to_docs('admin-cli-upgrade')])); ?><br><br> + <code> +sudo -u apache php /usr/share/nextcloud/occ upgrade +</code> + <br><br> </div> </div>