Windows 10: upgrading from 2.4 to 2.5.3: no charts, no connection to Homematic

Tags: #<Tag:0x00007f6173975c58> #<Tag:0x00007f6173975b90>

I have a working openHAB version 2.4 on Windows 10.
Everything is configured with many items and persistence in operation via rrd4j.
Add-ons are online.

I now want to upgrade from 2.4 to 2.5.3 on Windows 10.

What I have found out:

  • It definitely doesn’t work with update.ps1 (always breaks)!!!
  • With update.bat the execution of the script works
  • I also found (on top here) a manual upgrade description (the last time up to version 2.4 it worked)

But now when I start the new version 2.5.3 afterwards, not much is working:

  • No charts
  • Connection to the Homematic CCU (RaspberryMatic) is not properly working
  • PaperUI slowly updating
  • All Homematic-Items offline

Checked:

  • Persistence for charts is: rrd4j
  • File rrd4j.persist exists

Error messages:

    2020-03-29 16:24:13.072 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
    2020-03-29 16:24:13.072 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
    2020-03-29 16:24:28.934 [INFO ] [ternal.communicator.client.RpcClient] - Interface 'CUXD' on gateway '516226b0' not available, disabling support
    2020-03-29 16:24:28.959 [INFO ] [ommunicator.AbstractHomematicGateway] - HmGatewayInfo[id=CCU,type=CCU2,firmware=2.8.6,address=OEQ0310467,rf=true,wired=true,hmip=true,cuxd=false,group=true]
    2020-03-29 16:25:00.020 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
    2020-03-29 16:25:00.026 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
    2020-03-29 16:25:00.030 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

I don’t know if the gateway ID for Homematic ‘516226b0’ is wrong, firmware is definitely wrong. So no connection to Homematic (RaspberryMatic).
Has someone experience in upgrading openHab from 2.4 to 2.5.3 on Windows 10?

Thanks in advance
Frowin

I can’t say for sure because you don’t provide that information, but how long are you waiting after the upgrade? What sort of errors do you see when OH first starts up?

Log into the Karaf console and run bundle:list. Do you see rrd4j and homematic in the list of installed bundles?

Did you file an issue for the update.ps1 script?

Hi Rich,

In the meantime, I have not continued with the version 2.5.3 on Windows 10 and bought a Raspberry Pi 4B with 2GB. This is because more openHAB users use Linux than Windows 10.

I installed the new version 2.5.3 with Raspian. Start this installation without further adjustments and let it run for a long time until everything has been initialized. Only then did I copy my configuration and persistance on to the Pi. With further settings I have brought the system so far that everything runs as on the current 2.4.0 on Windows 10.

Simply nothing works with the RRD4j-Persistance. The files are there and the bundles are running (the same on 2.4.0):

openhab> bundle:list | grep 4j
104 x Active   x  80 x 0.8.0.v20190822-0801    x org.eclipse.lsp4j
105 x Active   x  80 x 0.8.0.v20190822-0801    x org.eclipse.lsp4j.jsonrpc
256 x Active   x  80 x 1.14.0                  x openHAB RRD4j Persistence Bundle
openhab>
openhab> bundle:list | grep omematic
212 x Active   x  80 x 2.5.3                   x openHAB Add-ons :: Bundles :: Homematic Binding
openhab>

All used bindings are running (in PaperUI).

The historical data in the RRD4j cannot be called up in the HABpanel. No new persistance will be created. I use Chart in the HABpanel to display historical values.

After a complete start of openHAB I get this in the file openhab.log:

