I did startOH 4 with a fresh openhabian install on a raspi4 and used a BackUp from 3.4.2 to get all things, items etc…
Since I used JavaScript Transformation before, the restore from BackUp did put it on the “list” for installs.
How can I remove this transformation from this “list”?
The file “/var/lib/openhab/config/org/openhab/addons.config” does show this entry, but that is not a place for user interference (IMHO).
Perhaps not but that’s the only way I know of to remove it. It’s not actually installed so you can’t do it with karaf console nor the REST API. If you are not already using /etc/openhab/addons.cfg you probably don’t want to start doing so now.
But my problem is the same. Hundreds of warnings like
2023-07-29 01:28:17.161 [WARN ] [s.internal.SingleValueTransformation] - couldn’t transform response because transformationService of type ‘JS’ is unavailable
Hi, ich habe oh4 im qnap container und scheinbar keine openhab-cli console
Wenn ich den container beende, und im addons.config
transformation=“exec,javascript,map,regex,xpath,jsonpath”
javascript entferne… ist es nach dem neustart wieder da…weil es wohl irgendwo in der db och steht… oder ?
Sorry, didn’t recognized it yesterday when looking quick for a solution…
I have openhab running in a qnap container and migrated via a new docke/composer file to version 4. I have mounted volumes outsite the container with all my items, tthings etc. files and for sure i also edited the addons.config… once after having stopped the container… once within the running container… allways it come back! I don’t have the openhab-cli console or the path is not mounted… i cannot run it… i only have console access to the container… where to look for openhab-cli maybe or which oher solution is possible? is there another adaption to made for using oh4 instead of oh3?
I have the same issue on my system. I mv addons.cfg to addons.cfg.bak. I get this message on every reboot and if i remove or install bindings.
There is no .js on my sitemap.
This will edit both files:
/var/lib/openhab/config/org/openhab/addons.config
and
/var/lib/openhab/etc/org.openhab.addons.cfg
Important is, that you check your list before you set transformation. Only javascript isn’t needed here. I copy what i get in list and remove javascript.
My list look like this: regex,jsonpath,exec,map,regex,jinja