Hi all,
My OH system updated overnight and broke.
A reboot this morning go some things working but much is still not functioning correctly.
I fixed a lot of things by forcing all .items files to be reloaded after a reboot as if the reboot had failed to load them up correctly.
I have seen the post regarding the need to reinstall REST interface so I have done that now and I think I now need to reboot again.
I would like to go through the ‘breaking’ section of the release notes but cannot seem to locate them, normally I though a link to them was posted in the announcement thread but could not see it.
it looks like I need to add an exception to my auto update to exclude openhab going forward, lesson learnt on that one.
This sounds like an issue I and a few others have seen before. There is an issue open. When OH first starts after an update it’s like none of your Items exist. Restarting OH clears the problem for me.
Definitely, you should not allow anything “mission critical” to autoupdate. You want to do it deliberately and when you have time to deal with problems. And you want to have a rollback plan if you can’t manage to complete the upgrade in one sitting.
I’ve never felt pressured to upgrade or update Ubuntu. I never had to disable anything m And the warnings are no different on CentOS or Debian in my experience. I never had to disable anything to prevent auto updates and I know it doesn’t because I also run Tripwire. I know about every file change.
Then after unistalling mqtt actions (I think I now get a failure).
Line 17576: 2019-12-18 11:33:25.958 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
Line 17576: 2019-12-18 11:33:25.958 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
Line 17576: 2019-12-18 11:33:25.958 [INFO ] [penhab.io.transport.mqtt.MqttService] - MQTT Service initialization completed.
Line 17577: 2019-12-18 11:33:25.959 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'MQTT'
Line 17577: 2019-12-18 11:33:25.959 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'MQTT'
Line 17577: 2019-12-18 11:33:25.959 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'MQTT'
Line 17577: 2019-12-18 11:33:25.959 [INFO ] [t.mqtt.internal.MqttBrokerConnection] - Starting MQTT broker connection 'MQTT'
Line 17578: 2019-12-18 11:33:26.061 [ERROR] [penhab.io.transport.mqtt.MqttService] - Error starting broker connection
Line 17578: 2019-12-18 11:33:26.061 [ERROR] [penhab.io.transport.mqtt.MqttService] - Error starting broker connection
Line 17579: org.eclipse.paho.client.mqttv3.MqttPersistenceException: MqttException
Line 17579: org.eclipse.paho.client.mqttv3.MqttPersistenceException: MqttException
Line 17579: org.eclipse.paho.client.mqttv3.MqttPersistenceException: MqttException
Line 17580: at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.open(MqttDefaultFilePersistence.java:80) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17580: at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.open(MqttDefaultFilePersistence.java:80) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17580: at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.open(MqttDefaultFilePersistence.java:80) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17580: at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.open(MqttDefaultFilePersistence.java:80) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17581: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:304) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17581: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:304) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17581: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:304) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17581: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:304) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17582: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:185) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17582: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:185) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17582: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:185) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17582: at org.eclipse.paho.client.mqttv3.MqttAsyncClient.<init>(MqttAsyncClient.java:185) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17583: at org.eclipse.paho.client.mqttv3.MqttClient.<init>(MqttClient.java:226) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17583: at org.eclipse.paho.client.mqttv3.MqttClient.<init>(MqttClient.java:226) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17583: at org.eclipse.paho.client.mqttv3.MqttClient.<init>(MqttClient.java:226) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17583: at org.eclipse.paho.client.mqttv3.MqttClient.<init>(MqttClient.java:226) ~[org.eclipse.paho.client.mqttv3-1.1.0.jar:?]
Line 17584: at org.openhab.io.transport.mqtt.internal.MqttBrokerConnection.openConnection(MqttBrokerConnection.java:316) ~[bundleFile:?]
Line 17584: at org.openhab.io.transport.mqtt.internal.MqttBrokerConnection.openConnection(MqttBrokerConnection.java:316) ~[bundleFile:?]
Line 17584: at org.openhab.io.transport.mqtt.internal.MqttBrokerConnection.openConnection(MqttBrokerConnection.java:316) ~[bundleFile:?]
Line 17585: at org.openhab.io.transport.mqtt.internal.MqttBrokerConnection.start(MqttBrokerConnection.java:101) ~[bundleFile:?]
Line 17585: at org.openhab.io.transport.mqtt.internal.MqttBrokerConnection.start(MqttBrokerConnection.java:101) ~[bundleFile:?]
Line 17585: at org.openhab.io.transport.mqtt.internal.MqttBrokerConnection.start(MqttBrokerConnection.java:101) ~[bundleFile:?]
Line 17586: at org.openhab.io.transport.mqtt.MqttService.updated(MqttService.java:126) [bundleFile:?]
Line 17586: at org.openhab.io.transport.mqtt.MqttService.updated(MqttService.java:126) [bundleFile:?]
Line 17586: at org.openhab.io.transport.mqtt.MqttService.updated(MqttService.java:126) [bundleFile:?]
I also checked netstat to make sure the broker is running:
Hi. Have a RPi4B with OH 2.5.0 and Z-Stick running using the extra USB2 hub dongle. Installed 5 of my 30 Things and added files, but puff, no items loaded. Rebooted, Shutdown, Restarted, no success. Is there another temporary workaround I can try, or just wait for the open issue to be worked? Have been running OH a year without major issues, except for the homemade.
Also, how will I know when a fix is in place?
If the Issue is in openhab-core I really doubt there will be a fix for 2,5 (or 2.X). They would likely fix it for openHAB 3 which is currently unusable.