ddev: ddev composer gives an error when starting a new Drupal 8

To Reproduce Steps to reproduce the behavior:

  1. Following https://ddev.readthedocs.io/en/latest/users/cli-usage/ Composer Setup Example
  2. Execute according to order in docs until you reach ddev composer create drupal-composer/drupal-project:8.x-dev --prefer-dist
  3. See error - Failed to create project:failed to load any docker-compose.*y*l files: <nil>, stderr=

Screenshots

image

Version and configuration information (please complete the following information):

  • Ubuntu 18
  • Docker version:
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea838
 Built:             Wed Nov 13 07:29:52 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea838
  Built:            Wed Nov 13 07:28:22 2019
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
  • ddev version:
DDEV-Local version	v1.12.1                                
commit            	v1.12.1                                
db                	drud/ddev-dbserver-mariadb-10.2:v1.12.0
dba               	drud/phpmyadmin:v1.12.0                
ddev-ssh-agent    	drud/ddev-ssh-agent:v1.12.0            
docker            	19.03.5                                
docker-compose    	1.25.0-rc4                             
os                	linux                                  
router            	drud/ddev-router:v1.12.0               
web               	drud/ddev-webserver:v1.12.1

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (26 by maintainers)

Most upvoted comments

(I’ve actually changed some of the other quickstarts to be like this, thought I’d done it with D8 too:

ddev config --project-type=drupal8 --create-docroot --docroot=web
ddev composer create...

And that skips the problem of changing the docroot back.

when executing ddev config --project-type drupal8

@leymannx Executing ddev config --project-type drupal8 doesn’t change the existing config.yaml for me. It stays as docroot: ""