Debugging with console

I opened the console with:

ssh -p 8101 openhab@localhost

but when i try to log something with:
log:set DEBUG org.openhab.binding.homematic
i get this error:
Error executing command: Error writing log config to config admin

has anyone an idea?

Something is wrong with your I/O to the filesystem
 (not a good sign
 perform a backup of your configs now :slight_smile:)
check openhab.log for any entries
What O/S, what OH2 release, what installation method?

1 Like

I am running Openhab 2.0.0.001 on an Synology Server with DSM 6.1.2-15132 and installed it with this apk:
https://github.com/openhab/openhab-syno-spk/releases/tag/2.0.0.001-DSM6.

the last entries in openhab.log are something like this:

2017-06-21 17:52:45.154 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model ‘myrule.rules’

2017-06-21 17:52:45.210 [WARN ] [.rule.jvmmodel.RulesJvmModelInferrer] - Duplicate field: ‘alexa_temp_set’. Ignoring ‘org.eclipse.smarthome.core.library.items.NumberItem’.

should i worry about the “ignoring”-part?

I don’t have experience with the Synology package, so I can’t help with roor-cause analysis, but I would say the following:
Your installation is not stable (in my view). OH2 process can not write new (or update existing) files to the filesystem
 that’s critical.
Forget the rules and the items for now.
Try to stabilize the vanilla OH2 installation first and then start adding stuff to it.
Backup your configs (rules, items, etc) and start clean.

reinstalled several times and finally i can use debugging, thank you very much!

1 Like