# Upgrading from .20 -\> .90.3

**URL:** <https://discuss.elastic.co/t/upgrading-from-20-90-3/13135>\
**Category:** Elasticsearch\
**Created:** [August 8, 2013, 7:58pm UTC](https://discuss.elastic.co/t/upgrading-from-20-90-3/13135 "2013-08-08T19:58:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Soep\_2](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Andrew\_Soep\_2](https://discuss.elastic.co/u/Andrew_Soep_2)\
**Post date:** [August 8, 2013, 7:58pm UTC](https://discuss.elastic.co/t/upgrading-from-20-90-3/13135/1 "2013-08-08T19:58:39Z")

</div>

I'm trying to update from .20.5 to .90.3. I stop my ES instance, run sudo  
dpkg -i elasticsearch-0.90.3.deb. It runs with the following message:

(Reading database ... 74380 files and directories currently installed.)

> Preparing to replace elasticsearch 0.90.3 (using elasticsearch-0.90.3.deb)
> 
> > ...
> 
> Stopping elasticsearch....
> 
> Unpacking replacement elasticsearch ...
> 
> Setting up elasticsearch (0.90.3) ...
> 
> update-rc.d: warning: /etc/init.d/elasticsearch missing LSB information
> 
> update-rc.d: see [http://wiki.debian.org/LSBInitScripts](http://wiki.debian.org/LSBInitScripts)
> 
> Starting elasticsearch...
> 
> Processing triggers for ureadahead ...

When I go to check the ES version, it still says .20.5 and doesn't seem to  
have updated to .90.3 (doesn't seem to have any files installed, nothing).

If I then try to stop ES again using sudo ./elasticsearch stop it says: -  
ElasticSearchIllegalStateException[Failed to obtain node lock, is the  
following location writable?:  
[/mnt1/elasticsearch/data/knowledgehound\_cluster]]

Does anyone know what's going on, and if there's a way to resolve this? I  
have no clue if I'm doing this right, and what the upgrade procedure is  
supposed to look like. Based on the messages from the deb install, it  
looks like it worked fine, but something seems off. Any help would be  
appreciated as I'm beyond stumped.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 9, 2013, 9:19am UTC](https://discuss.elastic.co/t/upgrading-from-20-90-3/13135/2 "2013-08-09T09:19:37Z")

</div>

Hey,

where do you check the version? Are you sure that  
'/etc/init.d/elasticsearch stop' actually stopped the running instance?  
(Doesnt look like it from here)  
What debian version are you trying this on?

--Alex

On Thu, Aug 8, 2013 at 9:58 PM, Andrew Soep [siraris@gmail.com](mailto:siraris@gmail.com) wrote:

> I'm trying to update from .20.5 to .90.3. I stop my ES instance, run sudo  
> dpkg -i elasticsearch-0.90.3.deb. It runs with the following message:
> 
> (Reading database ... 74380 files and directories currently installed.)
> 
> > Preparing to replace elasticsearch 0.90.3 (using
> > 
> > > elasticsearch-0.90.3.deb) ...
> > 
> > Stopping elasticsearch....
> > 
> > Unpacking replacement elasticsearch ...
> > 
> > Setting up elasticsearch (0.90.3) ...
> > 
> > update-rc.d: warning: /etc/init.d/elasticsearch missing LSB information
> > 
> > update-rc.d: see [http://wiki.debian.org/LSBInitScripts](http://wiki.debian.org/LSBInitScripts)
> > 
> > Starting elasticsearch...
> > 
> > Processing triggers for ureadahead ...
> 
> When I go to check the ES version, it still says .20.5 and doesn't seem to  
> have updated to .90.3 (doesn't seem to have any files installed, nothing).
> 
> If I then try to stop ES again using sudo ./elasticsearch stop it says: -  
> ElasticSearchIllegalStateException[Failed to obtain node lock, is the  
> following location writable?:  
> [/mnt1/elasticsearch/data/knowledgehound\_cluster]]
> 
> Does anyone know what's going on, and if there's a way to resolve this? I  
> have no clue if I'm doing this right, and what the upgrade procedure is  
> supposed to look like. Based on the messages from the deb install, it  
> looks like it worked fine, but something seems off. Any help would be  
> appreciated as I'm beyond stumped.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Andrew\_Soep\_2](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Andrew\_Soep\_2](https://discuss.elastic.co/u/Andrew_Soep_2)\
**Post date:** [August 15, 2013, 5:31pm UTC](https://discuss.elastic.co/t/upgrading-from-20-90-3/13135/3 "2013-08-15T17:31:34Z")

</div>

I'm on Ubuntu 12. I'm not sure if it stopped... I believe it did?

On Friday, August 9, 2013 4:19:37 AM UTC-5, Alexander Reelsen wrote:

> Hey,
> 
> where do you check the version? Are you sure that  
> '/etc/init.d/elasticsearch stop' actually stopped the running instance?  
> (Doesnt look like it from here)  
> What debian version are you trying this on?
> 
> --Alex
> 
> On Thu, Aug 8, 2013 at 9:58 PM, Andrew Soep \<[sir...@gmail.com](mailto:sir...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > I'm trying to update from .20.5 to .90.3. I stop my ES instance, run  
> > sudo dpkg -i elasticsearch-0.90.3.deb. It runs with the following message:
> > 
> > (Reading database ... 74380 files and directories currently installed.)
> > 
> > > Preparing to replace elasticsearch 0.90.3 (using
> > > 
> > > > elasticsearch-0.90.3.deb) ...
> > > 
> > > Stopping elasticsearch....
> > > 
> > > Unpacking replacement elasticsearch ...
> > > 
> > > Setting up elasticsearch (0.90.3) ...
> > > 
> > > update-rc.d: warning: /etc/init.d/elasticsearch missing LSB information
> > > 
> > > update-rc.d: see [http://wiki.debian.org/LSBInitScripts](http://wiki.debian.org/LSBInitScripts)
> > > 
> > > Starting elasticsearch...
> > > 
> > > Processing triggers for ureadahead ...
> > 
> > When I go to check the ES version, it still says .20.5 and doesn't seem  
> > to have updated to .90.3 (doesn't seem to have any files installed,  
> > nothing).
> > 
> > If I then try to stop ES again using sudo ./elasticsearch stop it says:
> > 
> > - ElasticSearchIllegalStateException[Failed to obtain node lock, is the  
> > following location writable?:  
> > [/mnt1/elasticsearch/data/knowledgehound\_cluster]]
> > 
> > Does anyone know what's going on, and if there's a way to resolve this?  
> > I have no clue if I'm doing this right, and what the upgrade procedure is  
> > supposed to look like. Based on the messages from the deb install, it  
> > looks like it worked fine, but something seems off. Any help would be  
> > appreciated as I'm beyond stumped.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:20am UTC](https://discuss.elastic.co/t/upgrading-from-20-90-3/13135/4 "2017-07-06T02:20:59Z")

</div>


