TypeError: Cannot read property 'updated_at' of undefined


(張皓翔) #1

Hi, I install own home plugin and readonlyrest plugin, and when I open the kibana there are some problems.
The log shows TypeError: Cannot read property 'updated_at' of undefined.
I didn't modify elasticsearch.yml, and it can work normally.How can I do?
kibana log:

[root@localhost bin]# sh kibana
  log   [00:45:44.781] [info][status][plugin:kibana@6.2.2] Status changed from uninitialized to green - Ready
  log   [00:45:44.811] [info][status][plugin:elasticsearch@6.2.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [00:45:44.905] [info][status][plugin:timelion@6.2.2] Status changed from uninitialized to green - Ready
  log   [00:45:44.994] [info][status][plugin:own_home@6.2.2] Status changed from uninitialized to green - Ready
  log   [00:45:45.001] [info][status][plugin:console@6.2.2] Status changed from uninitialized to green - Ready
  log   [00:45:45.007] [info][status][plugin:metrics@6.2.2] Status changed from uninitialized to green - Ready
  log   [00:45:45.020] [info][plugin:own-home] Proxy server started at http://localhost:19200
  log   [00:45:45.020] [info][listening] Server running at http://localhost:5601
  log   [00:45:45.158] [info][status][plugin:elasticsearch@6.2.2] Status changed from yellow to green - Ready
 error  [00:45:52.796]  TypeError: Cannot read property 'updated_at' of undefined
    at /run/media/es3/80967063-20eb-4c15-82d1-56e01f888254/kibana-6.2.2-linux-x86_64/src/server/saved_objects/client/saved_objects_client.js:442:41
    at next (native)
    at step (/run/media/es3/80967063-20eb-4c15-82d1-56e01f888254/kibana-6.2.2-linux-x86_64/src/server/saved_objects/client/saved_objects_client.js:20:191)
    at /run/media/es3/80967063-20eb-4c15-82d1-56e01f888254/kibana-6.2.2-linux-x86_64/src/server/saved_objects/client/saved_objects_client.js:20:361

kibana.yml:
.
.
.

elasticsearch.username: "kibana"
elasticsearch.password: "kibana"
elasticsearch.url: http://localhost:19200
own_home.session.isSecure: false
own_home.proxy_user_header: x-forwarded-user
own_home.session.secretkey: "mysecretkey-must-be-at-least-32-characters-long"
own_home.local.groups: [ sandbox ]
elasticsearch.requestHeadersWhitelist: [ authorization, x-forwarded-user ]

thank you in advance!


(Stacey Gammon) #2

It sounds like it's probably an issue with the custom plugins you are using. Does Kibana run normally without the home and readonlyrest plugin?


(Emmett Harper) #3

I have the exact same error using ES 6.3 and Kibana 6.3. ES is hosted in google cloud to interact with firebase. curling to it works fine but Kibana blows up right when I run it with a basic config


(system) #4

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