There was an error while loading. Please reload this page.
occ upgrade
1 parent 81f9fc0 commit 288cdb0Copy full SHA for 288cdb0
1 file changed
lib/private/Console/Application.php
@@ -125,7 +125,7 @@ public function loadCommands(
125
$errorOutput->writeln('Nextcloud is not installed - only a limited number of commands are available');
126
}
127
} catch (NeedsUpdateException) {
128
- if ($input->getArgument('command') !== '_completion') {
+ if ($input->getArgument('command') !== '_completion' && $input->getArgument('command') !== 'upgrade') {
129
$errorOutput = $output->getErrorOutput();
130
$errorOutput->writeln('Nextcloud or one of the apps require upgrade - only a limited number of commands are available');
131
$errorOutput->writeln('You may use your browser or the occ upgrade command to do the upgrade');
0 commit comments