I have a fresh install of OH2 (latest snapshot) running on Ubuntu 16.04 server. Everything is working except rules.
I have created my items using .items-files. But when I copy (ANY) .rules-file to my samba share (authenticated with the openhab user) I get this error in the log:
2016-12-30 20:39:24.215 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'lys.rules'
2016-12-30 20:39:24.217 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.227 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.228 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.234 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.240 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.241 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.244 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.386 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'lys.rules'
2016-12-30 20:39:24.396 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.399 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.400 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.404 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.408 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.412 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.413 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.416 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
2016-12-30 20:39:24.419 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'lys.rules'
2016-12-30 20:39:24.426 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'lys.rules'
2016-12-30 20:39:24.433 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model '._lys.rules'
2016-12-30 20:39:24.436 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model '._lys.rules' is either empty or cannot be parsed correctly!
Whats up? Permission problem?