Closed MyRaceData closed 5 years ago
I have had a second incident with this issue caused by restarting OpenHAB. Stopping OpenHAB, deleting the bin file, clearing the cache and restarting OpenHAB caused my broker to be back online
Thanks for reporting the issue! After looking at the stack trace it seems to be a duplicate of #5527. So I'll close this issue now so we can keep the discussion going in a single issue.
During an upgrade from OpenHAB 2.4 stable to 2.5M3, the Moquette broker when offline with the message configuration error. The log indicated the error was caused by a file lock on /var/lib/openhab2/mqttembedded.bin file. Uninstalling the broker, deleting the file and reinstalling the broker fixed the problem. OS is Debian 9 running on desktop PC
Expected Behavior
expected behavior would be for broker to continue to work after upgrade
Current Behavior
Current behavior is upgrade caused broker to go offline with error message 'offline - configuration error' log entry indicating cause of error:
the solution was given to me in this forum thread https://community.openhab.org/t/solved-mqtt-broker-moquette-offline-after-upgrade-to-2-5m3/83074/4
Steps to Reproduce (for Bugs)
Context
the affected was to causethe upgrade to break a working mqtt installation
Your Environment