気付いたら動かなくなっていた..
Kibana は頑張っているかな? と思って覗いたら死んでいた..
手動で動かしてみると
$ ./bin/kibana fs.js:549 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: EACCES: permission denied, open '/opt/kibana/optimize/.babelcache.json' at Error (native) at Object.fs.openSync (fs.js:549:18) at Object.fs.writeFileSync (fs.js:1156:15) at save (/opt/kibana/node_modules/babel-core/lib/api/register/cache.js:35:19) at nextTickCallbackWith0Args (node.js:420:9) at process._tickDomainCallback (node.js:390:13) at Function.Module.runMain (module.js:443:11) at startup (node.js:139:18) at node.js:968:3
ふむ…
調べてみると Docker-Libraryの Kibana のIssue に似た問題が起きている人がいた
Kibana container stopped working after upgrading to 4.2.1 from 4.2.0
Deseao さんのCommentに沿って、
chmod o+w /opt/kibana/optimize/.babelcache.json
と、書き込み権限を与えたところ問題なく動いた。
./bin/kibana log [12:15:30.703] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready log [12:15:30.776] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [12:15:30.808] [info][status][plugin:kbn_vislib_vis_types] Status changed from uninitialized to green - Ready log [12:15:30.825] [info][status][plugin:markdown_vis] Status changed from uninitialized to green - Ready log [12:15:30.837] [info][status][plugin:metric_vis] Status changed from uninitialized to green - Ready log [12:15:30.846] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready log [12:15:30.891] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready log [12:15:30.901] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready log [12:15:30.910] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready log [12:15:30.918] [info][listening] Server running at http://0.0.0.0:5601
ではでは