Not starting anymore

For no appearant reason Local isn’t working anymore. Brought it up to date together with VirtualBox but still no luck. When restarting my Laptop I can see that Local spins up the virtual machine but then halts. Waiting for an IP…?

Oct 12, 2017, 10:34 AM GMT+2 - info: [main/index] Existing Pressmatic data does not exist.
Oct 12, 2017, 10:34 AM GMT+2 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
Oct 12, 2017, 10:34 AM GMT+2 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, 'machine-halted' ] machine-halted
Oct 12, 2017, 10:34 AM GMT+2 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Oct 12, 2017, 10:34 AM GMT+2 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Oct 12, 2017, 10:34 AM GMT+2 - info: [main/docker-machine] Starting "local-by-flywheel"...
Oct 12, 2017, 10:34 AM GMT+2 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Oct 12, 2017, 10:35 AM GMT+2 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Oct 12, 2017, 10:39 AM GMT+2 - info: [main/index] Existing Pressmatic data does not exist.
Oct 12, 2017, 10:39 AM GMT+2 - info: [main/set-docker-env] Getting Docker Machine env.
Oct 12, 2017, 10:39 AM GMT+2 - info: [main/set-docker-env] Received Docker Machine env. 
Oct 12, 2017, 10:39 AM GMT+2 - error: [main/index] TypeError: Cannot read property 'forEach' of null
    at exports.(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/process-exports-vars.js:1:6127)
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-docker/set-docker-env.js:1:8999
    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)

Can it be some sort of right issue? I saw some commands earlier which gave errors:

MacBook-Pro-van-N:~ n$ "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" ssh local-by-flywheel "route | grep default" | awk '{ print $2 }'
permissions 0644 for '/Users/n/.docker/machine/machines/local-by-flywheel/id_rsa' are too open
sudo chmod 600 /Users/n/.docker/machine/machines/local-by-flywheel/id_rsa

And then restarting the local machine and app seems to work… weird right?

1 Like

Wow, that’s interesting!

Thanks for sharing the solution in this case. We’ll keep an eye on it!