# How to downgrade?

**URL:** <https://community.openhab.org/t/how-to-downgrade/39960>\
**Category:** Installation\
**Tags:** openhabianpi\
**Created:** [February 13, 2018, 12:28pm UTC](https://community.openhab.org/t/how-to-downgrade/39960 "2018-02-13T12:28:21Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![hageatle](https://community.openhab.org/user_avatar/community.openhab.org/hageatle/32/37193_2.png) [@hageatle](https://community.openhab.org/u/hageatle)\
**Post date:** [February 13, 2018, 12:28pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/1 "2018-02-13T12:28:21Z")

</div>

I did an upgrade to latest unstable from Openhabian-Config. Can’t remember that I got any warning that this was not reversible… Have tried to go back to the stable version from the Openhabian-Config with no success. I have quite a lot of configfiles that’s been “updated” from OH 1.8 so any tips to recover would be greatly appreciated?

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [February 13, 2018, 3:38pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/2 "2018-02-13T15:38:24Z")

</div>

See

> [@Downgrade to older SNAPSHOT release](https://community.openhab.org/t/downgrade-to-older-snapshot-release/33828/2):
>
> If you are using Apt, the commands you want are: sudo apt-cache show openhab2 sudo apt-get install openhab2=2.1.0~2017030108541 Replacing everything on the right of the ='s sign with the correct information for the one you want to roll back to

if you want to go back to older 2.X versions.

But you did upgrade from 1.X ?? Possibly you could do it with the method above (just the package name is different) but it was not designed to work that way, so safer and easier is probably to restore your old server from backup.  
Going 1.X to 2.X of course requires to rework your config, you should have read about that in the docs and forum.  
There’s even a migration tutorial you should look at.

---

<div class="post-metadata">

**Author:** ![hageatle](https://community.openhab.org/user_avatar/community.openhab.org/hageatle/32/37193_2.png) [@hageatle](https://community.openhab.org/u/hageatle)\
**Post date:** [February 13, 2018, 4:15pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/3 "2018-02-13T16:15:22Z")

</div>

Thank you for replying 🙂  
I did a clean Openhabian install and moved and change the configfiles from the old OH 1.8 and read the tutorial for upgrading. I did not want to do the step with the 1x binding so that’s why I did it like this…All was working fine until I did the upgrade..

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [February 13, 2018, 4:32pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/4 "2018-02-13T16:32:52Z")

</div>

> [@hageatle](#):
>
> I did not want to do the step with the 1x binding so that’s why I did it like this

Well then. It is highly advised to migrate like that. That way you can run 2.X with your 1.X items files. Doing it all in one go is simply too much you change at once, so sorry to say but what you ran into was sort of to be expected.

---

<div class="post-metadata">

**Author:** ![hageatle](https://community.openhab.org/user_avatar/community.openhab.org/hageatle/32/37193_2.png) [@hageatle](https://community.openhab.org/u/hageatle)\
**Post date:** [February 13, 2018, 4:39pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/5 "2018-02-13T16:39:47Z")

</div>

Sorry, my mistake.  
I did it very carefully and added things and edited part for part the items , sitemaps ,persistence and rules on the new 2xbindings so everything was working fine on the new stable 2.2. It was after I choose the unstable version it went wrong…

---

<div class="post-metadata">

**Author:** ![Philip\_Stohr](https://community.openhab.org/user_avatar/community.openhab.org/philip_stohr/32/39841_2.png) [@Philip\_Stohr](https://community.openhab.org/u/Philip_Stohr)\
**Post date:** [July 12, 2019, 10:37pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/6 "2019-07-12T22:37:39Z")

</div>

Hello, after a power supply failure in our grid my SD card got corrupted. There was no way to rescue it. So i bought a new card and would like to install Openhabian 1.4 with my old KNX binding 1… I do not want to migrate from 1. to 2. because there is no real benefit and it cost me a lot of time. Is there any way how to run the old version. I installed the old openhabian image but it automatically updates to the latest version. Please help. Thanks.

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [July 13, 2019, 12:17am UTC](https://community.openhab.org/t/how-to-downgrade/39960/7 "2019-07-13T00:17:40Z")

</div>

Openhabian is always going to pull the latest on any of the 3 release trains. You may be able to install the older version of OpenHAB with apt, but it would not be guaranteed to work.

Just looking quickly, I do not think there are any versions older than 1.6 available now.

So, the short answer to the subject question is No, you cannot downgrade that far back.

---

<div class="post-metadata">

**Author:** ![Philip\_Stohr](https://community.openhab.org/user_avatar/community.openhab.org/philip_stohr/32/39841_2.png) [@Philip\_Stohr](https://community.openhab.org/u/Philip_Stohr)\
**Post date:** [July 13, 2019, 12:30am UTC](https://community.openhab.org/t/how-to-downgrade/39960/8 "2019-07-13T00:30:19Z")

</div>

So this might be the version which I need to get to work.  
openhabianpi-raspbian-201706161358 or  
openhabianpi-raspbian-201712171718  
One of thes I used for my Pi.  
Anyway can you give me an idea how I can install OpenHAB with apt?

---

<div class="post-metadata">

**Author:** ![Bruce\_Osborne](https://community.openhab.org/user_avatar/community.openhab.org/bruce_osborne/32/38531_2.png) [@Bruce\_Osborne](https://community.openhab.org/u/Bruce_Osborne)\
**Post date:** [July 13, 2019, 12:48am UTC](https://community.openhab.org/t/how-to-downgrade/39960/9 "2019-07-13T00:48:24Z")

</div>

The first thing openHABian does is update to the latest scripts which get you the latest OpenHAB versions.

I do not think OpenHAB is available in a repo to install with apt. It is too old.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 13, 2019, 7:17am UTC](https://community.openhab.org/t/how-to-downgrade/39960/10 "2019-07-13T07:17:22Z")

</div>

> [@Philip\_Stohr](#):
>
> would like to install Openhabian 1.4 with my old KNX binding 1

That won’t work, openHABian only supports openHAB 2.X.  
You can manually install openHAB 1.X on top of but will have to figure out how for yourself.

> [@Philip\_Stohr](#):
>
> I do not want to migrate from 1. to 2

I’m sorry to tell but it would be really really bad advice to help you continue with 1.X  
There will be no more support or fixes for 1.X. [Here’s](https://community.openhab.org/t/oh2-vs-oh1-why-one-should-migrate/35968/3) more info, but note I already wrote this 1,5 yrs ago, you’re overdue.  
And don’t worry, things have improved a lot since so migrations work out rather smooth nowadays.

Note you do can continue using the KNX 1 binding (or any v1 binding) under OH2 without a need to change your KNX configuration and migrate that at a later point in time to the current v2 binding.

Check out the [migration tutorial](https://www.openhab.org/docs/configuration/migration/).

---

<div class="post-metadata">

**Author:** ![Philip\_Stohr](https://community.openhab.org/user_avatar/community.openhab.org/philip_stohr/32/39841_2.png) [@Philip\_Stohr](https://community.openhab.org/u/Philip_Stohr)\
**Post date:** [July 13, 2019, 2:04pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/11 "2019-07-13T14:04:05Z")

</div>

Thanks. I will reply as soon as I have my system works again.

---

<div class="post-metadata">

**Author:** ![Philip\_Stohr](https://community.openhab.org/user_avatar/community.openhab.org/philip_stohr/32/39841_2.png) [@Philip\_Stohr](https://community.openhab.org/u/Philip_Stohr)\
**Post date:** [July 14, 2019, 7:03pm UTC](https://community.openhab.org/t/how-to-downgrade/39960/12 "2019-07-14T19:03:24Z")

</div>

I tried the legacy mode. 1.x is working again. Perfect and thanks again.
