The latest distro #633 comes again with some changes that I would like to mention:
The most visible change is the new option to select the initial package. You will see that newly installed distros now do not set a package in addons.cfg anymore. If the user leaves it like this and starts the runtime, he will be presented this setup page instead of the dashboard in his browser:
This is imho again a great step forward to make it easier to get started. Having to find the file conf/services/addons.cfg and edit it before the first startup, wasn’t really too user friendly.
Another important change that was done: The add-on ids of all openHAB 1 add-ons are now suffixed with a “1”, just like it was already the case for the legacy bindings. This means that you now e.g. have to set “binding=nest1” instead of “binding=nest” in your addons.cfg, so this is a breaking change that you must be aware of as otherwise your add-ons will be uninstalled when upgrading. This change was done to prevent any future changes like it would be the case if an OH2 version of the Nest binding appears - in such cases we renamed the OH1 version in the past, which now won’t be necessary anymore, so we are much more future-proof now.
And as always, there were quite some fixes and enhancements in ESH that went into this distro -
please report back in case you see any new bugs or regressions from this.
mapdb tries to follow this same syntax, and became uninstalled when I upgraded. I could install it back again using paperUI or feature:install but each time openHAB restarted it would try to install feature openhab-persistence-mapdb1 instead of openhab-persistence-mapdb (which stayed installed).
Removing “mapdb1” and keeping "mapdb"in /userdata/etc/org.openhab.addons.cfg (/var/lib/openhab2/etc/org.openhab.addons.cfg for apt users) seems to have fixed this but I assume this wasn’t intended.
You are right, distro #633 also added the 1 for persistence services, but I built #634 a few hours after, which reverted it to just “mapdb” again in order to avoid too many problems.
@Kai We can still use addons.cfg to specify the bindings to install as part of the snapshot correct?
I just upgraded to this build and the system initialized in a very strange state. It initially had the version 2 bindings (such as Paper, HABMin, HABPanel, Zwave installed), but while it was running it uninstalled Zwave, PaperUI, and other many others (I got the notifications while in PaperUI).
Perhaps I should start another thread about this but when it finally stabilized it lost all the thing/item config for version 2 items – that’s never happened to me before. Perhaps related to the folder structure changes?
As far as I can read one of the enhancements is that security is now enabled. That is great - actually one of the last things i was waiting for :-). But how can I enable it?
I found a user config which seems to have some user / password stored in OH1 style. Since it seemed to be enabled and I can logon without password, there might be another place. But where?
Unfortunately not yet. This is just a first step towards it. See my comment here. If there is anyone who wants to look at the next steps, please speak up as I don’t know if and when I will find the time.