]> source.dussan.org Git - nextcloud-server.git/commitdiff
Improve maintenance mode info 27767/head
authorszaimen <szaimen@e.mail.de>
Fri, 2 Jul 2021 11:09:25 +0000 (13:09 +0200)
committerszaimen <szaimen@e.mail.de>
Fri, 2 Jul 2021 11:54:33 +0000 (13:54 +0200)
Signed-off-by: szaimen <szaimen@e.mail.de>
lib/private/Console/Application.php

index 58a6b2f9ac791de3148b25fb600cdb3acfdb7619..11efe7d8ccf90e57f04c2094c0e919cf1ca66ceb 100644 (file)
@@ -180,8 +180,8 @@ class Application {
                        && $input->getArgument('command') !== 'maintenance:mode') {
                        $errOutput = $output->getErrorOutput();
                        $errOutput->writeln(
-                               '<comment>Nextcloud is in maintenance mode - ' .
-                               'no apps have been loaded</comment>' . PHP_EOL
+                               '<comment>Nextcloud is in maintenance mode, hence the database isn\'t accessible.' . PHP_EOL .
+                               'Cannot perform any command except \'maintenance:mode --off\'</comment>' . PHP_EOL
                        );
                }
        }