I want to install openhab from Snapshot Release (With Stable Release I can start openhab2 as a service, or from the command line). I followed the instructions in here. Specifically I did the following steps:
sudo apt-get purge openhab2
wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
sudo apt-get install apt-transport-https
echo 'deb https://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main' | sudo tee /etc/apt/sources.list.d/openhab2.list
sudo apt-get update
sudo apt-get install openhab2
After setting to Snapshot Release I can start the openhab2 as a service with “service openhab2 status”
but I cannot start it from the command line. I’m getting the following error
/usr/share/openhab2/start_debug.sh
Launching the openHAB runtime...
mkdir: cannot create directory ‘/usr/share/openhab2/userdata/tmp’: No such file or directory
KARAF_BASE is not valid: /usr/share/openhab2/userdata
Does anyone know how to fix the error message “KARAF_BASE is not valid”
and run openhab from the command line?
Thanks,