Seite 1 von 1

ERROR: 409 - Conflict alle new Things

Verfasst: 19. Dez 2020 09:53
von Phanom
Hallo Gurus,

ich bin Neuling was openHAB angeht und hoffe hier von Euch Hilfe zu bekommen.

das alle Einstellungen der anzusteuernde Geräte stimmen ist geprüft mit einem Testsystem.

OpenHAB läuft da wunderbar und die Geräte lassen sich auch steuern, jetzt wollte ich alles neu auf dem Server installieren doch sobald ich irgend ein Binding auswähle das ein Thing erstellt wird bekomme ich die Fehlermeldung ERROR: 409 - Conflict.

Testsystem ist Ubuntu 18.04 alles geht.
Server Ubuntu 20.04 alle Cnflict error
OpenHAB ist bei beiden 2.5.11

openhab.log

Code: Alles auswählen

at org.openhab.binding.kodi.internal.KodiHandlerFactory.<init>(KodiHandlerFactory.java:78) ~[?:?]
        ... 77 more
2020-12-18 22:07:01.452 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:01.855 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:02.368 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:02.372 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:02.851 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:02.925 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:03.342 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:04.416 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:51.188 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:53.210 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:07:53.711 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:08:02.658 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:08:02.680 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:08:03.180 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:08:05.679 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' to inbox.
2020-12-18 22:08:13.321 [WARN ] [g.discovery.internal.PersistentInbox] - Cannot create thing. No binding found that supports creating a thing of type kodi:kodi.
events.log

Code: Alles auswählen

