Karaf 4.0.8 Upgrade


(Kai Kreuzer) #1

All,

I upgraded the distro to Karaf 4.0.8 last night - I just noticed that this breaks the apt upgrade right now.
So please refrain from upgrading through apt until further notice!

UPDATE: @Benjy was so kind to provide a fix - with this, you are not asked anymore whether you want to overwrite certain files and thus you cannot give the wrong answer anymore :wink:
All should be fine again.

Karaf 4.0.8 now allows a highly optimized way of installing add-ons, which is now used by openHAB. This should especially speed up the installation process after a first startup or upgrade.

Cheers,
Kai


(Sasha) #2

too late :slight_smile:
Was ok in the morning, but now half of the items doesn’t work.

2016-12-22 21:10:03.019 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'AV_volume' for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.019 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.020 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.020 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.020 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'AV_volume' for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.020 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'AV_volume' for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.021 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'AV_volume' for widget org.eclipse.smarthome.model.sitemap.Switch
2016-12-22 21:10:03.022 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.023 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.023 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'homeserver_cpu_load' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.023 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'homeserver_cpu_load' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.023 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'homeserver_cpu_load' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.035 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.036 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.037 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'ESP_Rack_Temp' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.038 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'ESP_Rack_Temp' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.039 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'ESP_Rack_Temp' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.040 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.042 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.044 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'ESP_Rack_Humidity' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.045 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'ESP_Rack_Humidity' for widget org.eclipse.smarthome.model.sitemap.Text
2016-12-22 21:10:03.046 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'ESP_Rack_Humidity' for widget org.eclipse.smarthome.model.sitemap.Text

(Kai Kreuzer) #3

Sorry…
The upgrade process is still not stable, so note that you have to live with such surprises for now :frowning:
I asked @Benjy for help on fixing the Debian package.


(Ben Clark) #4

I’ll have a look now!


(Meshx86) #5

sorry if this does not belong in here, i noticed the MQTT binding name has changed,i had to install it with feature:install openhab-binding-mqtt1

is this something temporarily all the binding has been overhauled ?


(Kai Kreuzer) #6

You might have missed this.


(Kai Kreuzer) #7

@Benjy was so kind to provide a fix - with this, you are not asked anymore whether you want to overwrite certain files and thus you cannot give the wrong answer anymore :wink:
All should be fine again.


(lipp_markus) #8

Just updated and the only ever-repeating error message I am getting is this:

2016-12-22 19:10:30.134 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.RuntimeException: Could not resolve mvn:org.eclipse.birt.runtime/org.eclipse.osgi/3.10.2.v20150203-1939
	at org.apache.karaf.main.util.SimpleMavenResolver.resolve(SimpleMavenResolver.java:59)
	at org.apache.karaf.main.Main.createClassLoader(Main.java:410)
	at org.apache.karaf.main.Main.launch(Main.java:251)
	at org.apache.karaf.main.Main.main(Main.java:177)

(Kai Kreuzer) #9

Hm, sounds like the same as this report.


(Sasha) #10

Thanks for a fast fix, I’ve updated via apt-get, but it’s still doing the same. Should I manually fix that?

Edit: Fixed. I had also to rename the items to http1 and mqtt1.
After that I’ve uninstalled the bindings from Paper UI and added them to addons.cfg.

Switch AV_tv_on  	 (AV, OHCloud) 	{http1=">[ON:GET:http://localhost:1880/av_control?av=tvon]"}

Thanks!


(John Cocula) #11

I don’t think it’s correct to have http1= – try http= ?


(Sasha) #12

Yes, it’s not working. I’m not sure what caused it again.
I’ve changed http1 to http.

I’m confused. So the problem is only with http and mqtt items. Now I’ve commented everything in addons.cfg, uninstalled, installed them again from paper ui and updated items file so all the items got reloaded (as I understand).
What else can I do?
Thanks!!

Update:
Got fixed.
The tag position was wrong.
Here is the post: New Binding: Amazon Echo