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

cURL error 60: SSL: no alternative certificate subject name matches target host name. Inter-project communication

So I'm still in the process of updating a Drupal 7 site to 8 using drush and ddev. After running the import, I get an error with upgrade_d7_file. I've tried to install a certificate using this…
Mark
  • 75
  • 1
  • 7
2
votes
1 answer

Using Docker Compose to expose DDEV web container ports to host machine

I have configured a DDEV Drupal environment in which I need to run Pattern Lab for my theme. This environment will be used by students of mine who may not be well-versed in installing Node or Node dependencies tools on their local computers…
2
votes
2 answers

Using xdebug with drush command

I have two Drupal codebases. On the first, I can hit a specific breakpoint through both the browser and through a drush command. On the second, I can hit the breakpoint only through the browser. The drush command finishes successfully without…
csmdgl
  • 21
  • 2
2
votes
2 answers

How can I update the composer version that is being used inside my ddev containers?

Currently my docker/ddev setup is running Composer version 1.10.6 2020-05-06 inside the container. I would like to make the composer version inside the container be 1.10.7 2020-06-03. I found one way to do it: ddev exec sudo composer self-update,…
LeraA
  • 241
  • 1
  • 4
  • 13
2
votes
3 answers

Install a specific node version with ddev and keep in container

What is the recommended way to do the follwing: install a specific version of node in a ddev container so it persists (after ddev stop/start) and every user that downloads and builds the container gets the right node version? The idea behind it…
Urs
  • 4,984
  • 7
  • 54
  • 116
2
votes
1 answer

Add global phpcs and drupal/coder to ddev in custom Dockerfile

Following the examples in https://www.ddev.com/ddev-local/customizing-ddev-local-images-with-a-custom-dockerfile/ and the example Docker file, I tried to composer global require drupal/coder: ARG BASE_IMAGE=drud FROM $BASE_IMAGE RUN composer global…
amitaibu
  • 1,026
  • 1
  • 7
  • 23
2
votes
1 answer

In DDEV how can I install non-Debian packages like PECL, npm, pip, etc

I want to install some software like a MySQL CLI tool and the docs say .ddev/config.yaml can be edited to add extra debian packages... but what about non-debian packages? How do you install something that would normally be installed via pip install…
alec
  • 345
  • 3
  • 14
2
votes
1 answer

How can I install a pecl extension like mcrypt in DDEV's web container?

In PHP 7.2 and higher the mcrypt extension is no longer available, but my project depends on it. I know that the project shouldn't be using something as ancient as mcrypt, but I don't have any say in this. I know that mcrypt was removed from PHP7.2+…
rfay
  • 9,963
  • 1
  • 47
  • 89
2
votes
1 answer

Web command to pass arguments to ddev exec?

Nowadays most CMS provide some kind of cli interface, like ./typo3cms or in the case of craft ./craft. Instead of running ddev exec ./craft do/something, I'd like to add a web command craft that tunnels that do/something, so I can just write ddev…
Urs
  • 4,984
  • 7
  • 54
  • 116
2
votes
1 answer

ddev start: web container failed (macOS Catalina using Documents folder for site)

when entering ddev start in terminal, i get the error Failed to start xxx: web container failed: log=, err=container exited, please use 'ddev logs -s web` to find out why it failed the error log goes ... + disable_xdebug Disabled xdebug + ls…
honk31
  • 3,895
  • 3
  • 31
  • 30
2
votes
1 answer

DDEV: Sequelpro throws an "unrecognized selector" error when I open it with the ddev sequelpro command

Ever since I changed my ddev config to use mysql_version: "8.0" the ddev sequelpro command opens sequelpro but I get an unrecognized selector sent to instance 0x600000329640 error after sequelpro opens. Is there a known solution to this problem?
Ryan McVeigh
  • 161
  • 5
2
votes
1 answer

ddev: how to modify database credentials

ddev has these default settings: database: db dbuser: db password: db I thought it should be possible to provide customized values for that (I know it doesn't make too much sense, but still). I was looking for these settings in config.yaml, but no…
Urs
  • 4,984
  • 7
  • 54
  • 116
2
votes
2 answers

Mount DDEV database to host filesystem instead of inside docker volume

I've a project with a large database (more or less 50GB) and since i have to run also other projects with docker/ddev this could be a problem, i for sure can make the size of the docker disk but i wanted to know if it's possible for a certain…
Francesco
  • 55
  • 7
2
votes
1 answer

How to ignore phpstatus.php connection in Xdebug + PhpStorm while working with local projects with DDEV?

I receive redundant incoming connections from Xdebug (request uri: /phpstatus, file path on server: /var/www/phpstatus.php) while working with DDEV despite there are not breakpoints in the phpstatus.php file.
nozdrin
  • 81
  • 7
2
votes
1 answer

How do I get web browsers in third-party containers in DDEV to accept my mkcert SSL certificate?

I'm using DDEV 1.8.0. I run Behat tests using justinribeiro/chrome-headless. It's included in my DDEV project via an additional Docker Compose file called docker-compose.chrome.yaml. These are the contents: --- version: '3.6' services: chrome: …
wizonesolutions
  • 577
  • 3
  • 15