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 #1

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81695

Actions #2

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81695

Actions #3

Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81695

Actions #4

Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81695

Actions #5

Updated by Gerrit Code Review about 1 year ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81779

Actions #6

Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81695

Actions #7

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81779

Actions #8

Updated by Gerrit Code Review about 1 year ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81695

Actions #9

Updated by Garvin Hicking about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF