Problems with startup after migration from PI to NAS

Hi,

i’m pretty new to openhab2 and have a EIB/KNX based house in Germany, i have started with a RPI3 but decided to move the openhab to my NAS server (Debian based running Openmediavault).

After installation i copied the configuration files from RPI3 to the NAS and have the following issue:
I have to clean up /var/lib/openhab2/cache before any restart, otherwise openhab2 fails to start.
as workaround i could modify the startup to delete the cache but this is not the correct way :slight_smile: could someone give me a hint how to solve this issue ?

here the log:

problem after restart “service openhab2 restart”

root@T2:/var/log# tail -f openhab2/openhab.log
2017-09-14 10:04:09.341 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Stopped HABmin servlet
2017-09-14 10:04:09.390 [WARN ] [ore.internal.events.OSGiEventManager] - Could not find an Event Factory for the event type ‘ItemChannelLinkRemovedEvent’.
2017-09-14 10:04:09.391 [WARN ] [ore.internal.events.OSGiEventManager] - Could not find an Event Factory for the event type ‘ItemChannelLinkRemovedEvent’.
2017-09-14 10:04:09.391 [WARN ] [ore.internal.events.OSGiEventManager] - Could not find an Event Factory for the event type ‘ItemChannelLinkRemovedEvent’.
2017-09-14 10:04:09.391 [WARN ] [ore.internal.events.OSGiEventManager] - Could not find an Event Factory for the event type ‘ItemChannelLinkRemovedEvent’.
2017-09-14 10:04:09.391 [WARN ] [ore.internal.events.OSGiEventManager] - Could not find an Event Factory for the event type ‘ItemChannelLinkRemovedEvent’.
2017-09-14 10:04:09.391 [WARN ] [ore.internal.events.OSGiEventManager] - Could not find an Event Factory for the event type ‘ItemChannelLinkRemovedEvent’.
2017-09-14 10:04:09.437 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2017-09-14 10:04:09.440 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2017-09-14 10:04:09.442 [INFO ] [.dashboard.internal.DashboardService] - Stopped dashboard
2017-09-14 10:04:48.684 [WARN ] [.jetty.internal.ServerControllerImpl] - SSL password and SSL keystore password must be set in order to enable SSL.
2017-09-14 10:04:48.697 [WARN ] [.jetty.internal.ServerControllerImpl] - SSL connector will not be started
2017-09-14 10:04:48.893 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to de_DE, Location set to 50.0956362,8.7760843
2017-09-14 10:04:49.723 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 0a5301ec-ca99-4d7b-b8d5-fb89ac1d9558, base URL = http://localhost:8080)
2017-09-14 10:04:51.478 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'fritzbox.items’
2017-09-14 10:04:51.611 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Haus.items’
2017-09-14 10:04:52.675 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-09-14 10:04:52.731 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 0a5301ec-ca99-4d7b-b8d5-fb89ac1d9558, base URL = http://localhost:8080)
2017-09-14 10:04:52.762 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2017-09-14 10:04:53.183 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Haus.sitemap’
2017-09-14 10:04:53.299 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'haus.things’
2017-09-14 10:04:53.754 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.0.5:8080
2017-09-14 10:04:53.754 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.0.5:8443

after cleaning /var/lib/openhab2/cache

2017-09-14 10:25:21.077 [WARN ] [.jetty.internal.ServerControllerImpl] - SSL password and SSL keystore password must be set in order to enable SSL.
2017-09-14 10:25:21.083 [WARN ] [.jetty.internal.ServerControllerImpl] - SSL connector will not be started
2017-09-14 10:25:21.136 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to de_DE, Location set to 50.0956362,8.7760843
2017-09-14 10:25:23.556 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.0.5:8080
2017-09-14 10:25:23.557 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.0.5:8443
2017-09-14 10:25:24.693 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Haus.sitemap’
2017-09-14 10:25:24.834 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'haus.things’
2017-09-14 10:25:24.964 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'fritzbox.items’
2017-09-14 10:25:25.002 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Haus.items’
2017-09-14 10:25:26.934 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 0a5301ec-ca99-4d7b-b8d5-fb89ac1d9558, base URL = http://localhost:8080)
2017-09-14 10:25:31.654 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:hub:Kino’ takes more than 5000ms.
2017-09-14 10:25:33.509 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:device:Kino:23288795’ takes more than 5000ms.
2017-09-14 10:25:33.509 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:device:Kino:22898562’ takes more than 5000ms.
2017-09-14 10:25:33.522 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:device:Kino:22968685’ takes more than 5000ms.
2017-09-14 10:25:33.523 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:device:Kino:40757966’ takes more than 5000ms.
2017-09-14 10:25:36.657 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:device:Kino:26374537’ takes more than 5000ms.
2017-09-14 10:25:36.839 [INFO ] [ternal.dhcp.DHCPPacketListenerServer] - DHCP request packet listener online
2017-09-14 10:25:36.849 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:local
2017-09-14 10:25:36.949 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:moon:local
2017-09-14 10:25:38.064 [INFO ] [b.core.service.AbstractActiveService] - FritzboxTr064 Refresh Service has been started
2017-09-14 10:25:38.183 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2017-09-14 10:25:38.247 [INFO ] [nx.internal.connection.KNXConnection] - Established connection to KNX bus on 192.168.0.8:3671 in mode TUNNEL.
2017-09-14 10:25:38.267 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-09-14 10:25:38.325 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-09-14 10:25:38.349 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-09-14 10:25:38.493 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-09-14 10:25:38.513 [WARN ] [ome.core.thing.internal.ThingManager] - Initializing handler for thing ‘harmonyhub:device:Kino:32188557’ takes more than 5000ms.
2017-09-14 10:25:39.199 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0’
2017-09-14 10:25:39.251 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2017-09-14 10:25:39.254 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - Update networkKey
2017-09-14 10:25:39.259 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2017-09-14 10:25:39.259 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2017-09-14 10:25:39.289 [WARN ] [mon.registry.AbstractManagedProvider] - Could not update element with key ntp:ntp:local in ManagedThingProvider, because it does not exists.
2017-09-14 10:25:42.282 [WARN ] [ssage.ApplicationCommandMessageClass] - NODE 5: Not initialized yet, ignoring message.
2017-09-14 10:25:42.283 [WARN ] [ssage.ApplicationCommandMessageClass] - NODE 3: Not initialized yet, ignoring message.
2017-09-14 10:25:42.284 [WARN ] [ssage.ApplicationCommandMessageClass] - NODE 2: Not initialized yet, ignoring message.
2017-09-14 10:25:42.392 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found
2017-09-14 10:25:42.393 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 2: Node found
2017-09-14 10:25:42.393 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 3: Node found
2017-09-14 10:25:42.394 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 4: Node found
2017-09-14 10:25:42.394 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 5: Node found
2017-09-14 10:25:42.394 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 6: Node found