Hi Folks,
TL;DR: It seems to be snapshot related. I’ll try to track it down to why this is happening.
I really hope you can help me to track the issue I’m having as to fix the issue for others - especially newcomers.
I’ve spend this sunday trying to migrate from 2.5.10 to 3.1.0~S2147-1 without success. I’ve made the same process in a test VM (debian) to confirm my experience and made a snapshot.
Installing openhab3 was successful and it starts up. UI is accessible and a user is being created.
However, after a few seconds (around 40), the UI is not accessible anymore - just a dark page (not blank - I’m in dark mode):
While the page is usable, only the bottom tabs “do something”. Other options are not doing anything.
In the openhab.log, there is no clue as to any error.
I increased the loglevel to DEBUG and cleared the cookies. Then, I need to relogin and see the startpage as in image 1. When clicking “Einstellungen / Settings”, I notice between the dozens of information this:
2021-01-17 20:27:43.828 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.internal.resources.SystemInfoResource, request path : /ui/tiles
2021-01-17 20:27:43.840 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.auth.internal.TokenResource, request path : /ui/tiles
2021-01-17 20:27:43.839 [DEBUG] [org.eclipse.jetty.server.HttpInput ] - HttpInputOverHTTP@61cb99e9[c=2,q=1,[0]=EOF,s=STREAM] read 2 from Content@276aeb2f{HeapByteBufferR@5760cdcd[p=1218,l=1218,c=8192,r=
0]={POST /rest/events...361056831\r\n\r\n[]<<<>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}}
2021-01-17 20:27:43.841 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.automation.rest.internal.ModuleTypeResource, request path : /ui/tiles
2021-01-17 20:27:43.841 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.addons.AddonResource, request path : /ui/tiles
2021-01-17 20:27:43.841 [DEBUG] [.eclipse.jetty.server.HttpConnection] - releaseRequestBuffer HttpConnection@41447b8e::SocketChannelEndPoint@ebe9e12{/10.0.0.58:53805<->/10.0.0.93:8080,OPEN,fill=-,flush=-
,to=154/30000}{io=0/0,kio=0,kro=1}->HttpConnection@41447b8e[p=HttpParser{s=END,2 of 2},g=HttpGenerator@3b7033ba{s=START}]=>HttpChannelOverHttp@7971b5{r=6,c=false,c=false/false,a=DISPATCHED,uri=//10.0.0.9
3:8080/rest/events/states/abc7cd65-b9c3-4357-b54d-51fb6f7fa9ba,age=111}
2021-01-17 20:27:43.841 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.binding.BindingResource, request path : /ui/tiles
2021-01-17 20:27:43.842 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.config.ConfigDescriptionResource, request path : /ui/tiles
2021-01-17 20:27:43.842 [DEBUG] [clipse.jetty.server.HttpChannelState] - onEof HttpChannelState@446f562{s=DISPATCHED a=NOT_ASYNC i=true r=IDLE w=false}
2021-01-17 20:27:43.842 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.discovery.DiscoveryResource, request path : /ui/tiles
2021-01-17 20:27:43.843 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.service.ConfigurableServiceResource, request path : /ui/tiles
2021-01-17 20:27:43.843 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.sse.SseResource, request path : /ui/tiles
2021-01-17 20:27:43.843 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.swagger.impl.OpenApiResource, request path : /ui/tiles
2021-01-17 20:27:43.842 [DEBUG] [clipse.jetty.server.HttpChannelState] - onEof HttpChannelState@446f562{s=DISPATCHED a=NOT_ASYNC i=true r=READY w=false}
2021-01-17 20:27:43.845 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.persistence.PersistenceResource, request path : /ui/tiles
2021-01-17 20:27:43.845 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.item.ItemResource, request path : /ui/tiles
2021-01-17 20:27:43.845 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.automation.rest.internal.RuleResource, request path : /ui/tiles
2021-01-17 20:27:43.845 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.link.ItemChannelLinkResource, request path : /ui/tiles
2021-01-17 20:27:43.845 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.channel.ChannelTypeResource, request path : /ui/tiles
2021-01-17 20:27:43.846 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.profile.ProfileTypeResource, request path : /ui/tiles
2021-01-17 20:27:43.846 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.thing.ThingTypeResource, request path : /ui/tiles
2021-01-17 20:27:43.851 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.thing.ThingResource, request path : /ui/tiles
2021-01-17 20:27:43.852 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.core.internal.discovery.InboxResource, request path : /ui/tiles
2021-01-17 20:27:43.853 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.sitemap.internal.SitemapResource, request path : /ui/tiles
2021-01-17 20:27:43.861 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - Resource class org.openhab.core.io.rest.ui.internal.UIResource may get selected, request path : org.openhab.core.io.rest.ui.internal.UIResource, resource class @Path : /ui/tiles
2021-01-17 20:27:43.861 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.ui.icon.internal.IconSetResource, request path : /ui/tiles
2021-01-17 20:27:43.862 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.core.io.rest.voice.internal.VoiceResource, request path : /ui/tiles
2021-01-17 20:27:43.862 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - No resource class match for org.openhab.ui.habpanel.internal.rest.HABPanelResource, request path : /ui/tiles
2021-01-17 20:27:43.862 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - Resource class org.openhab.core.io.rest.ui.internal.UIResource has been selected, request path : org.openhab.core.io.rest.ui.internal.UIResource, resource class @Path : /ui/tiles
2021-01-17 20:27:43.862 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - Trying to select a resource operation on the resource class org.openhab.core.io.rest.ui.internal.UIResource
2021-01-17 20:27:43.862 [DEBUG] [rg.apache.cxf.jaxrs.utils.JAXRSUtils] - Resource operation getAll may get selected
Is there some feature missing? Why?
features:list returns:
openhab> feature:list | grep -v Uninstalled
Name │ Version │ Required │ State │ Repository │ Description
──────────────────────────────────────────────────┼──────────────────┼──────────┼─────────────┼───────────────────────────────┼───────────────────────────────────────────────────
feature │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Features Support
shell │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Karaf Shell
deployer │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Karaf Deployer
wrapper │ 4.2.7 │ │ Started │ standard-4.2.7 │ Provide OS integration
bundle │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide Bundle support
config │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide OSGi ConfigAdmin support
diagnostic │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide Diagnostic support
instance │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide Instance support
jaas │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide JAAS support
log │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide Log support
package │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Package commands and mbeans
service │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide Service support
system │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide System support
http │ 4.2.7 │ │ Started │ standard-4.2.7 │ Implementation of the OSGI HTTP Service
pax-http-service │ 7.2.11 │ │ Started │ standard-4.2.7 │ Pax-Web OSGi HTTP Service
http-whiteboard │ 4.2.7 │ │ Started │ standard-4.2.7 │ Provide HTTP Whiteboard pattern support
kar │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide KAR (KARaf archive) support
ssh │ 4.2.7 │ x │ Started │ standard-4.2.7 │ Provide a SSHd server on Karaf
eventadmin │ 4.2.7 │ x │ Started │ standard-4.2.7 │ OSGi Event Admin service specification for event-
scr │ 4.2.7 │ │ Started │ standard-4.2.7 │ Declarative Service support
openhab-runtime-ui │ 3.1.0.SNAPSHOT │ x │ Started │ distro-3.1.0-SNAPSHOT │ openHAB UI
openhab-package-standard │ 3.1.0.SNAPSHOT │ x │ Started │ distro-3.1.0-SNAPSHOT │ openHAB Standard Package
openhab-core-base │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ openHAB Core
openhab-core-auth-jaas │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-auth-oauth2client │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-automation-module-script │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-automation-module-script-rulesupport │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-automation-module-media │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-automation-rest │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-console-karaf │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Karaf Console support for SmartHome stuff
openhab-core-io-http-auth │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-rest-auth │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-rest-sitemap │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-rest-swagger │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-rest-audio │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-rest-voice │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-rest-mdns │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-transport-mdns │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-transport-modbus │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-transport-mqtt │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-io-transport-upnp │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab.inc-model-core │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-item │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-item-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-persistence │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-persistence-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-rule │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-rule-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-script │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-script-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-sitemap │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-sitemap-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-thing │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-thing-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-model-lsp │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-storage-json │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-ui │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-core-ui-icon │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab-runtime-base │ 3.1.0.SNAPSHOT │ x │ Started │ distro-3.1.0-SNAPSHOT │ openHAB Runtime Base
openhab-runtime-certificate │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ SSL Certificate Generator
openhab-transport-http │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ HTTP Transport
openhab-transport-mdns │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ mDNS Transport
openhab-transport-modbus │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Modbus Transport
openhab-transport-mqtt │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ MQTT Transport
openhab-transport-serial │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Serial Transport
openhab-transport-upnp │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ UPnP Transport
openhab.tp-base │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ openHAB Core Target Platform Base
openhab.tp-commons-net │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ The Apache Commons Net library
openhab.tp-gson │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Gson
openhab.tp-hivemqclient │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ MQTT Client
openhab.tp-jax-rs-whiteboard │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab.tp-jaxws │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ JAX-WS (SOAP) bundles
openhab.tp-jollyday │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Jollyday library
openhab.tp-jmdns │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ An implementation of multi-cast DNS in Java.
openhab.tp-jose4j │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ jose4j JWT library
openhab.tp-jupnp │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ UPnP/DLNA library for Java
openhab.tp-lsp4j │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Eclipse LSP4J
openhab.tp-serial-rxtx │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │
openhab.tp-xtext │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Xtext - Language Engineering Made Easy
openhab.tp-xtext-ide │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ Xtext - IDE Support
openhab.tp-swagger-jaxrs │ 3.1.0.SNAPSHOT │ │ Started │ distro-3.1.0-SNAPSHOT │ JAX-RS Whiteboard Swagger Support
pax-web-core │ 7.2.11 │ │ Started │ org.ops4j.pax.web-7.2.11 │ Provide Core pax-web bundles
pax-jetty │ 9.4.20.v20190813 │ │ Started │ org.ops4j.pax.web-7.2.11 │ Provide Jetty engine support
pax-http-jetty │ 7.2.11 │ │ Started │ org.ops4j.pax.web-7.2.11 │
pax-http │ 7.2.11 │ │ Started │ org.ops4j.pax.web-7.2.11 │ Implementation of the OSGI HTTP Service
pax-http-whiteboard │ 7.2.11 │ │ Started │ org.ops4j.pax.web-7.2.11 │ Provide HTTP Whiteboard pattern support
openhab-binding-astro │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Astro Binding
openhab-binding-knx │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ KNX Binding
openhab-binding-kodi │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Kodi Binding
openhab-binding-network │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Network Binding
openhab-binding-onkyo │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Onkyo Binding
openhab-binding-smartmeter │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Smartmeter Binding
openhab-binding-squeezebox │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Squeezebox Binding
openhab-binding-telegram │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Telegram Binding
openhab-misc-openhabcloud │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ openHAB Cloud Connector
openhab-persistence-rrd4j │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ RRD4j Persistence
openhab-transformation-jsonpath │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ JSONPath Transformation
openhab-transformation-map │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Map Transformation
openhab-transformation-regex │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ RegEx Transformation
openhab-binding-mqtt │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ MQTT Binding
openhab-binding-modbus │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Modbus Binding
openhab-ui-basic │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ Basic UI
openhab-ui-habpanel │ 3.1.0.SNAPSHOT │ x │ Started │ openhab-addons-3.1.0-SNAPSHOT │ HABPanel
openhab-iconset-classic │ 3.1.0.SNAPSHOT │ │ Started │ openhab-addons-3.1.0-SNAPSHOT │
Is there something I can to about it?
Update 1: A clean install in the VM points to:
2021-01-17 20:44:10.703 [INFO ] [ab.ui.habpanel.internal.HABPanelTile] - Started HABPanel at /habpanel
2021-01-17 20:44:12.103 [INFO ] [p.auth.internal.AuthorizePageServlet] - First user account created: sascha
2021-01-17 20:44:12.338 [WARN ] [.io.rest.auth.internal.TokenResource] - Couldn't find a user with a session matching the provided refresh_token
2021-01-17 20:44:12.340 [WARN ] [.io.rest.auth.internal.TokenResource] - Token issuing failed: invalid_grant
Which seems exact to Gray browser 404 Not Found page after logging into OpenHab 3 from @2xaronl
Thanks guys,
Sascha