Remove obsolete add-ons during openHAB 4 upgrade
kristofejro opened this issue · 5 comments
kristofejro commented
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.
If JavaSript transformation add-on is not present in OH4 so it should be removed automatically.
openhab-bot commented
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 commented
It's not just the JS transformation that needs to be removed:
binding:
- darksky: openhab/openhab-addons#13037
- innogysmarthome: openhab/openhab-addons#14675
transformation:
- javascript: openhab/openhab-addons#13276
ui:
- cometvisu-php: openhab/openhab-webui#1594