Just about to deliver site and now "Error establishing a database connection"

Really need a hand here.

I was working on my site normally, then fired up another earlier install to check something. I then went to clone the current site I was working onand it threw a:

Error establishing a database connection. This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost . This could mean your host’s database server is down. * Are you sure you have the correct username and password?

  • Are you sure that you have typed the correct hostname?
  • Are you sure that the database server is running?

I went through the repair: Did the l : define( 'WP_ALLOW_REPAIR' , true);

No joy - still no connection. I then checked Adminer and it comes up with: " No such file or directory"

Can anyone help? It would be so much appreciated. Not sure where to turn next…Pulling my hair out as I was just about to send to client for feedback.

I can see the SQL files in the app folder but not sure why local cant connect to the DB?

Thank you for your help!!!

MY LOG (apologies for the length, I’m not sure where the error is…)

Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-machine-fdv] unfsd already running
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-router] Removing router container c3590dc10b6824609a0c08d4b59faf9199b79387f06bca042c4a069469074301
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-network-manager] removeExistingNetworks
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-network-manager] createNetwork
Apr 5, 2019, 10:42 AM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 1:55 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 1:55 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 1:55 PM GMT+11 - info: [main/docker-router] Removing router container e7e00e71d335f3b430b684d4d048d05d295612e5572807a99b3eff764441b0e8
Apr 5, 2019, 1:55 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 1:55 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 1:55 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:00 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:00 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 3f8ef3eddbf0a93bc178d2b8b9d344133f9fb444030058e717397976ceb11dcf
Apr 5, 2019, 2:00 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ stdout: '',
  stderr:
   'Warning: Error while sending QUERY packet. PID=624 in /app/public/wp-includes/wp-db.php on line 2007' }
Apr 5, 2019, 2:00 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:00 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:00 PM GMT+11 - info: [main/copySiteFiles] Copying files: /Users/stephenmoylan/Local Sites/fulidhoodive5 /Users/stephenmoylan/Local Sites/fulidhoodive7
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-create-site-container] Creating container directories
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-create-site-container] Creating container with 
{ Image:
   'sha256:feeae286c24123e2c0a47efa0be5eb4c5f46a2fea4587cd23e33b0330d674bc8',
  Tty: true,
  Cmd: 'supervisord',
  ExposedPorts:
   { '80/tcp': {}, '443/tcp': {}, '3306/tcp': {}, '1080/tcp': {} },
  HostConfig:
   { Binds:
      [ '/Users/stephenmoylan/Local Sites/fulidhoodive7/app:/app',
        '/Users/stephenmoylan/Local Sites/fulidhoodive7/logs/supervisor:/var/log/supervisor',
        '/Users/stephenmoylan/Local Sites/fulidhoodive7/logs/mysql:/var/log/mysql',
        '/Users/stephenmoylan/Local Sites/fulidhoodive7/logs/nginx:/var/log/nginx',
        '/Users/stephenmoylan/Local Sites/fulidhoodive7/logs/php:/var/log/php' ],
     PortBindings:
      { '80/tcp': [ { HostPort: '4077' } ],
        '443/tcp': [ { HostPort: '4078' } ],
        '3306/tcp': [ { HostPort: '4079' } ],
        '1080/tcp': [ { HostPort: '4080' } ] } } }
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-create-site-container] Created container:  c6e138a53a7ca02299d96ad53eb96eeecbb70437f8975ba22ffd427fa1c6e401
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/cloneSite] Cloned site container: c6e138a53a7ca02299d96ad53eb96eeecbb70437f8975ba22ffd427fa1c6e401
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/wpSearchReplaceDomain] Changing database domain for c6e138a53a7ca02299d96ad53eb96eeecbb70437f8975ba22ffd427fa1c6e401
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-router] Removing router container 064eb0d7bb51aeaffe54fb0f554e85afd314e2fdf388afd4c4194790a7d089ce
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 false testdev.local www.testdev.local divileadsite.local www.divileadsite.local bpphloxcopy.local www.bpphloxcopy.local electricianmain.local www.electricianmain.local electricianmain2.local www.electricianmain2.local base-master.local www.base-master.local fulidhoodive.local www.fulidhoodive.local fulidhoobaseinstall.local www.fulidhoobaseinstall.local fulidhoowithcontent.local www.fulidhoowithcontent.local fulidhoocopy.local www.fulidhoocopy.local fulidhoodive2.local www.fulidhoodive2.local fulidhoodive3.local www.fulidhoodive3.local fulidhoodive4.local www.fulidhoodive4.local fulidhoodive5.local www.fulidhoodive5.local servicedivi.local www.servicedivi.local astrabasedivi.local www.astrabasedivi.local crocbase.local www.crocbase.local crocbase2.local www.crocbase2.local fuldihoodive6.local www.fuldihoodive6.local fulidhoodive7.local www.fulidhoodive7.local
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:01 PM GMT+11 - info: [main/hosts-helper] hostsHelper: Updated hosts. 
{ stdout:
   'Updating hosts file at  /etc/hosts\nUpdated hosts file at  /etc/hosts\n',
  stderr: '' }
Apr 5, 2019, 2:02 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:02 PM GMT+11 - error: [main/cloneSite] Could not run changeSiteDomain [Arguments] { '0': 'dguRkNj_t', '1': 'FULIDHOODIVE7' }
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-delete-site-container] Deleting Site Container 
{ name: 'FULIDHOODIVE7',
  container:
   'c6e138a53a7ca02299d96ad53eb96eeecbb70437f8975ba22ffd427fa1c6e401' }
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-delete-site-container] Site 07Dp4OU3j has a cloned image of  
[ 'sha256:2dd9254d6a41ae4727c45ea222c8f76cf169cd8230e41715f3ee2982ef713d16',
  'sha256:56771e65bad0fc4b19d9e160f862e00b8ce47ce13197e264372e15fe3d07a2b4',
  'sha256:feeae286c24123e2c0a47efa0be5eb4c5f46a2fea4587cd23e33b0330d674bc8' ]
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-delete-site-container] Cloned image sha256:56771e65bad0fc4b19d9e160f862e00b8ce47ce13197e264372e15fe3d07a2b4 is in use by another site/container.
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-delete-site-container] Cloned image sha256:2dd9254d6a41ae4727c45ea222c8f76cf169cd8230e41715f3ee2982ef713d16 is in use by another site/container.
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-router] Removing router container 0f29caaaa55d6bca7286d19e00da5b480da3a38fb6c36111292d3b639e3c5cc3
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 false testdev.local www.testdev.local divileadsite.local www.divileadsite.local bpphloxcopy.local www.bpphloxcopy.local electricianmain.local www.electricianmain.local electricianmain2.local www.electricianmain2.local base-master.local www.base-master.local fulidhoodive.local www.fulidhoodive.local fulidhoobaseinstall.local www.fulidhoobaseinstall.local fulidhoowithcontent.local www.fulidhoowithcontent.local fulidhoocopy.local www.fulidhoocopy.local fulidhoodive2.local www.fulidhoodive2.local fulidhoodive3.local www.fulidhoodive3.local fulidhoodive4.local www.fulidhoodive4.local fulidhoodive5.local www.fulidhoodive5.local servicedivi.local www.servicedivi.local astrabasedivi.local www.astrabasedivi.local crocbase.local www.crocbase.local crocbase2.local www.crocbase2.local fuldihoodive6.local www.fuldihoodive6.local
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:02 PM GMT+11 - info: [main/hosts-helper] hostsHelper: Updated hosts. 
{ stdout:
   'Updating hosts file at  /etc/hosts\nUpdated hosts file at  /etc/hosts\n',
  stderr: '' }
Apr 5, 2019, 2:03 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:03 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:03 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:03 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:03 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:03 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:03 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:04 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:04 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/docker-router] Removing router container a62bc50c4a6370db87ae4d38a2daa412dd7aa044324efabadf2dd8d444bd4466
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:04 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:04 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:04 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:04 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:05 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:05 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:05 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:05 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:05 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:05 PM GMT+11 - info: [main/index] Shutting Down VM
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/addonLoader] Loading Add-on: /Users/stephenmoylan/Library/Application Support/Local by Flywheel/addons/local-addon-notes/lib/main.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Environment does not have package.json: /Users/stephenmoylan/Library/Application Support/Local by Flywheel/environments/custom-1-3-0/package.json
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/addonLoader] Successfully Loaded Add-on: /Users/stephenmoylan/Library/Application Support/Local by Flywheel/addons/local-addon-notes/lib/main.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-0-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-0-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-1-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-1-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-2-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-2-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-1/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/custom-1-3-1/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-0-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-0-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-1-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-1-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-2-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-2-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-0/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-1/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-1/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Loading Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-2/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/EnvironmentLoader] Successfully Loaded Environment: /Applications/Local by Flywheel.app/Contents/Resources/extraResources/environments/flywheel-1-3-2/out/environment.js
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Stopped\n', stderr: '' }
Apr 5, 2019, 2:07 PM GMT+11 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined, 'machine-halted' ]
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/docker-machine] Starting "local-by-flywheel"...
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Apr 5, 2019, 2:07 PM GMT+11 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine] Machine "local-by-flywheel" was started.
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine] Waiting for SSH to be available...
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine] Detecting the provisioner...
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine] Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/set-docker-env] Getting Docker Machine env.
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.95.100:2376"
export DOCKER_CERT_PATH="/Users/stephenmoylan/.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)

Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine] checking IP
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine] checked IP 192.168.95.100

Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine-fdv] NFS Mount Status 
{ mountedPoints: [ '/Users', '/Volumes' ],
  mountPoints: [ '/Users', '/Volumes' ] }
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-machine-fdv] unfsd already running
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-router] Removing router container c3d7bfde23aee9a88fef4cbf6de5857e023278e5824b01455f572039a42dc807
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-network-manager] removeExistingNetworks
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-network-manager] createNetwork
Apr 5, 2019, 2:08 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:09 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:09 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:09 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:13 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:13 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:13 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:13 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/docker-router] Removing router container fdf1bcc4a85b886c830632b9b5d6a2dcc695e0cd973715b7ab1700e4635e8408
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:13 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 7e66be5c4552eb6903684caacaf6b5b087a624c6271fe94105430d11ff3a8286
Apr 5, 2019, 2:14 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ stdout: '',
  stderr:
   'Warning: Error while sending QUERY packet. PID=424 in /app/public/wp-includes/wp-db.php on line 2007' }
Apr 5, 2019, 2:14 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:14 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/docker-router] Removing router container ef78fbb7c81555cd34f35ab0d6742edcdcb9c8699570b1794f196f70c266944b
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:14 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:14 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:14 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:14 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:15 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:15 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:15 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:15 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/docker-router] Removing router container ce992036622ce9bc1c873030e2975c34079245cdb363959af9a090e1562abd97
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:15 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:16 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:16 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:16 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:19 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:19 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:19 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:19 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:19 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:19 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:20 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:20 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:20 PM GMT+11 - info: [main/docker-router] Removing router container 5f5b11c1581f50a46f089674cccac980db775385498f520e60197f2ada340cb3
Apr 5, 2019, 2:20 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:20 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:20 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:20 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:20 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:20 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:21 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:21 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:21 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:21 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/docker-router] Removing router container a502150ef166dd8628649be2859f1f0c42f690b7ec35102e63ecbe8a8d85c89b
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:21 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 962fd7b1b271263501dd0be6c1a3af6b52b2efb8c13838d2367f89c5c15124b7
Apr 5, 2019, 2:25 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ stdout: '',
  stderr:
   'Warning: Error while sending QUERY packet. PID=554 in /app/public/wp-includes/wp-db.php on line 2007' }
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/docker-router] Removing router container 5286ef509855c020ac814ca8e6539bd5437d95cbc29716528927f11f41dbc457
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:25 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:26 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:26 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:26 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:30 PM GMT+11 - error: [worker: export-site-worker] mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
Error: mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
    at docker.(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/exporters/ExporterLocal.js:1:2910)
    at process._tickCallback (internal/process/next_tick.js:68:7)
Apr 5, 2019, 2:30 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:30 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:30 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:31 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:31 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:31 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:31 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/docker-router] Removing router container b3d4acc06e2b170edc71feb7cbe18b7b30a92cea659815e5a1e8f2b142475436
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:31 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:33 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:33 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 962fd7b1b271263501dd0be6c1a3af6b52b2efb8c13838d2367f89c5c15124b7
Apr 5, 2019, 2:33 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ stdout: '',
  stderr:
   'Warning: Error while sending QUERY packet. PID=443 in /app/public/wp-includes/wp-db.php on line 2007' }
