Issue after upgrade to latest milestone 2.5

DEar colleagues, I’m still working to get this issue solved:

2019-12-03 00:19:57.592 [ERROR] [.dashboard.internal.DashboardService] - Error during Dashboard startup: alias: ‘/start/index’ is already in use in this or another context

May you help me to figure out what’s happens?

If you stop openhab sudo systemctl stop openhab2 and
try browsing to [ip-address]:8080/start/index does any web page appear?

Hi Bruce,

that’s strange, i got a exception error during stopped, after stopped process finished I CAN’T see openhab dashboard over http://10.1.1.100:8080/start/index… looks is some “wrong/dirty” on configuration files that I can’t find it… Thanks for your review…

2019-12-06 01:04:56.501 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel

2019-12-06 01:04:56.552 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Stopped Paper UI

2019-12-06 01:04:56.597 [ERROR] [org.openhab.ui.dashboard ] - bundle org.openhab.ui.dashboard:2.5.0.M5 (302)[org.openhab.dashboard(317)] : The deactivate method has thrown an exception

java.lang.IllegalArgumentException: Alias [/start/index] was never registered

at org.ops4j.pax.web.service.internal.HttpServiceStarted.unregister(HttpServiceStarted.java:321) ~[?:?]

at org.ops4j.pax.web.service.internal.HttpServiceProxy.unregister(HttpServiceProxy.java:82) ~[?:?]

at org.openhab.ui.dashboard.internal.DashboardService.deactivate(DashboardService.java:105) ~[?:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_222]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_222]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222]

at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:228) ~[bundleFile:?]

at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[bundleFile:?]

at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:664) ~[bundleFile:?]

at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:510) [bundleFile:?]

at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:317) [bundleFile:?]

at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:307) [bundleFile:?]

at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:407) [bundleFile:?]

at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:163) [bundleFile:?]

at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:831) [bundleFile:?]

at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:805) [bundleFile:?]

at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:584) [bundleFile:?]

at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:716) [bundleFile:?]

at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:510) [bundleFile:?]

at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:429) [bundleFile:?]

at org.apache.felix.scr.impl.Activator.access$300(Activator.java:49) [bundleFile:?]

at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:292) [bundleFile:?]

at org.apache.felix.scr.impl.AbstractExtender$1.run(AbstractExtender.java:216) [bundleFile:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]

at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]

at org.apache.felix.scr.impl.AbstractExtender.destroyExtension(AbstractExtender.java:238) [bundleFile:?]

at org.apache.felix.scr.impl.AbstractExtender.bundleChanged(AbstractExtender.java:132) [bundleFile:?]

at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.Module.doStop(Module.java:634) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.Module.stop(Module.java:498) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.Module.doStop(Module.java:636) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.Module.stop(Module.java:498) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202) [org.eclipse.osgi-3.12.100.jar:?]

at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165) [org.eclipse.osgi-3.12.100.jar:?]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

2019-12-06 01:04:56.660 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard

@mvo

What is the result of:

http:list

and:

feature:list |grep dashboard
1 Like

"openhab> http:list
ID | Servlet | Servlet-Name | State | Alias | Url
----±-----------------------±-----------------±------------±---------------- —±----------------------
19 | ServletContainerBridge | ServletModel-164 | Deployed | /rest | [/rest/]
135 | AudioServlet | ServletModel-24 | Undeployed | /audio | [/audio/
]
135 | AudioServlet | ServletModel-31 | Undeployed | /audio | [/audio/]
135 | AudioServlet | ServletModel-41 | Undeployed | /audio | [/audio/
]
135 | AudioServlet | ServletModel-62 | Deployed | /audio | [/audio/]
135 | AudioServlet | ServletModel-9 | Undeployed | /audio | [/audio/
]
138 | IconForwarder | ServletModel-22 | Deployed | /images | [/images/]
189 | AsyncProxyServlet | ServletModel-15 | Deployed | /proxy | [/proxy/
]
189 | ChartServlet | ServletModel-6 | Deployed | /chart | [/chart/]
190 | IconServlet | ServletModel-167 | Deployed | /icon | [/icon/
]
192 | ResourceServlet | /start:web | Deployed | /start | [/start/]
192 | DashboardServlet | ServletModel-170 | Deployed | /start/index | [/start/index/
]
247 | AsyncServlet | ServletModel-46 | Deployed | /upnpcallback | [/upnpcallback/]
249 | BindingServlet | ServletModel-70 | Deployed | /amazonechocontr ol | [/amazonechocontrol/
]
264 | WeatherServlet | ServletModel-60 | Deployed | /weather | [/weather/]
289 | ResourceServlet | /basicui:web | Deployed | /basicui | [/basicui/
]
289 | CmdServlet | ServletModel-174 | Deployed | /basicui/CMD | [/basicui/CMD/]
289 | WebAppServlet | ServletModel-177 | Deployed | /basicui/app | [/basicui/app/
]
290 | ResourceServlet | /classicui:web | Deployed | /classicui | [/classicui/]
290 | CmdServlet | ServletModel-182 | Deployed | /classicui/CMD | [/classicui/CMD/
]
290 | WebAppServlet | ServletModel-185 | Deployed | /classicui/app | [/classicui/app/]
291 | ResourceServlet | /habmin:web | Deployed | /habmin | [/habmin/
]
294 | ResourceServlet | /paperui:web | Deployed | /paperui | [/paperui/]
295 | ResourceServlet | /habpanel:web | Deployed | /habpanel | [/habpanel/
]
296 | ResourceServlet | /doc:swagger | Deployed | /doc | [/doc/]
302 | DashboardServlet | ServletModel-202 | Failed | /start/index | [/start/index/
]
openhab> feature:list |grep dashboard
openhab-ui-dashboard | 2.5.0.SNAPSHOT | | Started | openhab-addons-2.5.0-SNAPSHOT | Dashboard UI
openhab-ui-dashboard | 2.5.0.M5 | | Started | openhab-addons-2.5.0.M5 | Dashboard UI
"

You should not have 2 dashboards. I believe the SNAPSHOt one needs to be uninstalled.

@mvo

It seems that openhab-ui-dashboard is installed twice.

What is the result of:

bundle:list |grep ashboard

You also should check if there are even more bindings installed twice, with:

bundle:list

For better reading your posts you should also use code fences.

2 Likes

openhab> bundle:list | grep Dashboard
286 | Active | 80 | 2.5.0.201911291913 | openHAB UI :: Bundles :: Dashboard UI
openhab>

That is not what @Celaeno1 typed. He wanted:

@mvo

If you are really on 2.5.0.M5 then I would have expected this:

 286 | Active | 80 | 2.5.0.M5 | openHAB UI :: Bundles :: Dashboard UI

So it seems you have a mixture of 2.5.0.M5 and 2.5.0-SNAPSHOT.

Please do:

bundle:uninstall 286
feature:install openhab-ui-dashboard
2 Likes

I’m on 2.5.0-SNAPSHOT
Build #1774

The latest testing release is now release candidate 1. Only critical issues will be addressed before the 2.5 release on December 15.

Where do you use to see new release and when it will be available?

There was another posting by Kai saying the next release will be 3.0

How can I chosse for example between 5 to 6? I don’t know which one i’m currently running as we have this infor from console

2.5.0-SNAPSHOT
Build #1774

You are on the snapshot releases. You need to switch to the testing releases if you want to test a milestone or release candidate version. If you are using openHABian there is an option in openhabian-config to change the release that get’s installed. If not, see the installation instructions for your OS for how to install each individual release. Here’s the instructions for Linux: https://www.openhab.org/docs/installation/linux.html#package-repository-installation

If you are not pretty technically capable and are not willing to test to look for and then file issues when you find bug, you should not be running the snapshots.

1 Like

Is now the correct release for no expetr right? openHAB 2.5.0~RC1-1 (Milestone Build)

That is the latest testing build. The next version will be the stable 2.5 released on Sunday.

DEar Collegaues,

may you know how to jump to version 2.5 M4 and not latest milestone?

@mvo See doc here https://www.openhab.org/docs/installation/linux.html#changing-versions