Empty Index Page (start/index) After Startup

Hi,

After latest snapshot installation and ‘forced’ shutdown of karaf, the next startup of openhab that greets me with an empty index page. It just shows “Welcome to openHAB 2.0” and no options for me to choose Paper UI or Classic UI.

Apparently, all the UI modules are not installed. What is the right sequent to install them manually? Thanks

Same here - I installed them via the console, but paper UI still missing some stuff e.g. extensions

Have put an issue in GitHub see https://github.com/openhab/openhab2-addons/issues/1507

Could either of you please provide log files from a startup?

After installing UI via the Karaf Console I get:

2016-11-29 21:01:45.004 [INFO ] [ore.internal.i18n.LocaleProviderImpl] - Locale set to en_NZ
2016-11-29 21:01:54.906 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Weather.items’
2016-11-29 21:01:55.320 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'SystemInfo.items’
2016-11-29 21:01:55.469 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist’
2016-11-29 21:01:55.564 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'NodeGeneral.items’
2016-11-29 21:01:56.523 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'NodeMQTT.items’
2016-11-29 21:01:56.881 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Groups.items’
2016-11-29 21:01:57.131 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'logging.persist’
2016-11-29 21:01:57.161 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'mysql.persist’
2016-11-29 21:02:01.686 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Bathroom.rules’
2016-11-29 21:02:02.185 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Power.rules’
2016-11-29 21:02:02.362 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'NodeAlarms.rules’
2016-11-29 21:02:02.900 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'GeneralSecurity.rules’
2016-11-29 21:02:06.115 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'Mag50_Home.sitemap’
2016-11-29 21:02:11.697 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-11-29 21:02:12.419 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-11-29 21:02:13.337 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-11-29 21:02:14.292 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-11-29 21:02:20.873 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Error during the execution of startup rule ‘StartupBath’: org.eclipse.smarthome.core.library.types.DecimalType
2016-11-29 21:05:33.884 [WARN ] [.core.transform.TransformationHelper] - Cannot get service reference for transformation service of type MAP
2016-11-29 21:05:33.889 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - couldn’t transform value in label because transformationService of type ‘MAP’ is unavailable
2016-11-29 21:05:33.894 [WARN ] [.core.transform.TransformationHelper] - Cannot get service reference for transformation service of type MAP
2016-11-29 21:05:33.897 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - couldn’t transform value in label because transformationService of type ‘MAP’ is unavailable

However none of the bindings have been installed, and the paper UI doesn’t allow access to the extensions tab.

Running sudo apt-get update/Sudo apt-get upgrade for a second time overwrote the snapshot with the same snapshot (?) and fixed the issues (?)

i am not so lucky. Im getting all sorts of errors. FYI. Im using the latest offline snapshot:

2016-11-29 18:51:53.839 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.things’
2016-11-29 18:51:58.419 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap’
2016-11-29 18:52:04.717 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist’
2016-11-29 18:52:05.686 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'myopenhab.persist’
2016-11-29 18:52:17.133 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-package-standard’: Error restarting bundles
2016-11-29 18:52:26.184 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.items’
2016-11-29 18:52:28.207 [ERROR] [ternal.service.BootFeaturesInstaller] - Error installing boot features
org.apache.karaf.features.internal.util.MultiException: Error restarting bundles
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:848)[9:org.apache.karaf.features.core:4.0.4]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[9:org.apache.karaf.features.core:4.0.4]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[9:org.apache.karaf.features.core:4.0.4]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
Caused by: org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity=“org.eclipse.smarthome.io.rest.sse”; type=“osgi.bundle”; version:Version=“0.9.0.201611272028” [id=117] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:329)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.Module.start(Module.java:389)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1199)[9:org.apache.karaf.features.core:4.0.4]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.4]
… 6 more

Sounds bad. Try to manually delete the userdata/cache folder and see if the next startup is more successful.

Yes, I did. But Start/Index page is still empty. Here are the bundles loaded:

