Dashboard and Discover tabs show blank page


(Douwe B.) #1

I have a problem which is similar to Discover tab won't load anymore and https://github.com/elastic/kibana/issues/5648 - apparently I'm not the only one experiencing issues.

I start with an empty Kibana index and add some data, a mapping, and previously exported visualizations.

After this, both the Discover and the Dashboards tabs are empty, in the debugger tools of my browser I see a request to elasticsearch/.kibana/_mapping with a resulting HTTP 400 Bad Request result and this data:

 {
   "status" : 400,
   "error" : {
      "type" : "illegal_argument_exception",
      "root_cause" : [
         {
            "type" : "illegal_argument_exception",
            "reason" : "mapper [version] cannot be changed from type [long] to [int]"
         }
      ],
      "reason" : "mapper [version] cannot be changed from type [long] to [int]"
   }
}

Can you please advise how to fix this issue?


(Tyler Smalley) #2

What version of Kibana and Elasticsearch?


(Douwe B.) #3

Kibana 4.5.4; elasticsearch 2.3.5.

Would the problem I have be because of the mappings I loaded?


#4

I actually have the same issue with Kibana 4.5.1 and elasticsearch 2.3.3. Oddly my timelion page behaves the same way.

my error is slightly different as well:
mapper [hits] cannot be changed from type [long] to [int]

Just trying to add info to help find a solution.


(Tim Sullivan) #5

What version of Kibana were the visualizations exported from?


(Douwe B.) #6

Hmm... it could actually be I exported them from Kibana 5 :smiley:

Is there any way I can make them display again?


(Tim Sullivan) #7

Hm, I am not sure. I was able to export Saved Object from Kibana 5 and import them into Kibana 4.6. I had a pretty minimal setup though, with just 1 Saved Search, a few Visualizations, and 1 Dashboard. Then went to Settings -> Objects and clicked "Export Everything"


(system) #8