2020-12-18 22:07:01.448 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:01.452 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:01.834 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:01.855 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:02.338 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:02.368 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:02.371 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:02.372 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:02.834 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:02.851 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:02.907 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:02.925 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:03.330 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:03.343 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:04.403 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:04.417 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:04.419 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:51.189 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:53.196 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:53.211 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:53.213 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:07:53.711 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:07:53.714 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:08:02.659 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:08:02.664 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:08:02.680 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:08:03.165 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:08:03.180 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
2020-12-18 22:08:03.183 [me.event.InboxRemovedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been removed.
2020-12-18 22:08:05.679 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
Gleiche ergebniss bei Fritz.box binding

Getestet hab ich nur eine Netzwerkkarte an IP eingetragen in den Thing bei versuch Händich zu erstellen, Backup vom testsystem und auf server wider eingespielt.

gefühlt 15 mal neu angefangen und openHAB auf dem Server neu installiert.
die überlegung das komplette testsystem auf den Server zu übertragen hatte ich auch schon aber dann bin ich eine Woche beschäftigt alle anderen Anwendungen und Dienste wieder zum Laufen zu bekommen.

Villeicht habt ihr noch eine bessere idee.

Danke

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 19. Dez 2020 12:03
von udo1toni
Welche Java Version verwendest Du? Wie hast Du openHAB installiert?

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 20. Dez 2020 12:16
von Phanom
Hallo udo1toni

Java Versionen hab ich jetzt schon einige versucht habe auch gleich gezogen mit dem testclient

Code: Alles auswählen

sudo update-alternatives --config java
Es gibt 2 Auswahlmöglichkeiten für die Alternative java (welche /usr/bin/java bereitstellen).

  Auswahl      Pfad                                            Priorität Status
------------------------------------------------------------
* 0            /usr/lib/jvm/zulu8/jre/bin/java                  1805001   automatischer Modus
  1            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manueller Modus
  2            /usr/lib/jvm/zulu8/jre/bin/java                  1805001   manueller Modus
Installiert wie beschrieben https://www.openhab.org/docs/installati ... stallation

Code: Alles auswählen

https://www.openhab.org/docs/installation/linux.html#package-repository-installation

wget -qO - 'https://bintray.com/user/downloadSubjectPublicKey?username=openhab' | sudo apt-key add -
sudo apt-get install apt-transport-https
echo 'deb https://dl.bintray.com/openhab/apt-repo2 stable main' | sudo tee /etc/apt/sources.list.d/openhab2.list
sudo apt-get update 
sudo apt-get install openhab2


sudo systemctl start openhab2.service
sudo systemctl status openhab2.service

sudo systemctl daemon-reload
sudo systemctl enable openhab2.service

hier das Event.log
event.log

Code: Alles auswählen

2020-12-20 11:25:02.487 [thome.event.ExtensionEvent] - Extension 'package-simple' has been installed.
2020-12-20 11:25:08.115 [thome.event.ExtensionEvent] - Extension 'misc-ruleengine' has been installed.
2020-12-20 11:25:08.116 [thome.event.ExtensionEvent] - Extension 'ui-habpanel' has been installed.
2020-12-20 11:25:08.116 [thome.event.ExtensionEvent] - Extension 'ui-paper' has been installed.
2020-12-20 11:25:37.322 [thome.event.ExtensionEvent] - Extension 'binding-kodi' has been installed.
2020-12-20 11:25:38.160 [home.event.InboxAddedEvent] - Discovery Result with UID 'kodi:kodi:aa5f3ad1-8747-3c53-b405-2e32dcbc4c0f' has been added.
status von openhab2

Code: Alles auswählen

systemctl status openhab2.service
● openhab2.service - openHAB 2 - empowering the smart home
     Loaded: loaded (/lib/systemd/system/openhab2.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-12-20 11:24:25 CET; 41min ago
       Docs: https://www.openhab.org/docs/
             https://community.openhab.org
   Main PID: 26706 (java)
      Tasks: 358 (limit: 57570)
     Memory: 1.1G
     CGroup: /system.slice/openhab2.service
             └─26706 /usr/bin/java -Dopenhab.home=/usr/share/openhab2 -Dopenhab.conf=/etc/openhab2 -Dopenhab.runtime=/usr/share/openhab2/runtime -Dopenhab.userdata=/var/lib/openhab2 -Dopenhab.logd>

Dez 20 11:24:25 Core-32 systemd[1]: Started openHAB 2 - empowering the smart home.

mit falscher Java version stand hier Fehlermeldungen von Karaf.

hoffe kannst was damit anfangen.

Grüße und eine schönen 4.Advent
Phanom

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 20. Dez 2020 12:30
von Phanom
Hier noch mal das komplette log error gefiltert habe heute morgen noch mal installiert vorher fail2ban und eine Netzwerkkarte vom Kabel getrennt.

openhab.log

Code: Alles auswählen

 less  /var/log/openhab2/openhab.log| grep Er
2020-12-20 11:25:37.175 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.208 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.241 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.269 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.297 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
user@Server:/var/log/openhab2$ less  /var/log/openhab2/openhab.log| grep ER
2020-12-20 11:25:37.159 [ERROR] [t.http.internal.WebClientFactoryImpl] - Could not start Jetty web socket client
2020-12-20 11:25:37.175 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.191 [ERROR] [t.http.internal.WebClientFactoryImpl] - Could not start Jetty web socket client
2020-12-20 11:25:37.208 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.224 [ERROR] [t.http.internal.WebClientFactoryImpl] - Could not start Jetty web socket client
2020-12-20 11:25:37.241 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.257 [ERROR] [t.http.internal.WebClientFactoryImpl] - Could not start Jetty web socket client
2020-12-20 11:25:37.269 [ERROR] [org.openhab.binding.kodi            ] - bundle org.openhab.binding.kodi:2.5.11 (213)[org.openhab.binding.kodi.internal.KodiHandlerFactory(267)] :  Error during instantiation of the implementation object
2020-12-20 11:25:37.283 [ERROR] [t.http.internal.WebClientFactoryImpl] - Could not start Jetty web socket client
2020-12-20 11:25:37.297 [ERROR] [org.openhab.binding.kodi 

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 20. Dez 2020 15:42
von peter-pan
Udo meinte, glaube ich das:

Code: Alles auswählen

[15:40:20] openhabian@openHABPi:~$ java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (Zulu 8.48.3.246-CA-linux_aarch32hf) (build 1.8.0_265-b11)
OpenJDK Client VM (Zulu 8.48.3.246-CA-linux_aarch32hf) (build 25.265-b11, mixed mode)
[15:41:39] openhabian@openHABPi:~$

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 20. Dez 2020 16:47
von Phanom
Hallo peter-pan

Code: Alles auswählen

java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (Zulu 8.50.0.51-CA-linux64) (build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (Zulu 8.50.0.51-CA-linux64) (build 25.275-b01, mixed mode)

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 20. Dez 2020 17:25
von peter-pan
...weiterhelfen kann ich dir leider nicht, da ich eine "einfache" Installation auf einem RasPi habe. Aber vielleicht kann Udo mit dieser Info etwas anfangen.

Re: ERROR: 409 - Conflict alle new Things

Verfasst: 21. Dez 2020 01:36
von udo1toni
Was mich etwas irritiert, ist, dass offensichtlich unmittelbar das kodi Binding installiert wird. Hast Du evtl. schon die Konfiguration aus dem Testsystem mit eingespielt?