# Ubuntu 14.04 upgrade process for 1.4 to 1.5 and mini-ish FAQ

**URL:** <https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070>\
**Category:** Elasticsearch\
**Created:** [June 6, 2015, 5:26pm UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070 "2015-06-06T17:26:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [June 6, 2015, 5:26pm UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070/1 "2015-06-06T17:26:35Z")

</div>

My upgrade process for Ubuntu 14.04 from a working 1.4 install:

Comment out:  
deb [http://packages.elasticsearch.org/elasticsearch/1.4/debian](http://packages.elasticsearch.org/elasticsearch/1.4/debian) stable main  
deb [http://packages.elasticsearch.org/logstash/1.4/debian](http://packages.elasticsearch.org/logstash/1.4/debian) stable main

and add in:  
deb [http://packages.elastic.co/elasticsearch/1.5/debian](http://packages.elastic.co/elasticsearch/1.5/debian) stable main  
deb [http://packages.elastic.co/logstash/1.5/debian](http://packages.elastic.co/logstash/1.5/debian) stable main

sudo service logstash stop  
sudo service elasticsearch stop

sudo apt-get update  
sudo apt-get dist-upgrade

sudo service elasticsearch start  
sudo service logstash start

Download kibana for you architecture at:  
[https://www.elastic.co/downloads/kibana](https://www.elastic.co/downloads/kibana)

Mini-ish FAQ  
Kibana is it's own beast now instead of integrating with a web server, I extracted it /opt/kibana  
Your current Kibana 3 dashboard and queries don't port over, so be prepared to do a lot of rework  
I had to increase my ES\_HEAP\_SIZE to 1 gig when doing the initial Kibana 4 discovery otherwise it would fail

That's it for now. I'm sticking with Kibana 3 for a while. Currently I'm not sure this upgrade was even worth it.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 6, 2015, 11:26pm UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070/2 "2015-06-06T23:26:31Z")

</div>

Thanks for the write up 🙂

---

<div class="post-metadata">

**Author:** ![Jason\_Wee](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)\
**Post date:** [June 7, 2015, 10:15am UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070/3 "2015-06-07T10:15:58Z")

</div>

this documentation definitely is **really** helpful. at times, doing automatic upgrade is always desirable and especially in this face pace life. just a question, do you feel safe or if the automatic upgrade is done by third party? i mean as important as a datastore if not upgraded successfully, in production, it would mean a **disaster**. maybe that's just my little knowledge, if you have better views, could you write more by elaborate on how to successfully upgrade elasticsearch?

---

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [June 7, 2015, 11:51am UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070/4 "2015-06-07T11:51:47Z")

</div>

I do not do automatic updates. My production ELK stack is virtualized, so when it comes time for updating I make a snapshot of the VM, and then run the updates and test. I also have a development box to test on, this too gets updated before I even think about the production one. If I ever planned to do automatic updates, I would at least schedule them while I'm at work on site...so if something tanks I would be there and active ready to respond, not have something broken from midnight until I got in for example.

---

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [June 9, 2015, 1:00pm UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070/5 "2015-06-09T13:00:27Z")

</div>

Last word on this. After restarting the elasticsearch service a few times I started to get:

marking and sending shard failed due to [failed recovery]

errors and data stopped going into ES. Long story short I blew out the data and downgraded back to ES/Logstash 1.4.5. 1.5 just is not ready for primtime in my experience.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:08am UTC](https://discuss.elastic.co/t/ubuntu-14-04-upgrade-process-for-1-4-to-1-5-and-mini-ish-faq/2070/6 "2017-07-06T00:08:48Z")

</div>


