openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

missing cups binding #5859

Open staehler opened 5 years ago

staehler commented 5 years ago

The cups binding disappeared from the bindings list, which means I cannot install it. Could you please add it again. I had problems to get IPP binding running, thats why I'ld prefer to stay with the cups binding.

Im running debian stretch and openhab2 2.5.0~S1587-1.

This latest cups binding doesn't work, as it throws this errors:

2019-05-08 21:26:16.386 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.cups-1.14.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.cups [200]
2019-05-08 21:26:28.874 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'cups.items'
2019-05-08 21:44:37.538 [WARN ] [org.apache.felix.fileinstall        ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.cups-1.14.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.cups [200]

Could you please help.

davidgraeff commented 5 years ago

openHAB 1 bindings might not work in OH 2.5 as announced in the community forum. It's not related to this repo in any way, you may try your to report at the OH1-addons repo.

kaikreuzer commented 5 years ago

Err, "might not work" should not mean that it isn't at all available anymore... Is this the only 1.x binding that has disappeared? If so, does anybody know, why this might have happened?

staehler commented 5 years ago

Regarding to my addons.cfg I have this OH1 bindings running: binding=fritzboxtr0641,http1,mqtt1,networkupstools1,plex1,snmp1,weather1,caldav-command1,caldav-personal1,expire1,mqttitude1 It's about 50% of my bindings. Does this really mean, all this binding won't work in the future? This would be really pitty and could be the end of my openhab installation. Meanwhile I haven't enough time, to spend too much mirgration efforts :-( It was quite hard to migrate from knx1 to knx2, also the migration from onewire1 to onewire2. The migration of mqtt1 to mqtt2 is on my plan, but loosing all the other bindings is for me a catastroph and means for me either ever never upgrade oh or switch to another home automation platform.

Never the less, I would thank you all very much for all your efforts.

J-N-K commented 5 years ago

@staehler Do these bindings work with S1587 and cups is the only missing? Or do they all fail?

kaikreuzer commented 5 years ago

Does this really mean, all this binding won't work in the future?

No, it does not mean this, no worries.

kaikreuzer commented 5 years ago

Just checked: All other 1.x bindings are available in the distro. I actually do not find the cups binding in the 1.x feature list - it looks to me as if it has never been available in openHAB 2.

@staehler, when you say it has disappeared from the binding list: What was the latest openHAB version, where you saw it as an option?

staehler commented 5 years ago

@kaikreuzer, I cannot say, when it disappeared from the bindings list, as it was downloaded automatically, but I first recognized the missing about 20d ago (see https://community.openhab.org/t/cups-binding-not-offered-in-paperui/72826). This workaround helped for the next few days. But now, with the latest openhab version, it doesnt load anymore (see my first post).

That's really great to hear, that the OH1 bindings will work in the future. Thanks Kai for this and all your efforts, I'm a really great openHab fan.

staehler commented 5 years ago

@J-N-K yes, the remaining OH1 bindings seem to work. I fight at the moment with some other openhab instabilities, so I couldn't figure out, what is going wrong now. 1 month ago OH run quite reliable, but with the latest releases lots of unpredictable things happen. squeezebox binding doesn't connect to squeezeserver, KNX blinds sometimes drive, sometimes not, and CUPS disappeared, which explaines that my printer doesn't start. CometVisu just shows an empty page ... I'm running OH since about 5 years and regularily updated it, but at the moment there seems to be the "wurm drin" ;-) I'm trying to fall back to an older release and hope that I can get rid of this issues (openhab Milestone 2.5.0M1).

What is the best migration without loosing configurations?

  1. openhab-cli backup
  2. uninstall openhab
  3. install desiredOH version
  4. recover backup