Just killed my openhab apparently with update to Buster

  • Platform information:
    • Hardware: RaspPie 3
    • OS: Raspbian/Openhabian Buster
    • Java Runtime Environment: Zulu
    • openHAB version: 2.5.9
  • Issue of the topic:

Today I decided to update my openhab system which originally is based on openhabian from Stretch to Buster.
I did a backup but before going back I’m wondering what might have broken my system during the process since openhab2 does not start correctly anymore.

What I did:

  • upgraded my system (still on Stretch) via apt-get upgrade (including openhab 2.5.9)
  • verified this worked and yes, it did
  • created my backup from the sd card
  • switched my repos fro stretch to buster and started upgrading
  • after upgrade used openhabian-config and clicked through some of the items including package install and “apply improvements” and stuff

Now openhab2 does not start correctly and in the logfile there is not much more than:

2020-09-27 17:21:37.924 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'motion.rules'
2020-09-27 17:21:38.918 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'garage.rules'
2020-09-27 17:21:39.599 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'echo.rules'
2020-09-27 17:21:40.444 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'thermostat.rules'
2020-09-27 17:21:42.602 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'speedtest.rules'
2020-09-27 17:21:46.806 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'scenes.rules'
2020-09-27 17:21:47.271 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'outdoor.rules'
2020-09-27 17:21:47.461 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'astro.rules'
2020-09-27 17:21:48.457 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'presence.rules'
2020-09-27 17:21:57.635 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-hue, openhab-persistence-mapdb, openhab-binding-exec, openhab-misc-openhabcloud, openhab-persistence-influxdb, openhab-binding-amazonechocontrol, openhab-ui-habpanel, openhab-ui-restdocs, openhab-binding-netatmo, openhab-transformation-map, openhab-ui-classic, openhab-binding-caldav-personal1, openhab-ui-habmin, openhab-transformation-xslt, openhab-transformation-exec, openhab-ui-paper, openhab-transformation-scale, openhab-binding-http1, openhab-transformation-javascript, openhab-binding-caldav-command1, openhab-transformation-regex, openhab-transformation-jsonpath, openhab-binding-zwave, openhab-action-telegram, openhab-transformation-xpath, openhab-ui-basic, openhab-binding-astro, openhab-binding-expire1'

Any hints for me how to bring it back?

removed var/lib/openhab2/config/org/openhab/addons.config as I found a hint about that.
The error log entry is gone but now only the following is left:

2020-09-27 17:52:39.359 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'scenes.items'
2020-09-27 17:52:39.711 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'alexa.items'
2020-09-27 17:52:40.020 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'speedtest.items'
2020-09-27 17:52:40.072 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'presence.items'
2020-09-27 17:52:40.670 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mapdb.persist'
2020-09-27 17:52:40.725 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'influxdb.persist'
2020-09-27 17:52:41.589 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'klima.sitemap'
2020-09-27 17:52:41.669 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'monitoring.sitemap'
2020-09-27 17:52:41.756 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'steuerung.sitemap'
2020-09-27 17:52:41.817 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'energie.sitemap'
2020-09-27 17:52:42.212 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'netatmo.things'
2020-09-27 17:52:45.790 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-09-27 17:54:16.548 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'motion.rules'
2020-09-27 17:54:17.452 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'garage.rules'
2020-09-27 17:54:18.142 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'echo.rules'
2020-09-27 17:54:19.004 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'thermostat.rules'
2020-09-27 17:54:21.213 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'speedtest.rules'
2020-09-27 17:54:25.964 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'scenes.rules'
2020-09-27 17:54:26.463 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'outdoor.rules'
2020-09-27 17:54:26.665 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'astro.rules'
2020-09-27 17:54:27.685 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'presence.rules'

Seems that openhab is not really fully started still but w/o any error in the log.
http://openhab:8080/start/index shows a 404 from jetty

How to find out what’s wrong?

Same. Just clean the cache and reboot a coupple of times should works

Zulu 8 or 11? OpenHAB 2…5.9 is only supported on Java 8.

Zulu 8 still and problem is fixed now

cleaning the cache did the trick I guess. Startup looks fine. Need to see if everything behaves as before though.

1 Like