[SOLVED] Karaf error when starting openhab2 on rpi3

Do I need to change the permission to Openhab first or just do what you quoted?

no need to change the permissions
openhab-cli clean-cache will remove both tmp and cache subdirs
OH2 will recreate them with the proper permissions when it starts
just execute the commands as listed

i still donā€™t understand how you ended up with files being owned by root:root within these 2 subfoldersā€¦
I have seen this before and I donā€™t know which steps are done to end up with this situationā€¦
(maybe you shouldnā€™t sudo openhab-cli but simply openhab-cli ? but this should not be the problem)

`2018-12-21 23:20:40.078 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '53.68352473443406,-2.91215297395416'.

2018-12-21 23:20:54.047 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ā€˜home.rulesā€™
2018-12-21 23:20:54.134 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ā€˜home.rulesā€™ is either empty or cannot be parsed correctly!2018-12-21 23:21:00.243 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.113:8080
2018-12-21 23:21:00.248 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.113:8443
2018-12-21 23:21:05.956 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ā€˜home.thingsā€™
2018-12-21 23:21:05.973 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ā€˜home.thingsā€™ is either empty or cannot be parsed correctly!
2018-12-21 23:21:08.905 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ā€˜home.itemsā€™
2018-12-21 23:21:13.136 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-12-21 23:21:14.418 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ā€˜home.sitemapā€™
2018-12-21 23:22:10.258 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2018-12-21 23:22:10.552 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-12-21 23:22:11.358 [INFO ] [etvisu.internal.servlet.CometVisuApp] - Started CometVisu UI at /cometvisu serving ā€¦/ā€¦/ā€¦/CometVisu/src/
2018-12-21 23:22:15.793 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 75d6ab02-7c9a-47d7-9dd9-d8b6e57f6cf2, base URL = http://localhost:8080)
2018-12-21 23:22:22.077 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2018-12-21 23:22:24.295 [ERROR] [ipse.smarthome.io.mqttembeddedbroker] - bundle org.eclipse.smarthome.io.mqttembeddedbroker:0.10.0.oh240 (213)[org.eclipse.smarthome.io.mqttembeddedbroker.internal.EmbeddedBrokerServiceImpl(299)] : The activate method has thrown an exception
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:433) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:425) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?]
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128) ~[?:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558) ~[?:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1283) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) ~[?:?]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:989) ~[?:?]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254) ~[?:?]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:364) ~[?:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[?:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) ~[?:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-12-21 23:22:24.394 [WARN ] [ipse.smarthome.io.mqttembeddedbroker] - FrameworkEvent WARNING - org.eclipse.smarthome.io.mqttembeddedbroker
org.osgi.framework.ServiceException: org.apache.felix.scr.impl.manager.SingleComponentManager.getService() returned a null service object
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:232) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:508) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:624) ~[?:?]
at com.eclipsesource.jaxrs.publisher.internal.ResourceTracker.addingService(ResourceTracker.java:39) ~[?:?]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) ~[?:?]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) ~[?:?]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[?:?]
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[?:?]
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:920) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry$1.run(ServiceRegistry.java:805) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry$1.run(ServiceRegistry.java:1) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:803) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127) ~[?:?]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:469) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:891) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:877) ~[?:?]
at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:128) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:944) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:727) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:661) ~[?:?]
at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:427) ~[?:?]
at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:665) ~[?:?]
at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339) ~[?:?]
at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:381) ~[?:?]
at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) ~[?:?]
at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:263) ~[?:?]
at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) ~[?:?]
at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) ~[?:?]
at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) ~[?:?]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482) ~[?:?]
at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415) ~[?:?]
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) ~[?:?]
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) ~[?:?]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher$1.run(EquinoxEventPublisher.java:124) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher$1.run(EquinoxEventPublisher.java:1) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:122) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) ~[?:?]
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) ~[?:?]
at org.eclipse.osgi.container.Module.start(Module.java:467) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:383) ~[?:?]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402) ~[?:?]
at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:161) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1116) ~[?:?]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:997) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1025) ~[?:?]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:964) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:?]
at java.lang.Thread.run(Thread.java:748) ~[?:?]
2018-12-21 23:22:24.428 [ERROR] [ipse.smarthome.io.mqttembeddedbroker] - bundle org.eclipse.smarthome.io.mqttembeddedbroker:0.10.0.oh240 (213)[org.eclipse.smarthome.io.mqttembeddedbroker.internal.EmbeddedBrokerServiceImpl(299)] : The activate method has thrown an exception
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:433) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:425) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:?]
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128) ~[?:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558) ~[?:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1283) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) ~[?:?]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) ~[?:?]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:989) ~[?:?]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254) ~[?:?]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:364) ~[?:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[?:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) ~[?:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) ~[?:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
2018-12-21 23:22:24.923 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
`

looks like you are back up now

time to clean up some other issues:

do you need the embedded MQTT Broker?
looks like you are using already another Broker on your system (maybe Mosquitto?) that is conflicting with the embedded.

If you are using an external broker, uninstall the embedded broker addon

Ps: When starting code fences, use: ``` in one line, paste the stuff in the next line and at the end close the code with another ``` in a new line

like this:
```
code/logā€¦
code/logā€¦
code/logā€¦
code/logā€¦
code/logā€¦
code/logā€¦
```

2018-12-21 23:31:33.089 [INFO ] [core.karaf.internal.FeatureInstaller] - Uninstalled 'openhab-misc-mqttbroker'
2018-12-21 23:38:00.070 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:00.076 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:00.081 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.534 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.541 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.546 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.743 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.748 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:03.752 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.243 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.245 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.248 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.407 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.410 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:07.414 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.057 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.061 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.067 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.299 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.305 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:09.310 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:12.811 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:12.815 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:12.820 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:13.012 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:13.015 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:13.019 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:15.006 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 510564 failed: null
2018-12-21 23:38:15.012 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-21 23:38:43.633 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:43.637 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Bedroom_Temperature' for widget org.eclipse.smarthome.model.sitemap.Text
2018-12-21 23:38:43.640 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text

this is another kind of problem. In your sitemap, you refer to an Item with a name Bedroom_Temperature
does this Item exist?

this is just a warning. have you configured properly the openhabcloud connector?

this needs some attention as well. check the contents of this file.

Bedroom_Temperature does exist in both files but doesnā€™t have any mqtt lines associated with it yet.

I have had the cloud connector configured for months and it has been fine.

The home.things file is empty apart from /this is the things file
Change to //this I the things file
and I think thatā€™s solved it

it doesnā€™t have to have any binding (mqtt or other) configured
it just has to exist (with a name) if you need to use it in your sitemap
can you post its definition from the items file to check it?
there is a reason why your sitemap is screaming that it cannot find it :slight_smile:

correct. comments are with 2 forward slashes.

Number  Bed_Temperature  "temperature [%.1f]" <temperature>

Ok, here are your Java upgrade instructions: follow them step by step:

sudo su
apt-get update && apt-get install dirmngr
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/oracle.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | sudo tee -a /etc/apt/sources.list.d/oracle.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update && apt-get install oracle-java8-installer oracle-java8-set-default
apt-get purge zulu-embedded-8 oracle-java8-jdk

say goodbye to Zulu, say hello to Oracle with apt

check with

java -version

openHAB2 is not so smart yet to translate Bed to Bedroom :slight_smile: We donā€™t have Machine Learning algorithms embedded into OH2 yet :wink:

remember the error:

Cannot retrieve item 'Bedroom_Temperature'

Java updated. Item updated but still my items arenā€™t responding and they log is saying jetty error

I need to see the logs :slight_smile:

what do you mean ā€œarenā€™t respondingā€? when using the sitemap? directly or via openHAB Cloud?

Both basic ui on web interface and cloud, the items for example a light responds to commands I send from my mqtt tool though. So somethingā€™s missing somewhere

most likely your MQTT addon has lost its connection to the Broker
which broker are you using? Mosquitto?

since you recently upgraded to 2.4.0 stable, keep in mind that the existing MQTT v1 binding has been automagically uninstalled for you since you are supposed to work with the new MQTT v2 binding.

To bring back MQTT v1 to life, enable Legacy Addons from PaperUI and install MQTT v1 again.

I have enabled legacy adding and saved configuration but the v1 mqtt binding isnā€™t appearing?

restart OH2 (it shouldnā€™t be needed) just to be sure
check again in PaperUI the addons. it should appear

Restarted OH2 and I cannot access the web interface now I get this message on my browser

HTTP ERROR 404

Problem accessing /start/index. Reason:

Not Found

Powered by Jetty:// 9.4.11.v20180605

UPDATE!
Can now access web interface and all my items are responding :grimacing:

be patient :slight_smile:
you are running OH2 on an rPi3 which takes a few seconds to startup the OH2 service