i’ve updated to OpenHAB 2.5.5 and now it seems to work but the persistence not. I’ve got this errors in log:
2020-06-01 14:30:43.030 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘mysql.persist’
2020-06-01 14:30:47.201 [ERROR] [thome.model.lsp.internal.ModelServer] - Error starting the Language Server
java.net.BindException: Die Adresse wird bereits verwendet (Bind failed)
I was thinking of that port 5007 is used by another program - but the output of the commands show that port 5007 is used by java - which is most probably openhab itself.
You can check that by checking what’s behind the curent related PID ( 1828 in this case ).
So unfortunately this does not really help.
What is the difference in the output that you get ?
You can check if there are two instances running by running the command
ps -ef | grep openhab
this should return one row containing /usr/bin/java.
As openhab uses specific ports that the software starts in listen mode it cannot be possible that there is more than one instance listening on the same port.
You can choose wich HABPanel is loaded on every device. In the smartphoneapp a local copy was loaded instead of the layout wich located on the server. That was the reason why changes on dashboard takes no effect.
When i began to work with OpenHAB i’ve installed it on ubuntu via the software AND (i don’t know why) via commandline. I have deinstalled the via software installed OpenHAB and the ERROR was gone and leave the via commandline installated Version.
But there were a lot more problems so i’ve deleted absolutely all and started completely new. A new installation of ubuntu and a proper installation of OpenHAB an all the bindings. Now everything works fine.
Is it possible that openHAB runs twice? I got a different output of the same Dashboard in HABPanel on Smartphone as on Laptop.
Today i know at this point i was on the right way but this issue doesn’t affect to the dashboard. It was just a local saved copy. If you have the same problems activate the other on your server saved panel in the settings.