-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kibana server is not ready yet #25806
Comments
How many instances of Kibana do you have running? Are you sure no other Kibana instance are pointing to this index? |
Pinging @elastic/kibana-operations |
Pretty sure only one instance is running: [root@rconfig-elk-test tmp]# ps -ef | grep -i kibana I'm attaching full error log from Kibana. Somewhere in the middle you will see fatal error: Then it goes through bunch of plugin message again and ends with: "Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_1 and restarting Kibana."} Elasticsearch is running: [root@rconfig-elk-test tmp]# curl -GET http://10.10.99.144:9200 |
Can you try deleting both |
I only have .kibana_1 index: [root@rconfig-elk-test tmp]# curl -GET http://10.10.99.144:9200/_cat/indices?v I did try deleting .kibana_1 and restarting kibana - it produces same exact log |
Can I get the Elasticsearch logs during this time? |
Attached full log (for some reason elastic logs have proper timestamps and kibana's timestamps are ahead) |
I've just come across this same thing. CentOS 7.5, upgraded to ES 6.5.0 today. Everything else restarts except Kibana. |
I'm having the same issue on CentOS 7.5.1804 after upgrading ELK to 6.5.0 last night. |
I too had the same issue after a CentOS 7.5 upgrade. After verifying that .kibana had been migrated to .kibana_1, I deleted .kibana and then manually aliased .kibana to .kibana_1. Seems to have resolved the issue. |
Any chance of posting a step by step for myself and probably others that have / will be hit by this? |
First, try deleting the versioned indices and then restart as suggested above:
This worked for me on other servers and don't know why it didn't on this particular one -- I'm no kibana expert. If it doesn't work then verify you have a versioned index that's been created, e.g. byte counts the same, etc. After that then delete the original .kibana:
then alias it:
Then restart kibana. |
@littlebunch if you have a versioned index, For anyone still experiencing this - IF the original |
@st3rling in your logs there are a lot of primary shart timeouts. Not sure if that is related.
|
@tylersmalley Yes, I agree. As I stated, the suggested "fix" worked for me on other servers not this particular one. Don't know why -- just reporting what I had to do to get it to work. |
Yes, and thank you for sharing your experience. Just making sure folks don't accidentally delete their data. |
It was a desperation move, yes, and it was on a dev machine. ;) I will poke around the logs a bit more later today and see if I find anything that might shed some light. |
@tylersmalley Those errors were due to: Fixed it by issuing:
Restarted Elastic and Kibana The error is gone from Elasticsearch log but I'm having same issues and same messages in Kibana log. Both logs are attached. |
I got this issue after there was a version mismatch between elasticsearch and kibana. Maybe I'm being captain obvious here, but make sure both kibana and elasticsearch are 6.5.0 |
Yep, they are: |
@st3rling I believe that allocation setting is what initially caused the migration issue in Kibana. If that is the case, you should be able to delete the |
Ok, with a few hints from this topic, I found we didn't have a 'kibana_1' index, but we did have 'kibana_2'. I removed this via:
Restarted Kibana and everything was happy again. |
@tylersmalley Yes, that did it and all is happy now. User error - I missed step 8 in the rolling upgrades guide: |
Faced this issue on one (single-node) cluster. Here's what happened: Error:
List of indices:
Deleted .kibana_7:
Restart kibana:
|
Found a similar issue, related to a closed index named |
Same issue. Anyone have work around? |
Had same issue and we did this: Note: At first attempt I removed only .kibana_1 and this did not helped I had to double check my indices and then I found the size correlation, hence the kibana_1 index was rebuilt upon restart.
Followed by was bringing back my instance. Hope this helps! |
Thank you. This fixed my issue loading Kibana. (Kibana server is not ready yet) The below command fixed the issue.
|
I had sililar issue, it worked for me |
Also I had to do is: localhost:9200/.kibana_2/_settings { |
Thanks a ton! |
While migrating from ELK 6.3.2 to 6.5.0 I ran into this issue, but none of the suggested fixes worked, and i too don't have security so the known issue is not applicable... The way I worked around this was to:
It looks like a stunt but it worked (see logs below). Hope this helps Olivier Logs:
|
@rubpa @makibroshett |
@godekdls |
After recreation of kibana index , I have not lost my kibana objects |
The sympton was the same in my case: the infamous message "kibana server is not ready yet", however kibana was running (Ubuntu 18.04, Kibana 7.4 on ES 7.4). In fact I found .kibana_1, .kibana_2 and .kibana_3 among my indices. Deleting them and restarting kibana had no visible effect. Then I discovered that there are three more kibana related indices: .kibana_task_manager_1, .kibana_task_manager_2 and .kibana_task_manager_3. After deleting them and restarting kibana, kibana came back with its well known home page and dashboard. |
I just wanted to say thank you for this @ontoport . I had upgraded from 7.2 -> 7.5. , and afterwards was stuck with "kibana server is not ready yet" and couldn't find any indication in the logs (with verbose: true) as to why it could not be ready. No breaking change looked relevant, and rpmnew kibana.yml files didn't show a new parameter I had not already defined.... So after seeing your post and with nothing to lose in my home lab, I did the below: curl -XGET localhost:9200/_cat/shards |grep -i kibana_task (output cut for brevity) curl -XDELETE localhost:9200/.kibana_task_manager/ After this I restarted kibana and all is well now. Thank you. |
Hi Dberry, Iam using kibana 7.2,I want to upgrade entire elk stack to 7.5,will you pls tell me what are the necessary changes for the upgradation process including logstash. |
I had the same issue.(kibana 6.8.2) 3 instances were running in my site, .kibana, .kibana_1 and .kibana_2. Followed the below steps:
|
I am going to close this issue as it's been taken over from the original issue and contains a lot of miss-information. When upgrading, some users have come into issues where the migrations didn't complete successfully. When that happens and Kibana is restarted it will output an error message with what is required to resolve. |
Yes, until the fluentd is exporting to ES healthily, your logs are sane and saved. |
After upgrading ELK to 6.5 from 6.4.3 I get error message in browser:
Kibana server is not ready yet
elasticsearch -V
Version: 6.5.0, Build: default/rpm/816e6f6/2018-11-09T18:58:36.352602Z, JVM: 1.8.0_161
https://www.elastic.co/guide/en/kibana/current/release-notes-6.5.0.html#known-issues-6.5.0 doesn't apply since I don't have X-Pack
Kibana log:
{"type":"log","@timestamp":"2018-11-16T16:14:02Z","tags":["info","migrations"],"pid":6147,"message":"Creating index .kibana_1."}
{"type":"log","@timestamp":"2018-11-16T16:14:02Z","tags":["warning","migrations"],"pid":6147,"message":"Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_1 and restarting Kibana."}
Deleting kibana_1 and restarting Kibana just recreates kibana_1 and produces same error.
The text was updated successfully, but these errors were encountered: