[SOLVED] OPENHAB2 SNAPSHOT 2.5 #1595 fully broken?

Hello all,
I’ve got Server with Ubuntu 18.04.02 LTS running openhab2 until an hour ago with snapshop #1589. Just made the Updates of ubuntu (has been an Update for java jdk 8 too) and openhab2 #1595.

After that openhab is starting, shown as running but nearly all bindings and UIs didn’t start anymore.

Try to go back to #1589, but now its the same with older version.

While using bundle:list in Console

 openhab> bundle:list
START LEVEL 100 , List Threshold: 50
 ID │ State    │ Lvl │ Version               │ Name
────┼──────────┼─────┼───────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────
 20 │ Active   │  80 │ 5.3.1.201602281253    │ OSGi JAX-RS Connector
 21 │ Active   │  80 │ 2.8.2.v20180104-1110  │ Gson: Google Json Library for Java
 22 │ Active   │  80 │ 18.0.0                │ Guava: Google Core Libraries for Java
 23 │ Active   │  80 │ 21.0.0                │ Guava: Google Core Libraries for Java
 24 │ Active   │  80 │ 3.0.0.v201312141243   │ Google Guice (No AOP)
 28 │ Active   │  80 │ 3.5.5                 │ JmDNS
 30 │ Active   │  80 │ 1.0.0                 │ Units of Measurement API
 32 │ Active   │  80 │ 1.1.0.Final           │ Bean Validation API
 34 │ Active   │  80 │ 2.0.1                 │ javax.ws.rs-api
 35 │ Active   │  80 │ 2.9.2                 │ Joda-Time
 36 │ Active   │  80 │ 3.2.0.v201101311130   │ ANTLR Runtime
 38 │ Active   │  80 │ 3.2.1                 │ Commons Collections
 39 │ Active   │  80 │ 1.1                   │ Commons Exec
 40 │ Active   │  80 │ 2.2.0                 │ Commons IO
 41 │ Active   │  80 │ 2.6                   │ Commons Lang
 50 │ Active   │  80 │ 4.2.4                 │ Apache Karaf :: OSGi Services :: Event
 65 │ Active   │  80 │ 1.4.7.1               │ Apache ServiceMix :: Bundles :: xstream
 67 │ Active   │  80 │ 4.12.0                │ Apache XBean OSGI Bundle Utilities
 68 │ Active   │  80 │ 4.12.0                │ Apache XBean :: Classpath Resource Finder
 69 │ Active   │  80 │ 2.12.0.v20160420-0247 │ EMF Common
 70 │ Active   │  80 │ 2.12.0.v20160420-0247 │ EMF Ecore
 71 │ Active   │  80 │ 2.11.0.v20160420-0247 │ EMF Change Model
 72 │ Active   │  80 │ 2.12.0.v20160420-0247 │ EMF XML/XMI Persistence
 73 │ Active   │  80 │ 3.9.0.v20170207-1454  │ Common Eclipse Runtime
 78 │ Active   │  80 │ 9.4.11.v20180605      │ Jetty :: Http Utility
 85 │ Active   │  80 │ 9.4.12.v20180830      │ Jetty :: Proxy
 97 │ Active   │  80 │ 9.4.11.v20180605      │ Jetty :: Websocket :: Common
104 │ Active   │  80 │ 0.6.0.v20181130-0903  │ org.eclipse.lsp4j
105 │ Active   │  80 │ 0.6.0.v20181130-0903  │ org.eclipse.lsp4j.jsonrpc
106 │ Active   │  80 │ 2.17.0.v20190304-0518 │ Xtend Runtime Library
107 │ Active   │  80 │ 2.17.0.v20190304-0518 │ Xtend Macro Interfaces
108 │ Active   │  80 │ 2.17.0.v20190304-0545 │ Xtext
109 │ Active   │  80 │ 2.17.0.v20190304-0626 │ Xtext Common Types
110 │ Active   │  80 │ 2.17.0.v20190304-0545 │ Xtext IDE Core
111 │ Active   │  80 │ 2.17.0.v20190304-0545 │ Xtext Utility
112 │ Active   │  80 │ 2.17.0.v20190304-0626 │ Xbase Model
113 │ Active   │  80 │ 2.17.0.v20190304-0626 │ Xbase Generic IDE Services
114 │ Active   │  80 │ 2.17.0.v20190304-0518 │ Xbase Runtime Library
129 │ Active   │  80 │ 1.9.6                 │ MIME streaming extension
131 │ Active   │  80 │ 7.0.0                 │ org.objectweb.asm.commons
132 │ Active   │  80 │ 7.0.0                 │ org.objectweb.asm.tree
133 │ Active   │  80 │ 2.5.0.201905110925    │ openHAB Core :: Bundles :: Core
134 │ Active   │  80 │ 2.5.0.201905110931    │ openHAB Core :: Bundles :: Audio
135 │ Active   │  80 │ 2.5.0.201905110940    │ openHAB Core :: Bundles :: OAuth2Client
136 │ Active   │  80 │ 2.5.0.201905110938    │ openHAB Core :: Bundles :: Binding XML
137 │ Active   │  90 │ 2.5.0.201905110936    │ openHAB Core :: Bundles :: Boot
138 │ Active   │  80 │ 2.5.0.201905110926    │ openHAB Core :: Bundles :: Configuration Core
139 │ Active   │  80 │ 2.5.0.201905110927    │ openHAB Core :: Bundles :: Configuration Discovery
140 │ Active   │  80 │ 2.5.0.201905110946    │ openHAB Core :: Bundles :: Configuration mDNS Discovery
141 │ Active   │  80 │ 2.5.0.201905110947    │ openHAB Core :: Bundles :: Configuration Dispatcher
142 │ Active   │  75 │ 2.5.0.201905110938    │ openHAB Core :: Bundles :: Configuration XML
143 │ Active   │  80 │ 2.5.0.201905110939    │ openHAB Core :: Bundles :: ID
144 │ Active   │  80 │ 2.5.0.201905110926    │ openHAB Core :: Bundles :: Console
145 │ Active   │  80 │ 2.5.0.201905110942    │ openHAB Core :: Bundles :: Console for OSGi runtime Karaf
146 │ Active   │  80 │ 2.5.0.201905110930    │ openHAB Core :: Bundles :: HTTP Interface
148 │ Active   │  80 │ 2.5.0.201905110942    │ openHAB Core :: Bundles :: Monitor
149 │ Active   │  80 │ 2.5.0.201905110927    │ openHAB Core :: Bundles :: Network I/O
150 │ Active   │  80 │ 2.5.0.201905110939    │ openHAB Core :: Bundles :: REST Interface
151 │ Active   │  80 │ 2.5.0.201905110943    │ openHAB Core :: Bundles :: REST Interface
152 │ Active   │  80 │ 2.5.0.201905110943    │ openHAB Core :: Bundles :: REST mDNS Announcer
153 │ Active   │  80 │ 2.5.0.201905110943    │ openHAB Core :: Bundles :: REST JAX-RS Optimizations
154 │ Active   │  80 │ 2.5.0.201905110944    │ openHAB Core :: Bundles :: Sitemap REST Interface
155 │ Active   │  80 │ 2.5.0.201905110944    │ openHAB Core :: Bundles :: SSE Interface
156 │ Active   │  80 │ 2.5.0.201905110944    │ openHAB Core :: Bundles :: Voice REST Interface
157 │ Active   │  80 │ 2.5.0.201905110940    │ openHAB Core :: Bundles :: mDNS Service
158 │ Active   │  80 │ 2.5.0.201905110938    │ openHAB Core :: Bundles :: Karaf Integration
159 │ Active   │  80 │ 2.5.0.201905110929    │ openHAB Core :: Bundles :: Model Core
160 │ Active   │  80 │ 2.5.0.201905110936    │ openHAB Core :: Bundles :: Model Items
161 │ Active   │  80 │ 2.5.0.201905110949    │ openHAB Core :: Bundles :: Model Item IDE
162 │ Active   │  80 │ 2.5.0.201905110949    │ openHAB Core :: Bundles :: Model Items Runtime
163 │ Active   │  80 │ 2.5.0.201905110953    │ openHAB Core :: Bundles :: Language Server
164 │ Active   │  80 │ 2.5.0.201905110930    │ openHAB Core :: Bundles :: Model Persistence
165 │ Active   │  80 │ 2.5.0.201905110949    │ openHAB Core :: Bundles :: Model Persistence IDE
166 │ Active   │  80 │ 2.5.0.201905110953    │ openHAB Core :: Bundles :: Model Persistence Runtime
167 │ Active   │  80 │ 2.5.0.201905110933    │ openHAB Core :: Bundles :: Model Rules
168 │ Active   │  80 │ 2.5.0.201905110950    │ openHAB Core :: Bundles :: Model Rule IDE
169 │ Active   │  80 │ 2.5.0.201905110934    │ openHAB Core :: Bundles :: Model Rules Runtime
170 │ Active   │  80 │ 2.5.0.201905110932    │ openHAB Core :: Bundles :: Model Script
171 │ Active   │  80 │ 2.5.0.201905110950    │ openHAB Core :: Bundles :: Model Script IDE
172 │ Active   │  80 │ 2.5.0.201905110953    │ openHAB Core :: Bundles :: Model Script Runtime
173 │ Active   │  80 │ 2.5.0.201905110935    │ openHAB Core :: Bundles :: Model Sitemap
174 │ Active   │  80 │ 2.5.0.201905110951    │ openHAB Core :: Bundles :: Model Sitemap IDE
175 │ Active   │  80 │ 2.5.0.201905110954    │ openHAB Core :: Bundles :: Model Sitemap Runtime
176 │ Active   │  80 │ 2.5.0.201905110952    │ openHAB Core :: Bundles :: Model Thing
177 │ Active   │  80 │ 2.5.0.201905110953    │ openHAB Core :: Bundles :: Model Thing IDE
178 │ Active   │  80 │ 2.5.0.201905110954    │ openHAB Core :: Bundles :: Model Thing Runtime
179 │ Active   │  80 │ 2.5.0.201905110929    │ openHAB Core :: Bundles :: Persistence
180 │ Active   │  80 │ 2.5.0.201905110928    │ openHAB Core :: Bundles :: Scheduler Service
181 │ Active   │  80 │ 2.5.0.201905110939    │ openHAB Core :: Bundles :: Semantics
182 │ Active   │  80 │ 2.5.0.201905110954    │ openHAB Core :: Bundles :: JSON Storage
183 │ Active   │  80 │ 2.5.0.201905110927    │ openHAB Core :: Bundles :: Thing
184 │ Active   │  75 │ 2.5.0.201905110940    │ openHAB Core :: Bundles :: Thing XML
185 │ Active   │  80 │ 2.5.0.201905110930    │ openHAB Core :: Bundles :: Transformation Service
186 │ Active   │  80 │ 2.5.0.201905110937    │ openHAB Core :: Bundles :: UI
187 │ Active   │  80 │ 2.5.0.201905110954    │ openHAB Core :: Bundles :: UI Icon Support
188 │ Active   │  80 │ 2.5.0.201905110931    │ openHAB Core :: Bundles :: Voice
198 │ Active   │  80 │ 1.0.2                 │ Units of Measurement Common Library
199 │ Active   │  80 │ 1.0.8                 │ Units of Measurement Implementation for Java SE
202 │ Active   │  80 │ 1.1.1.201605111122    │ Swagger Provider
203 │ Resolved │  80 │ 2.4.5                 │ Jackson-annotations
204 │ Resolved │  80 │ 2.4.5                 │ Jackson-core
205 │ Resolved │  80 │ 2.4.5                 │ jackson-databind
206 │ Resolved │  80 │ 2.4.5                 │ Jackson-dataformat-XML
207 │ Resolved │  80 │ 2.4.5                 │ Jackson-dataformat-YAML
208 │ Resolved │  80 │ 2.4.5                 │ Jackson-module-JAXB-annotations
209 │ Resolved │  80 │ 3.13.0                │ oshi-core
210 │ Resolved │  80 │ 8.0.13                │ Oracle Corporation's JDBC and XDevAPI Driver for MySQL
211 │ Resolved │  80 │ 3.15.0.OH2            │ nrjavaserial
212 │ Starting │  80 │ 5.3.0                 │ jna
213 │ Resolved │  80 │ 5.3.0                 │ jna-platform
214 │ Resolved │  80 │ 1.6.2                 │ JavaMail API
215 │ Resolved │  80 │ 1.5.8                 │ swagger-annotations
216 │ Resolved │  80 │ 1.5.8                 │ swagger-core
217 │ Active   │  80 │ 1.5.8                 │ swagger-jaxrs
218 │ Resolved │  80 │ 1.5.8                 │ swagger-models
219 │ Resolved │  80 │ 1.9.2                 │ Jackson JSON processor
220 │ Resolved │  80 │ 1.9.2                 │ Data mapper for Jackson JSON processor
221 │ Resolved │  80 │ 3.19.0.GA             │ Javassist
222 │ Resolved │  80 │ 1.0.1                 │ JLayer
223 │ Resolved │  80 │ 1.10.0                │ Apache Commons Codec
224 │ Resolved │  80 │ 1.5.0                 │ Apache Commons Email
225 │ Resolved │  80 │ 3.2.1                 │ Apache Commons Lang
226 │ Resolved │  80 │ 3.3.0                 │ Commons Net
227 │ Resolved │  80 │ 4.2.3                 │ Apache HttpClient OSGi bundle
228 │ Resolved │  80 │ 4.2.3                 │ Apache HttpCore OSGi bundle
229 │ Resolved │  80 │ 3.1.0.7               │ Apache ServiceMix :: Bundles :: commons-httpclient
230 │ Active   │  80 │ 1.14.0.201905050308   │ openHAB Telegram Action
231 │ Resolved │  80 │ 2.5.0.201905111026    │ openHAB Add-ons :: Bundles :: Astro Binding
232 │ Resolved │  80 │ 2.5.0.201905111031    │ openHAB Add-ons :: Bundles :: Exec Binding
233 │ Waiting  │  80 │ 1.14.0.201905050308   │ openHAB FritzboxTr064 Binding
234 │ Waiting  │  80 │ 1.14.0.201905050308   │ openHAB HTTP Binding
235 │ Resolved │  80 │ 2.5.0.201905111036    │ openHAB Add-ons :: Bundles :: Mail Binding
236 │ Resolved │  80 │ 2.5.0.201905111039    │ openHAB Add-ons :: Bundles :: Network Binding
237 │ Resolved │  80 │ 2.5.0.201905111041    │ openHAB Add-ons :: Bundles :: OpenWeatherMap Binding
238 │ Resolved │  80 │ 1.14.0.201905050308   │ openHAB PanasonicTV Binding
239 │ Resolved │  80 │ 2.5.0.201905111042    │ openHAB Add-ons :: Bundles :: Robonect Binding
240 │ Resolved │  80 │ 2.5.0.201905111045    │ openHAB Add-ons :: Bundles :: Systeminfo Binding
241 │ Resolved │  80 │ 2.5.0.201905111045    │ openHAB Add-ons :: Bundles :: Tankerkoenig Binding
242 │ Resolved │  80 │ 2.5.0.201905111054    │ openHAB Add-ons :: Bundles :: ZWave Binding
243 │ Resolved │  80 │ 2.5.0.201905110937    │ openHAB Core :: Bundles :: 1.x Compatibility Layer
244 │ Resolved │  80 │ 2.5.0.201905110946    │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery
245 │ Resolved │  80 │ 2.5.0.201905110946    │ openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Linux using sysfs scanning
246 │ Resolved │  80 │ 2.5.0.201905110947    │ openHAB Core :: Bundles :: Configuration Serial
247 │ Resolved │  80 │ 2.5.0.201905110941    │ openHAB Core :: Bundles :: Serial Transport
248 │ Resolved │  80 │ 2.5.0.201905110945    │ openHAB Core :: Bundles :: Serial Transport for RXTX
249 │ Resolved │  80 │ 2.5.0.201905110945    │ openHAB Core :: Bundles :: Serial Transport for RFC2217
250 │ Resolved │  80 │ 2.5.0.201905111049    │ openHAB Add-ons :: Bundles :: IO :: Java Sound Support
251 │ Resolved │  80 │ 1.14.0.201905050308   │ openHAB JDBC SQL Persistence bundle
252 │ Resolved │  80 │ 1.14.0.201905050308   │ openHAB RRD4j Persistence Bundle
253 │ Resolved │  75 │ 2.5.0.201905111050    │ openHAB Add-ons :: Bundles :: Transformation Service :: Exec
254 │ Resolved │  75 │ 2.5.0.201905111032    │ openHAB Add-ons :: Bundles :: Transformation Service :: Map
255 │ Resolved │  75 │ 2.5.0.201905111051    │ openHAB Add-ons :: Bundles :: Transformation Service :: RegEx
256 │ Resolved │  80 │ 2.5.0.201905092319    │ openHAB UI :: Basic UI
257 │ Resolved │  80 │ 2.5.0.201905092313    │ openHAB UI :: Dashboard UI
258 │ Resolved │  80 │ 2.5.0.201905092328    │ openHAB UI :: HomeBuilder UI
259 │ Resolved │  80 │ 2.5.0.201905092332    │ openHAB UI :: Classic Icon Set
260 │ Resolved │  80 │ 2.5.0.201905092332    │ openHAB UI :: Paper UI
261 │ Resolved │  80 │ 2.5.0.201905092322    │ openHAB UI :: HABmin User Interface
262 │ Resolved │  80 │ 2.5.0.201905092326    │ openHAB UI :: HABPanel user interface
263 │ Resolved │  80 │ 2.5.0.201905092332    │ openHAB UI :: openHAB REST API Documentation
264 │ Active   │  80 │ 0.9.10.v20160429-1435 │ reflections (wrap)
265 │ Resolved │  80 │ 3.1.4                 │ Stax2 API
266 │ Active   │  80 │ 1.5.8.v20160511-1038  │ swagger-jersey2-jaxrs (wrap)

No UI anymore, App doesnt work anymore, … OH 2.5 not useable

Just tried different solutions:

  1. Restart Server and openhab: No change in #1595 or 1589
  2. Restart openhab different times, wait,… No change in both versions. 1595 showed an error one time: An error occurred while calling method NetworkAddressChangeListener
  3. Try to reinstall 1595 => didnt help
  4. Try to go back to 1589 => didnt help
  5. Went back to 1587 worked, OH 2.5 now working again.

Just set this to solution, but there are some big issues in actual big changes :wink:
Wish you all good luck, and don’t let you frustrate from people using SNAPSHOTS and get angry, if that is not working!

1 Like

How du you downgrade to a specific snapshot version?

1 Like

Don’t forget the addons:

apt-get install openhab2=2.5.0~S1588-1 openhab2-addons=2.5.0~S1588-1

1 Like

I have not experienced the same with S1589 or S1595. I upgrade test environment almost every snapshot build. S1595 was running so well, that I’m also using it in my production environment.

I’m missing the most important thing you first need to do when things don’t work after switching between versions and that is clearing temp and caches. Not sure if you did it and forgot to list it.

Edit: Add link to the Clear the cache topic from Rich on request of Ole :slight_smile:

1 Like

Please post the commands needed in order to do this, for the benefit of new readers. :blush:

1 Like

Rm -rf cache tmp

Thanks.

I tested out both S1588 & S1578, but both gave me continuous CPU hog above 100%.
Had to revert back to 2.5.0.M1

Had trouble getting Squeezbox binding up and running again, but after defining the server in a .things file I got it Online again.

I didn‘t and don’t Know before. Couldnt that ne done By Update scripts?

Hmm, can’t quite decipher that last reply …

If I run apt-get update , couldnt the Update Script stop openhab, clear the Cache, install the Update and Start again? If this is an often Seen Problem

1 Like

I suspect that maybe apt-get upgrade does this. I have never been in the habit of clearing the cache, but after I tried it with the rouge snapshots, I noticed that startup took much longer and was done in 2 stages just as I have noticed it does after an upgrade. Clearing the cache has never made any difference for me.