[savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations

Hi,

I'm stuck in "Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."

My kibana.yml

server.host: 0.0.0.0
server.name: "elk1"
elasticsearch.hosts: ["https://localhost:9200"]
elasticsearch.username: "kibana_system"
server.ssl.enabled: true
server.ssl.certificate: /etc/kibana/fullchain.pem
server.ssl.key: /etc/kibana/privkey.pem
elasticsearch.ssl.certificate: /etc/kibana/fullchain.pem
elasticsearch.ssl.key: /etc/kibana/privkey.pem
elasticsearch.ssl.verificationMode: full
elasticsearch.ssl.certificateAuthorities: [ "/etc/kibana/privkey.pem" ]
xpack.encryptedSavedObjects.encryptionKey: xxx->auto generate
xpack.reporting.encryptionKey: xxx->auto generate
xpack.security.encryptionKey: xxx->auto generate

My elasticsearch.yml

cluster.name: cluster-elk1
node.name: es01
node.master: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
http.host: 0.0.0.0
discovery.type: single-node
xpack.security.enabled: true
xpack.license.self_generated.type: basic
xpack.http.ssl.key: privkey.pem
xpack.http.ssl.certificate: fullchain.pem
xpack.security.http.ssl.key: privkey.pem
xpack.security.http.ssl.certificate: fullchain.pem
xpack.security.transport.ssl.enabled: true
xpack.security.http.ssl.enabled: true
xpack.security.audit.enabled: true
xpack.security.http.ssl.client_authentication: required

I have no error in elasticsearch logs but i have this in kibana log file :

{"type":"log","@timestamp":"2021-07-06T16:01:19+02:00","tags":["warning","plugins-system"],"pid":4143,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."}
{"type":"log","@timestamp":"2021-07-06T16:01:29+02:00","tags":["info","plugins-service"],"pid":4473,"message":"Plugin \"timelines\" is disabled."}
{"type":"log","@timestamp":"2021-07-06T16:01:30+02:00","tags":["warning","config","deprecation"],"pid":4473,"message":"\"logging.dest\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \"console\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx"}
{"type":"log","@timestamp":"2021-07-06T16:01:30+02:00","tags":["warning","config","deprecation"],"pid":4473,"message":"plugins.scanDirs is deprecated and is no longer used"}
{"type":"log","@timestamp":"2021-07-06T16:01:30+02:00","tags":["warning","config","deprecation"],"pid":4473,"message":"Config key [monitoring.cluster_alerts.email_notifications.email_address] will be required for email notifications to work in 8.0.\""}
{"type":"log","@timestamp":"2021-07-06T16:01:30+02:00","tags":["info","plugins-system"],"pid":4473,"message":"Setting up [106] plugins: [mapsEms,mapsLegacy,taskManager,licensing,globalSearch,globalSearchProviders,banners,code,usageCollection,xpackLegacy,telemetryCollectionManager,telemetry,telemetryCollectionXpack,kibanaUsageCollection,securityOss,share,newsfeed,kibanaLegacy,translations,licenseApiGuard,legacyExport,embeddable,uiActionsEnhanced,expressions,charts,esUiShared,bfetch,data,home,console,consoleExtensions,apmOss,searchprofiler,painlessLab,grokdebugger,management,advancedSettings,savedObjects,visualizations,visTypeTagcloud,visTypeTable,visTypeVislib,visTypeVega,visTypeTimelion,features,licenseManagement,watcher,visTypeMetric,visTypeMarkdown,visTypeXy,tileMap,regionMap,presentationUtil,canvas,graph,timelion,dashboard,dashboardEnhanced,visualize,visTypeTimeseries,inputControlVis,indexPatternManagement,discover,discoverEnhanced,savedObjectsManagement,spaces,security,savedObjectsTagging,lens,reporting,lists,encryptedSavedObjects,dataEnhanced,dashboardMode,cloud,upgradeAssistant,snapshotRestore,fleet,indexManagement,rollup,remoteClusters,crossClusterReplication,indexLifecycleManagement,enterpriseSearch,beatsManagement,fileUpload,maps,fileDataVisualizer,transform,ingestPipelines,eventLog,actions,alerting,triggersActionsUi,stackAlerts,ruleRegistry,observability,osquery,ml,securitySolution,cases,infra,monitoring,logstash,apm,uptime]"}
{"type":"log","@timestamp":"2021-07-06T16:01:30+02:00","tags":["info","plugins","taskManager"],"pid":4473,"message":"TaskManager is identified by the Kibana UUID: 95328289-1449-45b5-b9ec-d8a833659657"}
{"type":"log","@timestamp":"2021-07-06T16:01:30+02:00","tags":["warning","plugins","reporting","config"],"pid":4473,"message":"Chromium sandbox provides an additional layer of protection, but is not supported for Linux Debian 10 OS. Automatically setting 'xpack.reporting.capture.browser.chromium.disableSandbox: true'."}
{"type":"log","@timestamp":"2021-07-06T16:01:31+02:00","tags":["info","plugins","monitoring","monitoring"],"pid":4473,"message":"config sourced from: production cluster"}
{"type":"log","@timestamp":"2021-07-06T16:01:31+02:00","tags":["info","savedobjects-service"],"pid":4473,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-07-06T16:01:31+02:00","tags":["error","savedobjects-service"],"pid":4473,"message":"Unable to retrieve version information from Elasticsearch nodes."}

Could you help me to resolve this issue please ? :smiley: