Problem with openHAB after restarting - no UIs, nothing really work

Hi there!

After restarting there are no UIs loaded, only Help and Rest API.
No device is reacting. I searched the forum and tried the thing with
deleting the cache and the tmp folder, but no luck.

I found a thread where the content of the /var/lib/openhab2/config/org/openhab an additional addons.config caused the problem and i think, the content of my file is not correct.

Here my content of the /var/lib/openhab2/config/org/openhab an additional addons.config:

binding=“hue,zwave,netatmo”
misc=“market,openhabcloud,restdocs”
package=“minimal”
service.pid=“org.openhab.addons”

I think something is wrong and missing.

I am using a Raspberry Pi 3, running openHABian 2.4 and Java 1.8.0_152
Here the last log entries:

[08:55:12] root@openHABianPi:~# tail -f /var/log/openhab2/openhab.log -f /var/log/openhab2/events.log
==> /var/log/openhab2/openhab.log <==
2019-02-02 08:33:16.427 [INFO ] [veClimateControlScheduleCommandClass] - NODE 9 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:33:24.587 [INFO ] [veClimateControlScheduleCommandClass] - NODE 13 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:38:14.257 [INFO ] [veClimateControlScheduleCommandClass] - NODE 9 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:42:44.238 [INFO ] [veClimateControlScheduleCommandClass] - NODE 12 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:43:12.127 [INFO ] [veClimateControlScheduleCommandClass] - NODE 9 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:48:09.977 [INFO ] [veClimateControlScheduleCommandClass] - NODE 9 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:49:01.486 [INFO ] [veClimateControlScheduleCommandClass] - NODE 10 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:52:34.046 [INFO ] [veClimateControlScheduleCommandClass] - NODE 8 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:53:07.876 [INFO ] [veClimateControlScheduleCommandClass] - NODE 9 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]
2019-02-02 08:53:55.676 [INFO ] [veClimateControlScheduleCommandClass] - NODE 7 reported: Override type: NO_OVERRIDE, ScheduleState: [UNUSED]

==> /var/log/openhab2/events.log <==
2019-02-02 06:22:22.904 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 22.3999996185302734375 to 22.5
2019-02-02 06:52:34.240 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 22.5 to 22.6000003814697265625
2019-02-02 07:42:51.049 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 22.6000003814697265625 to 21.5
2019-02-02 07:52:53.814 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 21.5 to 21.3999996185302734375
2019-02-02 07:57:12.492 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 21.3999996185302734375 to 21.6000003814697265625
2019-02-02 08:07:18.098 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 21.6000003814697265625 to 21.799999237060546875
2019-02-02 08:17:19.855 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 21.799999237060546875 to 22
2019-02-02 08:27:23.061 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 22 to 22.1000003814697265625
2019-02-02 08:37:28.739 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 22.1000003814697265625 to 22.200000762939453125
2019-02-02 08:47:29.453 [vent.ItemStateChangedEvent] - Netatmo_Innenmodul changed from 22.200000762939453125 to 22.299999237060546875

Please help…

Regards
Oliver

You should only use the file “addons.cfg” found under /etc/openhab2/services/.
The files you posted are written by the system system and should NOT be edited while openhab is running!

Note that the entries in the addons.cfg are set WITHOUT the " ", like:

# A comma-separated list of bindings to install (e.g. "binding = sonos,knx,zwave")

binding =amazonechocontrol, sonos, mqtt, tankerkoenig, network, systeminfo, exec

# A comma-separated list of UIs to install (e.g. "ui = basic,paper")
ui =basic,paper,habpanel
# A comma-separated list of persistence services to install (e.g. "persistence = rrd4j,jpa")
persistence = rrd4j, mapdb
# A comma-separated list of actions to install (e.g. "action = mail,pushover")
#action =
# A comma-separated list of transformation services to install (e.g. "transformation = map,jsonpath")
transformation = jsonpath, javascript, map

All lines without the “#” are exceuted!

Also you may need to change the minimal package to something else, for example expert:

# Valid options:
#   - minimal  : Installation only with dashboard, but no UIs or other add-ons. Use this for custom setups.
#   - simple   : Setup for using openHAB purely through UIs - you need to expect MANY constraints in functionality!
#   - standard : Default setup for normal users, best for textual setup
#   - expert   : Setup for expert users, especially for people migrating from openHAB 1.x
#   - demo     : A demo setup which includes UIs, a few bindings, config files etc.
#
# See http://docs.openhab.org/configuration/packages.html for a detailed explanation of these packages.
#
package = expert

Ok thanks, i have not edited any file. Just found a thread about that.
Here the content of my “addons.cfg” found under /etc/openhab2/services:

# A comma-separated list of UIs to install (e.g. "ui = basic,paper")
#ui = 

# A comma-separated list of persistence services to install (e.g. "persistence = rrd4j,jpa")
#persistence = 

# A comma-separated list of actions to install (e.g. "action = mail,pushover")
#action = 

# A comma-separated list of transformation services to install (e.g. "transformation = map,jsonpath")
#transformation = 

# A comma-separated list of voice services to install (e.g. "voice = marytts,freetts")
#voice = 

# A comma-separated list of miscellaneous services to install (e.g. "misc = myopenhab")
#misc = 

Where is my original one gone? Why happened that, any ideas?
Everything worked fine over many months till i recognized the the HEOS-Binding
stopped working. So i did a restart and after that, the problem was there.

Regards
Oliver

Your addons.config is updated through either PaperUI settings or addons.cfg.
According to your first post you haven chosen “Minimal Setup” via PaperUI during your first install. That won’t give you any UI’s, only HELP and REST Docu.

So you have to choices: either change your addons.config from minimal to standard or expert, then restart openHAB (although it is not recommended to edit config files manually)
or
make the changes in your addons.cfg (stop openHAB before doing that), then delete addons.config, then restart openHAB. addons.config will be automatically recreated with the - hopefully - correct contents.
After that don’t touch addons.config manually anymore.
Have fun.

That´s not correct. It´s no new installation. This installation runs over 1 year. UIs were there
but gone after a restart of my Raspi. Setting it back to “Expert” brought the UIs back, but
my Z-Wave-Things now looking like this under HABmin:

zwave

So what can i do now?

Regards
Oliver

It looks like you have updated from 2.3 to 2.4.
In this case you see some breaking changes in the zwave binding which can easily be solved: deleete all things and readd them (don’t exclude/reinclude).

Read the breaking changes for the release notes and this post: