Linux Installation Guide - Network sharing part "error?"


(Vinc) #1

Hello

my installation is a Vanila Debian 9 installation.
followed the steps

and got a problem with

sudo chown -hR openhab:openhab /etc/openhab2 /opt/openhab2/conf

the second part
/opt/openhab2/conf

is not crated so can’t be changed. Maybe i have done something wrong installing or the documentation has something “wrong”

have a nice day
vinc


(Andrew Rowe) #2

Can’t remember for sure but on my plain vanilla Debian 9 install, I think conf files are in /etc not /opt
Sorry not more help but away from computer at the moment. Search for it


(lipp_markus) #3

There are two different ways to install OH2 via the repository or manually. The manual way will put files under /opt/ the repository way will put them under /etc/; from the looks of it, you installed via the repository way and you will have no files under /opt/ by design
see here for help on file locations: https://www.openhab.org/docs/installation/linux.html#file-locations