Still openhabian, update to the latest stable releases…
Situation is that since upgrade to Openhab 4, the problem was solved, but then 4.0.3 kicked in, and the behaviour is back, slightly different than before though…
When I reboot the OpenHAB MainUI is not accessible, the deconz UI is.
Maybe this link is a possible way to handle the start order? a combination of after and requires would solution it going forward if it really is some port conflicts.
that both ports are configured to start on the same port.
This is not possible. So during the startup of deconz there is already a port conflict and to get both up and running one of the will be started on a different port.
I have the impression that your solution of the old thread was not done in an optimal way.
Is the config that you posted in this thread this file ?
ls -l /etc/systemd/system/multi-user.target.wants/deconz.service
lrwxrwxrwx 1 root root 34 Feb 25 2022 /etc/systemd/system/multi-user.target.wants/deconz.service -> /lib/systemd/system/deconz.service
In my case this is the original / unmodified service file that comes with deconz package.
There is an override.conf file that overrides this configuration and and allows local modifications to the original configuration:
As far as I understand your post now deconz starts but ylu still get the original error message and your analysis shows that deconz also sits on the openhab port ?
To me this sounds like deconz service is started two times.
Did you revert all intermediate file changes and just tried the override.conf?
Please create the mentioned override.conf file.
override.conf is a systemd “feature” to override system defaults stored in the system wide services configuration file. While editing the services file will be overwritten with the next upgrade of the deconz package the override.conf file will survive that upgrade.
This was indeed the solution. Thanks @Wolfgang_S (and sorry for late reply but holidays and stuff)
For others, this way I (hopefully finally) solved it:
make folder deconz.service.d in /etc/systemd/system
make file override.conf in /etc/systemd/system/deconz.service.d
copy info from file deconz.service in the /etc/systemd/system-folder in this override.conf
reboot