Openhabian hangs during upgrade

Hi everyone,

Platform information:
    Hardware: RPi 4 8 GB and 32 GB micro SD + zwave: Aeotec Z-Stick Gen5 (ZW090) - USB
    OS: Raspian which comes with openhabian 1.6 beta
    Java Runtime Environment: Zulu 8 (standard openhabian)
    openHAB version: 2.5.10-1(standard openhabian)

Unfortunately the openhabian upgrade hangs (for at least 20 min):

openHABian configuration tool successfully updated.
Visit the development repository for more details:
The tool will now restart to load the updates... OK
2020-12-17_10:39:38_CET [openHABian] Checking for root privileges... OK
2020-12-17_10:39:38_CET [openHABian] Disabling IPv6... cp: cannot create regular file '/etc/apt/apt.conf/S90force-ipv4': No such file or directory
2020-12-17_10:39:38_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2020-12-17_10:39:38_CET [openHABian] openHABian configuration tool version: [stable]v1.6.1-1001(0ef0034)
2020-12-17_10:39:38_CET [openHABian] Checking for changes in origin branch stable... OK
2020-12-17_10:39:51_CET [openHABian] Switching to branch stable... OK
2020-12-17_10:39:51_CET [openHABian] Adding slightly tuned bash configuration files to system... OK
2020-12-17_10:39:55_CET [openHABian] Updating Linux package information... OK
2020-12-17_10:39:55_CET [openHABian] Updating repositories and upgrading installed packages...
1 Like

why don’t you open a Github issue and provide a debug log then ?

Use the current image, it has a fix for this symptom.
But if you don’t provide substantial logging noone can know if that applies to your issue.

Thank you, Markus.

Which debug log are you referring to?
(and apologies in advance for this potentially stupid question).

Is there an option to make use of the fix you mentioned without starting with a new image?

first-boot.log, see openHABian debug guide.


Ah, but these entries are long ago (September).

What a pity

Sorry I didn’t get it’s an upgrade. On upgrades there are no logfiles.
But why didn’t you read the debug guide ? You didn’t because if you did you would know how to generate logging.

No worries - I greatly appreciate your quick response.

And sorry, that I did not (yet) check the Troubeshooting guide.
I will now.
My hope was that this might be a “common problem” with an easy solution.
(did not find a proper thread about it though).
Again - thanks for your help.

were you able to solve it? got the same problem since yesterday. (openHAB 2.5.11-1)

Sorry, I did not try it any longer, because I migrated to OH3.
However, manual upgrade did work (sudo apt-get upgrade).

1 Like