I upgraded a few days ago, and all was working fine. Today, it works fine for a few minutes, then I can’t reach the UI (error 404/not found). The openhab service status says:
● openhab.service - openHAB - empowering the smart home
Loaded: loaded (/lib/systemd/system/openhab.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2024-01-30 18:09:15 CET; 7min ago
Docs: https://www.openhab.org/docs/
https://community.openhab.org
Main PID: 23026 (java)
Tasks: 237 (limit: 4430)
Memory: 536.3M
CPU: 11min 44.078s
CGroup: /system.slice/openhab.service
└─23026 /usr/bin/java -XX:-UsePerfData -Dopenhab.home=/usr/share/openhab -Dopenhab.conf=/etc/openhab -Dopenhab.runtime=/usr/share/openhab/runtime -Dopenhab.userdata>
janv. 30 18:12:55 odroidxu4 karaf[23026]: at java.base/java.lang.Thread.run(Thread.java:840)
janv. 30 18:14:34 odroidxu4 karaf[23026]: java.lang.IllegalStateException: Resource has no uri
janv. 30 18:14:34 odroidxu4 karaf[23026]: at org.apache.karaf.features.internal.service.Deployer.getBundleInputStream(Deployer.java:1631)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:904)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
janv. 30 18:14:34 odroidxu4 karaf[23026]: at java.base/java.lang.Thread.run(Thread.java:840)
But the core seems to works fine.
Today, I tried to install a binding from the UI, but it never ended, so I hit back on the navigator. Could it be related?
Ok.
Did you try to clear the cache of your openhab instance?
Also did you wait long enough (>20 min)? Sometimes there is just another restart of your openhab need.
Especially for installations with “not so powerful” devices I had some similar issues.
But the only problem was that I was too impatient…
This message clearly indicates that your installation is failing due to ongoing change.
It means that one of your addons or features interfere with OH 4 after you made update. The exec binding itself is part of official distro, thus It should not fail on its own. Do you have any other entries above ones you pasted?
Double check addons/ directory and marketplace entries you have for your install.