# \[SOLVED\] Problem with update to release 2.5

**URL:** <https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036>\
**Category:** Installation\
**Created:** [December 19, 2019, 3:06pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036 "2019-12-19T15:06:56Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![agricola](https://community.openhab.org/user_avatar/community.openhab.org/agricola/32/37785_2.png) [@agricola](https://community.openhab.org/u/agricola)\
**Post date:** [December 19, 2019, 4:58pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/21 "2019-12-19T16:58:41Z")

</div>

> [@H102](#):
>
> Downgrade to OH version 2.4, after it’s up and running

I’ll try that. I’m back to version 2.4-all is running.

> [@H102](#):
>
> After its up and running then got to openhabian-config tool and select the option 1

But I has not installed OpenHab with apt, but from a Zip-file. So I get no openhabian-config tool. So can you send me please an screenshot from the tool, that I can see what happend or what I must do manually?

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [December 19, 2019, 5:02pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/22 "2019-12-19T17:02:27Z")

</div>

I have always use the openhabain image so not sure about the tool with zip file. Did you try typing **sudo openhabian-config** at command line and see if you have the tool?

---

<div class="post-metadata">

**Author:** ![agricola](https://community.openhab.org/user_avatar/community.openhab.org/agricola/32/37785_2.png) [@agricola](https://community.openhab.org/u/agricola)\
**Post date:** [December 19, 2019, 5:11pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/23 "2019-12-19T17:11:41Z")

</div>

In my version this tool is not available. I also don’t know to install…

---

<div class="post-metadata">

**Author:** ![H102](https://community.openhab.org/user_avatar/community.openhab.org/h102/32/25595_2.png) [@H102](https://community.openhab.org/u/H102)\
**Post date:** [December 19, 2019, 5:17pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/24 "2019-12-19T17:17:47Z")

</div>

Openhabian makes things much easier. If your using the Pi for other things you can still do it as openhabian run on top of stretch/buster.

You can make a backup using **sudo openhab-cli backup --full** it will tell you the location it’s stored. Move the backup zip to your PC (I use FileZilla) or USB stick. Then flash the openhabian image to your SD and you should have OH 2.5. You can then restore your backup file and everything should work. You can always test this on a spare SD before moving to main card.

If you decide to go this route let me know and I will provide the steps to restore your backup. It’s not much but I type slow.😆

Nice post about openhabian and how to set it up. [openHABianPi Initial Setup](https://community.openhab.org/t/openhabianpi-initial-setup/81604)

---

<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:** [December 19, 2019, 5:17pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/25 "2019-12-19T17:17:59Z")

</div>

> [@agricola](#):
>
> But I has not installed OpenHab with apt, but from a Zip-file.

What OS?  
The Release Notes list upgrade instructions for common installation types.

> **[Release openHAB 2.5.0 · openhab/openhab-distro](https://github.com/openhab/openhab-distro/releases/tag/2.5.0)**
>
> This is the official release of openHAB 2.5.0.
> The binaries are available on Bintray and via "Stable" on our APT repository.
> New and Noteworthy
> The openHAB 2.5 release contains many new features, e...

---

<div class="post-metadata">

**Author:** ![agricola](https://community.openhab.org/user_avatar/community.openhab.org/agricola/32/37785_2.png) [@agricola](https://community.openhab.org/u/agricola)\
**Post date:** [December 20, 2019, 5:07pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/26 "2019-12-20T17:07:34Z")

</div>

Hello,  
thanks for all reply- it was very helpful.  
On the end I’d installed all addons with karaf separately.  
The config of the bindings (z-wave, Xiaomi etc) was loaded and accepted from the bindings.  
Now I hope it will run.

Sincerely  
Jens

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [December 21, 2019, 5:22am UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/27 "2019-12-21T05:22:52Z")

</div>

Similar but slightly different set of problems after upgrading 2.4 to 2.5.0 in openhabian.  
I have no karaf console, no 8080 port open and a log showing:

```
Could not resolve module: org.openhab.binding.zwave [20]

  Unresolved requirement: Import-Package: org.eclipse.smarthome.io.transport.serial

```

and  
`Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar`

This is a Raspberry Pi 2 installation with filesystem on an SSD and /boot on the microSD card.

I had the 2.5.0 zwave snapshot installed for the past few weeks and decided I would just do an update/upgrade in openhabian-config.  
This unexpectedly (for me at least) installed the 2.5.0 update rather than just package updates.  
I notice that I need to run  
`sudo systemctl start openhab2.service` manually.  
But after encountering the above errors and symptoms I tried a few reboots then a clear cache and a few more reboots.  
Re-checked that permissions were all good.  
Ran the openhabian-config command once more.  
systemctl status reports that the service is active(running).

Even after a power down re-start the same symptoms remain including openhab-cli console failing to get the session.  
I have added zwave and serial to addons.cfg.

Any trouble shooting steps I could try with there being no karaf console?  
How would I rollback openhabian back to 2.4.0?

---

<div class="post-metadata">

**Author:** ![agricola](https://community.openhab.org/user_avatar/community.openhab.org/agricola/32/37785_2.png) [@agricola](https://community.openhab.org/u/agricola)\
**Post date:** [December 21, 2019, 6:26am UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/28 "2019-12-21T06:26:54Z")

</div>

Hello,

I’d think, the karaf console is elementar-please read the docs. With the GUi it was very strange- Paperui was in my case unusable. IT Breaks without an errormessage. In karaf use “feature:list| install” etc, the Tool is handy.

I’d make a backup of the fully OpenHAB to roll back, but I think, you can repair without rollback, karaf will satisfy the depencies…

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [December 21, 2019, 9:29am UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/29 "2019-12-21T09:29:34Z")

</div>

Thanks @agricola for your reply.  
Unfortunately karaf looks to be quite broken. I can get to a console prompt with ./start\_debug.sh but I don’t see any of the usual command options.

`openhab-cli console`  
gives :

```
Logging in as openhab
Failed to get the session.

```

Maybe some-one can direct me on how to drive the karaf console commands to sort this out.

The logs report

```
2019-12-21 14:27:39.447 [WARN] [org.apache.felix.fileinstall] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.zwave-2.5.0-SNAPSHOT.jar
2019-12-21 14:27:44.702 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
2019-12-21 14:31:31.822 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework

```

Its starting to look like a clean install is needed unless some-one can see what options might be available.

---

<div class="post-metadata">

**Author:** ![agricola](https://community.openhab.org/user_avatar/community.openhab.org/agricola/32/37785_2.png) [@agricola](https://community.openhab.org/u/agricola)\
**Post date:** [December 21, 2019, 3:39pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/30 "2019-12-21T15:39:42Z")

</div>

That’s maybe, OpenHAB must start succesfully to launch karaf…

You an try to start karaf separately after the complete start from OH from the console as described in the doc, but if it fails, I don’t know…

---

<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:** [December 21, 2019, 5:08pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/31 "2019-12-21T17:08:36Z")

</div>

> [@robb01](#):
>
> I had the 2.5.0 zwave snapshot installed for the past few weeks and decided I would just do an update/upgrade in openhabian-config.

Did you remove the manually installed addon(s) first? they could be conflicting with the newer OH.

---

<div class="post-metadata">

**Author:** ![agricola](https://community.openhab.org/user_avatar/community.openhab.org/agricola/32/37785_2.png) [@agricola](https://community.openhab.org/u/agricola)\
**Post date:** [December 21, 2019, 5:56pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/32 "2019-12-21T17:56:15Z")

</div>

I’d clear the Cache and after this no addons was installed.

If an older Version is installed, I suggest to uninstall.

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [December 21, 2019, 11:16pm UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/33 "2019-12-21T23:16:30Z")

</div>

I renamed /var/lib/openhab2/tmp/lock.  
Cleared the cache again.  
Reset permissions again.  
Waited a lot longer than I had been (?) and OH started up.  
All good now. Back to normal.  
Thanks for comments/suggestions.

---

<div class="post-metadata">

**Author:** ![ceedee](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/9fc29f/32.png) [@ceedee](https://community.openhab.org/u/ceedee)\
**Post date:** [January 12, 2020, 9:31am UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/34 "2020-01-12T09:31:09Z")

</div>

@robb01 Which permissions have you checked/reset and how?

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [January 12, 2020, 9:49am UTC](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036/35 "2020-01-12T09:49:50Z")

</div>

Easiest way is

`openhab-cli reset-ownership`

Or you can do it at the openhabian-config menu 10 Apply Improvements, 14 Fix Permissions.

[Previous page](https://community.openhab.org/t/solved-problem-with-update-to-release-2-5/88036.md?page=1)
