# Problems during upgrade to 2.5.8-1 - cannot boot

**URL:** <https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089>\
**Category:** Installation\
**Tags:** openhab2, upgrade\
**Created:** [August 24, 2020, 6:45pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089 "2020-08-24T18:45:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulo9999](https://community.openhab.org/user_avatar/community.openhab.org/paulo9999/32/58366_2.png) [@paulo9999](https://community.openhab.org/u/paulo9999)\
**Post date:** [August 24, 2020, 6:45pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/1 "2020-08-24T18:45:36Z")

</div>

Platform information:

- Hardware: Raspberry Pi 3 model B rev 1.2
- OS: Linux 5.4.51-v7+
- Java Runtime Environment: 1.8.0\_265
- openHAB version: 2.5.8-1

Hello, I’d like to share what happened during the upgrade to 2.5.8-1. It was to be a normal upgrade, I used openhabian-config as usual. But during upgrade process the system halted and after that I lost control of openhab, since the command line didn’t appear again.

so I physically shutted down the RPI. But now I’m unable to reboot it… I looked at the files, they appear intact. Is there any way to restore the boot files without losing my data in it??

I’d really appreciate any help.

Paulo

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [August 24, 2020, 7:05pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/2 "2020-08-24T19:05:03Z")

</div>

So you have a monitor connected to the system?  
What is the content of the message during booting?

---

<div class="post-metadata">

**Author:** ![paulo9999](https://community.openhab.org/user_avatar/community.openhab.org/paulo9999/32/58366_2.png) [@paulo9999](https://community.openhab.org/u/paulo9999)\
**Post date:** [August 24, 2020, 7:09pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/3 "2020-08-24T19:09:36Z")

</div>

It’s halted in the rainbow screen…

---

<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:** [August 24, 2020, 7:39pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/4 "2020-08-24T19:39:09Z")

</div>

Could be a corrupt SD Card.

You could try to re-image & restore your configuration backup.

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [August 24, 2020, 7:45pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/5 "2020-08-24T19:45:29Z")

</div>

Here is a loooong detailed article about reasons why Pi might not boot:

> **[STICKY: Is your Pi not booting? (The Boot Problems Sticky) - Raspberry Pi Forums](https://forums.raspberrypi.com/viewtopic.php?t=58151)**

---

<div class="post-metadata">

**Author:** ![NCO](https://community.openhab.org/user_avatar/community.openhab.org/nco/32/55938_2.png) [@NCO](https://community.openhab.org/u/NCO)\
**Post date:** [September 14, 2020, 10:16am UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/6 "2020-09-14T10:16:53Z")

</div>

Did you find the root cause?  
I seem to have a similar issue:

> [@Total failure after upgrade to 2.5.8-1](https://community.openhab.org/t/total-failure-after-upgrade-to-2-5-8-1/104999):
>
> I am running the lastest openhabian on a raspberry pi 3 B+ and upgraded OH yesterday to 2.5.8-1. The problem now is, that it does not start up anymore (details below). The raspi is not even available via ssh after oh tried to start. Whenever I restart after power down, the raspi is available for a short time using ssh. When I log in directly and stop OH from starting, the ssh connection is stable. when I let OH start, the raspi will not be available anymore after a while. The log below sho…

---

<div class="post-metadata">

**Author:** ![paulo9999](https://community.openhab.org/user_avatar/community.openhab.org/paulo9999/32/58366_2.png) [@paulo9999](https://community.openhab.org/u/paulo9999)\
**Post date:** [September 14, 2020, 12:34pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/7 "2020-09-14T12:34:09Z")

</div>

I unfortunately didn’t find the cause, I could only solve is making a new SD card and restoring my backups… I think from now on I’ll always make a backup before going to a new OH version…

---

<div class="post-metadata">

**Author:** ![NCO](https://community.openhab.org/user_avatar/community.openhab.org/nco/32/55938_2.png) [@NCO](https://community.openhab.org/u/NCO)\
**Post date:** [September 14, 2020, 1:22pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/8 "2020-09-14T13:22:44Z")

</div>

I expected you to say this.  
Actually I try whatever I can to avoid this…  
Thanks for your quick response, though.

---

<div class="post-metadata">

**Author:** ![Daniel\_OH](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@Daniel\_OH](https://community.openhab.org/u/Daniel_OH)\
**Post date:** [January 29, 2021, 7:03pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/9 "2021-01-29T19:03:53Z")

</div>

- Hardware: Raspberry Pi 3 model B rev 1.2
- OS: Linux 5.4.51-v7+
- Java Runtime Environment: 1.8.0\_265
- openHAB version: 2.5.8-1

I made a clone from the SD Card via openhabian cinfig tool. After that I made an update via openhabian config. After the update I made a reboot but it doesn´t boot.

Now it seems, both cards do not boot and I have no other backup (only the red led is on).

The problem is, there have been a a lot of data on the pi, (Influg and rrdj4).

Is it somehow possible to get these data and start from scratch, because I think, the cards will never boot on the pi.

BR  
Daniel

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [January 29, 2021, 7:15pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/10 "2021-01-29T19:15:00Z")

</div>

Try to mount the card on a linux system. Once the system partition is mounted you can create a backup of the data.

---

<div class="post-metadata">

**Author:** ![Daniel\_OH](https://community.openhab.org/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@Daniel\_OH](https://community.openhab.org/u/Daniel_OH)\
**Post date:** [January 29, 2021, 7:59pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/11 "2021-01-29T19:59:03Z")

</div>

Thank you Wolfgang

Problem is, I dont have a running linux system (which would be possible with the pi lying around)  
but how do I mount the sd card? Or woud it also be possible on an other running openhabian system?

BR

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [January 29, 2021, 10:35pm UTC](https://community.openhab.org/t/problems-during-upgrade-to-2-5-8-1-cannot-boot/104089/12 "2021-01-29T22:35:44Z")

</div>

> [@Daniel\_OH](#):
>
> Or woud it also be possible on an other running openhabian system?

That should work if you have a sd card reader / slot.  
What you also could do is to use a linux e.g. Ubuntu live system e.g. booted from DVD or stick on your PC or labtop.
