Hi there,
I’m installing on my local machine at home (tried it at work and had no issues after disabling Hyper-V).
I’ve encountered several problems on my home system while trying to get Local setup, and have been able to solve most of them, however a couple have persisted.
The first is starting Local up. I’m consistently being presented the welcome screen when starting Local _every_time. At work it jumps straight to the sitelist, so I’m not sure whether this is intentional. Sometimes the VirtualBox field is filled, sometimes the Host Machine is. Most of the time it doesn’t progress past this screen (usually finishes VirtualBox and then tries to start Local Image and just hangs), so a restart of the program usually fixes it. Though it seems odd to have to start the program twice to get it to work.
I had a look at the logs for when this happens. From boot to failure (hanging after finishing VirtualBox, starting Local Image):
Apr 25, 2018, 3:38 PM GMT+10 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Apr 25, 2018, 3:38 PM GMT+10 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Apr 25, 2018, 3:38 PM GMT+10 - info: [docker-import-image] Checking for Local Docker Image...
Apr 25, 2018, 3:38 PM GMT+10 - info: [main/set-docker-env] Getting Docker Machine env.
Apr 25, 2018, 3:38 PM GMT+10 - info: [main/set-docker-env] Received Docker Machine env.
Apr 25, 2018, 3:38 PM GMT+10 - error: [main/index] TypeError: Cannot read property 'forEach' of null
at exports.default (C:\Users\Chris\AppData\Local\Programs\local-by-flywheel\resources\app.asar\helpers\process-exports-vars.js:1:806)
at _child_process2.(anonymous function).(anonymous function) (C:\Users\Chris\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\actions-docker\set-docker-env.js:1:2415)
at ChildProcess.exithandler (child_process.js:224:5)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
The second issue is with creating sites outside of the C:\Users folder. I checked that Local does support this (since an earlier 2.x version) but I end up with issues both creating and accessing the sites. Creating the site gives an “Error! WordPress installation failed.”, and attempting to access the site gives either a 403 error or a Local Routing Error, depending whether the installation failed to properly create the public folder (and all its contents) or something else failed. Based on the log, Local appears to either have issues copying WordPress over (the 403) onto a different drive, or issues running install-wp.sh (routing error). Database also appears to be missing for the routing error.
I guess everything sort of works, but would appreciate getting Local to work at full capacity would be awesome. I can delete the log and paste a full one of the start to failed site creation process if you’d like too.
Thanks!