Hello,
we're having trouble in migrating .kibana index from 5.4.0 to 5.6.5 (in order to prepare it to a final migration to 6.5).
We're testing it in a single-node environment.
We follow the instructions for a manual upgrade:
- make a copy of current .kibana => .kibana-backup-5-4
 - Set  
.kibanaindex to read-only - Create a .kibana-6 with the new mapping, with both 
"index.mapper.dynamic": false,and"index.mapping.single_type": true
2.1 Reindex.kibanainto.kibana-6
2.2 Alias.kibana-6to.kibanaand remove legacy.kibanaindex 
When starting kibana we have errors from the plugins, as the index rejects multiple types:
  log   [16:02:47.782] [error][status][plugin:xpack_main@5.6.5] Status changed from yellow to red - [illegal_argument_exception] Rejecting mapping update to [.kibana-6] as the final mapping would have more than 1 type: [doc, config]
...
  log   [16:02:47.791] [error][status][plugin:searchprofiler@5.6.5] Status changed from uninitialized to red - [illegal_argument_exception] Rejecting mapping update to [.kibana-6] as the final mapping would have more than 1 type: [doc, config]
then it continues trying to create new type(s) in .kibana:
  log   [16:02:48.487] [info][status][plugin:timelion@5.6.5] Status changed from uninitialized to green - Ready
  log   [16:02:48.494] [info][listening] Server running at http://localhost:5601
  log   [16:02:48.496] [error][status][ui settings] Status changed from uninitialized to red - Elasticsearch plugin is red
  ops   [16:02:50.131]  memory: 916.1MB uptime: 0:06:48 load: [1.20 1.05 0.80] delay: 2.538
  log   [16:02:50.291] [debug][plugin] Checking Elasticsearch version
  log   [16:02:50.318] [info][elasticsearch] Adding mappings to kibana index for SavedObject type "config"
  log   [16:02:50.735] [debug][esqueue][reporting][worker] jsvypf730e6yb7e9b7c1b769 - querying for outstanding jobs
  log   [16:02:50.741] [debug][esqueue][reporting][worker] jsvypf730e6yb7e9b7c1b769 - 0 outstanding jobs returned
  log   [16:02:52.842] [debug][plugin] Checking Elasticsearch version
  log   [16:02:52.864] [info][elasticsearch] Adding mappings to kibana index for SavedObject type "config"
  log   [16:02:53.748] [debug][esqueue][reporting][worker] jsvypf730e6yb7e9b7c1b769 - querying for outstanding jobs
  log   [16:02:53.755] [debug][esqueue][reporting][worker] jsvypf730e6yb7e9b7c1b769 - 0 outstanding jobs returned
  ops   [16:02:55.132]  memory: 917.2MB uptime: 0:06:53 load: [1.10 1.03 0.80] delay: 2.328
In Elasticsearch, we keep having:
  [2019-03-05T17:03:43,792][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [mCMhoMa] failed to put mappings on indices [[[.kibana-6/mRl4HsY_TWKlH8aItayVzw]]], type [config]
  java.lang.IllegalArgumentException: Rejecting mapping update to [.kibana-6] as the final mapping would have more than 1 type: [doc, config]
  ...
We've tried also with the migration UI from x-pack, but with no better results.
Any advice is welcome,
Regards