github ddev/ddev v1.17.0-alpha4
v1.17.0-alpha4: Fix upstream problem with broken yarn repository

latest releases: v1.23.0, v1.23.0-rc2, v1.23.0-rc1...
pre-release3 years ago

This release is primarily to work around an upstream (annual) problem with the yarn repository. See #2772

Installation/Upgrade

See the installation instructions for details, but it's easy:

  • Please stop all projects first, this does no harm: ddev poweroff
  • macOS Homebrew and Linux Linuxbrew (ddev-edge channel only): brew install drud/ddev-edge/ddev or just brew upgrade drud/ddev-edge/ddev ). (You may need a brew update for homebrew to find the new release.). This now works on Apple Silicon Homebrew as well.
  • Windows: Use choco upgrade -y --pre ddev to get this one, or download the ddev_windows_installer below.
  • Linux and macOS with the install_ddev.sh script: Download the script, make it executable, and run it with the version: ./install_ddev.sh <version>
  • And anywhere, you can just download the tarball or zipball, untar or unzip it, and place the executable in your path where it belongs.
  • Consider ddev delete images after upgrading to free up disk space used by previous docker image versions. This does no harm.

Key changes in v1.17.2-alpha4

  • A fix to the yarn repository from #2772. This problem won't affect everybody, but it will affect anybody who uses webimage_extra_packages or does apt-get update in a custom Dockerfile.
  • /usr/local/bin/magerun has been removed from the web container, as people should use the composer-installed bin/magento
  • Bring in php8.0 extensions redis and memcached from upstream

Instructions and Workarounds for Apple M1

  1. Install the Docker Tech Preview.
  2. Use a terminal app that is not running. under Rosetta 2. So for example, if using iTerm, the "get info" checkbox should NOT say "Open using Rosetta".
  3. Install with Apple Silicon Homebrew (in /opt/homebrew) or using the install_ddev.sh v1.17.0-alpha4 script as above.
  4. Check to make sure you got the arm64 version of ddev. file or file /usr/local/bin/ddev should show "/usr/local/bin/ddev: Mach-O 64-bit executable arm64". If it shows amd64, you have the wrong version of ddev.
  5. ddev --version should show the right version
  6. The Docker Tech Preview 7 does not yet provide the hostname "host.docker.internal" inside the container. On my machine it's 192.168.64.1, and may be the same on yours. You can find out what it is (temporary hack) by docker run -it --rm alpine nslookup junker99.com - the "Server" reported in the failed lookup seems to be host.docker.internal. If yours is not 192.168.64.1, then put what yours is into ~/.ddev/global_config.yaml host_docker_internal: xxx.xxx.xxx.xxx
  7. Once that works, you should be able to debug with an IDE like PHPStorm (and PHPStorm now has a full Apple Silicon build
  8. To get NFS going, there seems to be a difference in networking. Take the IP you found for host.docker.internal and add one and add it to /etc/exports in addition to "localhost". Mine ended up like this:
/Users/rfay -alldirs -mapall=501:20 localhost
/Users/rfay -alldirs -mapall=501:20 192.168.64.2

I was able to figure this out by running Console.app and searching for nfsd and watching for the failure IP address when I ran ddev debug nfsmount.

I'm happy to help you debug this, so ping me (rfay) on slack, or any other support venue

Commits since v1.16.5

78b99e4 Use updated upstream for yarn fix, fixes #2772 (#2775)
41d3f26 Miscellaneous docs fixes [skip ci][ci skip] (#2748)
4a0767a Minor test improvements (tests only) (#2771)
a205053 [docs] Fix typo in step-debugging.md (#2774) [skip ci][ci skip]
5653ef3 Update in-container-configuration.md (#2770)
8c939be Remove magerun from web container as people use composer-installed version (#2768)
5b75fa9 Testcache was wrong for circleci (CircleCI tests only) (#2766)
2fc5203 Use go 1.16-rc1 to build M1 builds (#2764)
0df5360 Remove several circleci jobs as github actions is doing them (#2761)
e68cc34 Improve DDEV configuration validation errors (php_version, mysql_version, etc.) (#2745)
4094078 Turn off buildkit build in ddev start (docker-compose) (#2758)
170cd19 Bring in php8.0 extensions redis and memcached from upstream (#2759)
9db9035 Improve fragile test TestComposeStreams (#2757)
37826a4 MariaDB default didn't get changed to 10.3 for M1 (#2750)
56830ff Remove drush launcher config from web image [skip ci][ci skip] (#2749)
10b71d9 Add Blackfire agent and full support (#2448)
17ee510 Hardened webserver needs to allow /usr/local/bin update, fixes #2725 (#2743)
5427087 Use default_server in nginx configs instead of server_name _, fixes #2729 (#2731)
7a7e4a3 Stop setting working_dir to docroot in Drupal8+, fixes #2534 (#2734)
d73268c Add ddev config --auto, fixes #1096 (#2733)
1d9931f Allow setting web environment in config.yaml, fixes #871 (#2742)
d374ae9 Give an error on duplicate snapshot anme, fixes #2515 (#2739)
51ede53 Improve snapshot restore with --latest, prompting, move to ddev snapshot restore, fixes #1886, fixes #1163 (#2724)
a7cb148 Use GitHub Actions for linux tests, fixes #2604 (#2615)
32db28e Do static checking in github action (#2738)
a66f4e6 Spellcheck docs, fixes #2365 (#2735)
0c2af6b add PHP 8.0 to the supported php versions (#2736) [skip ci][ci skip]
a12c41f Skip TestGetLocalHTTPResponse on Windows (#2732)
547e10f [docs] Update maintained badge on README (#2728)
a1c1f5d Remove duplicate menu entry for shell autocompletion in docs (#2726)
70df9b2 Bump PHP default to php7.4, fixes #2657 (#2716)
dd8369b Miscellaneous docs fixes (#2695) [skip ci][ci skip]
ffd96db [docs] Add "Limitations using ddev composer" for #2547 (#2718) [skip ci][ci skip]
0ef1b0c [docs only] TYPO fixes (#2723) [skip ci]
85e656f Add --list and --cleanup options to snapshot command, for #1163 (#2701)
67f99f5 Stop using drush launcher, use drush8 for drupal6/7, fixes #2514 (#2720)
900d464 Experimental support for Apple Silicon M1 (darwin_arm64), fixes #2338 (#2687)
0688703 Update spf/cobra and dependencies for #2702 (#2715)
d1b68e4 Bump default mariadb version to 10.3, fixes #2232 (#2717)
b6c6f06 Double nginx's http2_max_header_size to 32k, fixes #2697 (#2698)
bc1d660 TestServices has been failing a lot, give solr a little time to come up (#2714)
5491d0c Ignore drushrc.php writing when settings disabled (#2684)
2ff4f0b Create new HeidiSQL command for Windows and WSL2 (#2679)
d86db92 Update cli-usage.md for bedrock (#2699)
5d17f0e Allow configuration to fail when a hook execution fails, fixes #2536 (#2652)
4ab01db Improve 3rd-party Apache SOLR setup in additional-services.md (#2670) [skip ci][ci skip]
e93110b [tests only, circleci] Use Ubuntu 20.04 for builds, bump cache, build makemsis from source (#2713)
95a6f48 auth ssh command had out of date switch in long description (#2711) [skip ci][ci skip]
d8a2e49 Use TYPO3 11 for installations by default (#2707) [skip ci][ci skip]

Don't miss a new ddev release

NewReleases is sending notifications on new releases.