Local Community

Local App now hangs at Loading... screen

This started immediately following my deletion of a partial import directory in the Local sites folder. The import never completed (maybe it was too big?). Either way I’m stuck now as I can’t boot the Local App. I tried re-install. No luck.

Log file shows:

    Oct 26, 2017, 7:29 PM EDT - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> TypeError: Cannot set property 'environment' of undefined
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6884
    at Array.forEach (native)
    at Object.getSites (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6497)
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:21117
    at Promise (<anonymous>)
    at maybeShutdownMachine (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:20986)
    at App.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:23899)
    at emitOne (events.js:96:13)
    at App.emit (events.js:191:7) }  reason:  TypeError: Cannot set property 'environment' of undefined
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6884
    at Array.forEach (native)
    at Object.getSites (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js:1:6497)
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:21117
    at Promise (<anonymous>)
    at maybeShutdownMachine (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:20986)
    at App.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main-process.js:1:23899)
    at emitOne (events.js:96:13)
    at App.emit (events.js:191:7)
Oct 26, 2017, 7:29 PM EDT - info: [main/index] Existing Pressmatic data does not exist.
Oct 26, 2017, 7:29 PM EDT - info: [main/set-docker-env] Getting Docker Machine env.
Oct 26, 2017, 7:29 PM EDT - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.75.100:2376"
export DOCKER_CERT_PATH="/Users/Leland/.docker/machine/machines/local-by-flywheel"
export DOCKER_MACHINE_NAME="local-by-flywheel"
# Run this command to configure your shell: 
# eval $("/Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine" env --shell bash local-by-flywheel)

Oct 26, 2017, 7:29 PM EDT - info: [main/docker-machine-nfs] NFS Mount Status 
{ error: null,
  stdout: 'tmpfs on / type tmpfs (rw,relatime,size=917696k)\nproc on /proc type proc (rw,relatime)\nsysfs on /sys type sysfs (rw,relatime)\ndevpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)\ntmpfs on /dev/shm type tmpfs (rw,relatime)\nfusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)\n/dev/sda1 on /mnt/sda1 type ext4 (rw,relatime,data=ordered)\ncgroup on /sys/fs/cgroup type tmpfs (rw,relatime,mode=755)\ncgroup on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset)\ncgroup on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)\ncgroup on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)\ncgroup on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)\ncgroup on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)\ncgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)\ncgroup on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)\ncgroup on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,net_cls)\ncgroup on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)\ncgroup on /sys/fs/cgroup/net_prio type cgroup (rw,relatime,net_prio)\ncgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)\ncgroup on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)\n/dev/sda1 on /mnt/sda1/var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)\n192.168.75.1:/Users on /Users type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,hard,nolock,proto=tcp,port=2049,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.75.1)\n192.168.75.1:/Volumes on /Volumes type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=1,acregmax=1,acdirmin=1,acdirmax=1,hard,nolock,proto=tcp,port=2049,timeo=70,retrans=3,sec=sys,local_lock=all,addr=192.168.75.1)\n',
  stderr: '',
  hasUsers: [ '192.168.75.1:/Users' ] }
