#105573Command "extension:setup" fails on empty database
Description
The “extension:setup” currently fails on a empty database.
One would expect the command to create all tables and fields according to the schema.
But currently it fails with the following message.
✗ ddev typo3 extension:setup In ExceptionConverter.php line 40: An exception occurred while executing a query: Table 'db.be_users' doesn't exist In ConnectionError.php line 28: Table 'db.be_users' doesn't exist In Connection.php line 33: Table 'db.be_users' doesn't exist extension:setup [-e|--extension EXTENSION]
Reviews 1
History 36
-
Gerrit Code Review pushed patch set 1 for main to change 86959 status
NewUnder Review <span data-processor="relativetime" data-value="2024-11-11T23:01:15+00:00" > 11/11/24, 23:01 </span> -
Gerrit Code Review pushed patch set 2 for main to change 86959 <span data-processor="relativetime" data-value="2024-11-11T23:01:54+00:00" > 11/11/24, 23:01 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 86959 <span data-processor="relativetime" data-value="2024-11-12T09:51:05+00:00" > 11/12/24, 09:51 </span>
-
Anja Leichsenring commented <span data-processor="relativetime" data-value="2024-12-06T13:08:39+00:00" > 12/06/24, 13:08 </span>
-
Jochen Roth commented <span data-processor="relativetime" data-value="2026-07-15T10:29:06+00:00" > 07/15/26, 10:29 </span>
Please close
-
Benni Mack changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2026-07-29T12:18:08+00:00" > 07/29/26, 12:18 </span>
I do not agree with the assumption, that the extension setup command should operate on an empty database. The typo3 setup command takes care of that. So while I would like to see a more helpful error message that advises the user to setup the instance first, I would not expect (or allow) the extension setup command to take that task into its responsibility. It’s simply the wrong context.