Quickstart instructions yield errors
Started with the Quick Start to see how easy it was to get the base up and running and ran into the following errors:
Installing magento/project-community-edition (2.1.7)
[InvalidArgumentException]
Project directory /var/www/magento/ is not empty.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
Install Magento
chmod: cannot access '/var/www/magento/bin/magento': No such file or directory
sudo: /var/www/magento/bin/magento: command not found
chmod: cannot access '/var/www/magento/bin/magento': No such file or directory
sudo: /var/www/magento/bin/magento: command not found
chmod: cannot access '/var/www/magento/bin/magento': No such file or directory
sudo: /var/www/magento/bin/magento: command not found
Fixing file permissions..
find: `/var/www/magento/pub': No such file or directory
find: `/var/www/magento/pub': No such file or directory
find: `/var/www/magento/var/generation': No such file or directory
Also I noticed it was attempting to download CE, yet we are running EE, is there a setting to change this?
Thanks for trying out the images and I'm sorry they've caused problems right out of the door. My next step on this is to try the commands in the readme out to make sure that they work for me. I'll do that as soon as I can.
To answer your EE comment, it's currently hardcoded to use the community edition. I've opened #88 to add support.
Any update to this? We're having the same problems here.
Just to update, my issue was resolved by deleting the "magento" folder and letting the script recreate it. I had originally been clearing the contents of the folder and opening up permissions, but completely deleting the folder solved this.
So the problem is in the README: mkdir magento
If you leave that step out everything works fine.
@joekohlsdorf - Thank you for this. This worked.
In my case I had wrong credential in composer.env
http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html
generate magento auth public and private key, then pasted the public key into the username and the private key in as the password. Then as mentioned in above comments delete magento dir and run docker-compose run cli magento-installer again.
Thanks