2020-04-09 11:38:42.339 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'Europe/xxx'.
2020-04-09 11:38:42.362 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to 'xx,yy,zz'.
2020-04-09 11:38:42.366 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'de_CH'.
2020-04-09 11:38:47.137 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Dispo.items'
2020-04-09 11:38:47.204 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Essen.items'
2020-04-09 11:38:47.241 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Terrasse.items'
2020-04-09 11:38:47.296 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OeV.items'
2020-04-09 11:38:47.370 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Wohnraum.items'
2020-04-09 11:38:47.423 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Groups.items'
2020-04-09 11:38:47.480 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.items'
2020-04-09 11:38:47.514 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Eingaenge.items'
2020-04-09 11:38:47.594 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Rollladen.items'
2020-04-09 11:38:47.647 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Servers.items'
2020-04-09 11:38:47.729 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Astro.items'
2020-04-09 11:38:47.784 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartPower_SDM530.items'
2020-04-09 11:38:47.913 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Schlafzimmer.items'
2020-04-09 11:38:47.951 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Test.items'
2020-04-09 11:38:47.968 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Gaestebad.items'
2020-04-09 11:38:48.007 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'KlimaDaten.items'
2020-04-09 11:38:48.080 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Korridor.items'
2020-04-09 11:38:48.112 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartPower_SDM120.items'
2020-04-09 11:38:48.153 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Allgemein.items'
2020-04-09 11:38:48.173 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Keller.items'
2020-04-09 11:38:48.198 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap.items'
2020-04-09 11:38:48.247 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Kueche.items'
2020-04-09 11:38:48.267 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Buero.items'
2020-04-09 11:38:48.292 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Kodi.items'
2020-04-09 11:38:48.298 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Weather.items'
2020-04-09 11:38:48.307 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Reduit.items'
2020-04-09 11:38:48.319 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Privatbad.items'
2020-04-09 11:38:48.685 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2020-04-09 11:38:49.160 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
2020-04-09 11:38:49.163 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2020-04-09 11:38:49.238 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'myHome.sitemap', using it anyway:
Linkable widget should contain either only frames or none at all
2020-04-09 11:38:49.241 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'myHome.sitemap'
2020-04-09 11:38:49.558 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.things'
2020-04-09 11:38:49.573 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Servers.things'
2020-04-09 11:38:49.588 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap.things'
2020-04-09 11:38:49.598 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Allgemein.things'
2020-04-09 11:38:57.067 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Bodenheizung.rules'
2020-04-09 11:38:58.379 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Test.rules'
2020-04-09 11:39:04.539 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartMeter_SDM530.rules'
2020-04-09 11:39:05.521 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_woechentlich.rules'
2020-04-09 11:39:10.424 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OeV-Bus.rules'
2020-04-09 11:39:10.810 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Kodi.rules'
2020-04-09 11:39:12.758 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartMeter_SDM120.rules'
2020-04-09 11:39:19.868 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Temp_Feuchte.rules'
2020-04-09 11:39:21.228 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_monatlich.rules'
2020-04-09 11:39:21.898 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_jaehrlich.rules'
2020-04-09 11:39:25.692 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Temp_Feuchte_Hist.rules'
2020-04-09 11:39:26.126 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_Perioden.rules'
2020-04-09 11:39:26.948 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_woechentlich.rules'
2020-04-09 11:39:28.144 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Allgemeines.rules'
2020-04-09 11:39:28.903 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Soll_Temp.rules'
2020-04-09 11:39:29.595 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_jaehrlich.rules'
2020-04-09 11:39:30.647 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_taeglich.rules'
2020-04-09 11:39:31.726 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_taeglich.rules'
2020-04-09 11:39:39.652 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OeV-Bahn.rules'
2020-04-09 11:39:42.094 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Servers.rules'
2020-04-09 11:39:43.419 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_monatlich.rules'
2020-04-09 11:39:44.205 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.rules'
2020-04-09 11:39:45.023 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap.rules'
2020-04-09 11:39:49.165 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap-new.rules'
2020-04-09 11:39:51.426 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-04-09 11:39:53.267 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.110:8080
2020-04-09 11:39:53.270 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.110:8443
2020-04-09 11:39:53.870 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2020-04-09 11:39:53.977 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2020-04-09 11:39:54.086 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2020-04-09 11:39:56.633 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:home every 60 seconds
2020-04-09 11:39:56.915 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:home every 60 seconds
2020-04-09 11:39:56.969 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:moon:home every 60 seconds
2020-04-09 11:39:57.150 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:moon:home every 60 seconds
2020-04-09 11:39:57.272 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been started
2020-04-09 11:39:57.321 [INFO ] [ternal.communicator.client.RpcClient] - Interface 'CUXD' on gateway '3014F711A061A7D7098E24C3' not available, disabling support
2020-04-09 11:39:57.514 [INFO ] [ommunicator.AbstractHomematicGateway] - HmGatewayInfo[id=CCU,type=CCU2,firmware=3.51.6.20200229,address=OEQ0310467,rf=true,wired=true,hmip=true,cuxd=false,group=true]
2020-04-09 11:39:57.730 [WARN ] [lipse.smarthome.io.net.exec.ExecUtil] - Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "/dev/null" (in directory "."): error=13, Keine Berechtigung)
2020-04-09 11:39:59.121 [INFO ] [eather.internal.common.WeatherConfig] - ProviderConfig[providerName=OPENWEATHERMAP,apiKey=ff1ab45e435bdeacd606bcbc9040820b]
2020-04-09 11:39:59.124 [INFO ] [eather.internal.common.WeatherConfig] - LocationConfig[providerName=OPENWEATHERMAP,language=de,updateInterval=5,latitude=xxx,longitude=yyy,locationId=mmmm-OpenWeatherMap,name=mmmmm]
2020-04-09 11:40:02.134 [INFO ] [ternal.scheduler.WeatherJobScheduler] - Disabling weather locationId 'mmmm-OpenWeatherMap', no binding available
2020-04-09 11:40:12.310 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Alarmzone 1' contains invalid characters, new Datapoint name 'Alarmzone_1'
2020-04-09 11:40:12.312 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'DutyCycle-HM Funk LAN Gateway (Disporaum)' contains invalid characters, new Datapoint name 'DutyCycle-HM_Funk_LAN_Gateway__Disporaum_'
2020-04-09 11:40:12.315 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'QuickAccess DirectAccess' contains invalid characters, new Datapoint name 'QuickAccess_DirectAccess'
2020-04-09 11:40:12.318 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'QuickAccess Servicemeldungen' contains invalid characters, new Datapoint name 'QuickAccess_Servicemeldungen'
2020-04-09 11:40:12.320 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'QuickAccess Servicemeldungen bestaetigt' contains invalid characters, new Datapoint name 'QuickAccess_Servicemeldungen_bestaetigt'
2020-04-09 11:40:12.322 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'QuickAccess Servicemeldungen Zaehler' contains invalid characters, new Datapoint name 'QuickAccess_Servicemeldungen_Zaehler'
2020-04-09 11:40:12.325 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Stand Rollladen' contains invalid characters, new Datapoint name 'Stand_Rollladen'
2020-04-09 11:40:12.327 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Büro' contains invalid characters, new Datapoint name 'Temp_B_ro'
2020-04-09 11:40:12.329 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Delta' contains invalid characters, new Datapoint name 'Temp_Delta'
2020-04-09 11:40:12.331 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Gästebad' contains invalid characters, new Datapoint name 'Temp_G_stebad'
2020-04-09 11:40:12.333 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Korridor' contains invalid characters, new Datapoint name 'Temp_Korridor'
2020-04-09 11:40:12.335 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Privatbad' contains invalid characters, new Datapoint name 'Temp_Privatbad'
2020-04-09 11:40:12.337 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Schlafzimmer' contains invalid characters, new Datapoint name 'Temp_Schlafzimmer'
2020-04-09 11:40:12.339 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Vorlauf' contains invalid characters, new Datapoint name 'Temp_Vorlauf'
2020-04-09 11:40:12.341 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp Wohnraum' contains invalid characters, new Datapoint name 'Temp_Wohnraum'
2020-04-09 11:40:12.343 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Temp/Feuchte Terrasse' contains invalid characters, new Datapoint name 'Temp_Feuchte_Terrasse'
2020-04-09 11:40:12.362 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Licht Korridor Ein-Aus' contains invalid characters, new Datapoint name 'Licht_Korridor_Ein-Aus'
2020-04-09 11:40:12.364 [INFO ] [ng.homematic.internal.misc.MiscUtils] - Datapoint name 'Licht Küche Ein-Aus' contains invalid characters, new Datapoint name 'Licht_K_che_Ein-Aus'
2020-04-09 11:40:12.377 [INFO ] [rnal.type.HomematicTypeGeneratorImpl] - Multiple firmware versions for device type 'HM-LC-Sw4-DR' found (1.12, 2.8). Make sure, all devices of the same type have the same firmware version, otherwise you MAY have channel and/or datapoint errors in the logfile
2020-04-09 11:40:12.379 [INFO ] [rnal.type.HomematicTypeGeneratorImpl] - Multiple firmware versions for device type 'HM-LC-Dim1T-FM' found (2.1, 1.2, 2.6). Make sure, all devices of the same type have the same firmware version, otherwise you MAY have channel and/or datapoint errors in the logfile
2020-04-09 11:41:32.147 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:32.964 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:32.987 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.016 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.044 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.083 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.108 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.151 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.176 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.203 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.232 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.255 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.564 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:33.583 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:49.575 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:49.594 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-09 11:41:49.597 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

