I just removed my working Openhab 1.8.1 installation that was installed manually in my /opt/openhab directory and performed an apt-get installation of 1.8.2 per the directions on this site. After copying my configurations and loading all addons per apt-get, I updated the startup script and restarted my system. The UI will not come up - I get a “192.168.0.87 refused to connect” error when I try to access the server at that ip (using port 8080), and I also cannot connect from the raspberry PO browser using localhost. I notice that my log file does not contain the line “Starting Classic UI” like it always had before. Everything else appears to be loading fine, per the log file, and the system is running (per ps -elf and the log keeps growing with normal activity. Does anyone have ideas for where I should look next?
I was going to upgrade my apt-get installed 1.8.1 this morning. Maybe I’ll wait a bit…
I’m afraid I can’t offer anything but the obvious of checking that the configuration files are correctly in /etc/openhab/configurations, and start with a simple default.sitemap.
I think you can increase the logging by changing /etc/openhab/configurations/logback.xml, but I’ve never done it.
Let us know if you found the problem
I replaced the entire configurations directory in /etc/openhab with the working configurations directory from 1.8.1 (I have it backed up on an external drive), so I don’t think that is the problem. The log says that it is correctly loading the sitemap and the items. I did increase the logging to the debug level in logback.xml - no obvious messages there. I suspect the problem has something to do with converting from a manual install of 1.8.1 to the apt-get install, since all the files move into different directories. I prefer the concept of an apt-get install. I will likely try wiping the pi this evening and starting from a raw SD card - unless you or others have suggestions.
So far in my experience this is the fastest and surest way to solve this sort of issue.
That being said, is there any error at all in the logs? Particularly is there a binding exception? Have you tried a reboot of the machine?
Rebooted several times, and there is no discernable error in the logs. I am starting from a clean system this evening. Will let you know how it works out. I am positive that it is some silly copy/paste or file migration error. I was just wondering if there was an easier answer than wiping my system. No big deal either way, and this is a great product so it is worth it. I am backed up on an external drive if it all goes haywire.
Complete reinstall of Raspbian and all openhab components via apt-get solved the problem. System is working perfectly with 1.8.2. Thank you!