452
questions
0
votes
0
answers
33
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
43
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
41
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
95
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
71
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
38
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
42
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
33
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
46
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
40
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
31
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
52
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
146
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
104
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
71
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
53
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
47
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
86
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
94
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
289
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 &...
4
votes
1
answer
146
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
38
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
25
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
140
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
59
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
334
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
396
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 -...
1
vote
1
answer
106
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
161
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
232
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
154
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
73
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
109
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
74
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 ...
1
vote
3
answers
2k
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
303
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
153
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
156
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
76
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
827
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
139
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
94
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 ...
1
vote
2
answers
310
views
How to install pdo_mysql with my-php.ini in new ddev project?
I am trying to start a new project with the latest CiviCrm in the latest Drupal. In composer.json I have "civicrm/civicrm-core": "^5.68" and "drupal/core-recommended": &...
1
vote
2
answers
1k
views
How can I install Xdebug on DDEV for PHP 8.3 (using pecl) before it's ready in a release?
Edit 2023-12-08: The upstream issues are resolved. For DDEV v1.22.5, just add this to .ddev/config.yaml:
webimage_extra_packages: [php8.3-xdebug]
For versions after v1.22.5, nothing needs to be done.
...
0
votes
1
answer
308
views
DDEV Giving Error when using Composer Create
When trying to create a new Silverstripe 5 site using composer create, i get this error:
5demo ❯ ls -la ...
3
votes
1
answer
217
views
Is there a way to use 1Password in combination with DDEV and colima?
I'd like to use the SSH agent feature of 1Password in combination with my DDEV projects that run with colima as its docker provider. That means that the DDEV web container is able to use the SSH keys ...
0
votes
0
answers
192
views
How to debug Behat test with Xdebug in PhpStorm?
Question:
I'm encountering issues while attempting to debug Behat tests using Xdebug within a Drupal context. Despite setting breakpoints, the debugger isn't stepping into Drupal context functions or ...
0
votes
0
answers
372
views
CORS still blocked between two DDEV sites
I'm trying to make an ajax call to Site A from Site B. I've edited the nginx-site.conf file and removed the #ddev-generated comment so my changes aren't removed on ddev restart.
This was added in the ...
0
votes
0
answers
47
views
ddev snapshot fails with bash "Is a directory" error
I have several DDEV sites. Each one has multiple git branches, with a snapshot on each branch. Before I change a branch, I delete the snapshot and take a new one. The branches randomly start to fail ...
0
votes
1
answer
339
views
ddev and vscode for Drupal, what should I use for php.validate.executablePath?
I installed ddev on macOs Sonoma. I installed Drupal via ddev in folder /Users/darkokan/sites/review-dev-d10
I can start Drupal with:
ddev launch
command and it works fine.
When I open vscode I get ...