0

I'm trying to install Magento 2 on Debian-system from the command line.

And by running:

php magento setup:install --base-url="http://localhost/magento2" 
--db-host="localhost" --db-name="magento2_db" --db-user="magento2_user" 
--db-password="*password" --admin-user="admin" 
--admin-password="*password" admin-firstname="admin" 
--admin-lastname="user" --use-sample-data --cleanup-database

I'm getting only:

[RuntimeException]
Too many arguments.

viewed that question Magento 2 command line install (too many arguments) too, but cant help me further...

1

Add -- before admin-firstname to resolve the issue.

like

php magento setup:install --base-url="http://localhost/magento2" 
--db-host="localhost" --db-name="magento2_db" --db-user="magento2_user" 
--db-password="*password" --admin-user="admin" 
--admin-password="*password" --admin-firstname="admin" 
--admin-lastname="user" --use-sample-data --cleanup-database
  • thanks, can´t tell why didnt seen it >.< getting next errors now... however that one issue has gone! thanks :D – Wollhaar Sep 19 '17 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.