When cloning CE and deploying on Gandi servers, following their own instructions, the process is aborted with the error mentioned in the title.
Preconditions
- Magento 2.2.1 CE
- PHP7.1
- MySQL 5.6
- Gandi.net servers - simple hosting instance
- Local machine is ubuntu 16.04 x64
Steps to reproduce
- Following directions from gandi.net here and here.
Following directions from gandi.net here and here.
- Enter following commands:
Enter following commands:
$ cd ~ $ mkdir [VHOST_NAME] $ cd [VHOST_NAME] $ git remote add gandi git+ssh://[USER_ID]@git.[SERVER].gpaas.net/[VHOST_NAME].git $ composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition htdocs $ git add . $ git commit -m 'Install Magento 2' $ git push gandi master $ ssh [USER_ID]@git.[SERVER].gpaas.net deploy [VHOST_NAME].git
$ cd ~
$ mkdir [VHOST_NAME]
$ cd [VHOST_NAME]
$ git remote add gandi git+ssh://[USER_ID]@git.[SERVER].gpaas.net/[VHOST_NAME].git
$ composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition htdocs
$ git add .
$ git commit -m 'Install Magento 2'
$ git push gandi master
$ ssh [USER_ID]@git.[SERVER].gpaas.net deploy [VHOST_NAME].git
Expected result
- 'Build complete' message should be seen in terminal.
Actual result
- Completed up to step 10 of 'Steps to reproduce' successfully.
- Step 11 fails with error message:
composer.json and composer.lock files should be placed outside the htdocs directory
.