diff --git a/lib/private/Console/Application.php b/lib/private/Console/Application.php index 0a05b2ac0f3f1..c85b67217b4b4 100644 --- a/lib/private/Console/Application.php +++ b/lib/private/Console/Application.php @@ -127,7 +127,7 @@ public function loadCommands(InputInterface $input, OutputInterface $output) { } } } - } else if ($input->getArgument('command') !== '_completion') { + } else if ($input->getArgument('command') !== '_completion' && $input->getArgument('command') !== 'maintenance:install') { $output->writeln("Nextcloud is not installed - only a limited number of commands are available"); } } catch(NeedsUpdateException $e) {