Apr 5, 2019, 2:34 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:34 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:34 PM GMT+11 - info: [main/docker-router] Removing router container 80fee5ae195aa847ef921846f4fa68cbc58861c360572e2236a6777800faea51
Apr 5, 2019, 2:34 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:34 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:34 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:34 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:34 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:34 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:37 PM GMT+11 - info: [main/stopSite] Stopping site: running mydumper
Apr 5, 2019, 2:38 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:38 PM GMT+11 - error: [main/exportDB]  
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:38 PM GMT+11 - info: [main/stopSite] Stopping site: stopping container 623350116ea56d46bdf3d555ccf73ef7948d51eb44280c4d34a3eeada6c2ce07
Apr 5, 2019, 2:38 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:38 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine stop local-by-flywheel
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Stopping "local-by-flywheel"...
Apr 5, 2019, 2:41 PM GMT+11 - error: [main/index]  
{ message: 'connect ECONNREFUSED 192.168.95.100:2376',
  stack:
   'Error: connect ECONNREFUSED 192.168.95.100:2376\n    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)',
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '192.168.95.100',
  port: 2376 }
Apr 5, 2019, 2:41 PM GMT+11 - error: [main/index] Error: connect ECONNREFUSED 192.168.95.100:2376
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1161:14)
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Machine "local-by-flywheel" was stopped.
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] child process exited with code 0
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Starting "local-by-flywheel"...
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Machine "local-by-flywheel" was started.
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Waiting for SSH to be available...
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Detecting the provisioner...
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/set-docker-env] Getting Docker Machine env.
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.95.100:2376"
export DOCKER_CERT_PATH="/Users/stephenmoylan/.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)

Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine-fdv] unfsd already running
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/docker-machine] checking IP
Apr 5, 2019, 2:41 PM GMT+11 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Running\n', stderr: '' }
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-machine] checked IP 192.168.95.100

Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-machine-fdv] NFS Mount Status 
{ mountedPoints: [ '/Users', '/Volumes' ],
  mountPoints: [ '/Users', '/Volumes' ] }
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-machine-fdv] unfsd already running
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/set-docker-env] Getting Docker Machine env.
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.95.100:2376"
export DOCKER_CERT_PATH="/Users/stephenmoylan/.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)

Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-machine-fdv] unfsd already running
Apr 5, 2019, 2:42 PM GMT+11 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined,
  [ 'local-by-flywheel/clone-tm073tphj:latest',
    'local-by-flywheel/clone-pqzgn86xj:latest',
    'local-by-flywheel/clone-tvw7-guje:latest',
    '<none>:<none>',
    'local-by-flywheel/clone-dgurknj_t:latest',
    'local-by-flywheel/clone-tl6lgeua:latest',
    'local-by-flywheel/clone-nue73qdzp:latest',
    'local-by-flywheel/clone-8lzuei6li:latest',
    'local-by-flywheel/clone-n-o8ikglg:latest',
    'local-by-flywheel/clone-wqpr934ve:latest',
    'local-by-flywheel/clone-s85dslv2t:latest',
    'local-by-flywheel/clone-blc90eqzw:latest',
    'local-by-flywheel/clone-y-ylwsjbf:latest',
    'local-by-flywheel/clone-s-etmcuzp:latest',
    'custom:1.3',
    'flywheel:1.3.2',
    'local-router:1.1',
    'flywheel:1.2' ] ]
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-machine-fdv] NFS Mount Status 
{ mountedPoints: [ '/Users', '/Volumes' ],
  mountPoints: [ '/Users', '/Volumes' ] }
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-machine-fdv] unfsd already running
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-router] getRouterContainers()
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-router] teardown()
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-router] Removing router container e61f456ad7db2209a4908f77bc738017a35a5dc0b996046fb39103e77e3d3ce1
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-router] updateProxyManager()
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-router] runContainer()
Apr 5, 2019, 2:42 PM GMT+11 - info: [main/docker-router] reconnectNetwork()
Apr 5, 2019, 2:42 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:42 PM GMT+11 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: '', stderr: '' }
Apr 5, 2019, 2:42 PM GMT+11 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ message: '',
  stack:
   'Error\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2853\n    at Generator.next (<anonymous>)\n    at _0x5bab70 (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1645)\n    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1904\n    at process._tickCallback (internal/process/next_tick.js:68:7)' }
