Flywheel Hanging When Starting Local Machine

Hi I am having issues with Local by Flywheel, I tried changing from nginx to apache for a project and now I am left with a message saying “Starting local machine” however it never starts. I have tried restarting my device and it still doesn’t work. It worked perfectly fine before the new update. I’m using the latest version of OSX.

UPDATE: I tried downloading an older version of Flywheel and it appears to boot up fine however when I actually go to visit the site in the browser I am left with:

This site can’t be reached

driven.dev refused to connect.

I then tried changing the setting back from Apache to nginx and restarting my system to see if that would fix it and it didn’t.

If this isn’t a quick fix how could I migrate my site from Local to MAMP? I can see a bunch of SQL files in app/sql however this isn’t one DB file so I’m a little bit confused with what I should do with them.

Trust this to happen when I go to demonstrate to a client haha, embarrassing.

UPDATE 2: I have seen their is an issue with initialising Local on Mac so I am now using version 2.1. This seems to work fine however all my sites return this error when I visit them in the browser now:

502 Bad Gateway

Here is my log file from today:

Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] doesNetworkExist
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Reconnecting 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Reconnecting bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Reconnecting 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-router] Router: Check Config
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Network exists.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Connecting 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765 to local network.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Connecting 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e to local network.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/docker-network-manager] Connecting bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604 to local network.
Jun 2, 2017, 2:07 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:08 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:08 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:08 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:08 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:08 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/stopSite] Stopping site: running mydumper
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/stopSite] Stopping site: running mydumper
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/stopSite] Stopping site: running mydumper
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/stopSite] Stopping site: killing container 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/stopSite] Stopping site: killing container bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/stopSite] Stopping site: killing container 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/startSite] Running start 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/startSite] Running start bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/startSite] Running start 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e
Jun 2, 2017, 2:10 PM GMT+1 - info: [main/docker-router] Router locked. Waiting...
Jun 2, 2017, 2:11 PM GMT+1 - info: [main/verify-wp-cli] Verifying WP-CLI for 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'running',
  S1G1Kg0dx: 'running',
  H1PZTvVgb: 'running' }
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/docker-machine-nfs] NFS Mount Status 
{ error: null,
  stdout: 'tmpfs on / type tmpfs (rw,relatime,size=917692k)\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)\nUsers on /Users type vboxsf (rw,nodev,relatime)\n/dev/sda1 on /mnt/sda1/var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)\nnone on /mnt/sda1/var/lib/docker/aufs/mnt/7cb2ffe5d27b88552d39c5f16e888e728e14731134b5fbce311328f6a1eb183a type aufs (rw,relatime,si=5469f1f9d6ba7e3,dio,dirperm1)\nnone on /mnt/sda1/var/lib/docker/aufs/mnt/8c8df6768982b469e7bfa0e6ba42afa47a1e69662a27d30f8fc040c60f29e7de type aufs (rw,relatime,si=5469f1f9ce4a7e3,dio,dirperm1)\nnone on /mnt/sda1/var/lib/docker/aufs/mnt/624f92274e635d97252acbd1a5cefed203608e5dae9375457d1a8761e5e9ef46 type aufs (rw,relatime,si=5469f1f8ab7c7e3,dio,dirperm1)\nshm on /mnt/sda1/var/lib/docker/containers/0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)\nnsfs on /var/run/docker/netns/8deccc4a61c8 type nsfs (rw)\nshm on /mnt/sda1/var/lib/docker/containers/bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)\nshm on /mnt/sda1/var/lib/docker/containers/56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)\nnsfs on /var/run/docker/netns/f895a54d6fe3 type nsfs (rw)\nnsfs on /var/run/docker/netns/7b23778be8f0 type nsfs (rw)\n',
  stderr: '',
  hasUsers: null }
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/docker-machine-nfs] Enabling Docker Machine NFS
Jun 2, 2017, 2:23 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
Jun 2, 2017, 2:23 PM GMT+1 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> Error: Command failed: sh "/private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/247C7B79-1FBC-4883-A96A-D05E086C7F0B/d/Local by Flywheel 2.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh" "192.168.75.100" "502" "20"
    at /private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/247C7B79-1FBC-4883-A96A-D05E086C7F0B/d/Local by Flywheel 2.app/Contents/Resources/app.asar/node_modules/sudo-prompt/index.js:329:27
    at tryToString (fs.js:426:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12) }  reason:  Error: Command failed: sh "/private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/247C7B79-1FBC-4883-A96A-D05E086C7F0B/d/Local by Flywheel 2.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh" "192.168.75.100" "502" "20"
    at /private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/247C7B79-1FBC-4883-A96A-D05E086C7F0B/d/Local by Flywheel 2.app/Contents/Resources/app.asar/node_modules/sudo-prompt/index.js:329:27
    at tryToString (fs.js:426:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)
Jun 2, 2017, 2:23 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'running',
  S1G1Kg0dx: 'running',
  H1PZTvVgb: 'running' }
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
Jun 2, 2017, 2:24 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, 'machine-halted' ] machine-halted
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/docker-machine] Running  /private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/AF47F88D-2071-4561-BEB4-6A9507B1B5FA/d/Local by Flywheel 2.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/docker-machine] Starting "local-by-flywheel"...
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Jun 2, 2017, 2:24 PM GMT+1 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Jun 2, 2017, 2:25 PM GMT+1 - info: [main/docker-machine] Machine "local-by-flywheel" was started.
Jun 2, 2017, 2:25 PM GMT+1 - info: [main/docker-machine] Waiting for SSH to be available...
Jun 2, 2017, 2:25 PM GMT+1 - info: [main/docker-machine] Detecting the provisioner...
Jun 2, 2017, 2:25 PM GMT+1 - info: [main/docker-machine] Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Jun 2, 2017, 2:36 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'running',
  S1G1Kg0dx: 'running',
  H1PZTvVgb: 'running' }
Jun 2, 2017, 2:36 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 2:36 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 2:36 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 2:36 PM GMT+1 - warn: [main/set-docker-env] Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.75.100:2376": dial tcp 192.168.75.100:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.


Jun 2, 2017, 2:36 PM GMT+1 - info: [main/set-docker-env] Going to regen machine certs.
Jun 2, 2017, 2:36 PM GMT+1 - info: [renderer/RegenMachineCertsPage] Regenerating Machine Certificates.
Jun 2, 2017, 2:36 PM GMT+1 - info: [renderer/RegenMachineCertsPage] Regenerate machine cert response. 
{ error: null,
  stdout: 'Regenerating TLS certificates\nWaiting for SSH to be available...\nDetecting the provisioner...\nCopying certs to the local machine directory...\nCopying certs to the remote machine...\nSetting Docker configuration on the remote daemon...\n',
  stderr: '' }
Jun 2, 2017, 2:36 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 2:36 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 2:36 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/startSite] Refreshing NFS mounts
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/waitForFile] Waiting for  /conf/php/7.0.3/etc/php-fpm.conf 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-router] updateProxyManager()
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-network-manager] maybeCreateNetwork
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-router] getRouterContainer()
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-router] reconnectNetwork()
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-network-manager] doesNetworkExist
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-router] runContainer()
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-network-manager] Network exists.
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-network-manager] Connected 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/waitForFile] /conf/php/7.0.3/etc/php-fpm.conf exists
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-network-manager] Connected bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:37 PM GMT+1 - info: [main/docker-network-manager] Connected 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:37 PM GMT+1 - info: [environment/custom] /opt/php/7.0.3/sbin/php-fpm: error while loading shared libraries: /usr/lib/libmcrypt.so.4: file too short Starting php-fpm  failed
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'halted',
  S1G1Kg0dx: 'halted',
  H1PZTvVgb: 'running' }
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
Jun 2, 2017, 2:38 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, 'machine-halted' ] machine-halted
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/docker-machine] Starting "local-by-flywheel"...
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Jun 2, 2017, 2:38 PM GMT+1 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Jun 2, 2017, 2:39 PM GMT+1 - info: [main/docker-machine] Machine "local-by-flywheel" was started.
Jun 2, 2017, 2:39 PM GMT+1 - info: [main/docker-machine] Waiting for SSH to be available...
Jun 2, 2017, 2:39 PM GMT+1 - info: [main/docker-machine] Detecting the provisioner...
Jun 2, 2017, 2:39 PM GMT+1 - info: [main/docker-machine] Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'halted',
  S1G1Kg0dx: 'halted',
  H1PZTvVgb: 'running' }
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-machine-nfs] NFS Mount Status 
{ error: null,
  stdout: 'tmpfs on / type tmpfs (rw,relatime,size=917692k)\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)\nUsers on /Users type vboxsf (rw,nodev,relatime)\n/dev/sda1 on /mnt/sda1/var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)\n',
  stderr: '',
  hasUsers: null }
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-machine-nfs] Enabling Docker Machine NFS
Jun 2, 2017, 2:41 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
Jun 2, 2017, 2:41 PM GMT+1 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> Error: Command failed: sh "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh" "192.168.75.100" "502" "20"
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/sudo-prompt/index.js:329:27
    at tryToString (fs.js:426:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12) }  reason:  Error: Command failed: sh "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh" "192.168.75.100" "502" "20"
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/sudo-prompt/index.js:329:27
    at tryToString (fs.js:426:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/startSite] Refreshing NFS mounts
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/waitForFile] Waiting for  /conf/php/7.0.3/etc/php-fpm.conf 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-router] updateProxyManager()
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-network-manager] maybeCreateNetwork
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-router] getRouterContainer()
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-router] reconnectNetwork()
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-network-manager] doesNetworkExist
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-network-manager] Network exists.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-router] teardown()
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-network-manager] Connected 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-network-manager] Connected bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-router] runContainer()
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/docker-network-manager] Connected 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:41 PM GMT+1 - info: [main/waitForFile] /conf/php/7.0.3/etc/php-fpm.conf exists
Jun 2, 2017, 2:41 PM GMT+1 - info: [environment/custom] /opt/php/7.0.3/sbin/php-fpm: error while loading shared libraries: /usr/lib/libmcrypt.so.4: file too short Starting php-fpm  failed
Jun 2, 2017, 2:45 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'halted',
  S1G1Kg0dx: 'halted',
  H1PZTvVgb: 'running' }
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 2:46 PM GMT+1 - warn: [main/set-docker-env] Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "192.168.75.100:2376": dial tcp 192.168.75.100:2376: getsockopt: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.


Jun 2, 2017, 2:46 PM GMT+1 - info: [main/set-docker-env] Going to regen machine certs.
Jun 2, 2017, 2:46 PM GMT+1 - info: [renderer/RegenMachineCertsPage] Regenerating Machine Certificates.
Jun 2, 2017, 2:46 PM GMT+1 - info: [renderer/RegenMachineCertsPage] Regenerate machine cert response. 
{ error: null,
  stdout: 'Regenerating TLS certificates\nWaiting for SSH to be available...\nDetecting the provisioner...\nCopying certs to the local machine directory...\nCopying certs to the remote machine...\nSetting Docker configuration on the remote daemon...\n',
  stderr: '' }
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 2:46 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/startSite] Refreshing NFS mounts
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/waitForFile] Waiting for  /conf/php/7.0.3/etc/php-fpm.conf 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] updateProxyManager()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] maybeCreateNetwork
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] getRouterContainer()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] reconnectNetwork()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] doesNetworkExist
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Network exists.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] teardown()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Connected 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] runContainer()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Connected bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Connected 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/waitForFile] /conf/php/7.0.3/etc/php-fpm.conf exists
Jun 2, 2017, 2:46 PM GMT+1 - info: [environment/custom] /opt/php/7.0.3/sbin/php-fpm: error while loading shared libraries: /usr/lib/libmcrypt.so.4: file too short Starting php-fpm  failed
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/startSite] Refreshing NFS mounts
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/waitForFile] Waiting for  /conf/php/7.0.3/etc/php-fpm.conf 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] updateProxyManager()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] maybeCreateNetwork
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] getRouterContainer()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] reconnectNetwork()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] doesNetworkExist
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Network exists.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] teardown()
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Connected bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/waitForFile] /conf/php/7.0.3/etc/php-fpm.conf exists
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Connected 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-network-manager] Connected 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 2:46 PM GMT+1 - info: [main/docker-router] runContainer()
Jun 2, 2017, 2:46 PM GMT+1 - info: [environment/custom]  Starting php-fpm  done
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] Running  /private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/F81EAA43-D217-444A-AE33-2695AC81611B/d/Local by Flywheel 3.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine stop local-by-flywheel
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] Stopping "local-by-flywheel"...
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] Machine "local-by-flywheel" was stopped.
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] child process exited with code 0
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] Running  /private/var/folders/p5/q0z_cjgj6hv3c8cx8zs6hcww0000gp/T/AppTranslocation/F81EAA43-D217-444A-AE33-2695AC81611B/d/Local by Flywheel 3.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] Starting "local-by-flywheel"...
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Jun 2, 2017, 4:05 PM GMT+1 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Jun 2, 2017, 4:06 PM GMT+1 - info: [main/index] before-quit: 
{ SyPZ7GO4g: 'running',
  S1G1Kg0dx: 'halted',
  H1PZTvVgb: 'provisioning' }
Jun 2, 2017, 4:07 PM GMT+1 - info: [main/index] Existing Pressmatic data does not exist.
Jun 2, 2017, 4:07 PM GMT+1 - info: [main/set-docker-env] Getting Docker Machine env.
Jun 2, 2017, 4:07 PM GMT+1 - info: [main/set-docker-env] Received Docker Machine env.
Jun 2, 2017, 4:07 PM GMT+1 - info: [main/docker-machine-nfs] NFS Mount Status 
{ error: null,
  stdout: 'tmpfs on / type tmpfs (rw,relatime,size=917692k)\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)\nUsers on /Users type vboxsf (rw,nodev,relatime)\n/dev/sda1 on /mnt/sda1/var/lib/docker/aufs type ext4 (rw,relatime,data=ordered)\n',
  stderr: '',
  hasUsers: null }
Jun 2, 2017, 4:07 PM GMT+1 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
Jun 2, 2017, 4:07 PM GMT+1 - info: [main/docker-machine-nfs] Enabling Docker Machine NFS
Jun 2, 2017, 4:07 PM GMT+1 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> Error: Command failed: sh "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh" "192.168.75.100" "502" "20"
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/sudo-prompt/index.js:329:27
    at tryToString (fs.js:426:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12) }  reason:  Error: Command failed: sh "/Applications/Local by Flywheel.app/Contents/Resources/extraResources/shell-scripts/nfs-configure-mac.sh" "192.168.75.100" "502" "20"
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/sudo-prompt/index.js:329:27
    at tryToString (fs.js:426:3)
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/startSite] Refreshing NFS mounts
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/waitForFile] Waiting for  /conf/php/7.0.3/etc/php-fpm.conf 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-router] updateProxyManager()
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-network-manager] maybeCreateNetwork
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-router] getRouterContainer()
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-router] reconnectNetwork()
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-network-manager] doesNetworkExist
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-network-manager] Network exists.
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-router] runContainer()
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-network-manager] Connected bc925653b6877d701a95e37bea0d1e18f1ba968c0b777e1c01675d1c9f704604.
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-network-manager] Connected 0459b97888a22c02f75d4f151dee99464447cc716debe70c2ed5c8910c868765.
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/waitForFile] /conf/php/7.0.3/etc/php-fpm.conf exists
Jun 2, 2017, 4:10 PM GMT+1 - info: [main/docker-network-manager] Connected 56cfcfdc2744ac2f0ab42148d959684fe69b89dad7d6274071692e308364422e.
Jun 2, 2017, 4:10 PM GMT+1 - info: [environment/custom] /opt/php/7.0.3/sbin/php-fpm: error while loading shared libraries: /usr/lib/libmcrypt.so.4: file too short Starting php-fpm  failed

Any ideas how I can fix this? Thanks

I am having this same issue, so I will keep an eye on this thread for resolution…I am having other issues where one time I access a Local dev site and all works well, 20 mins later the site cannot be found…or just cannot login.

Nobody have any suggestions about this?

I am having the same problem.
I installed Local by Flywheel 2.0.2.
It is not starting up.

Nothing but trouble and failure for me since upgrading. I had a perfectly working system. Loved using local for on my development server …

Helas. The developer and support staff have given up on trying to answer any questions. Bottom line, they have released a version so full of bugs! They know longer know how to respond! My two cents.

I’ve simply given up. Hopefully, the dev team will put their responsibility hats on and get this major screw up fixed!

Sorry for my harsh words …

No, this reply does not improve the conversation but hopefully will serve as a wake up call! Hello?

1 Like

No offense taken.

I am staying with Local version 2.0.1 since that is the version that appears to work despite having so many error codes in the log file. I like the new user interface of Local version 2.X.

I am making a full backups however of the website I am developing using All-In-One-WP-Migration.

That way, if Local becomes too unstable or development bogs down, I can go back to using DesktopServer Premium. They informed me that the next release version 3.9 will have PHP7 finally.

I’ve switched to Local 2.0.1 luckily I managed to get my site working by creating a backup of my project and then deleted the site within Flywheel. I then just created a new site and used my files and DB from the backup. Only issue is that the VM is running horribly slow for some reason now, taking up to 10 seconds to load a page. I have just loaded my project onto Mamp and I might use Local in the future when the development team have made this all stable.

I’m unsure why they even changed the Local 1x it worked a treat!

They changed Local 1.x to Local 2.x to improve the user interface - which I think is great.
But somehow the underlying system - which depends on multiple 3rd party apps - went awry.
So I hope they fix it.

Hi all,

If you’re having this issue please update to Local 2.0.3: Local by Flywheel 2.0.3 (macOS Only)

So sorry for the trouble!

Hi @clay. New user here and I’m having this issue on 2.0.6. I set up a Local site but when I try to ‘View Site’, I get the following error in Chrome.

I’m running on MacOS High Sierra version 10.13 Beta (17A306f)

Any help and/or suggestions would be great!

Thank You!

HI all. Well, well well! Why am I back here, following on a post which seems like ages ago! Yes, the flywheel has been fly, after finding a way to make it all happen again but losing precious work time over said period!

Anyways, things have been awesome, some minor issues always easily fixed because, well. I know what I’m doing! right? hahaha = frowning.

But wait … another update, another headache!

First, why is it that now, sites with .dev are now sites with .local? Breaking change? Why no warning? Hmmm. Maybe I’m just out in left feild. Anyways … Because of the problems with upgrades …

Re-introducing old bugs because that is what is happening here! How do I re-initialize a site that had a .dev extension and now has a .local when trying to recreate the site according to intructions …

Hope I’m not being too cryptic …

Respectfully.

The .dev issue has nothing to do with Flywheel, it’s a change to Chrome and affects anyone and everyone using .dev as a TLD. Not to mention that it’s well documented in multiple threads here and literally all over the internet.

Additionally, it’s bad form to reopen old threads nor is it to hijack other peoples threads with your own different issues.

1 Like

hah! Didn’t know it. Miss it completely, so there you go. I do not care about bad form, Just getting results. Sorry to be blunt in turn!

Understand something Mr. Jb510. I am frustrated that Flywheel keeps putting sticks in my spokes! And I see others just as frustrated. It just shouldn’t happen! That is all. Sorry for hijacking, I admit the error!

Peace and respect.