NEWS
Test Adapter Linux Control v1.x.x
-
@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
-
@flexer Hast du unter Services irgendwas eingetragen?
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
Da scheint irgendwas vorhanden zu sein das dort nicht hingehört
Oder lass mal probehalber die Häkchen bei Datenpunkte-Services weg. -
@chaot Services hatte ich nichts eingetragen. Das Feld war leer. Habe jetzt mal SSH hinzugefügt.
Jetzt sieht sind alle Fehler weg außer das hierlinux-control.0 2025-02-03 11:36:09.949 warn [needrestart] Serverrack (192.168.178.141:22): package 'needrestart' not installed. You must install 'needrestart' to use this functions or deactivate the datapoints!
-
Hallo zusammen ,
ich den adapter instlliert , läuft soweit auch . Version 1.16bekomme diese meldung , wie kann ich das lösen ?
linux-control.0 2025-02-03 12:09:00.406 error Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
-
@flexer Auf dem Server needrestart installieren oder im Adapter
-- Datenpunkte - needrestart
alle deaktivieren -
@chucky666 sagte in Test Adapter Linux Control v1.x.x:
Hallo zusammen ,
ich den adapter instlliert , läuft soweit auch . Version 1.16bekomme diese meldung , wie kann ich das lösen ?
linux-control.0 2025-02-03 12:09:00.406 error Object linux-control.0.command.host is invalid: obj.common.states has an invalid type! Expected "object", received "string"
Stable ist
-
@chaot danke für die info
ich habe es jetzt installiert der Fehler bleibtsorry habe die 1.15 installiert
-
@chucky666 sagte in Test Adapter Linux Control v1.x.x:
sorry habe die 1.15 installiert
Die gibt's auch nicht.
Diese Fehlermeldung hat es schonmal als Warnmeldung gegeben, vielleicht solltest du bei Github ein Issue erstellen.
Was funktioniert denn jetzt nicht bei deinem Adapter?
-
@meister-mopper so funktioniert alles , wollte nur wissen ob ich das lösen kann .
es kommt nur bei einen Neustart von dem Adapter .version 1.1.5 -
@chucky666 sagte in Test Adapter Linux Control v1.x.x:
wollte nur wissen ob ich das lösen kann
Das wirst du nicht lösen können, wenn dann der/die Maintainer des Adapters (Zitat: Issue).
-
@meister-mopper ok danke , ich hoffe der Adapter wird weitergepflegt
-
@Meister-Mopper bei mir läuft der adapter mit allen Bookworm Abfragen prima, nur beim Raspi haperts. Da gibt es wohl kein "apt-get" was entsprechende Fehler generiert.
In den Datapoints hab ich z.B. den"codename" deaktiviert da es den wohl auch nicht gibt. Kann ich das "apt-get" auch irgendwie loswerden ?NAME=Buildroot
VERSION=-gdb57d1d
ID=buildroot
VERSION_ID=2024.05.2
PRETTY_NAME="Buildroot 2024.05.2"[cmdAptUpdate] raspimatic-nuc2 (192.168.178.23:22): response error: sh: apt-get: not found, stack: ResponseError: [cmdAptUpdate] raspimatic-nuc2 (192.168.178.23:22): sh: apt-get: not found at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:907:26) at processTicksAndRejections (node:internal/process/task_queues:95:5) at LinuxControl.cmdAptUpdate (/opt/iobroker/node_modules/iobroker.linux-control/main.js:739:21) at LinuxControl.updateInfos (/opt/iobroker/node_modules/iobroker.linux-control/main.js:622:6) at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:79:5) at async Promise.allSettled (index 11) at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:53:4)
-