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 pull command seems to wipe/clear/empty the .downloads folder which results in rsync being redundant

Not sure if I'm doing something wrong but here is my situation. I'm trying to setup a 'provider' to download a database dump and files folder from a remote server, this is working in the most part. The database download works and imports perfectly…
md2
  • 101
  • 2
0
votes
1 answer

why is the .htaccess auth command not working in a directory in Drupal 9

i have a mini website below my sites default files directory and i am trying to make it be password protected with the following .htaccess file which i put in that same directory: #Protect Directory AuthName "Dialog prompt" AuthType…
Diana
  • 234
  • 1
  • 4
  • 15
0
votes
2 answers

DDEV/Laravel/PHPUnit: Problems with setup in PhpStorm

Using Laravel with DDEV/Docker on a Mac, I am stuck getting PhpStorm to run directly PHPUnit with coverage. I am following these instructions: https://ddev.readthedocs.io/en/stable/users/topics/phpstorm/ I started the setup with curl -s…
iquellis
  • 979
  • 1
  • 8
  • 26
0
votes
1 answer

DDEV - Configure multiple environments

Is there a way to have multiple DDEV configurations for the same project? For example, we need to cover the case when we have several servers: production with Apache + PHP 7.3 + Composer 1; staging server with Apache + PHP 7.3, but a different. set…
0
votes
1 answer

Weird interference between two DDEV projects using PostgreSQL

I am working on two Drupal (7 and 9) projects which use PostgreSQL (based on the procedure described here). I noticed errors when they are both running at the same time: Drupal 7 will complain the variable table does not exist, while Drupal 9 will…
felmab
  • 3
  • 1
0
votes
1 answer

custom DDEV pull provider to update local database and user generated files

I'm trying to create a custom DDEV Provider, to import the current database and also user generated files from the web server. I want to use it with TYPO3 Projects, where I develop the EXT locally with DDEV (because its awesome :) ) and I want to…
Eluvitie
  • 73
  • 8
0
votes
0 answers

send notification from virtual machine (docker container) to host machine

I m trying to make notify-send passing messages to host and create a notification on my desktop from my local-machine. But its not that simple :(. My Operation system is Ubuntu and vm machine's Debian. I know that containers communicating with…
Paweł Witek
  • 171
  • 11
0
votes
1 answer

How can I use drush 8 with Drupal 8 or Drupal 9?

I am upgrading a site and don't want to site-install (composer-install) drush at all, but I need it. I know that on my Drupal 7 project drush8 is installed, but I'd like to use it in my Drupal8+ project as well, without changing the project.
rfay
  • 9,963
  • 1
  • 47
  • 89
0
votes
1 answer

How can I make in-container tools like drush or typo3cms usable if they're not in the standard DDEV PATH?

I have a nonstandard composer layout, so some of my tools are in docroot/vendor/bin instead of the expected vendor/bin, so they're not in the $PATH inside the web container, and tools like ddev drush or ddev typo3cms don't work right because they…
rfay
  • 9,963
  • 1
  • 47
  • 89
0
votes
0 answers

Slow HMR with Vite js, DDEV & Craft CMS

I building a boilerplate(Craft CMS) thats uses the power of Vite js, I got this project up and running using DDEV and it runs without problems on Windows 10. However when I spin up the same project on my Macbook Pro Im getting extremely slow HMR…
0
votes
1 answer

Specify a particular database query from command line with MySQL Workbench

I would like to facilitate opening a database UI for development projects (usually docker containers, bound to arbitrary ports on the host machine) by a generic command. I wonder if it is possible to open MySQL Workbench and let it connect…
Jonas Eberle
  • 2,835
  • 1
  • 15
  • 25
0
votes
0 answers

How to access logo.svg outside container

I am working on a Drupal 8 theme where there are some color preview features where my logo should appear. This is done via my preview.html file where the following is inserted:
0
votes
0 answers

Change ddev password for a single project

I try to change a ddev database password for a single project. I need to check sign-escaping for a project, because I want to know how and if that works. How can I change a database password in a single ddev-project? I use Docker 3.5.1 (66090) ddev…
MonTea
  • 1,166
  • 1
  • 13
  • 30
0
votes
1 answer

How to upgrade to Drupal 9 using DDEV

The instructions at https://ddev.readthedocs.io/en/latest/users/cli-usage/#drupal-9-quickstart clearly state how to set up a Drupal 9 project. However, what is the procedure to upgrade an up to date Drupal 8 project to Drupal 9 in DDEV? We're…
Vacilando
  • 2,819
  • 2
  • 30
  • 27
0
votes
1 answer

Container complains of port 443 after changing to 8443

When I run ddev start, I get the following error in the command line: Failed to start amdocs-stage: Unable to listen on required ports, port 443 is already in use, Troubleshooting suggestions at…
Sidney Sousa
  • 3,378
  • 11
  • 48
  • 99