blob: 79a85931a479827f9e30309c8abf15d0060dc380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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 @@
<input class="updateButton" type="button" value="<?php p($l->t('Start update')) ?>">
<div class="infogroup">
<?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>
</div>
</div>
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.'));
} ?><br><br>
- <?php
- print_unescaped($l->t('For help, see the <a target="_blank" rel="noreferrer" 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>
</div>
|