Error Creating Base VM Machine on Win11

Issue Summary

Error in driver during machine creation: Unable to start the VM when installing Local 2.1.2 on Windows 11

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    Local does not install, never gets to the start-up screen.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    No, because the base VirtualBox machine is not able to startup.

Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

  • Which version of Local is being used?
    – local-by-flywheel v2.1.2

  • What Operating System (OS) and OS version is being used?

    • Windows 11 Pro - Version 22H2
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

    • Dec 10, 2022, 11:30 AM CST - info: [main/index] Existing Pressmatic data does not exist.
      Dec 10, 2022, 11:30 AM CST - info: [main/check-system] Check System: Docker Machine:
      { stdout: ‘’,
      stderr: ‘Host does not exist: “local-by-flywheel”\n’ }
      Dec 10, 2022, 11:30 AM CST - warn: [main/index] Unhandled Rejection at: Promise Promise {
      { Error: certificate has expired
      at TLSSocket. (_tls_wrap.js:1088:38)
      at emitNone (events.js:86:13)
      at TLSSocket.emit (events.js:188:7)
      at TLSSocket._finishInit (_tls_wrap.js:610:8)
      at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38) code: ‘CERT_HAS_EXPIRED’ } } reason: Error: certificate has expired
      at TLSSocket. (_tls_wrap.js:1088:38)
      at emitNone (events.js:86:13)
      at TLSSocket.emit (events.js:188:7)
      at TLSSocket._finishInit (_tls_wrap.js:610:8)
      at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)
      Dec 10, 2022, 11:31 AM CST - info: [renderer/CheckEnvPage] Check system promise response:
      [ ‘virtualbox-not-ready’, ‘machine-does-not-exist’ ]
      Dec 10, 2022, 11:31 AM CST - info: [main/virtualbox-installer-windows] Starting VirtualBox Install…
      Dec 10, 2022, 11:31 AM CST - info: [main/virtualbox-installer-windows] VirtualBox installed!
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Starting Docker Machine Creation…
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] USING IP: 192.168.95.1/24
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Removing existing Docker Machine
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] null ‘About to remove local-by-flywheel\nWARNING: This action will delete both local reference and remote instance.\n’ ‘Error removing host “local-by-flywheel”: Host does not exist: “local-by-flywheel”\nCan't remove “local-by-flywheel”\n’
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Creating Docker Machine… --virtualbox-boot2docker-url=file://C:\Users\AndyW\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Creating machine with
      [ ‘create’,
      ‘–driver=virtualbox’,
      ‘–virtualbox-hostonly-cidr’,
      ‘192.168.95.1/24’,
      ‘–virtualbox-boot2docker-url=file://C:/Users/AndyW/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso’,
      ‘–virtualbox-disk-size’,
      ‘120000’,
      ‘local-by-flywheel’ ]
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Creating CA: C:\Users\AndyW.docker\machine\certs\ca.pem
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Creating client certificate: C:\Users\AndyW.docker\machine\certs\cert.pem
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Running pre-create checks…
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Image cache directory does not exist, creating it at C:\Users\AndyW.docker\machine\cache…
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] Creating machine…
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Downloading C:\Users\AndyW.docker\machine\cache\boot2docker.iso from file://C:/Users/AndyW/AppData/Local/Programs/local-by-flywheel/resources/extraResources/virtual-machine/vendor/docker/boot2docker.iso…
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Creating VirtualBox VM…
      Dec 10, 2022, 11:31 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Creating SSH key…
      Dec 10, 2022, 11:33 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Starting the VM…
      Dec 10, 2022, 11:33 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Check network to re-create if needed…
      Dec 10, 2022, 11:33 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
      Dec 10, 2022, 11:33 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Found a new host-only adapter: “VirtualBox Host-Only Ethernet Adapter #2
      Dec 10, 2022, 11:33 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
      Dec 10, 2022, 11:33 AM CST - info: [main/docker-create-machine] (local-by-flywheel) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
      Dec 10, 2022, 11:33 AM CST - error: [main/docker-create-machine] Error creating machine: Error in driver during machine creation: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm local-by-flywheel --type headless failed:
      Dec 10, 2022, 11:37 AM CST - error: [main/docker-create-machine] VBoxManage.exe: error: The virtual machine ‘local-by-flywheel’ has terminated unexpectedly during startup with exit code -1073741819 (0xc0000005)
      Dec 10, 2022, 11:38 AM CST - error: [main/docker-create-machine] VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
      Dec 10, 2022, 11:39 AM CST - error: [main/docker-create-machine]
      Dec 10, 2022, 11:39 AM CST - info: [main/docker-create-machine] Unable to create Docker Machine.
      Dec 10, 2022, 11:40 AM CST - info: [main/index] All Local sites are stopped. Shutting down VM.

Attaching a zipped copy of the three VBox log files that were created during the install process.
VBoxSVC.log.zip (4.3 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.