NEWS
Test Adapter Linux Control v1.x.x
-
Hallo,
heute habe ich auch mal eine Frage. Aktuelle läuft bei mir der Adapter in der Version 1.1.6 mit
Admin: 7.0.22 nodejs: 18.20.4 NPM: 10.7.0 js-controller: 5.0.19
Bevor ich Kernkomponenten aktualisiere, teste ich bestimmte Adapter immer erst auf meinem Testsystem
Admin: 7.0.22 nodejs: 20.16.0 NPM: 10.8.1 js-controller: 6.0.9
Bei der Installation auf dem Testsystem wurde gleich ein Rebuild bei diesem Adapter erfolgreich durchgeführt. Der Adapter funktioniert auch wie auf meinem Produktivsystem erfolgreich.
NUN zur eigentlichen Frage. Wenn ich auf meinem Produktivsystem jetzt noch nodejs auf 20 und js-controller auf 6 anhebe, wird dann der Rebuild automatisch durchgeführt oder muss ich noch etwas manuell machen?
Danke für Eure Hilfe.
Ro75.
-
@ro75 ich seh da zwar nix von adaptern, aber dein sys ist "etwas" veraltet.
zumindest immer auf stable halten! -
@da_woody Hast du dir den Post mal genau durchgelesen? Auf meine Frage habe ich keine Antwort bekommen.
Ro75.
-
ja.
und am besten so:- iobroker stoppen und Backup iobroker starten, Backup vom System machen
- System updates und reboot
- Node auf 20 anheben,
- js-controller und alle iobroker updates durchfuehren, reboot
- testen, ob alles geht.
- falls nicht, restore / rollback
-
@ro75 sorry, überlesen das es um den linuxcontrol geht...
abgesehn davon, dein sys ist nicht aktuell. -
@da_woody ok, danke aber du hast wieder nicht alles gelesen. Schade... Wenn du gelesen hättest, hättest du gesehen... Egal, ich habe bereits die Antwort. Danke.
Ro75.
-
@ro75 sagte in Test Adapter Linux Control v1.x.x:
wird dann der Rebuild automatisch durchgeführt
Ja, i.d.R. schon.
Funktioniert aber nicht immer wie vorgesehen. -
@thomas-braun Danke für deine Antwort. Hat alles funktioniert.
Ro75.
-
Ich nutze den Adapter schon länger.
Mir sind schon länger die regelmäßigen Warnungenlinux-control.0 2024-12-10 16:28:00.965 warn Object linux-ontrol.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" This will throw an error up from js-controller version 7.0.0!
und
linux-control.0 2024-12-10 16:28:00.920 error Object linux-ontrol.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
aufgefallen.
Habe mich aber weiter nicht gestört, bis ich die heute die "Services" heute unter den DATAPOINTS aktivierte^^
Da wurde ich mit Warnungen zugeschüttet.Als Lösung fand ich
Fix https://github.com/Scrounger/ioBroker.linux-control/issues/46Hat prompt funktioniert, alle Warnungen der Services weg, nur die eine vom command.host blieb.
Gibt's dafür vielleicht auch Lösung?
In dem Repo vom Linux Controll tut sich ja scheinbar nicht mehr viel -
@peff dann zeige doch mal was da gemacht wird, wenn dieser Fehler ausgelöst wird.
Welche Version setzt du ein?
P.S. ich habe keine Probleme.
Ro75
Edit: Welche Version vom js-controler setzt du ein?
-
Interessant, dass es bei Dir sauber läuft.
die Fehler kommen nur beim Start des Dienstes:
linux-control.0 2024-12-17 12:54:29.687 warn Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" This will throw an error up from js-controller version 7.0.0! linux-control.0 2024-12-17 12:54:29.642 info starting. Version 1.1.5 in /opt/iobroker/node_modules/iobroker.linux-control, node: v20.18.1, js-controller: 7.0.3 linux-control.0 2024-12-17 12:54:29.638 error Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string" host.ioBorker 2024-12-17 12:54:27.447 info instance system.adapter.linux-control.0 in version "1.1.5" started with pid 2218621 host.ioBorker 2024-12-17 12:54:23.917 info instance system.adapter.linux-control.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) linux-control.0 2024-12-17 12:54:23.838 info terminating
linux-control: 1.1.5
admin: 7.2.0
js-controller:7.0.3
Node.js:v20.18.1
NPM:10.8.2
Plattform: Debian 11 -
@peff dann nimm mal die 1.1.6 von Linux Control
Die anderen Adapter habe ich noch nicht auf diesem Stand, also Admin und js-controler
Ro75
-
@ro75
die 1.1.6 ist im ioBroker nicht verfügbar.
Unter Git habe die sie gesehen...Wie schiebe ich die dann auf den ioBroker, ohne mir alles zu zersemmeln?
-
@peff sagte in Test Adapter Linux Control v1.x.x:
Wie schiebe ich die dann auf den ioBroker, ohne mir alles zu zersemmeln?
Ein Testsystem nutzen oder vorher ein Backup machen und dann ein wenig spielen.
Bei Nichtgefallen das Backup aufspielen und gut ist.
-
Backup habe ich, Snapshot ist selbstverändlich.
Aber wie bekomme ich die 1.1.6 drauf? -
Über die Experteneinstellungen.
-
habe es nun hinbekommen.
Expterten Modus und dann über GIT.
danach musste ich natürlich noch einmal das o.g. Fix einspielen und nun rennt es ohne "warn" -
Hallo und guten Morgen,
ich kämpfe jetzt 2 Tage schon mit dem Linux Adapter. Ich bekomme es leider nicht hin, dass sich der Adapter ordentlich verbindet.
Hier einmal die Protokolle aus denen ich als Linux Laie nicht schlau werde. Bin auf Anwenderniveau
linux-control.0 2025-02-03 09:29:56.951 info getting data from Serverrack (192.168.178.141:22, Adapter start) linux-control.0 2025-02-03 09:29:56.917 info starting. Version 1.1.6 (non-npm: Scrounger/ioBroker.linux-control#59f578f3402850684ba8767a24a9ff288b05a3f0) in /opt/iobroker/node_modules/iobroker.linux-control, node: v20.18.2, js-controller: 7.0.6 linux-control.0 2025-02-03 09:29:24.884 warn State "linux-control.0.Serverrack.services.●.running" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.874 warn Used invalid characters: linux-control.0.Serverrack.services.●.running changed to linux-control.0.Serverrack.services._.running linux-control.0 2025-02-03 09:29:24.831 warn State "linux-control.0.Serverrack.services.●.active" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.829 warn Used invalid characters: linux-control.0.Serverrack.services.●.active changed to linux-control.0.Serverrack.services._.active linux-control.0 2025-02-03 09:29:24.785 warn State "linux-control.0.Serverrack.services.●.load" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.784 warn Used invalid characters: linux-control.0.Serverrack.services.●.load changed to linux-control.0.Serverrack.services._.load linux-control.0 2025-02-03 09:29:24.783 warn Used invalid characters: linux-control.0.Serverrack.services.●.stop changed to linux-control.0.Serverrack.services._.stop linux-control.0 2025-02-03 09:29:24.780 error The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.780 error Error: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern at Module.pattern2RegEx (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/src/lib/common/tools.ts:2490:15) at StateRedisClient.subscribe (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:1127:27) at processTicksAndRejections (node:internal/process/task_queues:95:5) linux-control.0 2025-02-03 09:29:24.780 error unhandled promise rejection: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.779 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). linux-control.0 2025-02-03 09:29:24.778 warn Used invalid characters: linux-control.0.Serverrack.services.●.start changed to linux-control.0.Serverrack.services._.start linux-control.0 2025-02-03 09:29:24.775 error Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.775 error ReplyError: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14) linux-control.0 2025-02-03 09:29:24.775 error unhandled promise rejection: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.775 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). linux-control.0 2025-02-03 09:29:24.773 warn Used invalid characters: linux-control.0.Serverrack.services.●.restart changed to linux-control.0.Serverrack.services._.restart linux-control.0 2025-02-03 09:29:24.726 warn State "linux-control.0.Serverrack.services.●.description" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.725 warn Used invalid characters: linux-control.0.Serverrack.services.●.description changed to linux-control.0.Serverrack.services._.description linux-control.0 2025-02-03 09:29:24.683 warn State "linux-control.0.Serverrack.services.●.running" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.681 warn Used invalid characters: linux-control.0.Serverrack.services.●.running changed to linux-control.0.Serverrack.services._.running linux-control.0 2025-02-03 09:29:24.638 warn State "linux-control.0.Serverrack.services.●.active" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.637 warn Used invalid characters: linux-control.0.Serverrack.services.●.active changed to linux-control.0.Serverrack.services._.active linux-control.0 2025-02-03 09:29:24.593 warn State "linux-control.0.Serverrack.services.●.load" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.592 warn Used invalid characters: linux-control.0.Serverrack.services.●.load changed to linux-control.0.Serverrack.services._.load linux-control.0 2025-02-03 09:29:24.494 error Error The pattern "linux-control.0.Serverrack.services.●.stop" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.494 error ReplyError: Error The pattern "linux-control.0.Serverrack.services.●.stop" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14) linux-control.0 2025-02-03 09:29:24.493 error unhandled promise rejection: Error The pattern "linux-control.0.Serverrack.services.●.stop" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.493 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). linux-control.0 2025-02-03 09:29:24.491 warn Used invalid characters: linux-control.0.Serverrack.services.●.stop changed to linux-control.0.Serverrack.services._.stop linux-control.0 2025-02-03 09:29:24.488 error The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.487 error Error: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern at Module.pattern2RegEx (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/src/lib/common/tools.ts:2490:15) at StateRedisClient.subscribe (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:1127:27) at processTicksAndRejections (node:internal/process/task_queues:95:5) linux-control.0 2025-02-03 09:29:24.440 error unhandled promise rejection: The pattern "io.linux-control.0.Serverrack.services.●.start" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.439 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). linux-control.0 2025-02-03 09:29:24.399 warn Used invalid characters: linux-control.0.Serverrack.services.●.start changed to linux-control.0.Serverrack.services._.start linux-control.0 2025-02-03 09:29:24.399 warn Terminated (UNCAUGHT_EXCEPTION): Without reason linux-control.0 2025-02-03 09:29:24.398 info terminating linux-control.0 2025-02-03 09:29:24.398 info cleaned everything up... linux-control.0 2025-02-03 09:29:24.390 error Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.390 error ReplyError: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12) at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14) linux-control.0 2025-02-03 09:29:24.389 error unhandled promise rejection: Error The pattern "linux-control.0.Serverrack.services.●.restart" is not a valid ID pattern linux-control.0 2025-02-03 09:29:24.389 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). linux-control.0 2025-02-03 09:29:24.386 warn Used invalid characters: linux-control.0.Serverrack.services.●.restart changed to linux-control.0.Serverrack.services._.restart linux-control.0 2025-02-03 09:29:24.339 warn State "linux-control.0.Serverrack.services.●.description" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.338 warn Used invalid characters: linux-control.0.Serverrack.services.●.description changed to linux-control.0.Serverrack.services._.description linux-control.0 2025-02-03 09:29:24.291 warn State "linux-control.0.Serverrack.services.●.running" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.289 warn Used invalid characters: linux-control.0.Serverrack.services.●.running changed to linux-control.0.Serverrack.services._.running linux-control.0 2025-02-03 09:29:24.243 warn State "linux-control.0.Serverrack.services.●.active" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.241 warn Used invalid characters: linux-control.0.Serverrack.services.●.active changed to linux-control.0.Serverrack.services._.active linux-control.0 2025-02-03 09:29:24.199 warn State "linux-control.0.Serverrack.services.●.load" has no existing object, this might lead to an error in future versions linux-control.0 2025-02-03 09:29:24.197 warn Used invalid characters: linux-control.0.Serverrack.services.●.load changed to linux-control.0.Serverrack.services._.load linux-control.0 2025-02-03 09:28:45.761 info getting data from Serverrack (192.168.178.141:22, Adapter start) linux-control.0 2025-02-03 09:28:45.723 info starting. Version 1.1.6 (non-npm: Scrounger/ioBroker.linux-control#59f578f3402850684ba8767a24a9ff288b05a3f0) in /opt/iobroker/node_modules/iobroker.linux-control, node: v20.18.2, js-controller: 7.0.6
Hier nochmal meine Einstellungen im Adapter. Login Daten Nutzer und PW sind definitiv korrekt, da ich mit SSH auf den Pi draufkomme.
Vielleicht hat jemand eine Idee
-
@flexer sagte in Test Adapter Linux Control v1.x.x:
io.linux-control.0.Serverrack.services.●.start
Wo kommt denn der große Punkt her? Sonderzeichen im Namen?
-
@chaot Ich wüsste nicht wo da ein Sonderzeichen herkommen könnte. Username ist nichts drin. Im Hostnamen auch nicht und nicht mal im Passwort. Ich kann es mir nicht erklären