I decided to do a complete reinstall of OH on Raspbian Jessie rather than “just” update Wheezy to Jessie.
(I read Jessie would be needed for making Dashing.io run so I gave it a try.)
On Wheezy everything was running fine. However when i had everything set up on Jessie the Problems started. I had saved all settings, rules, items etc. and copied them to the new installation.
The simplest Rules wouldn’t execute, although logs were fine.
iOS App couldn’t connect to OH anymore.
Accessing OH webinterface from outside my network was not possible.
…
After fiddling with it for a while and getting more and more frustrated I just rolled everything back to the “safety image” of my Wheezy OH installation that i did just hours before.
Now, has anybody experienced similar or additional problems using Jessie?
If so, were you able solve them?
[quote=“poertner, post:1, topic:4243, full:true”]
Now, has anybody experienced similar or additional problems using Jessie?[/quote]
I did a new install of OH on Jessie too and have no problems so far.
But in addition to that I changed from manual install to apt-get install and had to deal with those adaptions (permissions, different folders, user config).
Actually since Jessie and apt-get method of installing OH my z-wave and Tinkerforge bindings are running better than before, less errors in logs, less problems with java …
No changes to java, but i was surprised that one or two of the installed four folders (don’t remember which one) had user:group root:root, so I changed that to openhab:openhab.
And I added the user openhab to the dialout group as recommended.
With wheezy and manual install I had sometimes problems after rebooting with java, tons of error logs, so I had to reboot several times to get rid of those error messages.
With jessie and apt-get install I didn’t see the java probs again, after every RPi reboot openhab works right out of the box.
i tried the apt-get method on a fresh jessie install.
most things seem to work now
what’s weird though is that almost all openhab files have root:root ownership.
just very few with openhab:openhab.
i just did this to change users:
chown -R openhab:openhab /etc/openhab
chown -R openhab:openhab /usr/share/openhab
chown -R openhab:openhab /var/log/openhab
I installed openHAB on Jessie last weekend, too.
I had no real problems.
Regarding the folder permissions:
There is a script which is supposed to set the permissions right everytime the deamon is started.
/usr/share/openhab/bin/setpermissions.sh
The strange thing is, that it doies not set the persmissions for /etc/openhab.
I edited line 30 to this: for ohdir in "${OPENHAB_HOME_DIR}" "${OPENHAB_LOG_DIR}" "${OPENHAB_CONF_DIR}"; do
I think this should be part of the official script, because everytime the user (root, pi, user1, …) adds a configuration file or backups a file, it has the wrong owner and group.
Does anybody know if there is a reason, why this script does not set permissions for /etc/openhab?
I am new to all this and just installed Jessie on a new pi, and then openHAB.
I do not have the directories /etc/openhab nor /var/log/openhab, nor usr/share/openhab.
However, I can connect to it via http://192.168.1.51:8080/openhab.app
Should be worried?
You can do a manual install or an apt-get install.
When you do a manual install, you can place your files wherever you want, but it is recommended to put them in /opt/openhab.
So if you have a directory structure starting with /opt/openhab you are good to go …