Openhab initializes the pathname only at the first start
Current Behavior
I,m extract OH2 to folder
C:\NewFolder\openhab-offline-2.0.0-SNAPSHOT
Then run it and wait 1 min. Stop OH2.
Then MOVE OH to next folder
C:\NewFolder2\openhab-offline-2.0.0-SNAPSHOT
Delete C:\NewFolder
Then Start OH2 from C:\NewFolder2\openhab-offline-2.0.0-SNAPSHOT
Log file:
2016-12-02 09:09:10.987 [WARN ] [org.apache.felix.fileinstall ] - C:\NEWFOL~1\OPENHA~1.0-S\addons does not exist, please create it.
2016-12-02 09:09:10.992 [WARN ] [org.apache.felix.fileinstall ] - Root path does not exist: C:\NewFolder\openhab-offline-2.0.0-SNAPSHOT\addons
2016-12-02 09:09:16.455 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-12-02 09:09:16.537 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-12-02 09:09:16.570 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-12-02 09:09:16.612 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
Problem
Openhab initializes the pathname only at the first start
Current Behavior
I,m extract OH2 to folder
Then run it and wait 1 min. Stop OH2.
Then MOVE OH to next folder
Delete C:\NewFolder
Then Start OH2 from C:\NewFolder2\openhab-offline-2.0.0-SNAPSHOT
Log file:
And OH2 create folder with OLDPATH.
4848
Solution
Update all pathname after each Openhab start.
Your Environment