shopware / development

MIT License
189 stars 170 forks source link

SW 6 installation in step 6/52 get an error #169

Closed tannazvhd closed 2 years ago

tannazvhd commented 2 years ago

Please describe the feature you would like to see implemented.

I have ubuntu on AWS server. I have followed the quide in this link: https://docs.shopware.com/en/shopware-6-en/tutorials-and-faq/virtual-box-setup

after running the command : php bin/setup it tries to install Shopware but at the 6th step I get this error:

Starting Execution of 'install' ('/var/www/html/sw6/dev-ops/common/actions/install.sh')

(1/52) Starting

php dev-ops/generate_ssl.php Private/Public key already exists. Skipping (2/52) Starting if [ -d "var/cache" ]; then find var/cache -maxdepth 1 ! -name cs_fixer ! -name phpstan ! -name psalm ! -wholename var/cache -exec rm -rf {} \;; fi

(3/52) Starting

rm -rf vendor/shopware

(4/52) Starting

rm -rf composer.lock

(5/52) Starting

rm -rf dev-ops/analyze/vendor

(6/52) Starting

composer update --no-interaction --optimize-autoloader --no-scripts Loading composer repositories with package information Updating dependencies Killed

Execution aborted, a subcommand failed!

Can you please help me in this cse, I could not find any relevant solution for it.

Thanks

shyim commented 2 years ago

How much memory does have that machine?

tannazvhd commented 2 years ago

8 Gb

shyim commented 2 years ago

Killed happens mostly due memory issues. Try always with the latest Composer version and not the OS provided one https://getcomposer.org/download/