/opt/openhab isn’t the package install dir its “/usr/share/openhab2”
Does running this help?
I read you should use the same method of update as you do when you install so I have yet to try that. At this point, why the hell not.
Doesn’t work… I think this is intended to be used with the manual install… i.e. /opt/openhab2 not /usr/share/openhab2
What’s the output of cat /etc/apt/sources.list.d/openhab2.list
deb https://dl.bintray.com/openhab/apt-repo2 stable main
That’s much is good, but I’m running out of ideas. When you uninstalled earlier did you use:
sudo apt-get purge openhab2*
sudo rm /etc/apt/sources.list.d/openhab2.list
Then start your reinstall? Somethings getting crossed up but a complete removal should fix that error.
Crazy… thanks for your help though.
UPDATE… I reverted to a known good ISO image… then tried again.
First thing I needed to do was delete an extra services file in /lib/systemd/system/openhab2.service and restart the systemctl sudo systemctl daemon-reload
I also noticed the install didn’t create all the directories under /use/share/openhab2/ Cache and tmp for example. It created some additional files as root which caused permission denied errors
Most annoying was I cut and pasted the JAVA ARGS (I saved them) into the /etc/default/openhab2 config file which caused karaf to choke. By luck I figured this out.
The rules file need an extra “=” for any NULL comparisons if (X===NULL) versus if (X==NULL)
The Audit file was created as root which caused the logger to freak out.
I still have a bunch of errors but I’m up and running for now. thanks for all the help.
Glad to see your getting it up and running.
This is strange