Closed lolodomo closed 7 years ago
Paper UI and Basic UI are included in the standard package. As I set the "ui=" line in my addons.cfg file, I understand that it overwrittes the package and that would explain why Paper UI and Basic UI are uninstalled. But why HABpanel is not uninstalled in this case ?
If I install Paper UI and Basic UI using the console command (feature:install), they are again uninstalled at next restart of OH and my file userdata/etc/org.openhab.addons.cfg contains:
package = standard
ui = classic
misc = restdocs
remote = true
binding = ntp,astro,mios,netatmo,weather,hue,rfxcom,freebox,sonos
legacy = true
persistence = rrd4j
transformation = map
voice = voicerss
Installing features through the console seems to not update this file.
Only solution found was to update my addons.cfg file and restart:
ui = paper,basic,classic
HABpanel remains installed. No real logic I can found.
Interesting point: HABpanel is not marked as "installed" in Paper UI while present in the dashboard.
openhab> bundle:list | grep anel
185 | Active | 80 | 2.0.0.201612010742 | HABPanel User Interface
openhab> feature:list | grep anel
openhab-ui-habpanel | 2.0.0.SNAPSHOT | | Uninstalled | openhab-aggregate-xml | HABPanel
openhab-binding-anel | 1.9.0.SNAPSHOT | | Uninstalled | openhab-aggregate-xml | Anel Binding
openhab>
Same as https://github.com/openhab/openhab-distro/issues/342 - simply delete your addons.cfg or put your entries in comments. Otherwise, what is in there is what will be installed.
And why is it different for HABpanel ?
My problem with HabPanel has disappeared with the snapshot 636.
At first startup of snapshot 627, I can see that Paper UI and Basic UI are first installed and then uninstalled.
Habpanel and classic UI are not uninstalled. What is important, I think, is that my addons.cfg file contains: