Setup vue-storefront-api Error

have to face below issue when I did a setup vue-storefront-api.

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose up
Starting elasticsearch … error
Starting vuestorefrontapi_redis_1 … done

ERROR: for elasticsearch Cannot start service es1: OCI runtime create failed: c
ontainer_linux.go:344: starting container process caused “process_linux.go:424:
container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/d
ocker/elasticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib
/docker/overlay2/5b7e07a1d44d1212e5a5528639293fba8d79d98e4155e0e14ffa24687d6e63b
9/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/5b7e07a1d44d1212e5a5528639
293fba8d79d98e4155e0e14ffa24687d6e63b9/merged/usr/share/elasticsearch/config/ela
sticsearch.yml\" caused \“not a directory\”"": unknown: Are you trying to
mount a directory onto a file (or vice-versa)? Check if the specified host path
exists and is the expected type

ERROR: for es1 Cannot start service es1: OCI runtime create failed: container_l
inux.go:344: starting container process caused “process_linux.go:424: container
init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/docker/elas
ticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib/docker/ov
erlay2/5b7e07a1d44d1212e5a5528639293fba8d79d98e4155e0e14ffa24687d6e63b9/merged\
" at \"/mnt/sda1/var/lib/docker/overlay2/5b7e07a1d44d1212e5a5528639293fba8d79
d98e4155e0e14ffa24687d6e63b9/merged/usr/share/elasticsearch/config/elasticsearch
.yml\" caused \“not a directory\”"": unknown: Are you trying to mount a d
irectory onto a file (or vice-versa)? Check if the specified host path exists an
d is the expected type
ERROR: Encountered errors while bringing up the project.

Hi there! This sound like an issue with Your docker setup. Please try to re-build the images and let us know if it helped?

How can re-build the images? Please explain briefly.

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose up -d
vuestorefrontapi_redis_1 is up-to-date
Starting elasticsearch … error

ERROR: for elasticsearch Cannot start service es1: OCI runtime create failed: c
ontainer_linux.go:345: starting container process caused “process_linux.go:424:
container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/d
ocker/elasticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib
/docker/overlay2/7edf4db8b690d40d53236daeea645e435fd845bfbd5608e9db30e47a9967486
1/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/7edf4db8b690d40d53236daeea
645e435fd845bfbd5608e9db30e47a99674861/merged/usr/share/elasticsearch/config/ela
sticsearch.yml\" caused \“not a directory\”"": unknown: Are you trying to
mount a directory onto a file (or vice-versa)? Check if the specified host path
exists and is the expected type

ERROR: for es1 Cannot start service es1: OCI runtime create failed: container_l
inux.go:345: starting container process caused “process_linux.go:424: container
init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/docker/elas
ticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib/docker/ov
erlay2/7edf4db8b690d40d53236daeea645e435fd845bfbd5608e9db30e47a99674861/merged\
" at \"/mnt/sda1/var/lib/docker/overlay2/7edf4db8b690d40d53236daeea645e435fd8
45bfbd5608e9db30e47a99674861/merged/usr/share/elasticsearch/config/elasticsearch
.yml\" caused \“not a directory\”"": unknown: Are you trying to mount a d
irectory onto a file (or vice-versa)? Check if the specified host path exists an
d is the expected type
ERROR: Encountered errors while bringing up the project.

Hi @Anees_Akhter,
I’m not sure to tell
But, please try once again check all Requrements and that version is correctly installed or Not in your system?,Like (docker,node,yarn,imagemagick)
" https://docs.vuestorefront.io/guide/installation/linux-mac.html#requirements "

If you use linux-system then this command helps you to check the version:
1, $ docker-compose --version
2, $ node --version
3, $ yarn --version
4, $ convert -version
convert-version mean it’s shows the image magick version.

Hi Manoj

I have used window system. Please find below version.

  1. E:\vue-storefront>node --version
    v10.5.0

  2. E:\vue-storefront>yarn --version
    1.13.0

  3. aneesakhter@VE170817_A MINGW64 /c/Program Files/Docker Toolbox
    $ docker-compose --version
    docker-compose version 1.20.1, build 5d8c71b2

4, $ convert -version
what is this?

Regards,
Anees Akhter

Hi @Anees_Akhter

image magick
It’s one of requirements for vuestorefront while use linux system,
conver -version
It’s use to find the image magick version

But you use windows system
so you check your Requirements in
" https://docs.vuestorefront.io/guide/installation/windows.html#requirements " .
If All requirements is correctly installed in your system then you try to start vuestorefront-api installation.

Please find below version.

E:\vue-storefront>node --version
v10.5.0

E:\vue-storefront>yarn --version
1.13.0

aneesakhter@VE170817_A MINGW64 /c/Program Files/Docker Toolbox
$ docker-compose --version
docker-compose version 1.20.1, build 5d8c71b2

I have all requirement complete but show the same error.

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose up
Starting elasticsearch … error
Starting vuestorefrontapi_redis_1 … done

ERROR: for elasticsearch Cannot start service es1: OCI runtime create failed: c
ontainer_linux.go:344: starting container process caused “process_linux.go:424:
container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/d
ocker/elasticsearch/config/elasticsearch.yml\” to rootfs “/mnt/sda1/var/lib
/docker/overlay2/5b7e07a1d44d1212e5a5528639293fba8d79d98e4155e0e14ffa24687d6e63b
9/merged” at “/mnt/sda1/var/lib/docker/overlay2/5b7e07a1d44d1212e5a5528639
293fba8d79d98e4155e0e14ffa24687d6e63b9/merged/usr/share/elasticsearch/config/ela
sticsearch.yml” caused \“not a directory\”"": unknown: Are you trying to
mount a directory onto a file (or vice-versa)? Check if the specified host path
exists and is the expected type

ERROR: for es1 Cannot start service es1: OCI runtime create failed: container_l
inux.go:344: starting container process caused “process_linux.go:424: container
init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/docker/elas
ticsearch/config/elasticsearch.yml\” to rootfs “/mnt/sda1/var/lib/docker/ov
erlay2/5b7e07a1d44d1212e5a5528639293fba8d79d98e4155e0e14ffa24687d6e63b9/merged
" at “/mnt/sda1/var/lib/docker/overlay2/5b7e07a1d44d1212e5a5528639293fba8d79
d98e4155e0e14ffa24687d6e63b9/merged/usr/share/elasticsearch/config/elasticsearch
.yml” caused \“not a directory\””": unknown: Are you trying to mount a d
irectory onto a file (or vice-versa)? Check if the specified host path exists an
d is the expected type

ERROR: Encountered errors while bringing up the project.

Hi @Anees_Akhter
I am using VSF in linux system So i not sure about that issue
But
You just try : execute this command in command-prompt under VSF-api directory
docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up -d

Just run your command but showing same error.

docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up -d
aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up -d
Building kibana

—> 72543213daee
Step 2/2 : RUN bin/kibana-plugin remove x-pack && kibana 2>&1 | grep -m 1 “O
ptimization of .* complete”
—> Running in ae82aff886bc
Removing x-pack…
{“type”:“log”,"@timestamp":“2019-07-01T08:08:21Z”,“tags”:[“info”,“optimize”],“pi
d”:13,“message”:“Optimization of bundles for kibana, stateSessionStorageRedirect
, timelion and status_page complete in 222.99 seconds”}
Removing intermediate container ae82aff886bc
—> bb2bb4bc77cf
Successfully built bb2bb4bc77cf
Successfully tagged vuestorefrontapi_kibana:latest
WARNING: Image for service kibana was built because it did not already exist. To
rebuild this image you must use docker-compose build or docker-compose up -- build.
Building app
Step 1/8 : FROM node:10-alpine
10-alpine: Pulling from library/node
e7c96db7181b: Downloading [> ]
27.86kB/2.757MBlling fs layer
e7c96db7181b: Downloading [===> ]
204.2kB/2.757MBwnloading [> ]
e7c96db7181b: Downloading [=============> ]
740.1kB/2.757MBwnloading [=======> ]
bbec46749066: Downloading [> ]
216.3kB/21.43MB
e7c96db7181b: Downloading [====================> ]
1.146MB/2.757MBwnloading [=================================> ]
bbec46749066: Downloading [=> ]
e7c96db7181b: Downloading [=========================> ]
e7c96db7181b: Downloading [==================================> ]
e7c96db7181b: Downloading [================================================> ]
2.665MB/2.757MB
e7c96db7181b: Extracting [> ]
32.77kB/2.757MBB
bbec46749066: Downloading [======> ]
e7c96db7181b: Extracting [=> ]
98.3kB/2.757MBB
e7c96db7181b: Extracting [==========> ]
e7c96db7181b: Extracting [=================================> ]
1.868MB/2.757MB
e7c96db7181b: Extracting [================================================> ]
e7c96db7181b: Extracting [==================================================>]
2.757MB/2.757MB
bbec46749066: Downloading [=============> ]
bbec46749066: Downloading [================> ]
bbec46749066: Downloading [====================> ]
e7c96db7181b: Pull complete
bbec46749066: Downloading [===========================> ]
bbec46749066: Downloading [===============================> ]
bbec46749066: Downloading [=================================> ]
bbec46749066: Downloading [=====================================> ]
bbec46749066: Downloading [=========================================> ]
bbec46749066: Downloading [===========================================> ]
bbec46749066: Downloading [===============================================> ]
bbec46749066: Extracting [> ]
bbec46749066: Extracting [==> ]
bbec46749066: Extracting [=====> ]
bbec46749066: Extracting [========> ]
bbec46749066: Extracting [===========> ]
bbec46749066: Extracting [==============> ]
bbec46749066: Extracting [=================> ]
bbec46749066: Extracting [====================> ]
bbec46749066: Extracting [=======================> ]
bbec46749066: Extracting [=========================> ]
bbec46749066: Extracting [==========================> ]
bbec46749066: Extracting [============================> ]
bbec46749066: Extracting [=============================> ]
12.85MB/21.43MB
bbec46749066: Extracting [===============================> ]
bbec46749066: Extracting [=================================> ]
bbec46749066: Extracting [==================================> ]
bbec46749066: Extracting [===================================> ]
bbec46749066: Extracting [=====================================> ]
bbec46749066: Extracting [=======================================> ]
bbec46749066: Extracting [========================================> ]
bbec46749066: Extracting [========================================> ]
bbec46749066: Extracting [=========================================> ]
bbec46749066: Extracting [==========================================> ]
bbec46749066: Extracting [==========================================> ]
bbec46749066: Extracting [===========================================> ]
bbec46749066: Extracting [===========================================> ]
bbec46749066: Extracting [============================================> ]
bbec46749066: Extracting [=============================================> ]
bbec46749066: Extracting [===============================================> ]
bbec46749066: Extracting [================================================> ]
bbec46749066: Extracting [=================================================> ]
bbec46749066: Extracting [==================================================>]
bbec46749066: Pull complete
89e5cf82282d: Extracting [=> ]
89e5cf82282d: Extracting [===================> ]
89e5cf82282d: Extracting [==================================================>]
89e5cf82282d: Pull complete
5de6895db72f: Extracting [==================================================>]
5de6895db72f: Extracting [==================================================>]
5de6895db72f: Pull complete
Digest: sha256:07897ec27318d8e43cfc6b1762e7a28ed01479ba4927aca0cdff53c1de9ea6fd
Status: Downloaded newer image for node:10-alpine
—> 9dfa73010b19
Step 2/8 : ENV VS_ENV prod
—> Running in c201cdacb49a
Removing intermediate container c201cdacb49a
—> e6a4e0ab030e
Step 3/8 : WORKDIR /var/www
—> Running in 5b1d67ce4272
Removing intermediate container 5b1d67ce4272
—> b573dfb9202a
Step 4/8 : RUN apk add --no-cache curl git
—> Running in 054ad1310fe2

(1/8) Installing ca-certificates (20190108-r0)
(2/8) Installing nghttp2-libs (1.35.1-r0)
(3/8) Installing libssh2 (1.8.2-r0)
(4/8) Installing libcurl (7.64.0-r2)
(5/8) Installing curl (7.64.0-r2)
(6/8) Installing expat (2.2.7-r0)
(7/8) Installing pcre2 (10.32-r1)
(8/8) Installing git (2.20.1-r0)
Executing busybox-1.29.3-r10.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 22 MiB in 24 packages
Removing intermediate container 054ad1310fe2
—> 56c31cbf34fa
Step 5/8 : COPY package.json ./
—> 0c39292c02a7
Step 6/8 : RUN apk add --no-cache --virtual .build-deps ca-certificates wget &&
yarn install --no-cache && apk del .build-deps
—> Running in e67c0a6753dc
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz

(1/2) Installing wget (1.20.3-r0)
(2/2) Installing .build-deps (0)
Executing busybox-1.29.3-r10.trigger
OK: 22 MiB in 26 packages
yarn install v1.16.0
info No lockfile found.
[1/4] Resolving packages…
warning @babel/node > @babel/polyfill@7.4.4: ?? As of Babel 7.4.0, this
package has been deprecated in favor of directly
including core-js/stable (to polyfill ECMAScript
features) and regenerator-runtime/runtime
(needed to use transpiled generator functions):

import “core-js/stable”;
import “regenerator-runtime/runtime”;
warning eslint > file-entry-cache > flat-cache > circular-json@0.3.3: CircularJS
ON is in maintenance only, flatted is its successor.
[2/4] Fetching packages…
info fsevents@1.2.9: The platform “linux” is incompatible with this module.
info “fsevents@1.2.9” is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies…
[4/4] Building fresh packages…
success Saved lockfile.
Done in 116.94s.
WARNING: Ignoring APKINDEX.b89edf6e.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.737f7e01.tar.gz: No such file or directory
(1/2) Purging .build-deps (0)
(2/2) Purging wget (1.20.3-r0)
Executing busybox-1.29.3-r10.trigger
OK: 22 MiB in 24 packages
Removing intermediate container e67c0a6753dc
—> e3e8540e6e82
Step 7/8 : COPY docker/vue-storefront-api/vue-storefront-api.sh /usr/local/bin/
—> 3bf77ffd60c5
Step 8/8 : CMD [“vue-storefront-api.sh”]
—> Running in 214834d782f8
Removing intermediate container 214834d782f8
—> db590b1be48e
Successfully built db590b1be48e
Successfully tagged vuestorefrontapi_app:latest
WARNING: Image for service app was built because it did not already exist. To re
build this image you must use docker-compose build or docker-compose up --bui ld.
vuestorefrontapi_redis_1 is up-to-date
Creating elasticsearch … error

ERROR: for elasticsearch Cannot start service es1: OCI runtime create failed: c
ontainer_linux.go:345: starting container process caused “process_linux.go:424:
container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/d
ocker/elasticsearch/config/elasticsearch.yml\” to rootfs : unknown: Are you trying to
mount a directory onto a file (or vice-versa)? Check if the specified host path
exists and is the expected type

ERROR: for es1 Cannot start service es1: OCI runtime create failed: container_l
inux.go:345: starting container process caused “process_linux.go:424: container
init caused “rootfs_linux.go:58: mounting to rootfs \”/mnt/sda1/var/lib/docker/ov
erlay2/7758d3ed6e19ca962bb0da25c7aa1d393d58c68b747796cb4a5746e8fa8a514e/merged\
" at caused \“not a directory\””": unknown: Are you trying to mount a d
irectory onto a file (or vice-versa)? Check if the specified host path exists an
d is the expected type
ERROR: Encountered errors while bringing up the project.

Please look into issue as my show error.

Hi @Anees_Akhter
I am not sure it’s correctly-working or not?
But Try this

docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up -d

if suppose error is occuer follow the instructions
	(Down, Build, Up)

	docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml down
	docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml build
	docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up

Hi Manoji,

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml down
Stopping vuestorefrontapi_redis_1 ... done
Removing elasticsearch            ... done
Removing vuestorefrontapi_redis_1 ... done
Removing network vuestorefrontapi_default

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml build
redis uses an image, skipping
Building es1
Step 1/2 : FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.11
 ---> b99307834e26
Step 2/2 : RUN bin/elasticsearch-plugin remove x-pack --purge
 ---> Using cache
 ---> e42598c7e87c
Successfully built e42598c7e87c
Successfully tagged vuestorefrontapi_es1:latest
Building app
Step 1/8 : FROM node:10-alpine
 ---> 9dfa73010b19
Step 2/8 : ENV VS_ENV prod
 ---> Using cache
 ---> e6a4e0ab030e
Step 3/8 : WORKDIR /var/www
 ---> Using cache
 ---> b573dfb9202a
Step 4/8 : RUN apk add --no-cache curl git
 ---> Using cache
 ---> 56c31cbf34fa
Step 5/8 : COPY package.json ./
 ---> Using cache
 ---> 0c39292c02a7
Step 6/8 : RUN apk add --no-cache --virtual .build-deps ca-certificates wget &&
    yarn install --no-cache &&     apk del .build-deps
 ---> Using cache
 ---> e3e8540e6e82
Step 7/8 : COPY docker/vue-storefront-api/vue-storefront-api.sh /usr/local/bin/
 ---> Using cache
 ---> 3bf77ffd60c5
Step 8/8 : CMD ["vue-storefront-api.sh"]
 ---> Using cache
 ---> db590b1be48e
Successfully built db590b1be48e
Successfully tagged vuestorefrontapi_app:latest
Building kibana
Step 1/2 : FROM docker.elastic.co/kibana/kibana:5.6.11
 ---> 72543213daee
Step 2/2 : RUN bin/kibana-plugin remove x-pack &&     kibana 2>&1 | grep -m 1 "O
ptimization of .* complete"
 ---> Using cache
 ---> bb2bb4bc77cf
Successfully built bb2bb4bc77cf
Successfully tagged vuestorefrontapi_kibana:latest

docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up it does not work show below error


aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up
Creating network "vuestorefrontapi_default" with the default driver
Creating vuestorefrontapi_redis_1 ...
Creating elasticsearch            ... error

ERROR: for elasticsearch  Cannot start service es1: OCI runtime create failed: c
ontainer_linux.go:345: starting container process caused "process_linux.go:424:
container init caused \"rootfs_linux.go:58: mounting \\\"/e/vue-storefront-api/d
ocker/elasticsearch/config/elasticsearch.yml\\\" to rootfs \\\"/mnt/sda1/var/lib
/docker/overlay2/f1f5bc6c169c622697313bb9979a1e49456125a0c9ecb6f4752f1bffaa15fb8
0/merged\\\" at \\\"/mnt/sda1/var/lib/docker/overlay2/f1f5bc6c169c622697313bb997
9a1e49456125a0c9ecb6f4752f1bffaa15fb80/merged/usr/share/elasticsearch/config/ela
sticsearch.yml\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to
Creating vuestorefrontapi_redis_1 ... done
 exists and is the expected type

ERROR: for es1  Cannot start service es1: OCI runtime create failed: container_l
inux.go:345: starting container process caused "process_linux.go:424: container
init caused \"rootfs_linux.go:58: mounting \\\"/e/vue-storefront-api/docker/elas
ticsearch/config/elasticsearch.yml\\\" to rootfs \\\"/mnt/sda1/var/lib/docker/ov
erlay2/f1f5bc6c169c622697313bb9979a1e49456125a0c9ecb6f4752f1bffaa15fb80/merged\\
\" at \\\"/mnt/sda1/var/lib/docker/overlay2/f1f5bc6c169c622697313bb9979a1e494561
25a0c9ecb6f4752f1bffaa15fb80/merged/usr/share/elasticsearch/config/elasticsearch
.yml\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a d
irectory onto a file (or vice-versa)? Check if the specified host path exists an
d is the expected type

Hi @Anees_Akhter
Try
If Elasticsearch not working

( docker run -p 9200:9200 -p 9300:9300 -e “discovery.type=single-node” docker.elastic.co/elasticsearch/elasticsearch:7.0.1 )
(Run this command.)
docker pull docker.elastic.co/elasticsearch/elasticsearch:5.5.3

Just run both command

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker run -p 9200:9200 -p 9300:9300 -e “discovery.type=single-node” docker.e
lastic.co/elasticsearch/elasticsearch:7.0.1

ly
7.0.1: Pulling from elasticsearch/elasticsearch
8ba884070f61: Pull complete
d22435c65c5b: Pull complete
779ea19c1b10: Pull complete
c19ffd8dfed9: Pull complete
8ef2c51b97f1: Pull complete
3abad9369e16: Pull complete
1192f02dde85: Pull complete
Digest: sha256:ab3884396356595a665b88fbf61d4f0c1c39eb8891c77b1b72d5fe83ae3a1c75
Status: Downloaded newer image for docker.elastic.co/elasticsearch/elasticsearch
:7.0.1
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in ve
rsion 9.0 and will likely be removed in a future release.
{“type”: “server”, “timestamp”: “2019-07-01T10:20:53,193+0000”, “level”: “INFO”,
“component”: “o.e.e.NodeEnvironment”, “cluster.name”: “docker-cluster”, “node.n
ame”: “9aa70a5ebff9”, “message”: “using [1] data paths, mounts [[/ (overlay)]],
net usable_space [13.8gb], net total_space [17.8gb], types [overlay]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:20:53,213+0000”, “level”: “INFO”,
“component”: “o.e.e.NodeEnvironment”, “cluster.name”: “docker-cluster”, “node.n
ame”: “9aa70a5ebff9”, “message”: “heap size [1015.6mb], compressed ordinary obj
ect pointers [true]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:20:53,235+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “node name [9aa70a5ebff9], node ID [0hkIy0eeQfihkNOjZaaTH
Q]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:20:53,238+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “version[7.0.1], pid[1], build[default/docker/e4efcb5/201
9-04-29T12:56:03.145736Z], OS[Linux/4.14.116-boot2docker/amd64], JVM[Oracle Corp
oration/OpenJDK 64-Bit Server VM/12.0.1/12.0.1+12]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:20:53,240+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “JVM home [/usr/share/elasticsearch/jdk]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:20:53,242+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “JVM arguments [-Xms1g, -Xmx1g, -XX:+UseConcMarkSweepGC,
-XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.
networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+Alw
aysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosy
s=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noK
eySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shut
downHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elastics
earch-14247034815681496169, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=da
ta, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=l
ogs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=C
OMPAT, -Dio.netty.allocator.type=unpooled, -Des.cgroups.hierarchy.override=/, -D
es.path.home=/usr/share/elasticsearch, -Des.path.conf=/usr/share/elasticsearch/c
onfig, -Des.distribution.flavor=default, -Des.distribution.type=docker, -Des.bun
dled_jdk=true]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,332+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [aggs-matrix-stats]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,333+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [analysis-common]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,334+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [ingest-common]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,335+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [ingest-geoip]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,336+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [ingest-user-agent]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,338+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [lang-expression]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,340+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [lang-mustache]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,342+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [lang-painless]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,345+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [mapper-extras]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,347+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [parent-join]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,348+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [percolator]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,348+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [rank-eval]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,349+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [reindex]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,350+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [repository-url]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,352+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [transport-netty4]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,353+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-ccr]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,359+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-core]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,360+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-deprecation]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,361+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-graph]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,361+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-ilm]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,362+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-logstash]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,362+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-ml]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,363+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-monitoring]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,368+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-rollup]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,370+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-security]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,371+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-sql]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,372+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “loaded module [x-pack-watcher]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:00,373+0000”, “level”: “INFO”,
“component”: “o.e.p.PluginsService”, “cluster.name”: “docker-cluster”, “node.na
me”: “9aa70a5ebff9”, “message”: “no plugins loaded” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:13,794+0000”, “level”: “INFO”,
“component”: “o.e.x.s.a.s.FileRolesStore”, “cluster.name”: “docker-cluster”, “n
ode.name”: “9aa70a5ebff9”, “message”: “parsed [0] roles from file [/usr/share/e
lasticsearch/config/roles.yml]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:15,824+0000”, “level”: “INFO”,
“component”: “o.e.x.m.p.l.CppLogMessageHandler”, “cluster.name”: “docker-cluste
r”, “node.name”: “9aa70a5ebff9”, “message”: “[controller/73] [Main.cc@109] cont
roller (64 bit): Version 7.0.1 (Build 6a88928693d862) Copyright © 2019 Elastic
search BV” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:16,936+0000”, “level”: “DEBUG”
, “component”: “o.e.a.ActionModule”, “cluster.name”: “docker-cluster”, “node.nam
e”: “9aa70a5ebff9”, “message”: “Using REST wrapper from plugin org.elasticsearc
h.xpack.security.Security” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:18,193+0000”, “level”: “INFO”,
“component”: “o.e.d.DiscoveryModule”, “cluster.name”: “docker-cluster”, “node.n
ame”: “9aa70a5ebff9”, “message”: “using discovery type [zen] and seed hosts pro
viders [settings]” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,370+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “initialized” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,373+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “starting …” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,723+0000”, “level”: “INFO”,
“component”: “o.e.t.TransportService”, “cluster.name”: “docker-cluster”, “node.
name”: “9aa70a5ebff9”, “message”: “publish_address {172.17.0.2:9300}, bound_add
resses {0.0.0.0:9300}” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,789+0000”, “level”: “INFO”,
“component”: “o.e.b.BootstrapChecks”, “cluster.name”: “docker-cluster”, “node.n
ame”: “9aa70a5ebff9”, “message”: “bound or publishing to a non-loopback address
, enforcing bootstrap checks” }
ERROR: [2] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to a
t least [262144]
[2]: the default discovery settings are unsuitable for production use; at least
one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_n
odes] must be configured
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,834+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “stopping …” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,861+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “stopped” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,862+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “closing …” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,937+0000”, “level”: “INFO”,
“component”: “o.e.n.Node”, “cluster.name”: “docker-cluster”, “node.name”: “9aa7
0a5ebff9”, “message”: “closed” }
{“type”: “server”, “timestamp”: “2019-07-01T10:21:20,942+0000”, “level”: “INFO”,
“component”: “o.e.x.m.p.NativeController”, “cluster.name”: “docker-cluster”, “n
ode.name”: “9aa70a5ebff9”, “message”: “Native controller process has stopped -
no new native processes can be started” }

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker pull docker.elastic.co/elasticsearch/elasticsearch:5.5.3
5.5.3: Pulling from elasticsearch/elasticsearch
364f9b7c969a: Pull complete
ddbb62cd8870: Pull complete
886fc8178f2e: Pull complete
c87ee85ce74a: Pull complete
04793f0e9f49: Pull complete
62df301e053d: Pull complete
2abe81925962: Pull complete
aec6453d8b64: Pull complete
ae99e04a1ae7: Pull complete
f0d9a3a098b9: Pull complete
Digest: sha256:0d449a58e8b98bf3fe49ec655c9a7ab1ec3ffe269a731abff15e88bd86423f1c
Status: Downloaded newer image for

Hi @Anees_Akhter
Retry up command
docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up

Just try UP command show below error same

aneesakhter@VE170817_A MINGW64 /e/vue-storefront-api (master)
$ docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up
Starting elasticsearch …
Starting elasticsearch … error

ERROR: for elasticsearch Cannot start service es1: OCI runtime create failed: c
ontainer_linux.go:345: starting container process caused “process_linux.go:424:
container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/d
ocker/elasticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib
/docker/overlay2/f1f5bc6c169c622697313bb9979a1e49456125a0c9ecb6f4752f1bffaa15fb8
0/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/f1f5bc6c169c622697313bb997
9a1e49456125a0c9ecb6f4752f1bffaa15fb80/merged/usr/share/elasticsearch/config/ela
sticsearch.yml\" caused \“not a directory\”"": unknown: Are you trying to
mount a directory onto a file (or vice-versa)? Check if the specified host path
exists and is the expected type

ERROR: for es1 Cannot start service es1: OCI runtime create failed: container_l
inux.go:345: starting container process caused “process_linux.go:424: container
init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/docker/elas
ticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib/docker/ov
erlay2/f1f5bc6c169c622697313bb9979a1e49456125a0c9ecb6f4752f1bffaa15fb80/merged\
" at \"/mnt/sda1/var/lib/docker/overlay2/f1f5bc6c169c622697313bb9979a1e494561
25a0c9ecb6f4752f1bffaa15fb80/merged/usr/share/elasticsearch/config/elasticsearch
.yml\" caused \“not a directory\”"": unknown: Are you trying to mount a d
irectory onto a file (or vice-versa)? Check if the specified host path exists an
d is the expected type
ERROR: Encountered errors while bringing up the project.

Sorry have no idea of this issue, I use VSF in linux system.
But you can post question also in https://vuestorefront.slack.com anybody help you to VSF install in windows system.

And also You can search in slack to Find anybody in installed to use VSF in windows system…you can directly(direct message) ask to your error. It may be helps you.

I am getting the same error . Please provide the solution to fix this

Starting elasticsearch …
Starting elasticsearch … error
ERROR: for elasticsearch Cannot start service es1: OCI runtime create failed: container_linux.go:346: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/docker/elasticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib/docker/overlay2/0aef692e93a17be1cb89e8530ded4fce16e3e406d1d27ce37eb5dcb3ac606c12/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/0aef692e93a17be1cb89e8530ded4fce16e3e406d1d27ce37eb5dcb3ac606c12/merged/usr/share/elasticsearch/config/elasticsearch.yml\" caused \“not a directory\”"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for es1 Cannot start service es1: OCI runtime create failed: container_linux.go:346: starting container process caused “process_linux.go:449: container init caused “rootfs_linux.go:58: mounting \”/e/vue-storefront-api/docker/elasticsearch/config/elasticsearch.yml\” to rootfs \"/mnt/sda1/var/lib/docker/overlay2/0aef692e93a17be1cb89e8530ded4fce16e3e406d1d27ce37eb5dcb3ac606c12/merged\" at \"/mnt/sda1/var/lib/docker/overlay2/0aef692e93a17be1cb89e8530ded4fce16e3e406d1d27ce37eb5dcb3ac606c12/merged/usr/share/elasticsearch/config/elasticsearch.yml\" caused \“not a directory\”"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.

@Kamidi_Ramarao

  1. what OS are you running this on?
  2. What command have you used to get this error?
    Without steps to reproduce it’s hard to help.
  1. I am installing it on windows 10 home edition
  2. I used docker toolbox to download images and run the cummand
    docker-compose -f docker-compose.yml -f docker-compose.nodejs.yml up