11 | Active | 80 | 2.3.0.201506221200 | JAX-RS Gson Provider
12 | Active | 80 | 5.3.1.201602281253 | OSGi JAX-RS Connector
13 | Active | 80 | 2.3.1 | Gson
14 | Active | 80 | 18.0.0 | Guava: Google Core Libraries for Java
15 | Active | 80 | 3.0.0.v201312141243 | Google Guice (No AOP)
16 | Active | 80 | 1.5.8 | swagger-annotations
17 | Active | 80 | 3.19.0.GA | Javassist
19 | Active | 80 | 3.5.1 | JmDNS
22 | Active | 80 | 1.1.0.Final | Bean Validation API
24 | Active | 80 | 2.0.1 | javax.ws.rs-api
26 | Active | 80 | 3.2.0.v201101311130 | ANTLR Runtime
29 | Active | 80 | 1.6.0 | Commons Codec
30 | Active | 80 | 3.2.1 | Commons Collections
31 | Active | 80 | 1.1 | Commons Exec
32 | Active | 80 | 2.2.0 | Commons IO
33 | Active | 80 | 2.6 | Commons Lang
38 | Active | 80 | 4.2.3 | Apache HttpClient OSGi bundle
39 | Active | 80 | 4.2.3 | Apache HttpCore OSGi bundle
55 | Active | 80 | 4.0.4 | Apache Karaf :: Shell :: Core
58 | Active | 80 | 4.0.4 | Apache Karaf :: Wrapper :: Core
59 | Active | 80 | 3.1.0.7 | Apache ServiceMix :: Bundles :: commons-httpclient
63 | Active | 80 | 2.11.0.v20150805-0538 | EMF Common
64 | Active | 80 | 2.11.1.v20150805-0538 | EMF Ecore
65 | Active | 80 | 2.11.1.v20150805-0538 | EMF XML/XMI Persistence
66 | Active | 80 | 3.7.0.v20150402-1709 | Common Eclipse Runtime
67 | Active | 80 | 3.6.0.v20150318-1503 | Extension Registry Support
93 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Config Core
94 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Configuration Discovery
95 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Config Dispatcher
96 | Active | 75 | 0.9.0.201611272028 | Eclipse SmartHome Config XML
97 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core
98 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core Audio
99 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome AutoUpdate Binding
100 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core Binding XML
101 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core ID
102 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core Persistence
103 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Scheduler Service
104 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core Thing
105 | Active | 75 | 0.9.0.201611272028 | Eclipse SmartHome Core Thing XML
106 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Transformation Service
107 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core Voice
108 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Console
109 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Console for OSGi runtime Karaf
110 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome JavaSound I/O, Fragments: 169
111 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Monitor
112 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Net I/O Bundle
113 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome REST Interface Bundle
114 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Core REST API
115 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome REST mDNS Announcer
116 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Sitemap REST API
117 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome SSE REST API
118 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Voice REST API
119 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Bonjour/MDS Service Discovery Bundle
120 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Web Audio Support
121 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Model Core
122 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Item Model
123 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Item Model Runtime
124 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Persistence Model
125 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Persistence Runtime
126 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Rule Model
127 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Rule Runtime
128 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Script
129 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Script Runtime
130 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Sitemap Model
131 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Sitemap Runtime
132 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Thing Model
133 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Thing Model Runtime
134 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome MapDB Storage Service
135 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome UI
136 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome UI Icons
137 | Active | 80 | 0.9.0.201611272028 | Eclipse SmartHome Classic IconSet
138 | Active | 80 | 2.9.2 | Xtend Runtime Library
139 | Active | 80 | 2.9.2 | Xtend Macro Interfaces
140 | Active | 80 | 2.9.2 | Xtext
141 | Active | 80 | 2.9.2 | Xtext Common Types
142 | Active | 80 | 2.9.2 | JSR-45 Smap installer
143 | Active | 80 | 2.9.2 | Xtext Utility
144 | Active | 80 | 2.9.2.v20160428-1452 | Xbase Model
145 | Active | 80 | 2.9.2 | Xbase Runtime Library
161 | Active | 80 | 2.2.0 | JUPnP Library
162 | Active | 80 | 1.9.6 | MIME streaming extension
163 | Active | 80 | 1.0.9 | mapdb
164 | Active | 80 | 5.0.2 | Require-Bundle Fix :: org.objectweb.asm
166 | Active | 90 | 2.0.0.201611281907 | openHAB Core
167 | Active | 80 | 2.0.0.201611281907 | openHAB Karaf Integration
169 | Resolved | 80 | 2.0.0.201611281907 | openHAB Sound Support, Hosts: 110
170 | Active | 80 | 2.0.0.201611281907 | openHAB Dashboard UI
openhab>

Here are the relevant logs:

2016-11-29 23:55:02.869 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-11-29 23:56:52.492 [ERROR] [org.eclipse.smarthome.model.item ] - FrameworkEvent ERROR - org.eclipse.smarthome.model.item
org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:222)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at com.eclipsesource.jaxrs.publisher.internal.ResourceTracker.addingService(ResourceTracker.java:39)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318)[org.osgi.core-6.0.0.jar:]
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[org.osgi.core-6.0.0.jar:]
at com.eclipsesource.jaxrs.publisher.internal.Activator.openAllServiceTracker(Activator.java:91)[12:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at com.eclipsesource.jaxrs.publisher.internal.Activator.start(Activator.java:55)[12:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_101]
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:721)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:936)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:319)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.Module.doStart(Module.java:571)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.Module.start(Module.java:439)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:393)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:412)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1199)[9:org.apache.karaf.features.core:4.0.4]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.4]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)[9:org.apache.karaf.features.core:4.0.4]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)[9:org.apache.karaf.features.core:4.0.4]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
Caused by: java.lang.IllegalStateException: Could not obtain lock
at org.apache.felix.scr.impl.manager.AbstractComponentManager.obtainLock(AbstractComponentManager.java:198)
at org.apache.felix.scr.impl.manager.AbstractComponentManager.obtainStateLock(AbstractComponentManager.java:246)
at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:763)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_101]
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
… 33 more
2016-11-29 23:58:54.627 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.items’
2016-11-29 23:59:05.837 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.sitemap’
2016-11-29 23:59:28.520 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rrd4j.persist’
2016-11-29 23:59:29.909 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'myopenhab.persist’
2016-11-30 00:00:40.809 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'default.things’
2016-11-30 00:00:41.860 [INFO ] [core.karaf.internal.FeatureInstaller] - Installed ‘openhab-package-standard’

After a few rounds of reinstallations, all the UI bundles never got installed. Any ideas how to install them manually? I tried feature:install to install openhab-paperui, and installation was successful and active and I just can’t access it.

Is this issue related to the latest build?

In case someone faces the same problem, you use addon.cfg in services folder to add those missing uis