openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
214 stars 235 forks source link

HabPanel doesn't load habpanel.config after migration to OH3 #700

Open schmidmuc opened 3 years ago

schmidmuc commented 3 years ago

Which UI are you reporting an issue for?

HABPanel

The problem

Before migration from OH2 to OH3 I created a backup and I restored it partially later on.

For HabPanel this didn’t work as HabPanel under OH3 doesn’t show the last, backuped version, but some (very) old version of the Habpanel config.

Doublechecked the /var/lib/openhab/config/org/openhab/habpanel.config and found some elements for which I know were created quite short before migration, and I found them written in the habpanel.config file.

It seems that OH3 doesn’t load the HabPanel config from the above mentioned file but from another place (where there might be an older version stored)

Expected behavior

OH3 should show the same HabPanel views as before migration.

Steps to reproduce

Don't know.

Your environment

runtimeInfo: version: 3.0.0 buildString: Release Build locale: de_DE systemInfo: configFolder: /etc/openhab userdataFolder: /var/lib/openhab logFolder: /var/log/openhab javaVersion: 11.0.9.1 javaVendor: Azul Systems, Inc. javaVendorVersion: Zulu11.43+55-CA osName: Linux osVersion: 5.4.0-40-generic osArchitecture: amd64 availableProcessors: 4 freeMemory: 554679984 totalMemory: 1256194048 bindings:

schmidmuc commented 3 years ago

Seems that others face the same problem, please see the community forum discussions here https://community.openhab.org/t/oh3-habpanel-shows-old-version-after-migration-from-oh2-5-to-oh3/111313/4