{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/22101","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/22101/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/22101/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/22101/events","html_url":"https://github.com/elastic/elasticsearch/issues/22101","id":194819530,"number":22101,"title":"Elasticsearch 5.1.1 not starting & no failure are printed in STDOUT","user":{"login":"guptayuvraj","id":1355522,"avatar_url":"https://avatars.githubusercontent.com/u/1355522?v=3","gravatar_id":"","url":"https://api.github.com/users/guptayuvraj","html_url":"https://github.com/guptayuvraj","followers_url":"https://api.github.com/users/guptayuvraj/followers","following_url":"https://api.github.com/users/guptayuvraj/following{/other_user}","gists_url":"https://api.github.com/users/guptayuvraj/gists{/gist_id}","starred_url":"https://api.github.com/users/guptayuvraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guptayuvraj/subscriptions","organizations_url":"https://api.github.com/users/guptayuvraj/orgs","repos_url":"https://api.github.com/users/guptayuvraj/repos","events_url":"https://api.github.com/users/guptayuvraj/events{/privacy}","received_events_url":"https://api.github.com/users/guptayuvraj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-11T08:15:40Z","updated_at":"2016-12-11T13:01:26Z","closed_at":"2016-12-11T13:01:26Z","body":"**Problem Description**\r\nI faced an issue when upgrading my elasticsearch 2.3.3 to elasticsearch 5.1.1 by upgrading from apt repository. When elasticsearch 5.1.1 was upgraded and I tried to start it, Elasticsearch did not start but in the STDOUT it never gave a failure. Instead, in STDOUT it gave an OK message wwhich signifies that elasticsearch has started succesfully.\r\n\r\n**Problem Issue Identification**\r\nAfter debugging it, I found the issue causing it by traversing through the /var/log/elasticsearch/elasticsearch.log file. The issue was caused by using elasticsearch-head plugin which was installed in ES-2.3.3 but as it is not supported in ES-5.1.1, elasticsearch failed to start.\r\n\r\n**Actual Behaviour**\r\nAs an end-user I think we should not get an OK message if elasticsearch fails to start and it should be mentioned in the Installation of Elasticsearch documentation (https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html).\r\n\r\n**Note: This issue will occur for every plugins which were earlier supported prior to ES-5.0.x version.**\r\n\r\nSteps To Reproduce:\r\n1. Install any ES version prior to ES-5.x.x\r\n2. Install Elasticsearch-head in previous ES version (Validate its installation as it will be listed under $ES_HOME/plugins directory)\r\n3. Upgrade ES to ES-5.1.1\r\n4. Add ES as a service\r\n5. Run ES as a service. You will get following STDOUT console on command line:-\r\n\r\nroot@ubuntu:/home/yuvraj# sudo service elasticsearch start\r\n Starting Elasticsearch Server                                                                         [2016-12-11T12:07:50,609][WARN ][o.e.c.l.LogConfigurator  ] ignoring unsupported logging configuration file [/etc/elasticsearch/logging.yml], logging is configured via [/etc/elasticsearch/log4j2.properties]\r\n                                                                                                  [ OK ]\r\n\r\nPlease find required details as mentioned below - \r\n\r\n**Elasticsearch version**: Elasticsearch-5.1.1\r\n\r\n**Plugins installed**: elasticsearch-head\r\n\r\n**JVM version**: Oracle java version \"1.8.0_91\"\r\n\r\n**OS version**: Ubuntu 14.04\r\n\r\n**Provide logs (if relevant)**: [elasticsearch-error-captured.txt](https://github.com/elastic/elasticsearch/files/644320/elasticsearch-error-captured.txt)\r\n"}}
{"actor":{"display_login":"jasontedor"}}