Questions tagged [ddev]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Using DDEV in WSL without being Win admin

We have a Win 11 PC used by a developer (Jhon) and administered by an IT admin (Frank). On this PC we have WSL, on which runs Ubuntu (administered directly by Jhon), on which runs DDEV. When Jhon ...
Francesco Pesce's user avatar
1 vote
0 answers
9 views

Spatie/Ray package within a wordpress plugin

I'm having issues getting the spatie/ray package up and running within a ddev wordpress site. I am currently working on a plugin, and have spatie/ray included with composer as a dev dependency. The ...
Liquidonthedrums's user avatar
0 votes
1 answer
23 views

DDEV ERROR 1049 (42000): Unknown database 'db'

I accidentally deleted my default db database without re-creating it, but had exit the container and now I can't ddev ssh into the project or even connect to mysql. Project is not currently running. ...
baikho's user avatar
  • 5,225
-1 votes
0 answers
36 views

Getting invalid mount config for type "bind": bind source path does not exist in docker?

Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/www/krishna Failed to start krishna: ComposeCmd failed to run 'COMPOSE_PROJECT_NAME=...
Hetvi Dudhela's user avatar
0 votes
1 answer
45 views

How can I add a secondary group to the user of the docker container with ddev?

When starting a container through a ddev project, the user id and primary group id are replicated from the host into the container. How can I also replicate the group ids for the secondary groups in ...
natuk's user avatar
  • 1
0 votes
0 answers
28 views

DDEV Router Unhealthy State in TYPO3 Setup: Health Check Timed Out

I am setting up a TYPO3 project using DDEV. I've successfully configured the project and started all the containers, except for ddev-router, which is stuck in an unhealthy state. I've tried debugging ...
Liné cuse's user avatar
-2 votes
1 answer
38 views

I need to add an SSH key to run inside my DDEV Docker container

I have just pulled a repo from BitBucket and attempted to run 'composer install' from inside my docker terminal. The composer.json file has additional respository dependancies which need to be pulled ...
DieselHashtag's user avatar
0 votes
1 answer
54 views

404 Page not found on ddev TYPO3 installation

I have herited a project that is running good on the client side. The website is a TYPO3 Based on ddev composer setup. When i started the containers and go to the website url (backend or frontend) it ...
Mohamed Masmoudi's user avatar
0 votes
1 answer
24 views

DDEV Share not loading images or CSS on Craft CMS

I am trying to use the Ddev share command to view my local Craft sites on seperate devices using the ddev share command. The share url is working however my site is only loading the html and not ...
Matt B's user avatar
  • 11
0 votes
1 answer
51 views

DDEV install - your installed WSL2 distro does not seem to be Ubuntu

I'm trying to install DDEV, along with Docker Desktop, on Windows 11 using the instructions provided on this web page. I have verified that I have an Ubuntu distro set as default: PS C:\Users\USER> ...
Kim's user avatar
  • 33
0 votes
1 answer
44 views

ddev not starting correctly

I am new to ddev and am using mac os 13. I used the following tutorial. https://ddev.com/get-started/ But when I run the ddev start command, ddev doesn't work properly. Related to this, the docker ...
Madhawa's user avatar
  • 134
-1 votes
1 answer
36 views

How can I install Moodle with DDEV?

I was trying to install Moodle LMS using ddev. -- The problem is that Moodle requires mariadb 10.6, whilst ddev only supports mariadb 10.4. Steps tried: change the .ddev/config.ph docker file from 10....
user3871979's user avatar
0 votes
1 answer
27 views

Is it possible to store a ddev snapshot in a different place?

Looking the docs and the web, I didn't find an answer for that. I would like to change by default the place where the ddev snapshots are stored without a symlink to a different folder. Is that ...
pmichelazzo's user avatar
0 votes
2 answers
42 views

ddev with RaspberryPi 4 and Ubuntu Server 22?

I got some new Raspberry Pi 4 with 8GB ram to replace some mini servers that I have in my office network. Normally I use the Ubuntu Server 22.04 (jammy) on my mini servers and ddev works well. ...
pmichelazzo's user avatar
0 votes
1 answer
138 views

Why is my new ddev Drupal 10 project failing to start?

I have many ddev projects on my Mac. This is the first where I'm starting a new Drupal 10 project rather than upgrading a Drupal 9 site. I clone the Pantheon repo cd to the repo composer install ddev ...
JAyenGreen's user avatar
  • 1,385
1 vote
1 answer
119 views

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 ...
Martin Sanchez's user avatar
0 votes
1 answer
104 views

Shopware 6.5 Twig Exceptions: Blank Page instead of Symfony Error Page

Twig Exceptions not displaying as Error Page in Shopware 6.5 using DDEV I initialized a new Shopware 6.5 Project with ddev using the symfony flex template. Normally, any exception in the symfony-...
FriedrichKeydel's user avatar
0 votes
1 answer
27 views

