Issue Bug Closed

#105871TYPO3_SETUP_CREATE_SITE=no causes error in typo3 setup

Lina Wolf 12/31/24, 06:28 updated 12/02/25, 14:27

Description

We have this project in the docuementation team where we want to automatically create a TYPO3 installation for screenshots:

https://github.com/TYPO3-Documentation/site-introduction

We use enviroment variables for default values for the vendor/bin/typo3 setup command.

When using the following:

TYPO3_SETUP_CREATE_SITE=no

There is an error during setup:

In SetupCommand.php line 626:

The given url for the site name is not valid! Please try again.

However if you do not set this variable you are prompted:
Create a basic site? Please enter a URL [default: no]

If I enter “no” there it works

Reviews 2