OS: what OS is used and which version Hypriot latest
Java Runtime Environment: which java platform is used and what version docker
openHAB version: 2.5.11
Hi =) I’m willing to upgrade to openhab 3.0 =). Are there any release-notes or upgrade guides with things I have to consider on this major-upgrade? =). Maybe we can put something in the docs for the future =).
I upgraded a pretty stranded docker install from 2.5.11 to 3 last night. Sadly it got very lumpy. I’ve got it mostly back working now after a lot of manual config changes and restarts. On phone, will post details when on laptop. (it’ll be more helpful than the current, very unhelpful rhetoric of ‘have you ready the release notes and every post on this forum’ :))
Before start, manually delete cache and tmp folders. Not doing that caused issues. Got past that and worked through addons failing to install.
Last thing to get working now is mysql persistence which is broken.
biggest issue I had was the thing freaking out about bindings it could not install. It then got itself all messed up and map, scale transformations did not install and it was basically a fresh install.
In the file addons.cfg in conf/services I had no additional bindings listed but found a lot in addons.cfg in userdata\config\org\openhab I had a lot of addons which it was complaining about. I removed them, for example, expire, http1, plex etc which I suspect are not supported by 3, deleted cache and tmp, and restarted the container. It gets better with each restart.
As mentioned, I am still without persistence and (mysql, influx survived?!) but will resolve that somehow.
As I said, hopefully yours goes better or at least the tips above help.
Went through the upgrade process, waited for the log file to reflect the upgrade was complete, watched for the loading of items and things etc (mostly file-based)
Went to the UI and it asked me to create the admin user which I did.
It was then very much a default, fresh install and wanted me to add my first things etc.
I left it like this for a few minutes and no change.
In the console, with log:tail, it was spewing all sorts of complaints that mysql was not loaded, could not load rulesengine, map transformation was not loaded etc so I decided to do a restart.
After that, log:tail was still very polluted with red and purple warnings and errors.
I then stopped it, cleared cache and tmp, and started again. This time the UI sprang to life and showed me my things and items but was still messed up with loads of missing addons.
As per other post, I cleared the addons from /etc/org/… addons.cfg and eventually have it sort of working.
However, I still cannot get jdbc maria or mysql to install or work (it installs but does not seem to work, nor does it last after a restart.
I’ve been running this in docker, on rpi4 4GB (only container running at the moment) for a year without hassle so unlikely this is a environment issue but more than happy to fault-find (but I am now out of my depth)
Pretty sure. my compose file below.
All folders are “in-use” as I can see it creating logs, I remove the things from conf and can see it remove them in the console, userdata is most certainly userdata as I can edit the addons.cfg to manually remove addons.
Can’t say I can see a difference between this and the example in the docs?