I guess there will be an “M4 testing results” thread similar to the one for M3 to provide feedback?
One thing I’ve noticed so far is that all my charts are empty. Persistence seems to be fine, new values are written to the (mysql) database, but charts don’t show anything.
UPDATE:
Only group charts are affected, charts with single items are working ok.
SOLUTION:
It looks like item labels need to be unique now, even if they are in different groups.
This does not work anymore (items have the same label but are in different groups):
Group gThermostatHallway "Thermostat Hallway"
Number HallwayThermostatCurrentTemp "Temperature" (gThermostatHallway)
Number HallwayThermostatCurrentHumidity "Humidity" (gThermostatHallway)
Group gThermostatOffice "Thermostat Office"
Number OfficeThermostatCurrentTemp "Temperature" (gThermostatOffice)
Number OfficeThermostatCurrentHumidity "Humidity" (gThermostatOffice)
This does work (different labels):
Group gThermostatHallway "Thermostat Hallway"
Number HallwayThermostatCurrentTemp "Temperature Hallway" (gThermostatHallway)
Number HallwayThermostatCurrentHumidity "Humidity Hallway" (gThermostatHallway)
Group gThermostatOffice "Thermostat Office"
Number OfficeThermostatCurrentTemp "Temperature Office" (gThermostatOffice)
Number OfficeThermostatCurrentHumidity "Humidity Office" (gThermostatOffice)
To be fair, it’s mentioned in the docs. But it was working fine previously if the items were in different groups:
“When charting a group of item, make sure that every label is unique. If the label contains spaces, the first word of the label must be unique. Identical labels result in an empty chart.”
I just updated my “test” setup… Update seems to do fine, however I´m still struggling with the “Failed installing ‘openhab-misc-restdocs’” … How the hell do I get rid of this one… Its driven my nuts and spamming my logfile (specially tailog which I have open almost all the time).
Thx, but it does NOT solve the problem.
In the UI section, Rest-doc is NOT installed… I tried to install it form there, only to see the error continues, because the error is regarding the old path… I then removed Rest doc from the UI section. The error still continue.
But how can I remove something, which Karafthinks it´s there, but actually is no longer there… To me it seems like something is stucked somewhere, and I cant seem to fix it. I really thought M4 would have fixed it… It didnt
I had this problem long ago. If I could remember well, I went back to my version before (from backup) then I’ve uninstalled “Rest Docs”. Then I made the update again.
Arghh, damit…
You´re right Andrew… So sorry… This is a “test” system which I didnt install from the start. I never used addons.config file on my main system myself. So I simply didnt think about that… Thanks alot for telling me… this has been nagging me for quite some time, and the reason (as well as solution) was so obvious (my mistake)…
On every openhab2 package I’m asked if I want to replace one or two files such as runtime.cfg or org.ops4j.pax.logging.cfg with the distribution-provided one.
Is that upgrade script of yours supposed to merge any diff someone has made in his installed copy ?
I always had to manually merge my changes, including in this latest M3->M4 upgrade.