after migrating from textual config to UI based config yesterday, everything runs just fine after restart.
after that I tried to convert my first rule from rulesDSL to JSRule today…
to test the functionality of my new rule, I’ve deactivated the DSL rule, and saved the new rule in UI.
then I restarted openHAB to see if the rule is working like expected, but to my surprice openhab is starting up without logging anything, no signs of life in android app, webUI…
systemctl status openhab
returns
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-03-12 10:12:04 CET; 13min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 77 (java)
Tasks: 32 (limit: 4915)
Memory: 806.8M
CGroup: /system.slice/openhab.service
└─77 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata=/var/lib/openhab
Mar 12 10:12:12 openhab3 karaf[77]: at org.eclipse.osgi.storage.Storage.saveGenerations(Storage.java:1389)
Mar 12 10:12:12 openhab3 karaf[77]: at org.eclipse.osgi.storage.Storage.save0(Storage.java:1339)
Mar 12 10:12:12 openhab3 karaf[77]: at org.eclipse.osgi.storage.Storage.save(Storage.java:1308)
Mar 12 10:12:12 openhab3 karaf[77]: at org.eclipse.osgi.internal.framework.StorageSaver$StorageSaverTask.run(StorageSaver.java:31)
Mar 12 10:12:12 openhab3 karaf[77]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
Mar 12 10:12:12 openhab3 karaf[77]: at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
Mar 12 10:12:12 openhab3 karaf[77]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
Mar 12 10:12:12 openhab3 karaf[77]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
Mar 12 10:12:12 openhab3 karaf[77]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Mar 12 10:12:12 openhab3 karaf[77]: at java.base/java.lang.Thread.run(Thread.java:829)
lines 1-21/21 (END)
any idea, how to revert this (deleting the rule from db or something?!?)
I would have posted the ?malicious? JSRule, but I think while OH not running there’s no chance to see it without webUI