Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

rr4dj directory not created #1195

Closed
SevenW opened this issue Jun 29, 2014 · 1 comment · Fixed by #1224
Closed

rr4dj directory not created #1195

SevenW opened this issue Jun 29, 2014 · 1 comment · Fixed by #1224

Comments

@SevenW
Copy link

SevenW commented Jun 29, 2014

As a result of permission settings, the rrd4j folder does not get created, resulting in errors like this:
21:17:00.010 ERROR o.o.p.r.internal.RRD4jService[:232]- Could not create rrd4j database file '/usr/share/openhab/etc/rrd4j/Weather_Temperature.rrd': /usr/share/openhab/etc/rrd4j/Weather_Temperature.rrd (Permission denied)

manually creating the folder '/usr/share/openhab/etc/rrd4j' and setting permissions right did the trick. It was not done by the installer, and once openhab is running as user openhab, it does not have the permission to write in '/usr/share/openhab/etc' I think.

@ghost
Copy link

ghost commented Jul 11, 2016

I had the same problem and it needs to delete the /opt/openhab/etc/rrd4j folder, then it will be created automatically by OH and just not forget to give permissions to your current directory after deleting it.
I hope this will help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant