Project

General

Profile

Actions

Bug #102322

closed

setup cli command failes when no database is available on the database host

Added by Stefan Bürk about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2023-11-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using the `setup` command in interactive mode to setup
a instance fails if the database host do not contains
any databases for the provided credentials:

Exception trace:
  at /app/vendor/symfony/console/Question/ChoiceQuestion.php:36
 Symfony\Component\Console\Question\ChoiceQuestion->__construct() at /app/vendor/typo3/cms-install/Classes/Command/SetupCommand.php:310
 TYPO3\CMS\Install\Command\SetupCommand->selectAndImportDatabase() at /app/vendor/typo3/cms-install/Classes/Command/SetupCommand.php:239
 TYPO3\CMS\Install\Command\SetupCommand->execute() at /app/vendor/symfony/console/Command/Command.php:326
 Symfony\Component\Console\Command\Command->run() at /app/vendor/symfony/console/Application.php:1081
 Symfony\Component\Console\Application->doRunCommand() at /app/vendor/symfony/console/Application.php:320
 Symfony\Component\Console\Application->doRun() at /app/vendor/symfony/console/Application.php:174
 Symfony\Component\Console\Application->run() at /app/vendor/typo3/cms-core/Classes/Console/CommandApplication.php:112
 TYPO3\CMS\Core\Console\CommandApplication->run() at /app/vendor/typo3/cms-cli/typo3:23
 {closure}() at /app/vendor/typo3/cms-cli/typo3:24
 include() at /app/vendor/bin/typo3:119


Files

image.png (83.8 KB) image.png Stefan Bürk, 2023-11-06 10:28
Actions

Also available in: Atom PDF