How can I reactivate the RRD4j-Persistance?

You have an rrd4j.cfg file? What do you have set as your default persistence? What happens if you don’t try to copy your old preexisting rrd4j files to the new install?

Default persistence is: rrd4j

At least I have a rrd4j.cfg file, but there is actually nothing in it:

# please note that currently the first archive in each RRD defines the consolidation
# function (e.g. AVERAGE) used by OpenHAB, thus only one consolidation function is
# fully supported
#
# default_numeric and default_other are internally defined defnames and are used as
# defaults when no other defname applies

#<defname>.def=[ABSOLUTE|COUNTER|DERIVE|GAUGE],<heartbeat>,[<min>|U],[<max>|U],<step>
#<defname>.archives=[AVERAGE|MIN|MAX|LAST|FIRST|TOTAL],<xff>,<steps>,<rows>
#<defname>.items=<list of items for this defname>

So far it has worked without this file.
If something has to be entered here, I have to work through the documentation.

Here is my rrd4j.persist:

Strategies
{
  // for rrd charts, we need a cron strategy
  everyMinute        : "0  *  *  *  *  ?"      // zu jeder Minute
  everyHour          : "0  0  *  *  *  ?"      // zu jeder Stunde
  every10Minutes     : "0  */10  *  *  *  ?"   // Nach 10 Minuten
  everyMidnight      : "0  0  0  *  *  ?"      // Immer um Mitternacht
  everyMidday        : "0  0 12  *  *  ?"      // Immer um 12 Uhr mittags
  everyMonday        : "0  0  0  *  *  1"      // Jeden Montag um Mitternacht
  everyFirstOfMonth  : "0  0  0  1  *  ?"      // am 1. im Monat um Mitternacht
  everyFirstOfYear   : "0  0  0  1  1  ?"      // am 1. Januar um Mitternacht
  default = everyMinute, everyChange
}

Items
{
  EL_Total_Energie, EL_totEnergie_Hist, EL_L1_Watt, EL_L2_Watt, EL_L3_Watt,
  EL_SDM120_Total_Energie, EL_SDM120_totEnergie_Hist, EL_SDM120_L1_Watt,
  EL_totLeistung_Hist, EL_SDM120_totLeistung_Hist                          :  strategy = everyMinute, everyChange, restoreOnStartup

  BR_Temp, WR_Temp, SZ_Temp, PB_Temp, GB_Temp, DI_Temp, TE_Temp, KE_Temp,
  KO_Temp, EG_Temp                                                         :  strategy = everyMinute, everyChange, restoreOnStartup
  BR_Temp_Hist, WR_Temp_Hist, SZ_Temp_Hist, PB_Temp_Hist, GB_Temp_Hist,
  DI_Temp_Hist, TE_Temp_Hist, KE_Temp_Hist, KO_Temp_Hist, EG_Temp_Hist     :  strategy = everyMinute, everyChange, restoreOnStartup

  BR_Feuchte, WR_Feuchte, SZ_Feuchte, PB_Feuchte, GB_Feuchte, DI_Feuchte,
  TE_Feuchte, KE_Feuchte, KO_Feuchte, EG_Feuchte                           :  strategy = everyMinute, everyChange, restoreOnStartup
  BR_Feuchte_Hist, WR_Feuchte_Hist, SZ_Feuchte_Hist, PB_Feuchte_Hist,
  GB_Feuchte_Hist, DI_Feuchte_Hist, TE_Feuchte_Hist, KE_Feuchte_Hist,
  KO_Feuchte_Hist, EG_Feuchte_Hist                                         :  strategy = everyMinute, everyChange, restoreOnStartup

  WR_Heizung, BR_Heizung, SZ_Heizung, PB_Heizung,
  GB_Heizung, KO_Heizung,
  WR_Heizung_Hist, BR_Heizung_Hist, SZ_Heizung_Hist, PB_Heizung_Hist,
  GB_Heizung_Hist, KO_Heizung_Hist                                         :   strategy = everyMinute, everyChange, restoreOnStartup

  VorlaufTemp, VorlaufTemp_Hist                                            :  strategy = everyMinute, everyChange, restoreOnStartup

  EL_Energie_Stunde, EL_SDM120_Energie_Stunde                              :  strategy = everyMinute, everyHours, restoreOnStartup
  EL_Energie_Tag, EL_SDM120_Energie_Tag                                    :  strategy = everyMinute, everyMidnight, restoreOnStartup
  EL_Energie_Woche, EL_SDM120_Energie_Woche                                :  strategy = everyMinute, everyMonday, restoreOnStartup
  EL_Energie_Monat, EL_SDM120_Energie_Monat                                :  strategy = everyMinute, everyFirstOfMonth, restoreOnStartup
  EL_Energie_Jahr, EL_SDM120_Energie_Jahr                                  :  strategy = everyMinute, everyFirstOfYear, restoreOnStartup

  EL_Total_Stunde                                                          :  strategy = everyMinute, everyHour, restoreOnStartup
  EL_Total_mittags                                                         :  strategy = everyMinute, everyHour, everyMidday, everyMidnight, restoreOnStartup
  EL_Total_mitternacht                                                     :  strategy = everyMinute, everyHour, everyMidday, everyMidnight, restoreOnStartup

  nWohnraum_Temp_Selection, nBuero_Temp_Selection,
  nSchlafzimmer_Temp_Selection, nPrivatbad_Temp_Selection,
  nGaestebad_Temp_Selection, nKorridor_Temp_Selection                      :  strategy = everyChange, restoreOnStartup
}

For example the itme:

Number   EL_L1_Watt   "Leistung L1 (WR,MR,BR) W [%.1f W]"   <energy>   (gSmartPower,gSmartPowerHist)   { http="<[http://192.168.1.146:8085/last/1:15000:JSONPATH($.Power.L1)]" }

Any tip about the contents of the rrd4j.cfg file?

I only asked to make sure there wasn’t something in it that would break it. Empty is fine.

Bring up https://<ip of OH machine?:8080/rest/persistence. You should get back a JSON string listing all your installed persistence services. Is rrd4j listed?

Nothing do I get back with http://192.168.1.110:8080/rest/persistence. No https on my site.

When I extend the URL with /items/, then I get thies reply:

I don’t care what it says in PaperUI. Karaf already says that it’s installed as a bundle and active. But I need to see what the REST API says.

I don’t think it is possible to get literally nothing back from that API call. You should either get

[ ]

or something that looks like

[{"id":"mapdb","label":"mapdb","type":"Queryable"},{"id":"influxdb","label":"influxdb","type":"Queryable"}]

Or an error message.

In any case all I can recommend is Clear the Cache. If that doesn’t work than there is something about your config that you copied over from Windows that is breaking rrd4j.

Did you try removing the rrdj4 files from $OH_USERDATA/persistence/rrd4j like I asked you to a few posts back? Does it work with a truely brand new rrd4j DB?

