Nico0084 / domogik-plugin-ozwave

Domogik ozwave plugin
GNU General Public License v3.0
1 stars 0 forks source link

New install : create data folder and info.json file #40

Closed mattboll closed 7 years ago

mattboll commented 7 years ago

Hi, on a new installation, I had to manually create the data folder (I didn't remember where it was, please ask me if it's needed) I also had to copy info.json file and give rights to domogik user. May be you should use this function (see @fritz-smh for details) https://gist.github.com/fritz-smh/f9cbfe05e5ff5094d2001225e993b9de

Nico0084 commented 7 years ago

You can find data folder in /var/lib/domogik/domogik_packages/plugin_ozwave User used by domogik (default "domogik") must have write access to create it and put data in.

plugin use get_data_files_directory methode and log an error if it can't create it. So I presum you have an error in plugin_ozwave.log. Probably the same issue #26 .

I think you had do install with an other user than domogik. so folder access may induce potentiel issue. You must install plugin (dmg_package) with domogik user