Kibana 7 - Docker - permission denied - RESOLVED

docker

#1

Hi all,
after upgrading from 6.7.0 to 7 i have a problem when run container. This is the logs from docker service logs:

Error: EACCES: permission denied, open '/usr/share/kibana/optimize/.babelcache.json'
^

^


at Object.openSync (fs.js:439:3)

Error: EACCES: permission denied, open '/usr/share/kibana/optimize/.babelcache.json'
Error: EACCES: permission denied, open '/usr/share/kibana/optimize/.babelcache.json'
Error: EACCES: permission denied, open '/usr/share/kibana/optimize/.babelcache.json'
at Object.openSync (fs.js:439:3)
at Object.openSync (fs.js:439:3)
at Object.writeFileSync (fs.js:1190:35)
at Object.openSync (fs.js:439:3)
at Object.writeFileSync (fs.js:1190:35)
at Object.writeFileSync (fs.js:1190:35)
at save (/usr/share/kibana/node_modules/babel-register/lib/cache.js:48:16)
at Object.writeFileSync (fs.js:1190:35)
at save (/usr/share/kibana/node_modules/babel-register/lib/cache.js:48:16)
at save (/usr/share/kibana/node_modules/babel-register/lib/cache.js:48:16)
at save (/usr/share/kibana/node_modules/babel-register/lib/cache.js:48:16)
at process._tickCallback (internal/process/next_tick.js:61:11)
at process._tickCallback (internal/process/next_tick.js:61:11)
at process._tickCallback (internal/process/next_tick.js:61:11)
at process._tickCallback (internal/process/next_tick.js:61:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at Object.openSync (fs.js:439:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at Object.writeFileSync (fs.js:1190:35)
at startup (internal/bootstrap/node.js:283:19)
at startup (internal/bootstrap/node.js:283:19)
at startup (internal/bootstrap/node.js:283:19)
at save (/usr/share/kibana/node_modules/babel-register/lib/cache.js:48:16)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
at process._tickCallback (internal/process/next_tick.js:61:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

What can I do ?
best regards

DM


#2

I'don't know why, but the Kibane image was corrupted, i remove it ad force a new updating and everything is back to work fine.