Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer does not accept existing database (does not detect fresh install from console) #3658

Open
ecxod opened this issue Apr 10, 2024 · 1 comment
Labels

Comments

@ecxod
Copy link

ecxod commented Apr 10, 2024

PHP Version

any

Shopware Version

6.6.1.0

Expected behaviour

**If someone installs shopware using composer : **

php composer.phar create-project shopware/production shopware-prod

you get the following text :

  * Run Shopware locally:

    1. Adjust the .env file to your database
    2. Run ./bin/console system:install --basic-setup

so people will modify at this moment the dotenv file filling in the mysql data

btw : here is the info missing that the following folders must be writable by the web server

Datei/Verzeichnis Status
. writable
var/log/ writable
var/cache/ writable
public/ writable
config/jwt/ writable

at this moment the database gets populated.

then the install crashes because for some reason var/cache/._A96/url_matching_routes.php can not be deleted and then the install starts again (it is created by composer user, and can not be deleted by php user, normally they should not be the same for security reasons)

and when starting installation again from installer/database-import it does not detect that the database is populated already, asking one to delete the database.

Actual behaviour

it should detect that the database is already there and populated

How to reproduce

when making a fresh install

@ecxod ecxod added the Bug label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant