Openhab-cli failure

Hi forum!

I cleaned my cache, and now the openhab-cli console want start.
Here is the error

15:16:18.916 [Framework Event Dispatcher: Equinox Container: 483cecca-0320-422a-9038-0d21abbd7a8c] ERROR Events.Framework - FrameworkEvent ERROR
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.worxlandroid [21]
  Unresolved requirement: Import-Package: org.openhab.core.config.discovery

	at org.eclipse.osgi.container.Module.start(Module.java:463) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1847) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1840) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1783) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1745) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1667) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234) [org.eclipse.osgi-3.17.200.jar:?]
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345) [org.eclipse.osgi-3.17.200.jar:?]

can anybody help??

Maybe you should give a little more info. Operating system, what did you do to clear the cache, etc.

I have had it once that openhab failed to start after clearing the cache on my Debian (Rapberry pi OS). That was due to me logging in as another user (not openhab) and using sudo to clear the cache. As a result directories were re-created with group/owner root causing openhab not having access to the required directories.

Are there more messages from “dmesg” or “systemctl status openhab”? Supposing you are on a linux machine as well? Again give as much info as possible. Not that I can be of much help (I have a basic linux understanding and regularly need the help of ggle to find the right commands), but may be others can when you provide more info.

OK,

  • I am on ubuntu server 22.04 - Obenhab 3.4.4
  • I cleared the cashe with: sudo service openhab stop; sudo openhab-cli clear-cache
    - I cleared the cashe because I don´t see any binding in the Main-UI (exept the community bindings)
    (Maybe it has something to do with, that zulu11 java had an update I think last Wednesday???)
  • Openhab has no errors in openhab.log, but the website is not running.
  • When I want to login in the openhab-cli console I get the error: Failed to get the session.

No real solution, but update to Openhab 4.0 cleared the error…