2023-04-25 16:09:01.016 [WARN ] [core.karaf.internal.FeatureInstaller] - The transformation add-on 'javascript' does not exist - ignoring it.
2023-04-25 16:10:00.973 [WARN ] [core.karaf.internal.FeatureInstaller] - The transformation add-on 'javascript' does not exist - ignoring it.
Ich finde jedoch keinen Ansatzpunkt, was ich machen muss, bzw. wo ich schauen muss, damit ich diese Meldung eliminieren kann. Ich habe auch kein Java-Scripting installiert.
@udo1toni
Hallo Udo,
ich habe ganz normal ein Update(Upgrade) über "openhab-config" gemacht, über Menüpunkt 02. Allerdings zuerst von OH-3.4.3 auf OH-4.0.0.M1. Aber da hatte ich auch schon die Warnungen, hab sie aber einfach ignoriert , da ich bisher keine Einbußen feststellen konnte.
Systeminfo:
In 4.0.0-M2 gibt es nur die SCRIPT Transformation (also statt JS, kann dafür alle Scriptsprachen, die von openHAB unterstützt werden).
Aber bevor Du jetzt anfängst, die Konfiguration anzupassen: im aktuellen Snapshot ist das bereits anders (und um so vieles besser).
Mein Tipp: Wenn Du die JS Transformation nicht nutzt, warte einfach auf 4.0.0-M3.
openHAB4.3.3 stable in einem Debian-Container (bookworm) (Proxmox 8.3.5, LXC), mit openHABian eingerichtet
In M2 geht es schon mit der neuen "Transformation". Aber es gibt noch kein Migration-Tool, ist aber in Arbeit (https://github.com/openhab/openhab-core/pull/3268). Manuell muss das, was vorher in "function" stand in "toItemScript" eingetragen werden und in "toHandlerScript" muss "|input" eingetragen werden.
Wenn Du die addons.cfg zur Installation der Add-ons verwendest, kannst Du "javascript" da aus den transformations löschen. Wenn Du die Add-ons über UI installierst: Meldung ignorieren, tut nicht weh, werde ich vor dem Release noch beseitigen.
# The installation package of this openHAB instance
#
# Valid options:
# - standard : Standard setup for normal use of openHAB with persistence (rrd4j) and additional UI add-ons (basic,habpanel).
# - minimal : Installation of core components without additional add-ons.
#
# Note: The add-ons in the installation package are only installed at the VERY FIRST START of openHAB
# Note: If you want to specify your add-ons yourself through entries below, set the package to "minimal"
# as otherwise your definition might be in conflict with what the installation package defines.
#
package = standard
# Access Remote Add-on Repository
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons. (default is true)
#
#remote = true
# Some add-on services may provide add-ons where compatibility with the currently running system is not expected.
# Enabling this option will include these entries in the list of available add-ons.
#
#includeIncompatible = false
# The add-on configuration in the lists below is applied EVERY TIME openHAB is started.
# Add-ons installed using the UI that do not occur in the lists will be uninstalled each startup.
# When lists are commented again any add-ons in the list remain installed and are not removed.
# So if you want to uninstall all add-ons part of a list, first remove all add-ons from it, restart
# openHAB and then comment the list.
# A comma-separated list of automation services to install (e.g. "automation = groovyscripting")
#automation =
# A comma-separated list of bindings to install (e.g. "binding = knx,sonos,zwave")
#binding =
# A comma-separated list of miscellaneous services to install (e.g. "misc = openhabcloud")
#misc =
# A comma-separated list of persistence services to install (e.g. "persistence = jpa,rrd4j")
#persistence =
# A comma-separated list of transformation services to install (e.g. "transformation = jsonpath,map")
#transformation =
# A comma-separated list of UIs to install (e.g. "ui = basic,habpanel")
#ui =
# A comma-separated list of voice services to install (e.g. "voice = googletts,marytts")
#voice =
Hast eventuell ein konkretes Beispiel ? Hängt das mit textbasierenden Items zusammen ?
Ansonsten ignoriere ich die Warnung, wie du und Udo schon geschrieben haben.
Danke nochmals.
Pi5/8GB(PiOS Lite 64-bit(bookworm)/SSD 120GB - OH4.3.5 openhabian