Closed Tee-Ohh closed 2 years ago
I found the problem. The two files dev-ops\storefront\actions\build.sh
and dev-ops\storefront\actions\hot-proxy.sh
use as line end sequence CRLF instead of LF. After changing this, the setup script executed successfully. It would be nice, if the wrong line end sequence can be changed for this files. Thank you very much.
All files are there already LF. It has to be done something with your setup. See https://github.dev/shopware/development/blob/d957005e413a19b37cbe9925fd313dfb478e08e8/dev-ops/storefront/actions/build.sh#L9
PHP Version
7.4.27
Shopware Version
6.4.6.1
Expected behaviour
The setup script bin/setup of the development installation should finish successfully through all the steps.
Actual behaviour
The setup script bin/setup of the development installation failed at step (39/45) Starting
The dev.log show the following error:
console.CRITICAL: Error thrown while running command "'bundle:dump '". Message: "Command "bundle:dump " is not defined. Did you mean one of these? administration:dump:features bundle:dump feature:dump framework:dump:class:schema server:dump state-machine:dump theme:dump" {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"bundle:dump\r\" is not defined.\n\nDid you mean one of these?\n administration:dump:features\n bundle:dump\n feature:dump\n framework:dump:class:schema\n server:dump\n state-machine:dump\n theme:dump at /var/www/development/vendor/symfony/console/Application.php:682)","command":"'bundle:dump\r'","message":"Command \"bundle:dump\r\" is not defined.\n\nDid you mean one of these?\n administration:dump:features\n bundle:dump\n feature:dump\n framework:dump:class:schema\n server:dump\n state-machine:dump\n theme:dump"} []
How to reproduce
Make a new development installation:
cd /var/www/
git clone https://github.com/shopware/development.git
cd development/
Switch to version 6.4.6.1 or 6.4.6.0 from trunk.
bin/setup