Comments (5)
I cannot confirm that, as I implemented the feature to select a DB a few weeks ago. I worked for me back then on a TYPO3 6.2
Any hints how to reproduce?
from typo3-console.
ah, wait, you're using this specific command on an existing TYPO3 installation?
No this does not work and is not supported. The only supported command is typo3cms install:setup
calling any of the sub commands can lead to unexpected results. They are not meant to be called directly.
from typo3-console.
I have that problem exactly with typo3cms install:setup
. Currently don't know when it happens because I'm playing around with docker. But looks like the problem is if the database exsists with all its tables but there is no LocalConfiguration.php you can't set it up with typo3cms install:setup
because the database name is not added to the LocalConfiguration.
from typo3-console.
I've now tested that agin.
Steps to reproduce:
- setup a typo3 installation with
php typo3cms install:setup
- execute the step again
php typo3cms install:setup
- everthing is still fine - remove the LocalConfiguration.php
rm typo3conf/LocalConfiguration.php
- run the setup task again (which should at least create the LocalConfiguration.php with the database credentials).
- You'll get an error as the generated LocalConfiguration.php does not contain the DatabaseName.
Or another way to reproduce this is to import an exsisting database dump and then try to create a typo3 installation pointing to this database with the commands above.
from typo3-console.
But looks like the problem is if the database exsists with all its tables but there is no LocalConfiguration.php you can't set it up with typo3cms install:setup because the database name is not added to the LocalConfiguration.
This is not a console issue, but a core issue. The install tool setup code cannot use databases that are not empty. You just cannot select them in the Install Tool UI.
The only typo3_console issue here is, that in that case maybe an exception should be thrown and an error message should be presented to the user.
I close this now in favor of #49
from typo3-console.
Related Issues (20)
- PageRenderer::setCache(); does not exist anymore. HOT 2
- Replace typo3cms in documentation HOT 1
- Please output error message HOT 6
- Version 8.0.0 prevents update to TYPO3 11.5.25 HOT 1
- Mark current version of typo3_console incompatible with TYPO3 11.5.26 HOT 5
- blocking mail configuration in TYPO3 v12 HOT 4
- Error in /Classes/Console/Command/Configuration/ConfigurationRemoveCommand.php in line 28 HOT 1
- setup is failing in some cases HOT 11
- PHP Fatal error exception after `typo3 extension:setup` call HOT 3
- Return type declaration must be compatible with TextDescriptor - symfony/console 6.3 HOT 1
- Only core upgrade commands available HOT 3
- MySQL SSL support HOT 2
- Support Database URLs as Connection Configuration HOT 3
- Speed up database compare HOT 4
- TYPO3 v12 - InstallFixFolderStructureCommand::getStructure() HOT 2
- Command extension:setupactive fails on 7.x HOT 4
- `install:setup` fails at `Set up database`, succedes when run a second time HOT 11
- Command install:fixfolderstructure requires fileadmin folder HOT 5
- Dependency to typo3/cms-composer-installers ^4.0@rc changes composer behaviour in TYPO3 11.5 HOT 1
- TYPO3 13 compatibility HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typo3-console.