Hey there. Sorry you're running into trouble. When you say you ran into it before, can you let us know whether this was a issue you already reported (or saw in our issues list)? Offhand, my guess is there's some issue with the Ace editor we're using and the compile itself. Anything weird you have setup or any more information you can give? Assume you saw this on the open source version?
If you have installed X-pack then following instruction you have to follow:
In this Elastic Stack 6.x version doesn't provide default username and password like elasstic and changeme if you have to see your Elastic Stack Default x-pack passwords then you used following command:
elasticsearch/bin/x-pack/setup-passwords auto -u "http://elasticsearch_IP:9200"
After this You have to change in your kibana.yml file
elasticsearch.username: elastic-username
elassticsearch.password: elastic-password
I get this error "Uncaught TypeError: ace.require is not a function" as soon as I install x-pack in Kibana v6.2.2 as well as v6.1.1 on a windows 10 machine.
I had the same issue when I used a lowercase driverletter d:\app\kibana\kibana.bat (within nssm)
when I change it to the correct case, the optimize step works (after a clean unzip), and the error is gone.
P.S.: I observed that on Win7 Home edition, kibana worked; but failed on Win7 ultimate. Is Elastic search/Kibana does not support to specific OS edition?
This is a very similar issue to Kibana 6.1.0. and newer starts with error
I tried starting kibana version 6.2.3 (with x-pack installed) as a service, manually unsuccessfully, both times making sure the working directory is kibana_home (d:\ELK\apps\kibana-6.2.3-windows-x86_64) not the bin directory. I also removed the "optimize" directory without success.
Maybe I figured this out. I think you have to run this from PowerShell not the command line. At least on my Windows 2016 Server, it wouldn't work until I used PowerShell to launch it.
My guess would be that the optimize is creating paths that are too deep for the standard command prompt to handle.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.