Site(s) not starting

I have several sites that don’t start:

<rejected> { Error: (HTTP code 400) unexpected - {"message":"OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"nginx\\\": executable file not found in $PATH\": unknown"}
 
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:239:17
    at IncomingMessage.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:266:9)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9) reason: undefined, statusCode: 400, json: null } }  reason:  Error: (HTTP code 400) unexpected - {"message":"OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"nginx\\\": executable file not found in $PATH\": unknown"}
 
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:239:17
    at IncomingMessage.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:266:9)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
Sep 26, 2018, 11:49 PM GMT+2 - info: [EnvironmentCustom] php-7.1.4-fpm: unrecognized service 
Sep 26, 2018, 11:49 PM GMT+2 - info: [main/docker-router] getRouterContainers()
Sep 26, 2018, 11:49 PM GMT+2 - info: [main/docker-router] teardown()
Sep 26, 2018, 11:49 PM GMT+2 - info: [main/docker-router] Removing router container 813fafb3d31f5d241d7d56a5891d6ead224c0ea32941f8f6b6d31f06ac3d5412
Sep 26, 2018, 11:49 PM GMT+2 - info: [main/docker-router] updateProxyManager()
Sep 26, 2018, 11:49 PM GMT+2 - info: [main/docker-router] runContainer()
Sep 26, 2018, 11:49 PM GMT+2 - info: [main/docker-router] reconnectNetwork()

@chzumbrunnen,

Please try going to Help » Restart Local’s Machine and then try starting the sites.

Tried this, still

Sep 27, 2018, 12:05 AM GMT+2 - error: [main/exportDB]  Error: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
    at docker.(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/exporters/ExporterLocal.js:1:2910)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/stopSite] Stopping site: stopping container 4974444d3bf5d61124679f17045eb957a8452869ea5ac10a45ecf4d468cfd148
Sep 27, 2018, 12:05 AM GMT+2 - error: [main/exportDB]  Error: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
    at docker.(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/exporters/ExporterLocal.js:1:2910)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/stopSite] Stopping site: stopping container 67acba178fca2325e8de12feabe3062ac1193743ef61747905b22d17afb9f950
Sep 27, 2018, 12:05 AM GMT+2 - error: [main/exportDB]  Error: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
    at docker.(anonymous function) (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/exporters/ExporterLocal.js:1:2910)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/stopSite] Stopping site: stopping container 3f85359fa9c4c970b4621d31bec2f54a3aafdcd7c100af76318f198ba1bde554
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/stopSite] Stopping site: stopping container 6c30459ddd13940f870e296faf829b24b38b3feb37cb4d6fd29f2b04be243c4e
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/stopSite] Stopping site: stopping container 02fa9b65603ca0d260c8c626404fde540a9b1cb95c32c848ba1b7d67b0a25c41
Sep 27, 2018, 12:05 AM GMT+2 - warn: [main/SiteModel] wpInstalled not returning "installed" 
{ stdout: '',
  stderr: 'Warning: Error while sending QUERY packet. PID=633 in /app/public/wp-includes/wp-db.php on line 1924' }
Sep 27, 2018, 12:05 AM GMT+2 - warn: [main/waitForMySQL] waitForMySQL Response: 
{ stdout: 'OCI runtime exec failed: exec failed: cannot exec a container that has stopped: unknown',
  stderr: '' }
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine stop local-by-flywheel
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] Stopping "local-by-flywheel"...
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] Machine "local-by-flywheel" was stopped.
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] child process exited with code 0
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] Running  /Applications/Local by Flywheel.app/Contents/Resources/extraResources/virtual-machine/vendor/docker/osx/docker-machine start local-by-flywheel
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] Starting "local-by-flywheel"...
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed...
Sep 27, 2018, 12:05 AM GMT+2 - info: [main/docker-machine] (local-by-flywheel) Waiting for an IP...
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-machine] Machine "local-by-flywheel" was started.
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-machine] Waiting for SSH to be available...
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-machine] Detecting the provisioner...
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-machine] Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/set-docker-env] Getting Docker Machine env.
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.90.100:2376"
export DOCKER_CERT_PATH="/Users/zumbrunn/.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)

Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-machine] checking IP
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/check-system] Check System: Docker Machine:  
{ stdout: 'Running\n', stderr: '' }
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-machine] checked IP 192.168.90.100

Sep 27, 2018, 12:06 AM GMT+2 - info: [main/set-docker-env] Getting Docker Machine env.
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/set-docker-env] Received Docker Machine env. export DOCKER_TLS_VERIFY="1"
export DOCKER_HOST="tcp://192.168.90.100:2376"
export DOCKER_CERT_PATH="/Users/zumbrunn/.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)

Sep 27, 2018, 12:06 AM GMT+2 - info: [renderer/CheckEnvPage] Check system promise response: 
[ undefined,
  [ 'flywheel:1.3.1',
    'flywheel:1.2',
    'custom:1.3',
    'local-router:1.1',
    'custom:1.2',
    'flywheel:1.1' ] ]
Sep 27, 2018, 12:06 AM GMT+2 - info: [EnvironmentCustom] Empty /etc/mysql
Sep 27, 2018, 12:06 AM GMT+2 - info: [EnvironmentCustom] Copying MySQL config to container prior to starting.
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/waitForFile] Waiting for  /conf/php/7.1.4/etc/php-fpm.conf 4974444d3bf5d61124679f17045eb957a8452869ea5ac10a45ecf4d468cfd148
Sep 27, 2018, 12:06 AM GMT+2 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> { Error: (HTTP code 400) unexpected - {"message":"OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"nginx\\\": executable file not found in $PATH\": unknown"}
 
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:239:17
    at IncomingMessage.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:266:9)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9) reason: undefined, statusCode: 400, json: null } }  reason:  Error: (HTTP code 400) unexpected - {"message":"OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused \"exec: \\\"nginx\\\": executable file not found in $PATH\": unknown"}
 
    at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:239:17
    at IncomingMessage.<anonymous> (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/docker-modem/lib/modem.js:266:9)
    at emitNone (events.js:111:20)
    at IncomingMessage.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickDomainCallback (internal/process/next_tick.js:218:9)
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/waitForFile] /conf/php/7.1.4/etc/php-fpm.conf exists
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-router] getRouterContainers()
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-router] teardown()
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-router] Removing router container 5ceb9e64aa810c73be9d7f9f40311e23ca7759e788928272b8fa443d1a705d6a
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-router] updateProxyManager()
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-router] runContainer()
Sep 27, 2018, 12:06 AM GMT+2 - info: [EnvironmentCustom] php-7.1.4-fpm: unrecognized service 
Sep 27, 2018, 12:06 AM GMT+2 - info: [main/docker-router] reconnectNetwork()

Even tried to run the command mentioned: # Run this command to configure your shell:

nothing seems to change

Thanks for the quick answer.
I did this with no effect. I even re-installed Virtualbox, no success.

Can you try creating a brand new Preferred site in Local? Once that succeeds, we can go from there.

LOCAL was 2.4.1 (now I just received a note that a new version is available which I’m installing).

It’s still 2.4.1 after installing the new version :wink:

No problem.

I created a new site

or better tried to install a new site:

WordPress Installation failed:

Sep 27, 2018, 12:16 AM GMT+2 - info: [main/WordPressInstaller] Latest version info
{ version: ‘4.9.8’,
download: ‘https://downloads.wordpress.org/release/wordpress-4.9.8.zip’ }
Sep 27, 2018, 12:16 AM GMT+2 - info: [main/WordPressInstaller] Cached version info 4.9.8
Sep 27, 2018, 12:16 AM GMT+2 - info: [main/docker-router] updateProxyManager()
Sep 27, 2018, 12:16 AM GMT+2 - warn: [main/index] Unhandled Rejection at: Promise Promise {
Error: Object has been destroyed
at sendMsg (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/electron-native-notification/index.js:49:34)
at new Notification (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/electron-native-notification/index.js:57:7)
at new Notification (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/Notification.js:1:936)
at Object.notify (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:8386)
at _0x9084cb (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:7001)
at new Promise ()
at Object.updateHosts (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:5737)
at Object.module.(anonymous function).exports.maybeUpdate (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:3849)
at Object.flush (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/debounce-promise/dist/index.js:62:74)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5) } reason: Error: Object has been destroyed
at sendMsg (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/electron-native-notification/index.js:49:34)
at new Notification (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/electron-native-notification/index.js:57:7)
at new Notification (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/Notification.js:1:936)
at Object.notify (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:8386)
at _0x9084cb (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:7001)
at new Promise ()
at Object.updateHosts (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:5737)
at Object.module.(anonymous function).exports.maybeUpdate (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/helpers/hosts-helper.js:1:3849)
at Object.flush (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/debounce-promise/dist/index.js:62:74)
at ontimeout (timers.js:475:11)
at tryOnTimeout (timers.js:310:5)
at Timer.listOnTimeout (timers.js:270:5)
Sep 27, 2018, 12:16 AM GMT+2 - info: [main/docker-router] runContainer()
Sep 27, 2018, 12:16 AM GMT+2 - info: [main/docker-router] reconnectNetwork()
Sep 27, 2018, 12:16 AM GMT+2 - error: [main/WordPressInstaller] Error
at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:2754
at Generator.next ()
at _0x48423e (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1621)
at Object.wrTIQ (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1168)
at Object.xrPCq (/Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1420)
at /Applications/Local by Flywheel.app/Contents/Resources/app.asar/main/actions-sites/wait-for-mysql.js:1:1880
at
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
Sep 27, 2018, 12:16 AM GMT+2 - warn: [main/waitForMySQL] waitForMySQL Response:
{ stdout: ‘’, stderr: ‘’ }
Sep 27, 2018, 12:17 AM GMT+2 - warn: [main/waitForMySQL] waitForMySQL Response:
{ stdout: ‘’, stderr: ‘’ }
Sep 27, 2018, 12:17 AM GMT+2 - warn: [main/waitForMySQL] waitForMySQL Response:
{ stdout: ‘’, stderr: ‘’ }

I did work after I stopped LOCAL and the local running in VirtualBox and started LOCAL again.

I have a brandnew LOCAL preferred 1.3.2 environment now ready

and the version actually is 2.4.2 now.