Camunda and Drupal Integration File Not found

I am working with drupal camunda integration. I have used DDEV for the setup of Drupal. my system version are: Drupal version 10.1.1, Web Server Nginx/1.22.1, PHP Version 8.1.16 Database Version 10.4....
enstazao's user avatar
  • 121
0 votes
0 answers
32 views

Wordpress Elementor Upload on another Server resets CSS Styles

Hey I have a ddev instance of my wordpress website. If I Upload my stuff via phpmyadmin and SFTP to a Webhost called one.com or Ionos.de, everything works fine and styles are loaded. As soon as I try ...
Fynn Menk's user avatar
0 votes
1 answer
682 views

Could not connect to a docker provider. Please start or install a docker provider

I am installing Drupal on Linux(Ubuntu 20.04) using ddev. ddev requires docker installed and in Ubuntu, I can connect with docker using sudo. If I want to check for the running container I will use ...
enstazao's user avatar
  • 121
0 votes
1 answer
79 views

Including wp-config.local.php file

I have followed the setup instruction for local development of a wordpress project. I am wanting to define some additional constants in wp-config.php, but referring to the documentation at https://...
Liquidonthedrums's user avatar
1 vote
1 answer
71 views

`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/...
Ben Alan's user avatar
  • 1,401
0 votes
1 answer
60 views

DDEV OCI runtime exec failed (TYPO3 `ddev typo3cms` command)

Recently I have issues with DDEV. It’s across different git repositories, so I think that has to do with DDEV or Colima. ddev version v1.21.6 colima version 0.5.5 macOS Ventura 13.4.1 Macbook Pro M1 ...
Florian's user avatar
  • 21
1 vote
1 answer
46 views

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's user avatar
  • 1,312
0 votes
1 answer
31 views

DDEV: Vanilla WordPress config creates port 80 conflict between web and dba containers

Following these simple instructions I've created a vanilla WordPress installation of DDEV. However, when I try to start it, I get the error Failed to start MYSITE: Unable to listen on required ports, ...
Tyler V.'s user avatar
  • 2,481
0 votes
1 answer
114 views

Why is connection refused to database in ddev?

For: $conn = new mysqli('127.0.0.1', 'db', 'db', 'db'); I get: mysqli_sql_exception: Connection refused And for: $conn = new mysqli('localhost', 'db', 'db', 'db'); I get: mysqli_sql_exception: No ...
therobyouknow's user avatar
1 vote
1 answer
128 views

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 ...
Alex_Dms's user avatar
  • 157
-1 votes
1 answer
90 views

How to change ddev php container docroot path from /var/www/html

I need to change the docroot path that ddev sets up in the php container because I have some code that has already had an html folder in its source and bespoke include path determination is not ...
therobyouknow's user avatar
0 votes
0 answers
28 views

The host Kernel kills mysql:5.6 container (Arch Linux)

When trying to start a project with MySQL 5.6, the ddev health check for the db container fails. mkdir ddev-test-mysql56 && cd $_ ddev config --database mysql:5.6 ddev start $ ddev start ...
Jonas Eberle's user avatar
  • 2,835
0 votes
1 answer
291 views

WSL2 with Docker Desktop: ddev.exe not found in $PATH, please install it on Windows side;

I am trying to start a ddev environment using the command ddev start, but I keep getting the error message ddev.exe not found in $PATH please install it on Windows side; err=exec: "ddev.exe":...
Seppel's user avatar
  • 3
0 votes
1 answer
201 views

PhpStorm and Docker - Unable to configure the Remote PHP interpreter (Failed to parse script validation output)

I'm using Docker composer with a PHP. When trying to set the interpreter I choose Docker compose and connecting with existing container and then it fails with the error Failed to parse script ...
Minal's user avatar
  • 11
0 votes
1 answer
166 views

Magento2: 503: No ddev back-end site available

I am trying to install magento on my linux machine. I am using ddev quick start for magento . https://ddev.readthedocs.io/en/stable/users/quickstart/#magento-2 I am getting the following error for ...
jazyac's user avatar
  • 3
-1 votes
1 answer
51 views

ecryptfs: DDev Magento linux quick start setup failing on "file name too long"

Ubuntu details: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS" I am trying to install magento on my linux machine. I am using ddev ...
jazyac's user avatar
  • 3
-1 votes
1 answer
255 views

Trouble connecting to the database in a Craft CMS project with DDEV and TablePlus, how can I fix this?

I'm trying to upgrade from Craft CMS 3 to Craft CMS 4 and am running into some issues. I am trying to migrate my project in Craft 3 from using MAMP Pro to ddev and had some success in the start. I ...
SebastianN's user avatar
2 votes
1 answer
161 views

DDEV/PhpStorm - invalid ddev-docker-compose-full.yaml

DDEV/PhpStorm - invalid ddev-docker-compose-full.yaml I'm trying to setup PhpStorm CLI interpreter and face this... I found that PhpStorm has/had problems with docker-compose2, but did not find a ...
sv3n's user avatar
  • 319
0 votes
1 answer
177 views

TYPO3 installation via Docker and DDEV: How can I resolve the never-ending loading after entering my TYPO3 admin details in the TYPO3 install tool? [duplicate]

I have created a local installation of TYPO3 using Docker and DDEV but can't get past the Install Tool. After I enter the details for my administrative user and click continue, it just loads forever. ...
Paradonix's user avatar
0 votes
1 answer
82 views

DDEV fails writing TRANSACTION ISOLATION LEVEL on Drupal9+ on mysql 5.7

I am facing an issue where "SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED" set in the database get overwritten in DDEV to REPEATABLE-READ either on restart or restore. It's a multi ...
Thomas's user avatar
  • 11
0 votes
1 answer
38 views

Why do I have to re-install HubSpot's CLI under DDEV every time it restarts?

I'm working on a custom HubSpot theme for a client, making changes locally and using the HS CLI to watch and upload any changes it sees. I'm also under Windows, so I'm using DDEV under WSL 2 for the ...
Sandwich's user avatar
  • 475
0 votes
1 answer
292 views

DDEV is there a command to (re-)create an empty database?

I've dropped the default database db and was not able to restart DDEV anymore and got some errors about not-existing DB. Used ddev delete to re-start. Is there a command that just created default DB?
sv3n's user avatar
  • 319
0 votes
0 answers
45 views

DDEV - Setup PHP Intelephense on VSCode on a DDEV installed in WSL Ubuntu

I'm working in a project with DDEV, with VS Code, using WSL:Ubuntu. Everything is working fine, but I need to use PHP Inteliphense plugin and I can't set it up. I don't know where the php is installed ...
Zagaz's user avatar
  • 31
1 vote
2 answers
530 views

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 ...
Matthew's user avatar
  • 49
0 votes
1 answer
226 views

"no .ddev\config.yaml file was found in this directory or any parent"

What should I do when I get the error Failed to get project(s): could not find a project in [directory path]. Have you run 'ddev config'? Please specify a project name or change directories: no .ddev\...
Krishna Chandr Pandey's user avatar
0 votes
1 answer
121 views

Problems with ddev after upgrade to 1.21.6 - launch-file empty

After updating my ddev to v. 1.21.6 I can't start my projects anmyore. I get this error: Failed to run launch ; error=fork/exec /path/to/my/project/.ddev/.global_commands/host/launch: exec format ...
Swissdude's user avatar
  • 3,496
0 votes
1 answer
228 views

How to increase DDEV router gateway timeout?

I've got a poorly written PHP script, which takes several minutes to prepare the HTML output. I tried to run this script in DDEV, but always hit the Gateway Timeout. To avoid this, I want to increase ...
Armin's user avatar
  • 15.6k
0 votes
1 answer
189 views

`ddev auth ssh` (failed: exit status 1)

When I run ddev auth ssh, I see the following: Docker command 'docker [run -it --rm --volumes-from=ddev-ssh-agent --user=501 --entrypoint= --mount=type=bind,src=/Users/xxxx/.ssh,dst=/tmp/sshtmp drud/...
Maylene's user avatar
  • 21
0 votes
2 answers
58 views

The root path .../dir/ is not readable - DDEV on WSL2

Installed DDEV on my Windows machine (Ubuntu on WSL2), cloned CMS (ExpressionEngine) files from github, created a DDEV project (php), downloaded contents of my img/ folder from production server... ...
shbchk's user avatar
  • 3
-1 votes
1 answer
627 views

DDEV how handle Node package that does not support M1 Mac architecture?

I'm trying to understand how to proceed with a repo I've started working on that uses PhantomJS, a node package that was last published five years ago and doesn't seem to support M1 Macs. Other than ...
scaffolding's user avatar
0 votes
1 answer
81 views

How to configure DDEV on AWS Linux for multiple users on same machine

We've been working on separate machines, now I'm setting up a single Linux machine on AWS that all of us will RDP into, to do our work. On our separate machines, we've named our projects the same, so ...
misthufe's user avatar
0 votes
1 answer
428 views

Webpack Dev Server and DDEV (no backend site available)

I followed the accepted answer on this question: Accessing webpack dev server output with specific port in ddev / docker container Trying to access the urls at http://localhost:8080 results in503: No ...
good_afternoon's user avatar
4 votes
2 answers
2k views

pecl install pdo_sqlsrv MAKE fails on DDEV using Debian 11 - missing libltdl.la

I have a project that is using DDEV to run an instance with PHP 8.1. I needed to introduce the pdo_sqlsrv extension to the package, so I added a Dockerfile in the .ddev/web-build/ directory that ...
user9147574's user avatar

1
2 3 4 5
8