I’m using OpenHAB 2.5.11-1 on a Pi4 using Openhabian. I recently upgraded my installation to OH3 and then downgraded again to Openhab 2.
I noticed that the Karaf Console doesn’t work anymore. “Openhab-cli console” returns the following:
/usr/bin/openhab-cli: 107: /usr/bin/openhab-cli: /usr/share/openhab/runtime/bin/client: not found
Looks like the “Openhab-cli console” command is now pointing to the directory used by OH3.
Anyway this can be fixed so that the command points to the right directory again? I gues it should be this one:
I can see the client file in this directory.
I checked i i can changed some config files. But could not find anything relevant in this file :
org.apache.karaf.shell.cfg Controls most console setting