Hi i am new to ddev and Docker Desktop and i face a problem when i try to set a new dev environment for drupal 9 installation.
Even when i try a testdev
ddev poweroff
mkdir ~/tmp/testddev
cd ~/tmp/testddev
ddev config --auto
printf “<?php\nphpinfo();\n” > index.php
ddev start
i get the same message in terminal which i run as administator.
The error message is:
Failed to start project myproject: ComposeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-myproject docker-compose -f C:\Windows\System32\myproject\.ddev\.ddev-docker-compose-full.yaml up --build -d', action='[up --build -d]', err='exit status 17', stdout='#1 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built internal] load build definition from Dockerfile
#1 transferring dockerfile: 811B done
#1 DONE 0.0s
#2 [drud/ddev-webserver:20220808_yarn_crash-myproject-built internal] load build definition from Dockerfile
#2 transferring dockerfile: 1.24kB done
#2 DONE 0.0s
#3 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [drud/ddev-webserver:20220808_yarn_crash-myproject-built internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built internal] load metadata for docker.io/drud/ddev-dbserver-mariadb-10.4:v1.20.0
#5 DONE 0.0s
#6 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built 1/3] FROM docker.io/drud/ddev-dbserver-mariadb-10.4:v1.20.0
#6 DONE 0.0s
#7 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built 2/3] RUN (groupadd --gid 1000 "γιωργος" || groupadd "γιωργος" || true) && (useradd -l -m -s "/bin/bash" --gid "γιωργος" --comment '' --uid 1000 "γιωργος" || useradd -l -m -s "/bin/bash" --gid "γιωργος" --comment '' "γιωργος" || useradd -l -m -s "/bin/bash" --gid "1000" --comment '' "γιωργος")
#7 CACHED
#8 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built 3/3] RUN echo "Built on $(date)" > /build-date.txt
#8 CACHED
#9 [drud/ddev-webserver:20220808_yarn_crash-myproject-built internal] load metadata for docker.io/drud/ddev-webserver:20220808_yarn_crash
#9 DONE 0.0s
#10 [drud/ddev-webserver:20220808_yarn_crash-myproject-built 1/6] FROM docker.io/drud/ddev-webserver:20220808_yarn_crash
#10 DONE 0.0s
#11 [drud/ddev-webserver:20220808_yarn_crash-myproject-built 2/6] RUN (groupadd --gid 1000 "γιωργος" || groupadd "γιωργος" || true) && (useradd -l -m -s "/bin/bash" --gid "γιωργος" --comment '' --uid 1000 "γιωργος" || useradd -l -m -s "/bin/bash" --gid "γιωργος" --comment '' "γιωργος" || useradd -l -m -s "/bin/bash" --gid "1000" --comment '' "γιωργος")
#11 CACHED
#12 [drud/ddev-webserver:20220808_yarn_crash-myproject-built 3/6] RUN export XDEBUG_MODE=off; composer self-update --stable || composer self-update --stable || true; composer self-update --2 || composer self-update --2 || true
#12 CACHED
#13 [drud/ddev-webserver:20220808_yarn_crash-myproject-built 4/6] RUN chmod 600 ~γιωργος/.pgpass ~γιωργος/.my.cnf
#13 ...
#14 [drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built] exporting to image
#14 exporting layers done
#14 writing image sha256:d3f3be6c1875e246edbdbb073ab5b723c7047adc0ff1ab1316cefbf515e8bccb 0.0s done
#14 naming to docker.io/drud/ddev-dbserver-mariadb-10.4:v1.20.0-myproject-built done
#14 DONE 0.2s
#13 [drud/ddev-webserver:20220808_yarn_crash-myproject-built 4/6] RUN chmod 600 ~γιωργος/.pgpass ~γιωργος/.my.cnf
#13 0.389 chmod: cannot access '~γιωργος/.pgpass': No such file or directory
#13 0.389 chmod: cannot access '~γιωργος/.my.cnf': No such file or directory
#13 ERROR: executor failed running [/bin/sh -c chmod 600 ~γιωργος/.pgpass ~γιωργος/.my.cnf]: exit code: 1
------
> [drud/ddev-webserver:20220808_yarn_crash-myproject-built 4/6] RUN chmod 600 ~γιωργος/.pgpass ~γιωργος/.my.cnf:
#13 0.389 chmod: cannot access '~γιωργος/.pgpass': No such file or directory
#13 0.389 chmod: cannot access '~γιωργος/.my.cnf': No such file or directory
------
', stderr='failed to solve: executor failed running [/bin/sh -c chmod 600 ~γιωργος/.pgpass ~γιωργος/.my.cnf]: exit code: 1'