Kibana is not starting 8.10.2

I am having this error while kibana pod is starting

ValidationError: [config validation of [elastic]]: could not parse object value from json input
    at ObjectType.validate (/usr/share/kibana/node_modules/@kbn/config-schema/src/types/type.js:87:13)
    at ConfigService.validateAtPath (/usr/share/kibana/node_modules/@kbn/config/src/config_service.js:198:19)
    ... 40 lines matching cause stack trace ...
    at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
    at ReplaySubject.Subject.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)
    at ReplaySubject.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js:45:31)
    at Object.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/share.js:69:58)
    at ConsumerObserver.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)
    at SafeSubscriber.Subscriber._next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)
    at SafeSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
    at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/tap.js:21:28 {
  cause: SchemaTypeError: could not parse object value from json input
      at ObjectType.onError (/usr/share/kibana/node_modules/@kbn/config-schema/src/types/type.js:127:14)
      at Object.error (/usr/share/kibana/node_modules/@kbn/config-schema/src/types/type.js:71:47)
      at Object.internals.finalize (/usr/share/kibana/node_modules/joi/lib/validator.js:475:36)
      at Object.exports.validate (/usr/share/kibana/node_modules/joi/lib/validator.js:242:34)
      at Object.internals.entry (/usr/share/kibana/node_modules/joi/lib/validator.js:145:28)
      at Object.exports.entry (/usr/share/kibana/node_modules/joi/lib/validator.js:27:30)
      at internals.Base.validate (/usr/share/kibana/node_modules/joi/lib/base.js:548:26)
      at ObjectType.validate (/usr/share/kibana/node_modules/@kbn/config-schema/src/types/type.js:82:29)
      at ConfigService.validateAtPath (/usr/share/kibana/node_modules/@kbn/config/src/config_service.js:198:19)
      at /usr/share/kibana/node_modules/@kbn/config/src/config_service.js:206:169
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:37
      at OperatorSubscriber._this._next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js:18:28
      at OperatorSubscriber._this._next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:24
      at OperatorSubscriber._this._next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at ReplaySubject._subscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/ReplaySubject.js:54:24)
      at ReplaySubject.Observable._trySubscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:41:25)
      at ReplaySubject.Subject._trySubscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subject.js:123:47)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:35:31
      at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at ReplaySubject.Observable.subscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/share.js:66:18
      at OperatorSubscriber.<anonymous> (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/map.js:9:16
      at OperatorSubscriber.<anonymous> (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/distinctUntilChanged.js:13:16
      at OperatorSubscriber.<anonymous> (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/map.js:9:16
      at OperatorSubscriber.<anonymous> (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/lift.js:14:28)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:30:30
      at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
      at Observable.subscribe (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Observable.js:26:24)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/switchMap.js:17:63
      at OperatorSubscriber._this._next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
      at OperatorSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
      at /usr/share/kibana/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34
      at Object.errorContext (/usr/share/kibana/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9) {
    cause: undefined,
    path: []
  }
}

This is my yaml file

---
apiVersion: kibana.k8s.elastic.co/v1
kind: Kibana
metadata:
  name: kibana-eck
  namespace: elasticsearch-cluster
spec:
  version: 8.10.2
  count: 1
  elasticsearchRef:
    name: elasticsearch-eck
  http:
    tls:
      selfSignedCertificate:
        disabled: true
  config:
    monitoring.ui.container.elasticsearch.enabled: true
    xpack.security.enabled: true
    xpack.security.enrollment.enabled: true
    xpack.monitoring.templates.enabled: true
    xpack.monitoring.collection.enabled: true
    xpack.reporting.enabled: true
    logging.root.level: debug
    server.publicBaseUrl: https://somedomain.com

Hi @layalhasan,

Welcome to the community! It looks like a configuration issue from that error.

I wonder if the issue is down to the monitoring settings you have. I see from the documentation that some of the monitoring settings were deprecated in 7.16.

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