OH 1.7.1 on Raspbian Debian 8 "Jessie" - Known Problems?

Hi all,

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?


Someone reported GPIO problems with Jessie.

[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 …

@sihui well, that sounds promising.

did you install OH as root or user pi?
anything additionally, like java jdk etc.?

[quote=“poertner, post:4, topic:4243, full:true”]
did you install OH as root or user pi?[/quote]

When you choose to install via apt-get the default user and group is openhab.

Edit: Or did you mean the installation process? Because you have to use “sudo” with apt-get the installation is done through root.

[quote=“poertner, post:4, topic:4243, full:true”]
anything additionally, like java jdk etc.?[/quote]

I used these two wiki pages
https://github.com/openhab/openhab/wiki/Linux—OS-X and

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.

Have fun.

thx sihui!

i tried the apt-get method on a fresh jessie install.
most things seem to work now :wink:

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

so i guess jessie works fine with OH :wink:


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.

The strange thing is, that it doies not set the persmissions for /etc/openhab.
I edited line 30 to this:

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
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 …

1 Like

Thanks for that… :slight_smile:

Just realised I did not do the apt-get (which I would have preferred to prevent upgrade issues later).

I installed it the following way (just as a reference for others):

  • make directory
    sudo mkdir /opt/openhab

  • change to new directory
    cd /opt/openhab

  • download runtime (update version number as seen in link when hover)
    sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.8.3-runtime.zip

  • unzip the runtime
    sudo unzip distribution-1.8.3-runtime.zip

  • remove the zip file
    sudo rm distribution-1.8.3-runtime.zip

  • create addon repository directory
    sudo mkdir addons_repo
    cd addons_repo

sudo wget https://bintray.com/artifact/download/openhab/bin/distribution-1.8.3-addons.zip
sudo unzip distribution-1.8.3-addons.zip
sudo rm distribution-1.8.3-addons.zip

cd /opt/openhab
sudo cp addons_repo/org.openhab.binding.mqtt-1.8.3.jar addons/org.openhab.binding.mqtt-1.8.3.jar

sudo cp /opt/openhab/configurations/openhab_default.cfg /opt/openhab/configurations/openhab.cfg
sudo nano /opt/openhab/configurations/openhab.cfg