Ok, with nothing I mean (sorry for that):

I copied all .rrd files away and cleared the cache, I then rebooted.
I got a lot of these errors:

2020-04-09 19:16:27.577 [SCHWERWIEGEND] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.RuntimeException: Error initializing storage.
	at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:70)
	at org.eclipse.osgi.launch.Equinox.<init>(Equinox.java:31)
	at org.eclipse.osgi.launch.EquinoxFactory.newFramework(EquinoxFactory.java:24)
	at org.apache.karaf.main.Main.launch(Main.java:256)
	at org.apache.karaf.main.Main.main(Main.java:178)
Caused by: java.io.FileNotFoundException: /var/lib/openhab2/cache/org.eclipse.osgi/.manager/.fileTableLock (Keine Berechtigung)
	at java.io.RandomAccessFile.open0(Native Method)
	at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
	at org.eclipse.osgi.internal.location.Locker_JavaNio.lock(Locker_JavaNio.java:36)
	at org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
	at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:701)
	at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:1776)
	at org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:1793)
	at org.eclipse.osgi.storage.Storage.<init>(Storage.java:132)
	at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:85)
	at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:68)
	... 4 more
    :
    :
    :
    :
2020-04-09 19:34:05.097 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

Slowly it is starting, have to wait for long till I will see HABpanel.

No waiting any more: SYSTEM dead!
I will start from beginning.

How did you install this on the RPi?

I made a new installation:

  • Raspberry Pi 4B (2GB)
  • Download openHABian (version 2.5.4)
  • Raspberry started with a new SD card (openHABian with openHAB 2.5.4)
  • Waiting for long time and rebooted 2 times
  • Made the settings (update, upgrade system, time zone and locale)
  • All used add-ons as on openHAB 2.4 installed (including REST Documentation and RRD4j)
  • openHAB stopped
  • Configuration of openHAB 2.4.0 copied to 2.5.4
  • openHAB started
  • HABpanel configuration uploaded from 2.4

In HABpanel I can display my items for example from Homematic.

Problem:
But I cannot see the historic data from these values.
File rrd4j.persist exists and is filled with data.
File addons.config

:org.apache.felix.configadmin.revision:=L"19"
binding="astro,homematic,http1,network,ntp,openweathermap,systeminfo,weather1"
misc=""
package="standard"
persistence="rrd4j"
service.pid="org.openhab.addons"
transformation="javascript,jsonpath,map"
ui="dashboard,basic,paper,habpanel,homebuilder,restdocs"

I did not copy the old historical data from openHAB 2.4. New files with .rrd have been created.
I get a lot of these errors in \logs\openhab.log:

2020-04-20 13:46:03.766 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
     :                     :
     :                     :
     :                     :
2020-04-20 14:51:05.063 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 14:51:05.075 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 14:51:05.090 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

Also cannot query via the browser with
http://192.168.1.110:8080/rest/persistence/items?serviceId=rrd4j
This gives me the error message:

error	
message	"Persistence service not found: rrd4j"
http-code	400

Can any body understand what I made wrong and give me advises?
Or has somebody else problems with new installation 2.5.x and persistence RRDj4?

I’ve seen exactly this error in one other thread Openhab Web services stops and needs manual restarting but I don’t think a resolution was found.

Log into the karaf console and bundle:list | grep rrd4j. Does it show as installed and active?

That’s all I can find

openhab> bundle:list | grep 4j
104 x Active   x  80 x 0.8.0.v20190822-0801    x org.eclipse.lsp4j
105 x Active   x  80 x 0.8.0.v20190822-0801    x org.eclipse.lsp4j.jsonrpc
247 x Resolved x  80 x 1.14.0                  x openHAB RRD4j Persistence Bundle
openhab>

This is the start in the openhab.log:

2020-04-20 22:39:53.938 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.items'
2020-04-20 22:39:53.975 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Eingaenge.items'
2020-04-20 22:39:54.004 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Rollladen.items'
2020-04-20 22:39:54.053 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Servers.items'
2020-04-20 22:39:54.120 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Astro.items'
2020-04-20 22:39:54.172 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartPower_SDM530.items'
2020-04-20 22:39:54.258 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Schlafzimmer.items'
2020-04-20 22:39:54.289 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Test.items'
2020-04-20 22:39:54.307 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Gaestebad.items'
2020-04-20 22:39:54.344 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'KlimaDaten.items'
2020-04-20 22:39:54.424 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Korridor.items'
2020-04-20 22:39:54.456 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartPower_SDM120.items'
2020-04-20 22:39:54.499 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Allgemein.items'
2020-04-20 22:39:54.521 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Keller.items'
2020-04-20 22:39:54.551 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap.items'
2020-04-20 22:39:54.603 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Kueche.items'
2020-04-20 22:39:54.626 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Buero.items'
2020-04-20 22:39:54.653 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Kodi.items'
2020-04-20 22:39:54.660 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Weather.items'
2020-04-20 22:39:54.671 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Reduit.items'
2020-04-20 22:39:54.687 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Raum_Privatbad.items'
2020-04-20 22:39:55.089 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist'
2020-04-20 22:39:55.587 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'default.sitemap', using it anyway:
Sitemap should contain either only frames or none at all
2020-04-20 22:39:55.591 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap'
2020-04-20 22:39:55.668 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'myHome.sitemap', using it anyway:
Linkable widget should contain either only frames or none at all
2020-04-20 22:39:55.671 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'myHome.sitemap'
2020-04-20 22:39:55.929 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.things'
2020-04-20 22:39:55.947 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Servers.things'
2020-04-20 22:39:55.961 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap.things'
2020-04-20 22:39:55.969 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Allgemein.things'
2020-04-20 22:40:03.948 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Bodenheizung.rules'
2020-04-20 22:40:05.253 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Test.rules'
2020-04-20 22:40:11.531 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartMeter_SDM530.rules'
2020-04-20 22:40:12.543 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_woechentlich.rules'
2020-04-20 22:40:17.488 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OeV-Bus.rules'
2020-04-20 22:40:17.881 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Kodi.rules'
2020-04-20 22:40:19.853 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SmartMeter_SDM120.rules'
2020-04-20 22:40:26.966 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Temp_Feuchte.rules'
2020-04-20 22:40:28.357 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_monatlich.rules'
2020-04-20 22:40:29.089 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_jaehrlich.rules'
2020-04-20 22:40:33.009 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Temp_Feuchte_Hist.rules'
2020-04-20 22:40:33.455 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_Perioden.rules'
2020-04-20 22:40:34.451 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_woechentlich.rules'
2020-04-20 22:40:35.824 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Allgemeines.rules'
2020-04-20 22:40:36.601 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Soll_Temp.rules'
2020-04-20 22:40:37.295 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_jaehrlich.rules'
2020-04-20 22:40:38.410 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_taeglich.rules'
2020-04-20 22:40:39.470 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM120_taeglich.rules'
2020-04-20 22:40:46.197 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OeV-Bahn.rules'
2020-04-20 22:40:48.601 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Servers.rules'
2020-04-20 22:40:49.958 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Energie_SDM530_monatlich.rules'
2020-04-20 22:40:50.765 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.rules'
2020-04-20 22:40:51.581 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap.rules'
2020-04-20 22:40:55.763 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'OpenWeatherMap-new.rules'
2020-04-20 22:40:57.821 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2020-04-20 22:40:58.405 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'OpenWeatherMap.things' is either empty or cannot be parsed correctly!
2020-04-20 22:40:59.396 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.110:8080
2020-04-20 22:40:59.399 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.110:8443
2020-04-20 22:41:00.031 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2020-04-20 22:41:00.136 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2020-04-20 22:41:00.303 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2020-04-20 22:41:01.606 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:home every 60 seconds
2020-04-20 22:41:01.841 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:sun:home every 60 seconds
2020-04-20 22:41:02.006 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:moon:home every 60 seconds
2020-04-20 22:41:02.122 [INFO ] [o.internal.handler.AstroThingHandler] - Scheduled Positional job astro:moon:home every 60 seconds
2020-04-20 22:41:25.519 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 22:41:35.653 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 22:41:38.248 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 22:41:38.345 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 22:41:40.505 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 22:41:40.509 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 22:41:45.622 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

