[SOLVED] Missing Hosts entry.This site may be inaccessible

Hi, I just downloaded Local. Installation worked fine, but now when I want to launch my new website It says “Missing hosts entry. This site may be inaccessible”. And the “Fix It” button doesn’t work. I tried every tips i could find on the forum but the error is still here.

Some help would be appreciate…

Oct 4, 2017, 8:41 PM GMT+6 - info: [main/index] Existing Pressmatic data does not exist.
Oct 4, 2017, 8:41 PM GMT+6 - warn: [main/index] Unhandled Rejection at: Promise Promise {
TypeError: Cannot use ‘in’ operator to search for ‘version’ in null
at C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\updater.js:1:17896
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7) } reason: TypeError: Cannot use ‘in’ operator to search for ‘version’ in null
at C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\updater.js:1:17896
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
Oct 4, 2017, 8:42 PM GMT+6 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, ‘machine-halted’ ] machine-halted
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-machine] Checking Boot2Docker.iso hash
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/check-system] Check System: Docker Machine:
{ stdout: ‘Stopped\n’, stderr: ‘’ }
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-machine] Boot2Docker.iso hash does not match!
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-machine] Copying C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\boot2docker.iso to C:\Users\utsab.docker\machine\machines\local-by-flywheel\boot2docker.iso
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-machine] Running C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe start local-by-flywheel
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-machine] Starting “local-by-flywheel”…
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-machine] (local-by-flywheel) Check network to re-create if needed…
Oct 4, 2017, 8:42 PM GMT+6 - warn: [main/docker-machine] Error setting up host only network on machine start: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm local-by-flywheel --nic2 hostonly --nictype2 82540EM --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #2 --cableconnected2 on failed:
Oct 4, 2017, 8:42 PM GMT+6 - warn: [main/docker-machine] VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
Oct 4, 2017, 8:42 PM GMT+6 - warn: [main/docker-machine] VBoxManage.exe: error: Context: “LockMachine(a->session, LockType_Write)” at line 507 of file VBoxManageModifyVM.cpp
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/index] Existing Pressmatic data does not exist.
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/set-docker-env] Getting Docker Machine env.
Oct 4, 2017, 8:42 PM GMT+6 - 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=“C:\Users\utsab.docker\machine\machines\local-by-flywheel”
export DOCKER_MACHINE_NAME=“local-by-flywheel”
export COMPOSE_CONVERT_WINDOWS_PATHS=“true”

Run this command to configure your shell:

eval $(“C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\extraResources\virtual-machine\vendor\docker\windows\docker-machine.exe” env --shell bash local-by-flywheel)

