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
0
votes
1 answer

DDEV and NGINX: mixed content problem with images over SSL

I am using a custom PHP project with DDEV. The project uses NGINX as a server with two different doc roots: One doc root hosts the website code, the second is used as a CDN. The doc roots are accessible with two…
solitud
  • 683
  • 5
  • 15
0
votes
2 answers

Running ddev with colima in external hard disk or anywhere besides home directory

I'm trying to run ddev outside my home directory. Colima is the docker platform. I'm wondering how I am able to make it fully run in an external hard disk. I've added a Drupal9 site in my external hard disk and ran ddev config. I then started it…
0
votes
0 answers

ddev start - shows operation not permitted

Installed DDEV to use to run our local server. On my local github repo folder, I run the following $: ddev start this shows the following error below: Adding custom/shell commands failed: Failed to chmod file…
0
votes
1 answer

DDEV with WSL2: Browser on Windows can't access DDEV project in WSL2

Hello after installing Ddev and ddev config under wsl2 Windows my domain is not accessible in the Windows browser. I installed Mkcert according to the instructions. Do I have to consider anything else?
user19263794
0
votes
1 answer

Drush in ddev returns BadRequestHttpException

When I try and run any drush commands within ddev (even just drush itself), I get a BadRequestHttpException. My drush version is 11.0.9 . I have tried ddev restart, ddev stop/start, and ddev delete; all have the same outcome. I ran ddev composer…
PartyHatPanda
  • 712
  • 8
  • 14
0
votes
1 answer

DDEV IMPORT-DB: failed to extract provided archive: error during read of tar archive | err: archive/tar: invalid tar header

I am trying to import a mySQL database using DDEV but I am running into the following error: ddev import-db --src=.ddev/imports/db/hfweb.tar.gz Failed to import database db for hfweb: failed to extract provided archive: error during read of tar…
0
votes
1 answer

How to use ddev commands in its own exec-host hooks for an automated backup

I've made a custom command to my ddev, creating a database backup with a single command (yes, I'm lazy, sorry). I was thinking if there's some way to hook a ddev command, e.g. ddev poweroff to run another command or command sequence together. The…
0
votes
1 answer

DDEV: Laravel + Vite + Websockets with Soketi - trouble with port configuration

I am trying to get a local ddev setup working with the stack: Apache PHP 8.1 Laravel 9 Vite Soketi for WebSockets I am confused on how to configure ports on ddev, and which host/port i should use on the frontend. .ddev/config.yaml name:…
Alex
  • 171
  • 2
  • 9
0
votes
1 answer

Docker Volumes lost (and DDEV databases) during OS upgrade

About a month ago I created a Drupal 9 instance using DDEV. It was fast and easy! I spent about 8 hours over several user sessions on my Linux laptop customizing my content types and views. Last week I upgraded my Pop! OS (Ubuntu-like) laptop, and…
baisong
  • 57,052
  • 1
  • 15
  • 7
0
votes
1 answer

Visual Studio Code DDEV and auto reload on Linux

I'm using DDEV with Visual Studio Code and I tried to configure Live Server Extension to automatically auto reload page that I'm working on in Chrome when I hit save in VSC, but it doesn't seem to work with PHP. Is there a way to configure this to…
Mountain Spring
  • 87
  • 1
  • 1
  • 7
0
votes
2 answers

Corporate network: `ddev composer create` results in "ssl certificate error"

I'm running ddev under wsl2. I'm behind the zscaler proxy. I was able to copy the zscaler cert to ubuntu "/usr/local/share/ca-certificates" and ran "sudo update-ca-certificates". After that i was able to install homebrew and ddev. However, when i…
kevin
  • 1
  • 1
0
votes
1 answer

`ddev magento` results in `permission denied: unknown`

After running ddev start I cannot run magento commands from outside of the container. % ddev magento OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec:…
Julime
  • 3,050
  • 2
  • 11
  • 21
0
votes
0 answers

Why composer fails to set CodeSniffer in a clone of a Magento2 project?

I cloned a repo through bitbucket, it's a Magento2 project. Here's some specifics: I'm using ddev along with docker in a Windows environment. I've used Ubuntu v18.04 php v7.4.1 composer v2 Now, I'm able to run ddev start and it returns me three…
D.D.
  • 99
  • 10
0
votes
1 answer

How do I reach a ddev site from LAN with docker-ce in an WSL2 enviroment?

When configuring ddev with a project TLD it becomes unreachable when replacing "docker desktop" with "docker-ce". project_tld: testing How can I reach the project again from my local machine and from our company LAN?
F.Leudts
  • 181
  • 1
  • 9
0
votes
2 answers

ddev import-db "ERROR at line 4200: ASCII '\0'" on Windows

I host my site on bluehost. I use ssh mysqldump to export database. It is unzipped or tarred. Then I use the ddev import-db and this is the error I get ddev import-db --src=.tarballs/xxx4_2_2022.sql ERROR at line 4200: ASCII '\0' appeared in the…
bobo
  • 71
  • 9