shopwareArchive / shopware-platform-vagrant

DEPRECATED: A Vagrant setup ready for shopware platform development
22 stars 14 forks source link

Error during shopware 6 installation on executing psh.phar install #25

Open Aghniya26 opened 3 years ago

Aghniya26 commented 3 years ago

i got error when execute psh.phar instal. i'm using vagrant and virtualbox to install shopware 6 on windows.

TASK [shopware-dev : execute psh.phar install] ***** fatal: [default]: FAILED! => {"changed": true, "cmd": ["./psh.phar", "install"], "delta": "0:03:03.062738", "end": "2020-09-29 17:06:39.754066", "msg": "non-zero return code", "rc": 1, "start": "2020-09-29 17:03:36.691328", "stderr": "", "stderrlines": [], "stdout": "\n###################\n\nSHOPWARE Developer Version\n\n \n | |\n _| |_ \n / | ' \ / \| ' \ \ /\ / / ` | '/ \\n \_ \ | | | () | |) \ V V / (| | | | /\n |/| ||\_/| ./ \/\/ \,|| \_|\n | |\n |_|\n\nUsing .psh.yaml.dist extended by .psh.yaml.override \n\nStarting Execution of 'install' ('/home/vagrant/shopware-dev/dev-ops/common/actions/install.sh')\n\n\n(1/38) Starting\n> php dev-ops/generate_ssl.php\n\t\n(2/38) Starting\n> composer install --no-interaction --optimize-autoloader --no-suggest --no-scripts\n\tLoading composer repositories with package information\n\tUpdating dependencies (including require-dev)\n\t\n\tIn RemoteFilesystem.php line 305:\n\t \n\t Content-Length mismatch, received 173472 bytes out of the expected 604078 \n\t \n\t\n\tinstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...\n\t\n\t\nExecution aborted, a subcommand failed!", "stdoutlines": ["", "###################", "", "SHOPWARE Developer Version", "", " ", " | |", " _| |_ ", " / | ' \ / \| ' \ \ /\ / / ` | '/ \", " \_ \ | | | () | |) \ V V / (| | | | /", " |/| ||\_/| ./ \/\/ \,|| \_|", " | |", " |_|", "", "Using .psh.yaml.dist extended by .psh.yaml.override ", "", "Starting Execution of 'install' ('/home/vagrant/shopware-dev/dev-ops/common/actions/install.sh')", "", "", "(1/38) Starting", "> php dev-ops/generate_ssl.php", "\t", "(2/38) Starting", "> composer install --no-interaction --optimize-autoloader --no-suggest --no-scripts", "\tLoading composer repositories with package information", "\tUpdating dependencies (including require-dev)", "\t", "\tIn RemoteFilesystem.php line 305:", "\t ", "\t Content-Length mismatch, received 173472 bytes out of the expected 604078 ", "\t ", "\t", "\tinstall [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...", "\t", "\t", "Execution aborted, a subcommand failed!"]}

PLAY RECAP ***** default : ok=30 changed=27 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

any idea how to fix this issue?

katjabmh commented 3 years ago

Same error message for me

flohessling commented 3 years ago

Sorry for the late response!

From the log you posted i can only see that there was a problem while installing dependencies via composer but not the exact package where it failed to load or install.

I just tested the setup with Shopware v6.3.5.0 and it is working. Maybe it was a temporary network issue so that composer could not load the packages required? But that is just a guess from my side.

babita-web commented 3 years ago

Hi, I am having same error, any solution please....

maxout commented 3 years ago

Same error message for me

flohessling commented 3 years ago

The latest Shopware updates break this setup. Maybe this is what you are experiencing. Since there is a better solution to set up a development environment (also on Windows) we recommend using https://dockware.io