Questions tagged [ddev]

open source tool for setting up a local PHP development environment.

ddev is an open source tool for setting up a local PHP development environment, explicitly supporting Drupal, TYPO3, WordPress and Backdrop.

394 questions
2
votes
1 answer

How to fix curl_exec call hanging when Xdebug is enabled

I have a local ddev (docker based) PHP Drupal 7 development environment set up. I have set up Behat tests for this site utilizing the Behat Drupal Extension. All of the Behat context files and the associated composer vendor folder lives outside of…
tame4tex
  • 31
  • 3
2
votes
1 answer

Have two ddev containers curl to each other

I have both http://foo.ddev.local and http://bar.ddev.local (two different projects) I can use curl to call them on my host. Now I'd like foo to contact bar, however if I ddev ssh http://bar.ddev.local curl: (6) Could not resolve host:…
amitaibu
  • 1,026
  • 1
  • 7
  • 23
2
votes
2 answers

How can I use an elasticsearch add-on container/service with ddev?

How can I set up a service/container to provide elasticsearch with ddev? I have tried some experiments from https://ddev.readthedocs.io/en/latest/users/extend/additional-services/ but don't have enough docker-compose knowhow to do one for…
rfay
  • 9,963
  • 1
  • 47
  • 89
2
votes
1 answer

In TYPO3 8.7 composer install installs typo3 and index.php as a directory and file instead of as symlinks

Problem In TYPO3 8.7 composer install installs typo3 and index.php as a directory and file instead of as symlinks. Background I wanted to regenerate my vendor directory so did rm -rf vendor/ public/typo3conf/ext/* from a MINGW64 console with Admin…
god_is_love
  • 571
  • 5
  • 18
2
votes
1 answer

ddev start readlink /var/lib/docker/overlay2: invalid argument error

I am trying to install Drupal Commerce via composer. I have finished the installation but it requires DDEV for local development server and it depends on Docker. I installed both and when i try to start server with "ddev start", i got this error…
mehmetserif
  • 1,185
  • 7
  • 26
  • 48
2
votes
1 answer

SQLSTATE[HY000] [2002] Drush commands not working - DDEV vanilla Drupal 8 install

Just created a new Drupal 8 install using ddev, however, I'm having issues with drush. Whenever I run the command drush cr it returns the error: [error] SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: nodename nor servname…
mlemon
  • 23
  • 4
2
votes
3 answers

TYPO3 CMS automation gotchas

We are using git, composer, and are currently implementing DDEV for automated TYPO3 CMS deployment. But there are some manual processes that I don't know how to automate? How can we automate adding or removing of "Include static (from extension)"?…
god_is_love
  • 571
  • 5
  • 18
2
votes
2 answers

ddev/docker fails with "Failed programming external connectivity", Windows 10

ddev gets this nasty error in ddev start (Windows 10, Docker for Windows 18.03) ERROR: for ddev-xxx-db Cannot start service db: driver failed programming external connectivity on endpoint ddev-sanjacinto-db…
rfay
  • 9,963
  • 1
  • 47
  • 89
1
vote
1 answer

How can i resolve "unknown flag: --progress" error when ddev start?

I'm trying to start my drupal 9 site with ddev and I am having an error unknown flag: --progress The result when I type ddev version: ITEM VALUE DDEV version v1.22.0 …
1
vote
1 answer

`ddev composer create` failed - Docker Desktop for Linux

I am trying to install drupal 10 using ddev. I followed the instructions here: https://ddev.readthedocs.io/en/latest/users/quickstart/#drupal The process fails at step 5. $ ddev composer create drupal/recommended-project Warning: MOST EXISTING…
Ben Alan
  • 1,399
  • 1
  • 11
  • 27
1
vote
1 answer

How to add the pdflib extension in ddev's web container?

I'm wondering how we could add the php extension pdflib to the ddev's web container?
alpham8
  • 1,314
  • 2
  • 14
  • 32
1
vote
1 answer

ddev pull command errors at importing files from remote dev env

I am trying to setup DDEV on a Drupal 10 project pulled from Acquia Cloud Platform. Following the docs related to Acquia integration, I got to the point where the DB is imported as expected, but I get an error when pulling the files: Obtaining…
Alex_Dms
  • 157
  • 3
  • 11
1
vote
2 answers

WSL2 DDEV startup problem (Error response from daemon: Ports are not available)

I have a problem with DDEV. I'm running Docker Desktop 4.13.1, DDEV 1.21.3, WSL2, and Windows 11. After updating Docker Desktop 4.18.0 to and DDEV to 1.21.6, I encountered a problem with ports. There are several situations, but in each case, the…
Matthew
  • 49
  • 8
1
vote
1 answer

Sending API-requests between two docker containers

I have running a DDEV-Environment for Magento2, locally on my Mac OSX (Ventura) https://ddev.readthedocs.io/en/stable/users/quickstart/#magento-2 For testing purpose I included Nifi per docker-compose.yaml inside my ddev project…
y.y
  • 308
  • 4
  • 16
1
vote
1 answer

How to get web access when running DDEV in a Droplet using Jenkins/Jenkinsfile?

I provisioned a droplet with Jenkins/Docker/DDEV, the idea is to have Jenkins to run tests and provide a staging environment for multiple web projects. Each web project is already using DDEV to be used as a local dev environment. Ideally what I want…
Alimba
  • 113
  • 6