RRD file does not contain RRA: AVERAGE archive

145 views
Skip to first unread message

Nolan Garrett

unread,
Jul 18, 2014, 11:54:26 PM7/18/14
to ope...@googlegroups.com
I am seeing this error when trying to render a chart of a "Number" item. The item is updated via a rule regularly. 

20:50:05.558 WARN  o.e.j.servlet.ServletHandler[:553]- /chart
java.lang.IllegalStateException: RRD file does not contain RRA: AVERAGE archive
        at org.rrd4j.core.RrdDb.findMatchingArchive(Unknown Source)
        at org.rrd4j.core.RrdDb.fetchData(Unknown Source)
        at org.rrd4j.core.FetchRequest.fetchData(Unknown Source)
        at org.openhab.persistence.rrd4j.internal.RRD4jService.query(RRD4jService.java:198)
        at org.openhab.ui.internal.chart.DefaultChartProvider.addItem(DefaultChartProvider.java:297)
        at org.openhab.ui.internal.chart.DefaultChartProvider.createChart(DefaultChartProvider.java:184)

This is set up just like my other 6-10 charts that work fine. I tried deleting and recreating the persistence definition, but it didn't fix it.  Any ideas on what this is trying to tell me?

I may have converted this a few days ago from a String item to a Number item. Any idea how to make rrd4j delete that old data, if that's the problem? I'd prefer to keep the item name as-is.


Nolan Garrett

unread,
Jul 28, 2014, 11:30:33 PM7/28/14
to ope...@googlegroups.com
Found the resolution was to simply delete the old .rrd data file for my item. Updated the Wiki.
Reply all
Reply to author
Forward
0 new messages