Oct 26, 2017, 7:29 PM EDT - error: [renderer/app] TypeError {
  mode: 'stack',
  name: 'TypeError',
  message: 'Cannot set property \'environment\' of undefined',
  stack: 
   [ TypeError {
       url: null,
       func: 'Array.forEach',
       args: [Object],
       line: null,
       column: null,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/site-data.js',
       func: 'Object.getSites',
       args: [],
       line: 1,
       column: 6559,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/renderer/containers/App.js',
       func: 'new _0x3681eb',
       args: [],
       line: 1,
       column: 14135,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper._constructComponentWithoutOwner',
       args: [],
       line: 297,
       column: 16,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper._constructComponent',
       args: [],
       line: 284,
       column: 19,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.mountComponent',
       args: [],
       line: 187,
       column: 21,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.mountComponent',
       args: [],
       line: 45,
       column: 35,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.performInitialMount',
       args: [],
       line: 370,
       column: 34,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.mountComponent',
       args: [],
       line: 257,
       column: 21,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.mountComponent',
       args: [],
       line: 45,
       column: 35,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.performInitialMount',
       args: [],
       line: 370,
       column: 34,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.mountComponent',
       args: [],
       line: 257,
       column: 21,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.mountComponent',
       args: [],
       line: 45,
       column: 35,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.performInitialMount',
       args: [],
       line: 370,
       column: 34,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.mountComponent',
       args: [],
       line: 257,
       column: 21,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.mountComponent',
       args: [],
       line: 45,
       column: 35,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
       func: 'mountComponentIntoNode',
       args: [],
       line: 104,
       column: 32,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
       func: 'ReactReconcileTransaction.perform',
       args: [],
       line: 143,
       column: 20,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
       func: 'batchedMountComponentIntoNode',
       args: [],
       line: 126,
       column: 15,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
       func: 'ReactDefaultBatchingStrategyTransaction.perform',
       args: [],
       line: 143,
       column: 20,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js',
       func: 'Object.batchedUpdates',
       args: [],
       line: 62,
       column: 26,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
       func: 'Object.batchedUpdates',
       args: [],
       line: 97,
       column: 27,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
       func: 'Object._renderNewRootComponent',
       args: [],
       line: 319,
       column: 18,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
       func: 'Object._renderSubtreeIntoContainer',
       args: [],
       line: 401,
       column: 32,
       context: null },
     TypeError {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactMount.js',
       func: 'render',
       args: [],
       line: 422,
       column: 23,
       context: null },
     TypeError {
       url: 'file:///Applications/Local%20by%20Flywheel.app/Contents/Resources/app.asar/windows/app/app.js',
       func: '?',
       args: [],
       line: 1,
       column: 13452,
       context: null } ] } true
Oct 26, 2017, 7:29 PM EDT - error: [renderer/app] Error {
  mode: 'stack',
  name: 'Invariant Violation',
  message: 'Minified React error #136; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=136&args[]=_0x3681eb for the full message or use the non-minified dev environment for full errors and additional helpful warnings.',
  stack: 
   [ Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/reactProdInvariant.js',
       func: 'reactProdInvariant',
       args: [],
       line: 31,
       column: 15,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.updateComponent',
       args: [],
       line: 583,
       column: 219,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.receiveComponent',
       args: [],
       line: 546,
       column: 10,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.receiveComponent',
       args: [],
       line: 124,
       column: 22,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper._updateRenderedComponent',
       args: [],
       line: 753,
       column: 23,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper._performComponentUpdate',
       args: [],
       line: 723,
       column: 10,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.updateComponent',
       args: [],
       line: 644,
       column: 12,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.receiveComponent',
       args: [],
       line: 546,
       column: 10,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.receiveComponent',
       args: [],
       line: 124,
       column: 22,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper._updateRenderedComponent',
       args: [],
       line: 753,
       column: 23,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper._performComponentUpdate',
       args: [],
       line: 723,
       column: 10,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.updateComponent',
       args: [],
       line: 644,
       column: 12,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactCompositeComponent.js',
       func: 'ReactCompositeComponentWrapper.performUpdateIfNecessary',
       args: [],
       line: 560,
       column: 12,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactReconciler.js',
       func: 'Object.performUpdateIfNecessary',
       args: [],
       line: 156,
       column: 22,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
       func: 'runBatchedUpdates',
       args: [],
       line: 150,
       column: 21,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
       func: 'ReactReconcileTransaction.perform',
       args: [],
       line: 143,
       column: 20,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
       func: 'ReactUpdatesFlushTransaction.perform',
       args: [],
       line: 143,
       column: 20,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
       func: 'ReactUpdatesFlushTransaction.perform',
       args: [],
       line: 89,
       column: 32,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
       func: 'Object.flushBatchedUpdates',
       args: [],
       line: 172,
       column: 19,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
       func: 'ReactDefaultBatchingStrategyTransaction.closeAll',
       args: [],
       line: 209,
       column: 25,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/Transaction.js',
       func: 'ReactDefaultBatchingStrategyTransaction.perform',
       args: [],
       line: 156,
       column: 16,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js',
       func: 'Object.batchedUpdates',
       args: [],
       line: 62,
       column: 26,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdates.js',
       func: 'Object.enqueueUpdate',
       args: [],
       line: 200,
       column: 22,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdateQueue.js',
       func: 'enqueueUpdate',
       args: [],
       line: 24,
       column: 16,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-dom/lib/ReactUpdateQueue.js',
       func: 'Object.enqueueSetState',
       args: [],
       line: 218,
       column: 5,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react/lib/ReactBaseClasses.js',
       func: 'Object.ReactComponent.setState',
       args: [],
       line: 64,
       column: 16,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
       func: 'done',
       args: [],
       line: 79,
       column: 19,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/getComponents.js',
       func: 'getComponentsForRoute',
       args: [],
       line: 11,
       column: 5,
       context: null },
     Error {
       url: null,
       func: 'Array.forEach',
       args: [Object],
       line: null,
       column: null,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
       func: 'mapAsync',
       args: [],
       line: 83,
       column: 9,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/getComponents.js',
       func: 'getComponents',
       args: [],
       line: 34,
       column: 28,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
       func: 'finishEnterHooks',
       args: [],
       line: 102,
       column: 35,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
       func: 'runTransitionHooks',
       args: [],
       line: 79,
       column: 7,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
       func: 'runEnterHooks',
       args: [],
       line: 112,
       column: 12,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
       func: 'runTransitionHooks',
       args: [],
       line: 79,
       column: 7,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/TransitionUtils.js',
       func: 'runChangeHooks',
       args: [],
       line: 136,
       column: 12,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
       func: 'finishMatch',
       args: [],
       line: 92,
       column: 5,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
       func: 'next',
       args: [],
       line: 46,
       column: 16,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/AsyncUtils.js',
       func: 'loopAsync',
       args: [],
       line: 56,
       column: 3,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/matchRoutes.js',
       func: 'matchRoutes',
       args: [],
       line: 245,
       column: 29,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
       func: 'match',
       args: [],
       line: 66,
       column: 33,
       context: null },
     Error {
       url: '/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/react-router/lib/createTransitionManager.js',
       func: 'historyListener',
       args: [],
       line: 247,
       column: 9,
       context: null } ] } true 
Error { name: 'Invariant Violation', framesToPop: 1 }

Hi Leland,

So sorry for the trouble!

I would open ~/Library/Application Support/Local by Flywheel/sites.json and then remove the site object that appears to be missing the most properties.

If you want, feel free to private message me your sites.json file and I’ll send you back a version that you can swap in.

This is a bug that should be addressed in an upcoming version of Local.

Hello! I am also having trouble with Local hanging on “Starting Local Machines”. I’ve taken a look at my log file and although I clearly see some errors at the end of the file, I’m not sure what to make of them. I’ve included a snip below.

Also, while I was looking at the forum to resolve things yesterday, I noticed the 2.1.0 Pre-Release. I installed it (without replacing the original app) thinking that the update might clear out some cached files or otherwise fixed the issue. No such luck but thought I should mention it.

With thanks.

Oct 27, 2017, 9:38 AM EDT - warn: [main/docker-machine] VBoxManage: error: VMDK: inconsistency between grain table and backup grain table in '/Users/Dylan/.docker/machine/machines/local-by-flywheel/disk.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
Oct 27, 2017, 9:38 AM EDT - warn: [main/docker-machine] VBoxManage: error: VD: error VERR_VD_VMDK_INVALID_HEADER opening image file '/Users/Dylan/.docker/machine/machines/local-by-flywheel/disk.vmdk' (VERR_VD_VMDK_INVALID_HEADER)
Oct 27, 2017, 9:38 AM EDT - warn: [main/docker-machine] VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MediumWrap, interface IMedium
Oct 27, 2017, 9:38 AM EDT - warn: [main/docker-machine]  
Oct 27, 2017, 9:38 AM EDT - warn: [main/docker-machine] Details: 00:00:00.020563 Power up failed (vrc=VINF_SUCCESS, rc=NS_ERROR_FAILURE (0X80004005))

Hi @dgadwa,

Sorry about that!

Here’s what you can do to fix that:

  1. Download the vmware-vdiskmanager tool from VMWare here: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1023856 … Scroll to the “Attachments” section at the bottom and download 1023856-vdiskmanager-3.0.2.zip (or similar; whatever is appropriate for your system)
  2. Unzip the attachment after it’s downloaded
  3. Open up Terminal
  4. Drag-and-drop vmware-vdiskmanager onto Terminal to paste the path. Then enter the following -R ~/.docker/machine/machines/local-by-flywheel/disk.vmdk

The entire command should look something like this: /Users/claygriffiths/Downloads/vmware-vdiskmanager -R ~/.docker/machine/machines/local-by-flywheel/disk.vmdk

After that, try re-opening Local.

1 Like

“The virtual disk, ‘/Users/Dylan/.docker/machine/machines/local-by-flywheel/disk.vmdk’, was corrupted and has been successfully repaired.”

…and Local is now back up and running. Woohoo!! However, I’m getting “ERR_ADDRESS_UNREACHABLE” from the browser for all of my sites and their associated WP Admin. Sorry if I’ve missed something obvious - any thoughts?

Glad to hear!

Regarding ERR_ADDRESS_UNREACHABLE have you tried restarting the sites?

Yes indeed. However, I just tried stopping and then starting them again and got an err from Local which states:

"Uh oh! Local ran into an issue while dumping site database to the site's "app/sql directory".  Log file reveals the following:


Oct 27, 2017, 2:21 PM EDT - info: [main/docker-network-manager] Connected 16c235c43d371d683a75393354b9ed47c3b8e9dc5e02303119b150e520e30101.
Oct 27, 2017, 2:21 PM EDT - error: [main/docker-router]  Error: (HTTP code 500) server error - driver failed programming external connectivity on endpoint zen_pare (c7cb00738461fe37c2003b7fa9260d31d21689709cbc9c5932332fb63c91d329): Bind for 0.0.0.0:443 failed: port is already allocated 
    at /Users/Dylan/Desktop/Local by Flywheel 2.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:239:17
    at getCause (/Users/Dylan/Desktop/Local by Flywheel 2.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:269:7)
    at Modem.buildPayload (/Users/Dylan/Desktop/Local by Flywheel 2.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:238:5)
    at IncomingMessage.<anonymous> (/Users/Dylan/Desktop/Local by Flywheel 2.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:214:14)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)
Oct 27, 2017, 2:21 PM EDT - info: [main/docker-network-manager] Connected dfc84ec8b854e73bd0c0324c3ebccc2bda69e5cddaea43588e9472fe483ace44.
Oct 27, 2017, 2:21 PM EDT - info: [main/stopSite] Stopping site: running mydumper
Oct 27, 2017, 2:21 PM EDT - info: [main/stopSite] Stopping site: killing container 16c235c43d371d683a75393354b9ed47c3b8e9dc5e02303119b150e520e30101
Oct 27, 2017, 2:21 PM EDT - error: [main/stopSite] mydumper stderr Segmentation fault
Oct 27, 2017, 2:21 PM EDT - error: [main/stopSite] mydumper stdout

Try going to Help » Restart Local’s Machine and you should be set.

1 Like

Thanks, Clay! I had previously tried to restart the sites by clicking the individual sites in the UI and Stop/Start/Restarting them. Help/Restart Local Machine did the trick though.

Thanks again and have a great weekend!

1 Like

Hi Clay,
I was able to follow your instructions up to step 3. What is the terminal and where do I enter the information that you wanted me to. Thanks.

Jerry

Nov 13, 2017, 1:44 PM GMT+5:30 - info: [main/index] Existing Pressmatic data does not exist.
Nov 13, 2017, 1:44 PM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ 'virtualbox-not-ready', 'machine-halted' ]
Nov 13, 2017, 1:44 PM GMT+5:30 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> { Error: getaddrinfo ENOTFOUND local.getflywheel.com local.getflywheel.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26)
  code: 'ENOTFOUND',
  errno: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'local.getflywheel.com',
  host: 'local.getflywheel.com',
  port: 443 } }  reason:  Error: getaddrinfo ENOTFOUND local.getflywheel.com local.getflywheel.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26)
Nov 13, 2017, 1:44 PM GMT+5:30 - info: [main/virtualbox-installer-windows] Starting VirtualBox Install...
Nov 13, 2017, 1:45 PM GMT+5:30 - info: [main/virtualbox-installer-windows] VirtualBox installed!
Nov 13, 2017, 1:45 PM GMT+5:30 - info: [main/docker-create-machine] Starting Docker Machine Creation...
Nov 13, 2017, 1:45 PM GMT+5:30 - info: [main/docker-create-machine] Starting existing Docker Machine...
Nov 13, 2017, 1:46 PM GMT+5:30 - info: [main/docker-create-machine] Started existing Docker Machine.
Nov 13, 2017, 1:46 PM GMT+5:30 - info: [docker-import-image] Checking for Local Docker Image...
Nov 13, 2017, 1:46 PM GMT+5:30 - info: [main/set-docker-env] Getting Docker Machine env.
Nov 13, 2017, 1:50 PM GMT+5:30 - info: [main/set-docker-env] Received Docker Machine env. 
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/index] All Local sites are stopped. Shutting down VM.
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/index] Existing Pressmatic data does not exist.
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-halted' ]
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/docker-machine] Boot2Docker.iso hash does not match!
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/docker-machine] Copying C:\Users\varun\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso to C:\Users\varun\.docker\machine\machines\local-by-flywheel\boot2docker.iso
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/docker-machine] Running  C:\Users\varun\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe start local-by-flywheel
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/docker-machine] Starting "local-by-flywheel"...
Nov 13, 2017, 4:17 PM GMT+5:30 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Nov 13, 2017, 4:17 PM GMT+5:30 - warn: [main/docker-machine] Error setting up host only network on machine start: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm local-by-flywheel --nic2 hostonly --nictype2 82540EM --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #2 --cableconnected2 on failed:
Nov 13, 2017, 4:17 PM GMT+5:30 - warn: [main/docker-machine] VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
Nov 13, 2017, 4:17 PM GMT+5:30 - warn: [main/docker-machine] VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 507 of file VBoxManageModifyVM.cpp

SAME ISSUE. SOMEONE PLEASE HELP.

Hi @gmkrupka,

Sorry for the trouble!

Can you please provide your log? I want to make sure that the solution I provided is relevant to the problem you’re running into.

Please see How do I retrieve Local's log file? for instructions on how to get the log file.

@varunt43,

Can you please try restarting your computer? Then, try re-opening Local to see if the issue persists.

If it does, try the following:

  1. Quit out of Local
  2. Open VirtualBox on your PC
  3. Go to Settings » Network » Host-only Networks
  4. Delete any host-only network devices that you see
  5. Relaunch Local

Hi Clay,
The log is attached. A thought, what if I just uninstalled the program ands all accociated files and reinbstalled it again? Thanks for your assistance.

Jerrylocal-by-flywheel.log (155.7 KB)

Hi Clay,
I submitted the log to you last week but didn’t get a response back yet so I am resubmitting the log to you again.local-by-flywheel.log (165.0 KB)
The log is attached. A thought, what if I just uninstalled the program ands all associated files and reinstalled it again? Thanks for your assistance