460 questions
0
votes
1
answer
46
views
OPTIONS Request made to domain root (/) on ddev nginx throws a 405 - We see access.log but the request is not forwarded to index.php
Edit
Corrected a couple of assumptions with more testing (and altered title to reflect). The issue seems to be specific to the nginx config on DDev, with the server not correctly passing "OPTIONS ...
-1
votes
1
answer
36
views
After update to ddev v1.23.5, all traffic is routed to web container
I recently updated ddev from v1.21.0 to v1.23.5.
My configuration contains several services, but uses NOT the web container itself, because there is not "default" service. I us ddev-router ...
1
vote
1
answer
79
views
Can't pull drud/ddev-webserver docker image any more (it was deleted)
after months without any problems in running a complex ddev based installation, currently I am facing problems with starting up the project.
I did some updates to Docker and cleaning up of "...
0
votes
0
answers
13
views
Where does ddev import-db of a gz file put the gz file and un-gzipped file?
Presumably this is done in a temporary folder somewhere?
Is this temporary file then deleted after the import is complete?
-1
votes
1
answer
29
views
imaginary error fetching remote http image: Get "https://$path.jpg.webp": dial tcp 127.0.0.1:443: connect: connection refused
I'm trying to have imaginary as imageproxy and try to modify the images hosted in a Drupal with DDEV.
When I make a call to a image throught Imageproxy (http://localhost:8088/crop?width=500&height=...
0
votes
0
answers
40
views
Jetclient making calls to a local DDEV server. Setting up SPA, domain issues
I'm building an APi in Laravel for a future front end (react) to talk to and handle all queries (inc user management)
this is largely working.
Now I want to set up 2FA via Fortify.
I'm having auth ...
-1
votes
1
answer
53
views
I am unable to start ddev, throwing the below error[failed to mount local volume: mount ] while setting up new drupal project using ddev, docker [closed]
Error response from daemon: error while mounting volume '/var/lib/docker/volumes/ddev-my-drupal-site_nfsmount/_data': failed to mount local volume: mount :/System/Volumes/Data/Users/vamshidhar.thella/...
0
votes
1
answer
53
views
Laravel + Redis + DDEV
my cache driver is set to Redis in my Laravel app, running locally with ddev and ddev-redis. When I use the Redis Facade set command, the data stored and I can see it via Redis CLI. However when I use ...
0
votes
0
answers
81
views
Error 404 when loading temporary image with Livewire in Laravel using DDEV
I am working on a project with Laravel and Livewire, using DDEV as the development environment. I have a Livewire component that allows users to upload an image and display a temporary preview before ...
1
vote
1
answer
120
views
ddev Chrome/Chrome or Chrome/Chromium
I want to re-configure my current entity print so it works on chrome/php-chrome of chromium instead of the old wkhtmltopdf. But at the moment I have a problem with setting up any of those libraries in ...
0
votes
1
answer
89
views
Initializing SolrCores in ddev for TYPO3 v12 fails
I am trying to integrate solr in my TYPO3 v12 ddev setup, but getting this error:
core_en: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error loading class 'org.apache....
1
vote
1
answer
374
views
DDEV fails to start after update (Failed waiting for web/db containers to become ready)
After updating DDEV from 1.21.x to 1.23.4, I cannot start my local environment anymore. After launching ddev start, I get all the containers starting and I see the following in my console:
Starting ...
1
vote
0
answers
121
views
Issues with browsersync on ddev / wordpress / gulp - local setup - Either works on root or on subdirectories
Setup:
I exposed the ports for browsersync according to another question on stackoverflow:
#ddev-generated
# Override the web container's standard HTTP_EXPOSE and HTTPS_EXPOSE
# This is to expose the ...
1
vote
1
answer
131
views
DDEV mkcert -install fails or hangs when JAVA_HOME misconfigured
I'm trying to setup my local env using ddev and I'm having trouble with keytool.
I've been googling around (And also asked ChatGPT) but I can't find the solution.
The problem I have is that when I use ...
0
votes
1
answer
63
views
Not able to resolve any hostnames inside docker container using WSL2, docker-ce and DDEV
I am currently not able to resolve any hostnames inside my DDEV web container.
curl www.youtube.com is working perfectly fine inside WSL 2, but once I ssh into the ddev web container using ddev ssh ...
0
votes
0
answers
55
views
DDEV: ddev-router won't start on Fedora 39
Since Janary I'm working on a Mautic Project and I use ddev boundled with Mautic to start and stop Mautic for development purposes.
Everything was working fine.
The project run on a Fedora 39 machine.
...
-1
votes
1
answer
81
views
DDEV: Configure auto completion for symfony based CLI tools ( fe magento )
I am trying to configure auto completion for magento CLI tool in DDEV web container.
For autocompletion I use the package: bamarni/symfony-console-autocomplete.
The package configuration (.ddev/...
1
vote
1
answer
73
views
How can I get HMR working with Radicle (Sage) inside DDEV?
Using DDEV to develop a WordPress site locally using Radicle. I'm having issues getting the Live Reload working using bud from within the DDEV container with proper URL's and HTTPS. Any ideas?
I've ...
1
vote
1
answer
107
views
With DDEV add-ons, how can I install a custom command?
I am building a "ddev get" service for https://diffy.website so it is easy to take screenshots from local website.
I would like to provide a command "ddev screenshot" for this.
...
0
votes
1
answer
64
views
How to redirect in htaccess without blocking php api?
I have an index.php file which is located in the root directory. This outputs either HTML or JSON, depending on the URL:
<?php
require_once('./../private/Router.php');
new Router();
?>
&...
0
votes
1
answer
300
views
Drupal 10 multisite using "ddev share" or Cloudflare
I need to share my local version of Drupal 10 multisite using "ddev share".
When I run the command ddev share, it only shows me the "default" version of the site (path web/sites/...
1
vote
1
answer
304
views
Running Vite dev mode on Symfony 7 application with DDEV webserver
I've been looking to run Vite in development mode (watch JS and CSS files) for my Symfony 7 app which is served with a DDEV webserver.
// package.json
{
// ...
"scripts": {
&...
0
votes
1
answer
134
views
How to use self signed client certificates in ddev
I created a CA solely for issuing self signed certificates that http clients should use to communicate with several rest endpoints of our application developed in a ddev environment using apache. I ...
0
votes
1
answer
89
views
Install postgis extension with DDEV
I have the following DDEV config file:
name: whatever
type: php
docroot: public
php_version: "8.3"
webserver_type: nginx-fpm
database:
type: postgres
version: "15"
...
0
votes
1
answer
201
views
How can I change the name of the database in a ddev project?
Is there a way to change the default configuration for the database in a ddev project and save the changes into the project repository?
I mean change the database name, the database usernames and ...
1
vote
1
answer
169
views
DDEV - how to access Mailpit POP3 server
Need to access builtin POP3 server inside of Mailpit.
Mailpit is mentioning adding auth to enable POP3 feature.
I'm developing code for "unsubscribe" feature available in email clients (not ...
0
votes
1
answer
232
views
Drupal 10 on Ubuntu 18.04 DDEV memory size exhausted
Suddenly received error message on drupal 10 url generated by ddev -
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/vendor/twig/twig/...
1
vote
1
answer
439
views
`ddev import-db` or `ddev pull` - Error: Unknown command '\-'
I'm trying to import a zipped sql dump into ddev like this: ddev import-db --file=database.sql.gz but that gives me the following error:
ERROR at line 1: Unknown command '\-'.
If I try ddev import-db &...
5
votes
1
answer
270
views
Collation error importing a database using DDEV
I am running a site locally using DDEV, the remote site is on shared hosting (siteground). I created an SQL dump using SSH on the remote site, then imported the database using ddev import-db. The ...
0
votes
0
answers
49
views
Enabling "/server-status" (mod-status) in ddev project
How to enable /server-status endpoint (apache mod-status)?
By default, mod-status is enabled in ddev projects. But if I want to use it I need to change module config file /etc/apache2/mods-available/...
0
votes
1
answer
40
views
DDEV 'wp-config.php' not found when adding existing project to ddev
I'm importing an existing wordpress project into DDEV but getting the following after DDEV start:
Waiting for additional project containers to become ready... All project containers are now ready. ...
-1
votes
1
answer
235
views
can't find docker-compose.yaml file in .ddev directory [closed]
I installed the latest ddev version (1.23.0) for developing my laravel project. I want to have a remote access through ssh to my vs code. For that reason, I suppose to have "docker-compose.yaml&...
0
votes
0
answers
73
views
Why is wp_remote_get using the wrong port?
I'm sending a query with wp_remote_get() from within a ddev hosted wordpress that runs on port 4430. My hostname contains a port specification (https://host.example:443/bla).
Now the problem is that ...
0
votes
1
answer
486
views
Define custom MariaDB configuration in DDEV
I am a DDEV and Docker newbie but have successfully setup a local web host with DDEV on MacOS. I understand that docker containers are built from scratch each time and I put my Apache configs into a ....
0
votes
2
answers
635
views
Install CA with mkcert on local DDEV site with non-sudo user
I am running a Mac with Ventura and a non-admin ("normal") user account. I have access to an admin user which is how I installed DDEV and mkcert with homebrew. However, I can not run mkcert -...
2
votes
1
answer
177
views
How to install swoole on ddev?
I want to try swoole (Asynchronous, coroutine-based concurrency library for PHP) in one of my project. I am using DDEV (Docker-based PHP development environments) as my development platform on WSL2 (...
1
vote
1
answer
235
views
How can I use the Europe/Kyiv timezone in DDEV?
I work with Drupal ^10 on ddev. Previously about year or so I faced issue, after some update, keeps throwing error. Notice: date_default_timezone_set(): Timezone ID 'Europe/Kyiv' is invalid in Drupal\...
0
votes
1
answer
314
views
Can two DDEV Laravel projects share a single database?
I have 2 separate Laravel projects configured to use a common database.
Reasons are mostly related to separating concerns:
project A is related to handling the core tables via REST APIs;
project B ...
0
votes
2
answers
198
views
Connect DDEV database to TYPO3 project
Im new to TYPO3 v13, i use typo3 with ddev I created my database.
I look arround i find nothing to connect te database or the docs are so old.
ChatGPT say i can connect it in the install.php site in ...
0
votes
2
answers
87
views
Add Flask-WSGI routes to DDEV-Drupal project
I have a ddev-Drupal project and want to add web-routing for my python-flask project. Ideally something like this: https://github.com/docker/awesome-compose/tree/master/flask-redis - or maybe with ...
0
votes
1
answer
143
views
Why does DDEV keep downloading docker-compose-linux?
Over the course of a day, my DDEV will download docker-compose many times. (20?) Randomly asking for different versions.
Downloading https://github.com/docker/compose/releases/download/v2.21.0/docker-...
0
votes
0
answers
91
views
How to get connection to elasticsearch server in local network inside ddev / Docker container
How is it possible to get a connection to a Elasticserver instance, which is in the local network from inside of a running ddev / Docker container?
I have a ddev instance running. And off course I can ...
2
votes
3
answers
4k
views
DDEV: How can I add the pgvector extension to the postgres container?
I wanted a way to add the ankane/pgvector PostgreSQL extension to the DDEV postgres service. I created a .ddev/db-build/Dockerfile file and added the code from https://github.com/pgvector/pgvector/...
0
votes
1
answer
383
views
Exporting a database in ddev
I'm trying to export a database from my ddev project (on a Mac).
I tried creating a .tarball directory in /var/www/html using the ddev ssh command. The docs say, that this directory would show up in ...
0
votes
0
answers
202
views
Is it possible to execute a command after the start of the "ddev-router" (traefik)?
It's possible to execute a command on the host after the start of a project with the file ".ddev/config.yaml" of the project like this:
hooks:
post-start:
- exec-host: the-command
But, ...
0
votes
0
answers
213
views
Can I change the DDEV default database version for Drupal?
When I run ddev config to create a new drupal10 project, the created config.yaml file contains
name: drupal
type: drupal10
docroot: web
php_version: "8.1"
webserver_type: nginx-fpm
...
0
votes
1
answer
85
views
TYPO3: No template was found. View could not be section template
enter image description here
Hello everyone, I've installed version 12.4.9, but I can't seem to find the 'template' section. I'd appreciate it if you could help me out.and I couldn't resolve my issue ...
0
votes
1
answer
1k
views
Error message when starting ddev laravel: "Failed waiting for web/db containers to become ready: web container failed" (zfs)
When I initially cloned a company repository and tried to start via ddev start I got the error message Failed waiting for web/db containers to become ready: web container failed.
The container ddev-...
0
votes
1
answer
205
views
How to expose Redis port in DDEV?
I'm using DDEV v1.22.6 with the ddev-redis service. How can I expose the Redis port? I'd like to connect to Redis in the RedisInsight app.
0
votes
1
answer
120
views
How can I create 2 Drupal web container with the same directory without multisite in DDEV?
For a project, I have to create 2 Drupal web container with the same directory but with different database.
But the 2 Website are not meant to be a Drupal multisite (I know, it's strange)....
In the ...