Giter Club home page Giter Club logo

Comments (5)

helhum avatar helhum commented on June 30, 2024

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.

helhum avatar helhum commented on June 30, 2024

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.

sascha-egerer avatar sascha-egerer commented on June 30, 2024

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.

sascha-egerer avatar sascha-egerer commented on June 30, 2024

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.

helhum avatar helhum commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.