Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete add-ons during openHAB 3 upgrade #1172

Open
stefan-oh opened this issue Oct 19, 2020 · 2 comments
Open

Remove obsolete add-ons during openHAB 3 upgrade #1172

stefan-oh opened this issue Oct 19, 2020 · 2 comments

Comments

@stefan-oh
Copy link

As discussed in Installing and testing OH3 some ui configurations are obsolet with OH3. At least the entry "paper" in the configuration file /var/lib/openhab/config/org/openhab/addons.config needs to be deleted from every configuration that was taken over from a previous OH2 installation.
As other configuration files in the same folder are amended, my suggestion would be to delete the ui entries that are obsolete with OH3. As far as I know at least
paper
classic
dashboard
habmin

fall into that category (there might be more).

Some of these obsolete entries might be avoidable by uninstalling the respective addons BEFORE the migration, but afterwards it cannot be cleared up via GUI as only valid addons are shown in the GUI. Cleaning up by editing the file might not be something every user feels comfortable to do.

@kaikreuzer
Copy link
Member

Good point.
@BClark09 Do you see any chance to do that through some sed magic within the update script?

@wborn wborn changed the title cleanup /var/lib/openhab/config/org/openhab/addons.config when upgrading from OH2.x to OH3 Remove obsolete add-ons during openHAB 3 upgrade Mar 12, 2023
@wborn
Copy link
Member

wborn commented Mar 12, 2023

When #1481 gets fixed we might be able to backport it to OH3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants