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 4 upgrade #1481

Open
kristofejro opened this issue Mar 12, 2023 · 5 comments
Open

Remove obsolete add-ons during openHAB 4 upgrade #1481

kristofejro opened this issue Mar 12, 2023 · 5 comments

Comments

@kristofejro
Copy link

After upgrade from latest 3.4 Milestone Build to 4.0.0.M1 Milestone Build I have some warnings in log during the startup:

2023-03-12 06:45:04.811 [WARN ] [core.karaf.internal.FeatureInstaller] - The transformation add-on 'javascript' does not exist - ignoring it.
2023-03-12 06:46:04.798 [WARN ] [core.karaf.internal.FeatureInstaller] - The transformation add-on 'javascript' does not exist - ignoring it.

In MainUI in Transformation Add-ons section there is no JavaSript transformation add-on listed but when going to karaf console I can see javascript transformation listed:

----------------------------------------------------------------
Pid:            org.openhab.addons
BundleLocation: mvn:org.openhab.core.bundles/org.openhab.core.karaf/4.0.0.M1
Properties:
   automation =
   binding = astro,ipcamera,mail,mqtt,icalendar,http,ntp,networkupstools,zwave,exec,network,openweathermap
   legacy = false
   misc = ,metrics
   package = standard
   persistence = mapdb,influxdb
   remote = true
   service.pid = org.openhab.addons
   transformation = map,jsonpath,regex,javascript
   ui = basic,habpanel
----------------------------------------------------------------

As @J-N-K advised I am opening this issue for future fix.

Fix

If JavaSript transformation add-on is not present in OH4 so it should be removed automatically.

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-4-0-milestone-discussion/145133/37

@wborn
Copy link
Member

wborn commented Mar 12, 2023

If you skip OH3 completely and upgrade from OH2 to OH4 there is also #1172.

@wborn wborn changed the title Udapte to openhab 4.0 Milestone Build does bot remove JavaSript transformation add-on Remove obsolete add-ons during openHAB 4 upgrade Mar 12, 2023
@wborn
Copy link
Member

wborn commented Mar 12, 2023

@lolodomo
Copy link
Contributor

lolodomo commented May 23, 2023

Imperihome also removed: openhab/openhab-addons#15014

@lolodomo
Copy link
Contributor

lolodomo commented Dec 3, 2023

Another one for OH 4.1: openhab/openhab-addons#15972

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

No branches or pull requests

5 participants
@openhab-bot @lolodomo @wborn @kristofejro and others