diff --git a/src/console/Application.php b/src/console/Application.php index c76903fdf50..183a6768da1 100644 --- a/src/console/Application.php +++ b/src/console/Application.php @@ -70,7 +70,7 @@ public function bootstrap(): void */ public function runAction($route, $params = []): int|BaseResponse|null { - if (!$this->getIsInstalled() && $this->_requireInfoTable($route, $params)) { + if (!$this->getIsInstalled(true) && $this->_requireInfoTable($route, $params)) { // Is the connection valid at least? if (!$this->getIsDbConnectionValid()) { Console::outputWarning('Craft can’t connect to the database. Check your connection settings.');