Oct 4, 2017, 8:42 PM GMT+6 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
Oct 4, 2017, 8:42 PM GMT+6 - warn: [main/index] Unhandled Rejection at: Promise Promise {
TypeError: Cannot use ‘in’ operator to search for ‘version’ in null
at C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\updater.js:1:17896
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7) } reason: TypeError: Cannot use ‘in’ operator to search for ‘version’ in null
at C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\updater.js:1:17896
at
at process._tickDomainCallback (internal/process/next_tick.js:135:7)
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/deleteSite] Trashing G:\Local WP\demo Attempt number: 1
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/docker-delete-site-container] Deleting Site
{ name: ‘demo’,
container: ‘d38adee1177408328fb0ef801ac0a1299f484062acf2142fbfc5844430a47949’ }
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/deleteSite] Trashed G:\Local WP\demo
Oct 4, 2017, 8:42 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100
Oct 4, 2017, 8:42 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
{ stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] TypeError {
mode: ‘stack’,
name: ‘TypeError’,
message: ‘Cannot read property 'items' of undefined’,
stack:
[ TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - error: [renderer/app] TypeError {
mode: ‘stack’,
name: ‘TypeError’,
message: ‘Cannot read property 'items' of undefined’,
stack:
[ TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null },
TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/docker-create-site-container] Creating container with
TypeError {
Image: ‘flywheel:latest’,
Cmd: ‘supervisord’,
Tty: true,
ExposedPorts:
TypeError {
‘80/tcp’: TypeError {},
‘443/tcp’: TypeError {},
‘3306/tcp’: TypeError {},
‘1080/tcp’: TypeError {} },
HostConfig:
TypeError {
Binds:
[ ‘/g/Local WP/demo/app:/app’,
‘/g/Local WP/demo/logs/supervisor:/var/log/supervisor’,
‘/g/Local WP/demo/logs/mysql:/var/log/mysql’,
‘/g/Local WP/demo/logs/nginx:/var/log/nginx’,
‘/g/Local WP/demo/logs/php:/var/log/php’ ],
PortBindings:
TypeError {
‘80/tcp’: [ TypeError { HostPort: ‘4000’ } ],
‘443/tcp’: [ TypeError { HostPort: ‘4001’ } ],
‘3306/tcp’: [ TypeError { HostPort: ‘4002’ } ],
‘1080/tcp’: [ TypeError { HostPort: ‘4003’ } ] } } }
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/docker-create-site-container] Created container: 3b15300d311e3875e28cb9fc78c61b34870f96f9c09a2a2cf5874b161ac1ea18
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/WordPressInstaller] Init WordPressInstaller
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/WordPressInstaller] Starting standardInstall()
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/WordPressInstaller] maybeGetLatestVersion()
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/WordPressInstaller] checkForLatestVersion()
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 demo.dev
Oct 4, 2017, 8:43 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
TypeError { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/docker-network-manager] maybeCreateNetwork
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/docker-router] getRouterContainers()
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/docker-network-manager] doesNetworkExist
Oct 4, 2017, 8:43 PM GMT+6 - info: [main/docker-router] reconnectNetwork()
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-network-manager] Network exists.
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-router] teardown()
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-router] Removing router container b7bb189150ac447e84b6db63a387e14d719fdd274f1dc4532744406455002c2f
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-router] updateProxyManager()
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-network-manager] Connected 3b15300d311e3875e28cb9fc78c61b34870f96f9c09a2a2cf5874b161ac1ea18.
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/WordPressInstaller] Latest version info
TypeError {
version: ‘4.8.2’,
download: ‘https://downloads.wordpress.org/release/wordpress-4.8.2.zip’ }
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/WordPressInstaller] Cached version info 4.8.2
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/WordPressInstaller] copy() C:\Users\utsab\AppData\Roaming\Local by Flywheel\cached-wordpress\4.8.2 G:\Local WP\demo\app
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-router] runContainer()
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/docker-delete-site-container] Deleting Site
TypeError {
name: ‘demo’,
container: ‘3b15300d311e3875e28cb9fc78c61b34870f96f9c09a2a2cf5874b161ac1ea18’ }
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/deleteSite] Trashing G:\Local WP\demo Attempt number: 1
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/deleteSite] Trashed G:\Local WP\demo
Oct 4, 2017, 8:44 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100
Oct 4, 2017, 8:44 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
TypeError { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 8:44 PM GMT+6 - warn: [main/index] Unhandled Rejection at: Promise Promise {
{ Error: ENOENT: no such file or directory, open ‘G:\Local WP\demo\app\public\wp-content\plugins\akismet\class.akismet-cli.php’
errno: -4058,
code: ‘ENOENT’,
syscall: ‘open’,
path: ‘G:\Local WP\demo\app\public\wp-content\plugins\akismet\class.akismet-cli.php’ } } reason: Error: ENOENT: no such file or directory, open ‘G:\Local WP\demo\app\public\wp-content\plugins\akismet\class.akismet-cli.php’
Oct 4, 2017, 8:44 PM GMT+6 - error: [renderer/app] TypeError {
mode: ‘stack’,
name: ‘TypeError’,
message: ‘Cannot read property 'items' of undefined’,
stack:
[ TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:44 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:46 PM GMT+6 - error: [renderer/app] TypeError {
mode: ‘stack’,
name: ‘TypeError’,
message: ‘Cannot read property 'items' of undefined’,
stack:
[ TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null },
TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-create-site-container] Creating container with
Error {
Image: ‘flywheel:latest’,
Cmd: ‘supervisord’,
Tty: true,
ExposedPorts:
Error {
‘80/tcp’: Error {},
‘443/tcp’: Error {},
‘3306/tcp’: Error {},
‘1080/tcp’: Error {} },
HostConfig:
Error {
Binds:
[ ‘/c/Users/utsab/Documents/Local WP/demo/app:/app’,
‘/c/Users/utsab/Documents/Local WP/demo/logs/supervisor:/var/log/supervisor’,
‘/c/Users/utsab/Documents/Local WP/demo/logs/mysql:/var/log/mysql’,
‘/c/Users/utsab/Documents/Local WP/demo/logs/nginx:/var/log/nginx’,
‘/c/Users/utsab/Documents/Local WP/demo/logs/php:/var/log/php’ ],
PortBindings:
Error {
‘80/tcp’: [ Error { HostPort: ‘4000’ } ],
‘443/tcp’: [ Error { HostPort: ‘4001’ } ],
‘3306/tcp’: [ Error { HostPort: ‘4002’ } ],
‘1080/tcp’: [ Error { HostPort: ‘4003’ } ] } } }
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-create-site-container] Created container: bd31e3530b657479083c80f89a840e0fc5b9f63f74c70c67fd4173938a67d462
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] Init WordPressInstaller
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] Starting standardInstall()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] maybeGetLatestVersion()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] checkForLatestVersion()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-router] getRouterContainers()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-network-manager] maybeCreateNetwork
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 demo.dev
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-router] reconnectNetwork()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-network-manager] doesNetworkExist
Oct 4, 2017, 8:46 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
Error { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-router] teardown()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-network-manager] Network exists.
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-router] Removing router container bbecc7f8ec562c5e8353f86b3ceb291fa5954b250d8b4649fb3ca561718e7f56
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-router] updateProxyManager()
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-network-manager] Connected bd31e3530b657479083c80f89a840e0fc5b9f63f74c70c67fd4173938a67d462.
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] Latest version info
Error {
version: ‘4.8.2’,
download: ‘https://downloads.wordpress.org/release/wordpress-4.8.2.zip’ }
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] Cached version info 4.8.2
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/WordPressInstaller] copy() C:\Users\utsab\AppData\Roaming\Local by Flywheel\cached-wordpress\4.8.2 C:\Users\utsab\Documents\Local WP\demo\app
Oct 4, 2017, 8:46 PM GMT+6 - info: [main/docker-router] runContainer()
Oct 4, 2017, 8:47 PM GMT+6 - info: [main/WordPressInstaller] Running install-wp.sh
Oct 4, 2017, 8:47 PM GMT+6 - info: [main/WordPressInstaller] install-wp.sh output
Error {
stdout: ‘mysqld is alive\nwp-blog-header.php exists. configuring and installing.\nSuccess: Generated 'wp-config.php' file.\nSuccess: WordPress installed successfully.\nDeleted 'akismet' plugin.\nSuccess: Deleted 1 of 1 plugins.\nDeleted 'hello' plugin.\nSuccess: Deleted 1 of 1 plugins.’,
stderr: ‘sh: 1: -t: not found’ }
Oct 4, 2017, 8:47 PM GMT+6 - info: [main/WordPressInstaller] Writing salts to wp-config.php
Oct 4, 2017, 8:47 PM GMT+6 - info: [main/WordPressInstaller] Writing HTTPS Fix to wp-config.php
Oct 4, 2017, 8:58 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 demo.dev
Oct 4, 2017, 8:58 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
Error { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 8:58 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 demo.dev
Oct 4, 2017, 8:58 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
Error { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 9:00 PM GMT+6 - info: [main/docker-delete-site-container] Deleting Site
Error {
name: ‘demo’,
container: ‘bd31e3530b657479083c80f89a840e0fc5b9f63f74c70c67fd4173938a67d462’ }
Oct 4, 2017, 9:00 PM GMT+6 - info: [main/deleteSite] Trashing C:\Users\utsab\Documents\Local WP\demo Attempt number: 1
Oct 4, 2017, 9:00 PM GMT+6 - info: [main/deleteSite] Trashed C:\Users\utsab\Documents\Local WP\demo
Oct 4, 2017, 9:00 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100
Oct 4, 2017, 9:00 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
Error { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 9:00 PM GMT+6 - error: [renderer/app] TypeError {
mode: ‘stack’,
name: ‘TypeError’,
message: ‘Cannot read property 'items' of undefined’,
stack:
[ TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 9:00 PM GMT+6 - error: [renderer/app] Error {
mode: ‘stack’,
name: ‘Error’,
message: ‘Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\nError: Could not call remote function 'formatHomePath'. Check that the function signature is correct. Underlying error: Cannot read property 'replace' of undefined\n at callFunction (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:257:11)\n at EventEmitter. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\rpc-server.js:324:5)\n at emitThree (events.js:116:13)\n at EventEmitter.emit (events.js:197:7)\n at WebContents. (C:\Users\utsab\AppData\Local\Programs\local-by-flywheel\resources\electron.asar\browser\api\web-contents.js:256:13)\n at emitTwo (events.js:106:13)\n at WebContents.emit (events.js:194:7)’,
stack:
[ Error {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 9:00 PM GMT+6 - error: [renderer/app] TypeError {
mode: ‘stack’,
name: ‘TypeError’,
message: ‘Cannot read property 'items' of undefined’,
stack:
[ TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null },
TypeError {
url: null,
func: ‘Array.forEach’,
args: [Object],
line: null,
column: null,
context: null } ] } true
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-create-site-container] Creating container with
TypeError {
Image: ‘flywheel:latest’,
Cmd: ‘supervisord’,
Tty: true,
ExposedPorts:
TypeError {
‘80/tcp’: TypeError {},
‘443/tcp’: TypeError {},
‘3306/tcp’: TypeError {},
‘1080/tcp’: TypeError {} },
HostConfig:
TypeError {
Binds:
[ ‘/g/Local WP/demo/app:/app’,
‘/g/Local WP/demo/logs/supervisor:/var/log/supervisor’,
‘/g/Local WP/demo/logs/mysql:/var/log/mysql’,
‘/g/Local WP/demo/logs/nginx:/var/log/nginx’,
‘/g/Local WP/demo/logs/php:/var/log/php’ ],
PortBindings:
TypeError {
‘80/tcp’: [ TypeError { HostPort: ‘4000’ } ],
‘443/tcp’: [ TypeError { HostPort: ‘4001’ } ],
‘3306/tcp’: [ TypeError { HostPort: ‘4002’ } ],
‘1080/tcp’: [ TypeError { HostPort: ‘4003’ } ] } } }
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-create-site-container] Created container: 8c058972b988bb5eca674f26b802d8a1357193b7620c3ff36c5b33af35b1676e
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Init WordPressInstaller
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Starting standardInstall()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] maybeGetLatestVersion()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] checkForLatestVersion()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-router] getRouterContainers()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-network-manager] maybeCreateNetwork
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 demo.dev
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-router] reconnectNetwork()
Oct 4, 2017, 9:01 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
TypeError { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-network-manager] doesNetworkExist
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-network-manager] Network exists.
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-router] teardown()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-router] Removing router container 0fd5fa5f5c1f2802ec464c1258a66a629d11efd78b4fe42fb1f73594a0514d05
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-network-manager] Connected 8c058972b988bb5eca674f26b802d8a1357193b7620c3ff36c5b33af35b1676e.
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-router] updateProxyManager()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Latest version info
TypeError {
version: ‘4.8.2’,
download: ‘https://downloads.wordpress.org/release/wordpress-4.8.2.zip’ }
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Cached version info 4.8.2
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] copy() C:\Users\utsab\AppData\Roaming\Local by Flywheel\cached-wordpress\4.8.2 G:\Local WP\demo\app
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/docker-router] runContainer()
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Running install-wp.sh
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] install-wp.sh output
TypeError {
stdout: ‘mysqld is alive\nwp-blog-header.php exists. configuring and installing.\nSuccess: Generated 'wp-config.php' file.\nSuccess: WordPress installed successfully.\nDeleted 'akismet' plugin.\nSuccess: Deleted 1 of 1 plugins.\nDeleted 'hello' plugin.\nSuccess: Deleted 1 of 1 plugins.’,
stderr: ‘sh: 1: -t: not found’ }
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Writing salts to wp-config.php
Oct 4, 2017, 9:01 PM GMT+6 - info: [main/WordPressInstaller] Writing HTTPS Fix to wp-config.php
Oct 4, 2017, 9:04 PM GMT+6 - info: [main/hosts-helper] hostsHelper: Updating hosts with 192.168.95.100 demo.dev
Oct 4, 2017, 9:04 PM GMT+6 - error: [main/hosts-helper] Could not update hosts.
TypeError { stdout: ‘’, stderr: ‘’, error: null, exitCode: 100 }

Hi @utsab,

Are you running anti-virus or an internet security suite?

Sorry for the trouble!

I only use windows defender

I have fixed the problem :slight_smile: i just had to uncheck the read only option from hosts file.
Screenshot (155)_LI

1 Like

Glad to hear! Thanks for sharing the solution. :smiley:

Hi
clay I’m still getting the same message, and this solution didn’t work for me.

I used to have xampp, and I might be changed things in the host file how I can make sure that my host file setting is original

1 Like

@sh_alad,

Can you please provide your local-by-flywheel.log file?

Sorry for the trouble!

hi…what was the end result? Solution?

Hi I have the same problem with the system message that indicates error


I don’t have much knowledge in computer science, however I need help

Same here, nothing will work. uninstalled xampp just in case. uncheked the read only and exeption in kaspersky. disabled firewall. tryed v 5.0.6 and 5.0.7 , same result.