OK, the “Resolved” status indicates there is something wrong with that bundle. Try restarting it.

bundle:stop 247
bundle:start 247
bundle:list | grep -i rrd4j

Does it now show as “Active”?

so far

openhab> bundle:stop 247
openhab> bundle:start 247
openhab> bundle:list | grep -i rrd4j
247 x Active   x  80 x 1.14.0                  x openHAB RRD4j Persistence Bundle
openhab>

But I also get these errors

2020-04-20 23:15:05.057 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'
2020-04-20 23:15:54.142 [ERROR] [org.openhab.persistence.rrd4j       ] - bundle org.openhab.persistence.rrd4j:1.14.0 (247)[org.openhab.persistence.rrd4j] :  Cannot register component
java.lang.IllegalStateException: BundleContext is no longer valid
	at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:989) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.getBundle(BundleContextImpl.java:129) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.scr.impl.ComponentRegistry.checkComponentName(ComponentRegistry.java:226) ~[bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:442) [bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:314) [bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:269) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:380) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:264) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482) [osgi.core-6.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415) [osgi.core-6.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-6.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) [osgi.core-6.0.0.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.container.Module.start(Module.java:467) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) [org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.karaf.bundle.command.Start.executeOnBundle(Start.java:38) [bundleFile:?]
	at org.apache.karaf.bundle.command.BundlesCommand.doExecute(BundlesCommand.java:65) [bundleFile:?]
	at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:55) [bundleFile:?]
	at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [bundleFile:4.2.7]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [bundleFile:4.2.7]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [bundleFile:4.2.7]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
2020-04-20 23:15:54.163 [ERROR] [org.openhab.persistence.rrd4j       ] - bundle org.openhab.persistence.rrd4j:1.14.0 (247)[org.openhab.persistence.rrd4j.chartservlet] :  Cannot register component
java.lang.IllegalStateException: BundleContext is no longer valid
	at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:989) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.getBundle(BundleContextImpl.java:129) ~[org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.felix.scr.impl.ComponentRegistry.checkComponentName(ComponentRegistry.java:226) ~[bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.loadDescriptor(BundleComponentActivator.java:442) [bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:314) [bundleFile:?]
	at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:269) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:380) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) [bundleFile:?]
	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:264) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [bundleFile:?]
	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [bundleFile:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482) [osgi.core-6.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415) [osgi.core-6.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [osgi.core-6.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) [osgi.core-6.0.0.jar:?]
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.container.Module.start(Module.java:467) [org.eclipse.osgi-3.12.100.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) [org.eclipse.osgi-3.12.100.jar:?]
	at org.apache.karaf.bundle.command.Start.executeOnBundle(Start.java:38) [bundleFile:?]
	at org.apache.karaf.bundle.command.BundlesCommand.doExecute(BundlesCommand.java:65) [bundleFile:?]
	at org.apache.karaf.bundle.command.BundlesCommand.execute(BundlesCommand.java:55) [bundleFile:?]
	at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:84) [bundleFile:4.2.7]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:68) [bundleFile:4.2.7]
	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:86) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:599) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:526) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:415) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:416) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [bundleFile:4.2.7]
	at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [bundleFile:4.2.7]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
2020-04-20 23:16:00.015 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

OK, try uninstalling rrd4j and reinstalling it. If that doesn’t work the next thing to try is clear the cache. If that doesn’t work I’m all out of ideas and you should file an issue.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.