database – ddev sequelace not connecting (how to debug?)

According to this
we should be able to type ddev sequelace and have sequelace connect to the db server in ddev.

However it is failing and I’m not finding verbose output flags to turn on and ddev is a binary so am not sure if I’ll be able to get to where the ssh (or tunnel) is failing. (see screenshot)
enter image description here

On other Drupal Devs like docksal we can go under the hood and turn on verbose and see where things are failing. But I’m not sure how to do this with ddev.

I’ve tried replacing the in the host with the server name that ddev gives the site but that fails connection too. I also thought that my vpn might be messing with it but after disabling the vpn the connection still fails.

Thanks for any pointers!

Patch is not applied locally to Drupal in DDEV created with Composer from the Drupal Git repo

I am trying to create a local workflow to check patches for the core. I use DDEV for the local environment. Steps I took:

git clone .
ddev config --mariadb-version=10.3
git checkout 9.1.x #I've chosen that way cuz with detached head I am unable to install composer packages
ddev composer install
ddev composer require --dev drush/drush
ddev . drush si standard --account-name=myuser --account-pass=mypassword --account-mail=my@mail.local --site-name="D9 Test"
ddev . drush en help_topics
ddev composer require --dev cweagans/composer-patches

Then I added the following part to it composer.json extra section

"composer-exit-on-patch-failure": true,
"patches": {
   "drupal/core": {
       "#3044059-48: Convert big_pipe, dynamic_page_cache, page_cache module hook_help() to topic(s) (": ""

If I a ddev composer update -vvv Now the first strange thing I get:

Gathering patches for root package.
Removing package drupal/core so that it can be re-installed and re-patched.
  - Removing drupal/core (9.1.x-dev), source is still present in core
Deleting core - not deleted

In the tutorials and documentation that I usually learned, does the core get deleted in this step? Next I get an exception drupal/coder

  - Updating drupal/coder (8.3.8 => 8.3.9): Executing command (/var/www/html/vendor/drupal/coder): git show-ref --head -d
Executing command (/var/www/html/vendor/drupal/coder): git status --porcelain --untracked-files=no
    The package has modified files:
    D coder_sniffer/Drupal/Test/Arrays/
    D coder_sniffer/Drupal/Test/Arrays/
    D coder_sniffer/Drupal/Test/Arrays/
    D coder_sniffer/Drupal/Test/Arrays/ArrayUnitTest.php
    D coder_sniffer/Drupal/Test/Arrays/DisallowLongArraySyntaxUnitTest.php
    D coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d7/
    D coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d7/
    D coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d8/
    D coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d8/
    D coder_sniffer/Drupal/Test/Arrays/disallow_long_array_d8/
    289 more files modified, choose "v" to view the full list
    Discard changes (y,n,v,d,s,?)? y

I have chosen yes and continued and received the following for the patch part:

- Installing drupal/core (9.1.x-dev): Source already present
    REASON: Required by the root package: Install command rule (install drupal/core 9.1.x-dev|install drupal/core 9.1.x-dev)

  - Applying patches for drupal/core (#3044059-48: Convert big_pipe, dynamic_page_cache, page_cache module hook_help() to topic(s) (
patch '-p1' --no-backup-if-mismatch -d 'core' < '/tmp/5eb75f842ba88.patch'
Executing command (CWD): patch '-p1' --no-backup-if-mismatch -d 'core' < '/tmp/5eb75f842ba88.patch'
patching file core/modules/help_topics/help_topics/core.performance.html.twig

The output indicates that the file core/modules/help_topics/help_topics/core.performance.html.twig has been patched. But the problem is that there are none core.performance.html.twig File. It doesn't exist at all.

How do I create a virtual host with DDEV on Windows 10 with nginx fpm?

I would like to access my location development on a mobile device running on a host / laptop.

In the old days, when I used a Wampserver, I changed the settings for the Apache virtualhost like this:

ServerAlias ​​vlokken. *.
DocumentRoot c: / wamp / www / vlokken / web

Options + Indices + Includes + FollowSymLinks + MultiViews
AllowOverride All
require locally
IP required
IP required

</ VirtualHost

Is this also possible when using:

  • DDEV v1.7.1
  • Docker desktop v2.0.0.3
  • Windows 10 Eduction


APIVersion: v1.7.1
name: vlokken
Type: Drupal8
docroot: web
php_version: "7.3"
Webserver_type: nginx-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
zusätzliche_Hostnamen: []
additional_fqdns: []
mariadb_version: "10.2"
webcache_enabled: false
nfs_mount_enabled: false
Provider: Standard

DDEV – drush uli without & # 39; default & # 39; – Set Site URI for Drupal 8 and Drush 9

Discussed versions: Drupal 8.6.13, Drush 9.6.1.

This is a bit similar to How to have an environment-specific drush.yml file? except that the other thread is now four or five months out of date and Drush 9.6.1 does not seem to respect it drush.yml no more.

I'm just trying to set my site URI.

As described in detail in this thread, I tried web / sites / default / drush.yml as well as many other locations for the drush.ymlmade a drc cc drush, and yet Drush status still reveals a wrong site URI of http: // default, shows that it does not respect those uri: Line in one of my drush.yml Files.

To make things even more complicated, I use DDEV and follow some suggestions I received from Drupal Slack that we should really use an environment variable (viz DRUSH_OPTIONS_URI) have proved to be difficult, as I do not know exactly where that lies in the DDEV environment.

In the DDEV container, if I do that export DRUSH_OPTIONS_URI = http: //my.ddev.local/ then everything works great, but as soon as I leave the container or try to do things from the outside, like for example ddev exec drush ulithings are back to the wrong site URI again.

How can I preserve this environment variable when restarting DDEV / Docker?