After migrating from 7.8.3 to 7.10.2 kibana keeps restarting

Hi all,

Ather upgrading Elasticsearch and Kibana to 7.10.2, Kibana keeps restarting.
during logging it repeats the following message over and over using different PID codes.

'{"type":"log","@timestamp":"2021-02-04T14:17:19Z","tags"': "fatal","root"],"pid":13096,"message":"TypeError: Cannot read property 'createRouter' of undefined\n'
'at registerSearchRoute (D:\Kibana\src\plugins\data\server\search\routes.js:31:28)\n'
'at SearchService.setup (D:\Kibana\src\plugins\data\server\search\search_service.js:78:37)\n' 'at DataServerPlugin.setup (D:\Kibana\src\plugins\data\server\plugin.js:63:44)\n'
'at PluginWrapper.setup (D:\Kibana\src\core\server\plugins\plugin.js:86:26)\n'
'at PluginsSystem.setupPlugins (D:\Kibana\src\core\server\plugins\plugins_system.js:72:25)"}'

We do not configure plugins, what can be happening? I am completely new to this

1 Like

Could you share the complete logs after starting Kibana?

I suspect something might have gone wrong when unzipping Kibana. Could you try to reinstall Kibana again and see if you still see the same problems?

@rudolf

I made a fresh download and unzip/install, the current logging is:

{"type":"log","@timestamp":"2021-02-05T10:14:22Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:23Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: console"}
{"type":"log","@timestamp":"2021-02-05T10:14:23Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: home"}
{"type":"log","@timestamp":"2021-02-05T10:14:23Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: kibana_legacy"}
{"type":"log","@timestamp":"2021-02-05T10:14:23Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: newsfeed"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: usageCollection"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_tagcloud"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_timelion"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_timeseries"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_vega"}
{"type":"log","@timestamp":"2021-02-05T10:14:25Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: xpack,actions"}
{"type":"log","@timestamp":"2021-02-05T10:14:27Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: xpack,licensing"}
{"type":"log","@timestamp":"2021-02-05T10:14:30Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: monitoring"}
{"type":"log","@timestamp":"2021-02-05T10:14:31Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: xpack,reporting"}
{"type":"log","@timestamp":"2021-02-05T10:14:31Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: xpack,securitySolution"}
{"type":"log","@timestamp":"2021-02-05T10:14:32Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: xpack,security"}
{"type":"log","@timestamp":"2021-02-05T10:14:33Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: xpack,fleet"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_markdown"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_metric"}
{"type":"log","@timestamp":"2021-02-05T10:14:24Z","tags":["debug","config"],"pid":16964,"message":"Marking config path as handled: vis_type_table"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: csp"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: plugins"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: dev"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: csp"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: uiSettings"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: status"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: csp"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: logging"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: plugins"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: dev"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: migrations"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: uiSettings"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: ops"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: status"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: pid"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: logging"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","root"],"pid":4624,"message":"setting up root"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","server"],"pid":4624,"message":"setting up server"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: pid"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","environment"],"pid":4624,"message":"Resuming persistent Kibana instance UUID: 7e19b388-f6bc-4cbf-b79e-bb6a6b184c0c"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-service"],"pid":4624,"message":"Discovering plugins"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Discovering plugins..."}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Scanning "D:\Kibana\src\plugins" for plugin sub-directories..."}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Scanning "D:\Kibana\x-pack\plugins" for plugin sub-directories..."}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Scanning "D:\Kibana\plugins" for plugin sub-directories..."}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Scanning "D:\kibana-extra" for plugin sub-directories..."}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "apmOss" at "D:\Kibana\src\plugins\apm_oss""}

{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "advancedSettings" at "D:\Kibana\src\plugins\advanced_settings""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "devTools" at "D:\Kibana\src\plugins\dev_tools""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "charts" at "D:\Kibana\src\plugins\charts""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "bfetch" at "D:\Kibana\src\plugins\bfetch""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "dashboard" at "D:\Kibana\src\plugins\dashboard""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "data" at "D:\Kibana\src\plugins\data""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "discover" at "D:\Kibana\src\plugins\discover""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "console" at "D:\Kibana\src\plugins\console""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "esUiShared" at "D:\Kibana\src\plugins\es_ui_shared""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "embeddable" at "D:\Kibana\src\plugins\embeddable""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "home" at "D:\Kibana\src\plugins\home""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "indexPatternManagement" at "D:\Kibana\src\plugins\index_pattern_management""}

{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "inputControlVis" at "D:\Kibana\src\plugins\input_control_vis""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "inspector" at "D:\Kibana\src\plugins\inspector""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "expressions" at "D:\Kibana\src\plugins\expressions""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "kibanaLegacy" at "D:\Kibana\src\plugins\kibana_legacy""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "kibanaOverview" at "D:\Kibana\src\plugins\kibana_overview""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "kibanaReact" at "D:\Kibana\src\plugins\kibana_react""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "kibanaUsageCollection" at "D:\Kibana\src\plugins\kibana_usage_collection""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "kibanaUtils" at "D:\Kibana\src\plugins\kibana_utils""}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","plugins-discovery"],"pid":4624,"message":"Successfully discovered plugin "management" at "D:\Kibana\src\plugins\management""}

thats all folks!

What happens after the last log line? Is the process still running or does it get killed?

no as far as I could tell, it restarts:

{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:37Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: console"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: kibana_legacy"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: home"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: usageCollection"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_markdown"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: newsfeed"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_metric"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_tagcloud"}
{"type":"log","@timestamp":"2021-02-05T10:14:39Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_timeseries"}
{"type":"log","@timestamp":"2021-02-05T10:14:39Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_vega"}
{"type":"log","@timestamp":"2021-02-05T10:14:39Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: xpack,actions"}
{"type":"log","@timestamp":"2021-02-05T10:14:40Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: xpack,fleet"}
{"type":"log","@timestamp":"2021-02-05T10:14:41Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: xpack,licensing"}
{"type":"log","@timestamp":"2021-02-05T10:14:43Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: monitoring"}
{"type":"log","@timestamp":"2021-02-05T10:14:43Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: xpack,reporting"}
{"type":"log","@timestamp":"2021-02-05T10:14:44Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: xpack,security"}
{"type":"log","@timestamp":"2021-02-05T10:14:44Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: xpack,securitySolution"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_table"}
{"type":"log","@timestamp":"2021-02-05T10:14:38Z","tags":["debug","config"],"pid":4624,"message":"Marking config path as handled: vis_type_timelion"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: csp"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: plugins"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: dev"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: csp"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: uiSettings"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: status"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: path"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: csp"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: elasticsearch"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: logging"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: server"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: plugins"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: dev"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: kibana"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: savedObjects"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: migrations"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: uiSettings"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: ops"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: status"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: pid"}
{"type":"log","@timestamp":"2021-02-05T10:14:46Z","tags":["debug","config"],"pid":10048,"message":"Marking config path as handled: logging"}

Do you have some kind of process monitor to keep Kibana up if the process dies? We don't automatically restart a Kibana process if it dies on Windows.

I still suspect something with your installation is off. What version of Windows are you using? Can you retry running Kibana on a different machine?

it gets restarted by the NSSM it runs on MS Server 2019. I do not have a second install unfortunately
after the install, folders config and data are replaced from back up

Maybe NSSM thinks Kibana isn't starting in time and is restarting it? I can setup a Windows machine with NSSM and see if there's some setting regarding that.

While I check that out, you could also try stopping the Kibana service and manually starting it in a command prompt window with something like \bin\kibana.bat and see what it logs.

@LeeDr
i did that, this is what happend

PS D:\kibana\bin> .\kibana.bat
kibana.keystore located in the data folder is deprecated. Future versions will use the config folder.
kibana.keystore located in the data folder is deprecated. Future versions will use the config folder.

FATAL TypeError: Cannot read property 'createRouter' of undefined

Can you try to install Kibana without restoring any backups (you mentioned restoring the config and data directories). Without any configuration Kibana won't completely start up, but it shouldn't crash and will hopefully come further in the startup process.

If that seems to work could you try to only manually copy the configuration from the backup kibana.yml file to see if Kibana would connect to Elasticsearch and serve the login page?

@rudolf I just did, it does the same thing!

Unfortunately we cannot reproduce what you're seeing. I don't have further ideas for what could be interfering, but as a first step I would suggest you try to install on a new server and a clean kibana install.

@rudolf
it has been solved! we copy pasted the files in to the existing folder, thus remained some old files like the ones on top of the topic. after using a new folder and copiing the config and data towards that it worked again.

Glad to hear it was an easy fix once you figured out what was wrong!

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