PROBLEM TO START KIBANA VIA DOCKER

Hi guys!

I've a problem when i try to start kibana via docker. I get an error I never see it.

ERROR:

kibana2   | {"type":"error","@timestamp":"2019-05-09T11:51:37Z","tags":["fatal","root"],"pid":1,"level":"fatal","error":{"message":"Cannot find module './mysql_logs'","name":"Error","stack":"Error: Cannot find module './mysql_logs'\n    at Function.Module._resolveFilename (module.js:548:15)\n    at Function.Module._load (module.js:475:25)\n    at Module.require (module.js:597:17)\n    at require (internal/module.js:11:18)\n    at Object.<anonymous> (/usr/share/kibana/src/core_plugins/kibana/server/tutorials/register.js:28:19)\n    at Module._compile (module.js:653:30)\n    at Module._extensions..js (module.js:664:10)\n    at Object.require.extensions.(anonymous function) [as .js] (/usr/share/kibana/node_modules/babel-register/lib/node.js:152:7)\n    at Module.load (module.js:566:32)\n    at tryModuleLoad (module.js:506:12)\n    at Function.Module._load (module.js:498:3)\n    at Module.require (module.js:597:17)\n    at require (internal/module.js:11:18)\n    at Object.<anonymous> (/usr/share/kibana/src/core_plugins/kibana/index.js:164:18)\n    at Module._compile (module.js:653:30)\n    at Module._extensions..js (module.js:664:10)\n    at Object.require.extensions.(anonymous function) [as .js] (/usr/share/kibana/node_modules/babel-register/lib/node.js:152:7)\n    at Module.load (module.js:566:32)\n    at tryModuleLoad (module.js:506:12)\n    at Function.Module._load (module.js:498:3)\n    at Module.require (module.js:597:17)\n    at require (internal/module.js:11:18)\n    at createPack (/usr/share/kibana/src/plugin_discovery/plugin_pack/create_pack.js:15:18)\n    at MapSubscriber.packageJson$.pipe [as project] (/usr/share/kibana/src/plugin_discovery/plugin_pack/create_pack.js:53:11)\n    at MapSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/map.js:46:35)\n    at MapSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:64:18)\n    at RefCountSubscriber.Subscriber._next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:87:26)\n    at RefCountSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:64:18)","code":"MODULE_NOT_FOUND"},"message":"Cannot find module './mysql_logs'"}
kibana2   |
kibana2   |  FATAL  Error: Cannot find module './mysql_logs'
kibana2   |
kibana2 exited with code 1

Someone could help me?

Thanks

That looks odd. Can you please show exactly What your docker file looks like?

Yes! I start kibana with docker-compose. I dont use Dockerfile.

docker-compose.yml

version: '3.7'
services:
 kibana:
  image: docker.elastic.co/kibana/kibana:6.5.4
  container_name: kibana2
  volumes:
   - kibdata1:/usr/share/kibana/data
  environment:
   SERVER_NAME: kibana2
   ELASTICSEARCH_URL: http://10.192.153.230:9200/
  ports:
   - 5602:5601
  networks:
   - default 
volumes:
 kibdata1:
  driver: local
networks:
 default:
  external:
   name: datanet

Yes its look very odd! =(
Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.