Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wmic not found when running DDEV WSL2 install script #7024

@proimage

Description

@proimage

Preliminary checklist

Output of ddev debug test

Expand `ddev debug test` diagnostic information
======== Output file will be in /tmp/ddev-debug-test.txt ========
Please try running this in an existing DDEV project directory, preferably the problem project.
It doesn't work in other directories.

Expected Behavior

I expected the DDEV install scripts to not use deprecated tools like WMIC.

Actual Behavior

The DDEV install scripts (tried to) use WMIC, resulting in this error during install:

Image

Steps To Reproduce

  1. Install a fresh, up-to-date copy of Windows 11 (Pro)
  2. Install WSL2 according to these steps: https://ddev.readthedocs.io/en/stable/users/install/ddev-installation/#wsl2-docker-ce-inside-install-script
  3. ???
  4. PROFIT!! Oh, wait...

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions