HI all
i am a very nood to all this and i am just setting up on a VM on Ubuntu server, i did the apt install and then the manual install and keep getting a issue
adam@HAServer:/tmp$ java -version
openjdk version “10.0.1” 2018-04-17
OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
adam@HAServer:/tmp$ sudo systemctl start openhab2.service
Failed to start openhab2.service: Unit openhab2.service not found.
adam@HAServer:/tmp$ sudo su -s /bin/bash -c ‘/opt/openhab2/start.sh’ openhab
Launching the openHAB runtime…
/opt/openhab2/runtime/bin/karaf: 199: [: Illegal number:
/opt/openhab2/runtime/bin/karaf: 199: [: Illegal number:
Error occurred while checking the system module.
Any help would be great thanks so much cant wait to start using it
Does that mean you did both? That would mean that you installed it twice. Please use only one of the installation methods. You may just want to start over and use Openhanbian https://docs.openhab.org/installation/openhabian.html
This can help avoiding many issues regarding missing prerequisites, permissions, etc.
At the moment, openHAB needs Java 8 to run properly. Should be okay after you install that.
Otherwise, don’t have the apt version and the manual version installed at the same time. As the apt version sets environment variables which may stop a manual install from working as intended.