summaryrefslogtreecommitdiffstats
path: root/owncloud-8.2.3-correct-cli-upgrade-command.patch
diff options
context:
space:
mode:
Diffstat (limited to 'owncloud-8.2.3-correct-cli-upgrade-command.patch')
-rw-r--r--owncloud-8.2.3-correct-cli-upgrade-command.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/owncloud-8.2.3-correct-cli-upgrade-command.patch b/owncloud-8.2.3-correct-cli-upgrade-command.patch
new file mode 100644
index 0000000..95779fd
--- /dev/null
+++ b/owncloud-8.2.3-correct-cli-upgrade-command.patch
@@ -0,0 +1,13 @@
+diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
+index fbd3025..b9b00ef 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/owncloud/occ upgrade</pre>
+ </div>
+ </div>
+