1 Like

What exactly did you do?

Let’s say here that working on my site is A and then fired up B (the earlier install)
clone or close?

Did you try to close flywheel? Maybe even shutdown your computer?

Do you have the option to export the site in a zip?
Maybe you could attempt to restore it from the zip

HI Kingdom,

All I did was start a new site, browsed to it. I came back to the original site I was working on, and then tried to clone it.

Nothing else. I didn’t close anything, or shut any site down or use any other app. Just as above.

I tried exporting the site but it errors on the export.

I really hope I haven’t lost this site, it’s weeks of work…

Do you have any advice?

Cheers

Would it be worth trying a restore from folders like this? How can I restore a site from a Local site folder?

What exactly do you mean when you say “clone” do you mean that you copied the folder?

Hi Kingdom,

Local app, selected my site, right click, clone, nothing else. No copying folders. No doing anything else. All inside the flywheel local app.

Cheers,

If it’s of any use Kingdom, the error happened at around 2pm in the logs.

Since this has happened, can you tell me if you attempted anything else? And can you tell me when the last time you stopped or shutdown.

When you say it errors on export
What’s the error message?

Hi Kingdom,

I have since restarted my machine a couple of times after stopping the local instances. I also tried virtualbox ACPI shutdown. None of which made any difference.

Incidentally I have a Nox error in virtualbox: (nox inaccessible)
Runtime error opening ‘/Applications/Nox App Player.app/Contents/MacOS/BignoxVMS/VirtualBoxVMs/nox/nox.vbox’ for reading: -102 (File not found.).

/Users/vbox/tinderbox/5.2-mac-rel/src/VBox/Main/src-server/MachineImpl.cpp[743] (nsresult Machine::i_registeredInit()).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

Also in reference to your last question, the error was:

There was an error exporting fulidhoo5 - “could not dump database form Fulidhoo5” popup.

Can you give me any idea of what to do or what I’m looking at?

Cheers,

Thanks man,
I thought I had lost my site also two days ago!

You’re welcome to try the method you pointed out here to restore you site, I achieved the same result quite differently using Local’s import feature actually and not SSH and I intuitively restored my website and described it in my first post. But I didn’t know about the mydocker command, Thanks even if the title said “Container not found” it’s pretty much the answer to all problems.

The bottom line here is that this approach isn’t terrible but it’s not ideal.

Seems to me like the VM was busy and somehow you managed to start a process that caused MySQL server to hang. Is it clone is it the new project,

If you have the source files in your folder with databases .sql files hope isn’t lost… you’ll be fine!

Depending on you technical skills it’s possible to make serious damage here and loose stuff.

I recommend to be gentle with a setup like this It’s one virtual machine running docker containers. Add the fact that on top of the full stack is siting a WordPress nothing less! So themes, plugins etc. Are other layers deep from you base os.

Luckily it’s “Local” and depending when those .sql files are updated we may still “RECOVER” our websites in a fairly good state.

Cheers for your help Kingdom!

Just curious how you went about the import using local’s import feature? What was your process? Sounds like it might be worth trying the import feature first.

Oh and another thing, just curious as to whether local holds off writing the SQL files into the site folder till the site is stopped and the DB is exported? I saw a few people asking the same Question…If that’s the case, I will have lost the days; work… better than a week though right…

Cheers again!

OK, So I had success…if anyone is following along is keen to know how I got on. I simply zipped up the local site folder in finder and imported it into local - drag and drop. I renamed the site install and I was back up and running in moments, albeit missing the days work since flywheel doesn’t write the DB files to the folder until the site is stopped. That sux. Anyhow… that did it for me…

PS. Flywheel, you guys could encourage us to save “stop” our sites more often in case this happens again. It would be even sweeter if the files were written periodically…like an automagic autosave… (whoa)… Anyway I have seen a number of people with the same issue. It would be nice if you mentioned it loud and clear!

Cheers again Kingdom…

2 Likes

Hi @sjmoylan,

Glad to hear you were able to sort it! @kingdomcreation, thanks for helping out :slight_smile:

I apologize for the massive inconvenience! We’re actively looking into the recent trend of VirtualBox/MySQL issues. Your logs and details are a great help!

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