lukaszlach / magento-docker

:whale: Bootstrap Magento 1.9 / 2.1 installation in Docker with fully integrated Kibana, Grafana, Portainer, cAdvisor, Prometheus, MailCatcher and more
22 stars 19 forks source link

Install Script Breaks on Vanilla Clone of Repo #8

Open brandontamm opened 6 years ago

brandontamm commented 6 years ago

I keep banging my head against some issue during the magento2-install script. Seems to be that the mysql database cannot be connected. This is a straight git clone from your repo. Any ideas?

` Generating autoload files docker-compose run php_cli sh /srv/assets/magento2-install Starting memcache ... done Starting project ... done Starting mysql ... done SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

[InvalidArgumentException]
Parameter validation failed

setup:install [--backend-frontname="..."] [--key="..."] [--session-save="..."] [--definition-format="..."] [--db-host="..."] [--db-name="..."] [--db-user="..."] [--db-engine="..."] [--db-password="..."] [--db-prefix="..."] [--db-model="..."] [--db-init-statements="..."] [-s|--skip-db-validation] [--http-cache-hosts="..."] [--base-url="..."] [--language="..."] [--timezone="..."] [--currency="..."] [--use-rewrites="..."] [--use-secure="..."] [--base-url-secure="..."] [--use-secure-admin="..."] [--admin-use-security-key="..."] [--admin-user="..."] [--admin-password="..."] [--admin-email="..."] [--admin-firstname="..."] [--admin-lastname="..."] [--cleanup-database] [--sales-order-increment-prefix="..."] [--use-sample-data] [--magento-init-params="..."]

[08-May-2018 14:43:55 UTC] PHP Warning: require(app/etc/env.php): failed to open stream: No such file or directory in Command line code on line 2 [08-May-2018 14:43:55 UTC] PHP Fatal error: require(): Failed opening required 'app/etc/env.php' (include_path='.:/usr/local/lib/php') in Command line code on line 2 `