NEWS
Alpha Test js-controller 5.0
-
@apollon77 said in Alpha Test js-controller 5.0:
@gaspode Die Alpha ist nicht geändert seit gestern ... keine Ahnung ... interessant.
Wie gesagt die Frage oben ist noch offen ob der Admin mit dem User "Admin" genutzt wurde oder einem anderen pot. eingeschränkten User, weil eine Änderung im js-controller 5 ist das bei requireLog jetzt die Nutzerrechte geprüft werden!
Achso. Also bei mir läuft der Admin als Admin. Hab mich mit Usern noch nicht auseinander gesetzt.
Wenn ich den Admin unter einem User laufen lasse, der in einer neuen Gruppe mit Default-Rechten ist, geht gar nix mehr mit Admin. Fehler "Cannot read system config: permissionError". Liegt aber bestimmt an meiner Unwissenheit.Edit: OK, ist bei Controller 4 auch so, liegt also an mir. Kann man das irgendwo nachlesen, wie man den admin unter einem anderen User zum Laufen bekommt?
-
@apollon77 sagte in Alpha Test js-controller 5.0:
Wie gesagt die Frage oben ist noch offen ob der Admin mit dem User "Admin" genutzt wurde oder einem anderen pot. eingeschränkten User,
Das Problem mit dem nicht aktualisierenden LOG ist bei meinem Admin User, also kein eingeschränkter User.
-
@gaspode Da die Admin Oberfläche vorrangig zum administrieren genutzt wird, benötigst du meistens sowieso die ganzen Objektrechte etc.
Für Admin macht es mmn wenig Sinn, ich habe z. B. eine Visu unter einem Nutzer laufen. -
@feuersturm In der Browserkonsole evtl. etwas was einen Hinweis geben könnte?
-
@foxriver76 sagte in Alpha Test js-controller 5.0:
@feuersturm In der Browserkonsole evtl. etwas was einen Hinweis geben könnte?
Browser Konsole enthält keine Fehlermeldungen (Protokoll Fenster im Admin geöffnet und mal testweise eine Instanz neu gestartet).
Werde gleich mal ein issue beim Controller eröffnen.
https://github.com/ioBroker/ioBroker.js-controller/issues/2191 -
@apollon77 Bis auf den Yeelight-2 Adapter scheint alles zu laufen. Bei diesem kommt folgende Meldung:
host.iobroker 2023-04-01 09:21:31.466 info Restart adapter system.adapter.yeelight-2.0 because enabled host.iobroker 2023-04-01 09:21:31.466 error instance system.adapter.yeelight-2.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: at TCP.<anonymous> (node:net:322:12) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: at Socket.emit (node:domain:489:12) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: at Socket.emit (node:events:525:35) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: at Object.onceWrapper (node:events:628:26) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: at Socket.onClose (node:net:911:10) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: at new NodeError (node:internal/errors:399:5) host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[1]: Error: Socket closed before the connection was established host.iobroker 2023-04-01 09:21:31.466 error Caught by controller[0]: 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(). The promise rejected with the reason: yeelight-2.0 2023-04-01 09:21:31.300 info terminating yeelight-2.0 2023-04-01 09:21:30.801 warn Terminated (UNCAUGHT_EXCEPTION): Without reason yeelight-2.0 2023-04-01 09:21:30.801 info terminating yeelight-2.0 2023-04-01 09:21:30.800 info cleaned everything up... yeelight-2.0 2023-04-01 09:21:30.795 error Exception-Code: ERR_SOCKET_CLOSED_BEFORE_CONNECTION: Socket closed before the connection was established yeelight-2.0 2023-04-01 09:21:30.795 error Error: Socket closed before the connection was established at new NodeError (node:internal/errors:399:5) at Socket.onClose (node:net:911:10) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:525:35) at Socket.emit (node:domain:489:12) at TCP.<anonymous> (node:net:322:12) yeelight-2.0 2023-04-01 09:21:30.795 error unhandled promise rejection: Socket closed before the connection was established yeelight-2.0 2023-04-01 09:21:30.795 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(). yeelight-2.0 2023-04-01 09:21:27.240 info starting. Version 1.2.1 (non-npm: iobroker-community-adapters/ioBroker.yeelight-2#2927cdb26f938e958726504bfa2d6dec43049b77) in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v18.15.0, js-controller: 5.0.1-alpha.0-20230330-e0b409fe host.iobroker 2023-04-01 09:21:25.668 info instance system.adapter.yeelight-2.0 started with pid 701331 host.iobroker 2023-04-01 09:21:25.216 info "system.adapter.yeelight-2.0" enabled
-
hier mit dem Yeelight-Adapter keine Probleme, hab Node 18 installiert, im lxc unter debian bullseye.., alles auf latest:
Welche Node Version hast du installiert?
-
seq.0 2023-04-01 10:17:13.167 warn State "seq.0.system.adapter.seq.0.logging" has no existing object, this might lead to an error in future versions seq.0 2023-04-01 10:17:13.145 info starting. Version 0.2.10 in /opt/iobroker/node_modules/iobroker.seq, node: v18.15.0, js-controller: 5.0.1-alpha.0-20230330-e0b409fe host.usv-serverschrank 2023-04-01 10:17:12.531 info instance system.adapter.seq.0 started with pid 24436
der ist verkehrt
seq.0.system.adapter.seq.0.logging
-
@ilovegym Node.js: v18.15.0 wie bei dir....
Nachtrag; Ich habe die Instanz gelöscht....eine neue gemacht....und jetzt kommen keine Fehler mehr -
@arteck danke. Foxriver hat damit Fehler gefunden.
-
@docgame hat nichts mit Controller zu tun.
-
@apollon77 Schreibst du hier, wenn es eine neue Version vom js-controller gibt die getestet werden soll?
-
Beeindruckend wie schnell das update auf den js-controller 5.0 durchgeführt worden ist.
Ich habe auch das bekannte Problem mit dem log und der milight-smart-light Adapter funktioniert nicht wirklich.
https://github.com/Steiger04/ioBroker.milight-smart-light/issues/58Ansonsten läuft alles.
-
@feuersturm Na klar,
-
Nach einem erneuten Neustart von ioBroker, will mein Yeelight Adapter plötzlich auch nicht mehr.
host.ioBroker-Rock 2023-04-02 21:33:58.543 warn Do not restart adapter system.adapter.yeelight-2.0 because restart loop detected host.ioBroker-Rock 2023-04-02 21:33:58.543 info Restart adapter system.adapter.yeelight-2.0 because enabled host.ioBroker-Rock 2023-04-02 21:33:58.543 error instance system.adapter.yeelight-2.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker-Rock 2023-04-02 21:33:58.542 error Caught by controller[0]: at TCP.<anonymous> (node:net:322:12) host.ioBroker-Rock 2023-04-02 21:33:58.542 error Caught by controller[0]: at Socket.emit (node:domain:489:12) host.ioBroker-Rock 2023-04-02 21:33:58.542 error Caught by controller[0]: at Socket.emit (node:events:525:35) host.ioBroker-Rock 2023-04-02 21:33:58.541 error Caught by controller[0]: at Object.onceWrapper (node:events:628:26) host.ioBroker-Rock 2023-04-02 21:33:58.541 error Caught by controller[0]: at Socket.onClose (node:net:911:10) host.ioBroker-Rock 2023-04-02 21:33:58.541 error Caught by controller[0]: at new NodeError (node:internal/errors:399:5) host.ioBroker-Rock 2023-04-02 21:33:58.540 error Caught by controller[0]: Error: Socket closed before the connection was established host.ioBroker-Rock 2023-04-02 21:33:58.539 error Caught by controller[0]: 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(). The promise rejected with the reason: yeelight-2.0 2023-04-02 21:33:58.409 info terminating yeelight-2.0 2023-04-02 21:33:57.906 warn Terminated (UNCAUGHT_EXCEPTION): Without reason yeelight-2.0 2023-04-02 21:33:57.904 info terminating yeelight-2.0 2023-04-02 21:33:57.903 info cleaned everything up... yeelight-2.0 2023-04-02 21:33:57.875 error Exception-Code: ERR_SOCKET_CLOSED_BEFORE_CONNECTION: Socket closed before the connection was established yeelight-2.0 2023-04-02 21:33:57.874 error Error: Socket closed before the connection was established at new NodeError (node:internal/errors:399:5) at Socket.onClose (node:net:911:10) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:525:35) at Socket.emit (node:domain:489:12) at TCP.<anonymous> (node:net:322:12) yeelight-2.0 2023-04-02 21:33:57.873 error unhandled promise rejection: Socket closed before the connection was established yeelight-2.0 2023-04-02 21:33:57.871 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(). yeelight-2.0 2023-04-02 21:33:54.669 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v18.15.0, js-controller: 5.0.1-alpha.0-20230330-e0b409fe host.ioBroker-Rock 2023-04-02 21:33:50.899 info instance system.adapter.yeelight-2.0 started with pid 23551 alexa2.0 2023-04-02 21:33:50.136 info Alexa-Push-Connection disconnected - retry: Retry Connection in 60s host.ioBroker-Rock 2023-04-02 21:33:20.706 info Restart adapter system.adapter.yeelight-2.0 because enabled host.ioBroker-Rock 2023-04-02 21:33:20.705 error instance system.adapter.yeelight-2.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker-Rock 2023-04-02 21:33:20.705 error Caught by controller[1]: at TCP.<anonymous> (node:net:322:12) host.ioBroker-Rock 2023-04-02 21:33:20.704 error Caught by controller[1]: at Socket.emit (node:domain:489:12) host.ioBroker-Rock 2023-04-02 21:33:20.704 error Caught by controller[1]: at Socket.emit (node:events:525:35) host.ioBroker-Rock 2023-04-02 21:33:20.701 error Caught by controller[1]: at Object.onceWrapper (node:events:628:26) host.ioBroker-Rock 2023-04-02 21:33:20.701 error Caught by controller[1]: at Socket.onClose (node:net:911:10) host.ioBroker-Rock 2023-04-02 21:33:20.701 error Caught by controller[1]: at new NodeError (node:internal/errors:399:5) host.ioBroker-Rock 2023-04-02 21:33:20.700 error Caught by controller[1]: Error: Socket closed before the connection was established host.ioBroker-Rock 2023-04-02 21:33:20.699 error Caught by controller[0]: 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(). The promise rejected with the reason: yeelight-2.0 2023-04-02 21:33:20.586 info terminating yeelight-2.0 2023-04-02 21:33:20.084 warn Terminated (UNCAUGHT_EXCEPTION): Without reason yeelight-2.0 2023-04-02 21:33:20.082 info terminating yeelight-2.0 2023-04-02 21:33:20.081 info cleaned everything up... yeelight-2.0 2023-04-02 21:33:20.051 error Exception-Code: ERR_SOCKET_CLOSED_BEFORE_CONNECTION: Socket closed before the connection was established yeelight-2.0 2023-04-02 21:33:20.049 error Error: Socket closed before the connection was established at new NodeError (node:internal/errors:399:5) at Socket.onClose (node:net:911:10) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:525:35) at Socket.emit (node:domain:489:12) at TCP.<anonymous> (node:net:322:12) yeelight-2.0 2023-04-02 21:33:20.048 error unhandled promise rejection: Socket closed before the connection was established yeelight-2.0 2023-04-02 21:33:20.047 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(). yeelight-2.0 2023-04-02 21:33:16.855 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v18.15.0, js-controller: 5.0.1-alpha.0-20230330-e0b409fe host.ioBroker-Rock 2023-04-02 21:33:13.855 info instance system.adapter.yeelight-2.0 started with pid 23534
-
Alpha (@next) updated to 5.0.1-alpha.0-20230403-fd495c2e
- Fixes missing logging object when logTransporter is used (e.g. Admin)
- Fixes other issue with logTransporter (e.g. Admin) - events should now stream again in Admin
- Fixed Compact group initialization
- Fixes Binary/Text detection in writeFile
- Fixes sendToHost (all) command
Laut aktuellem stand sind damit alle gemeldete und auf den controller zurückzuführeden Themen behoben. Das Windows Kodi/git-npm-Fehler Thema muss man noch genauer untersuchen denke ich.
-
@apollon77
Die Missing Logging object Warnung tritt hier nicht mehr auf
Admin Log wird automatisch aktualisiert (wobei das bei mir ja auch mit der Vorgängerversion ging)Sonst ist mir erst mal nix aufgefallen,
nur ein alter bekannter unter Windows ist wieder da (das liegt aber am aktualisierten JavaScript Adapter): Der Font für die Symbole im Suchfenster ist kaputt:
Fehlermeldung im Logjavascript.0 2023-04-03 12:43:30.883 error Cannot patch font: Error: Parameter "data" needs to be a Buffer but type "object" has been passed
Edit: OK, vergiss es, hat Bluefox bereits (wieder) in GIT gefixt.
-
Danke für das Update.
Das Problem mit Yeelight besteht weiterhin.host.ioBroker-Rock 2023-04-03 21:29:21.231 info Restart adapter system.adapter.yeelight-2.0 because enabled host.ioBroker-Rock 2023-04-03 21:29:21.230 error instance system.adapter.yeelight-2.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker-Rock 2023-04-03 21:29:21.229 error Caught by controller[1]: at TCP.<anonymous> (node:net:322:12) host.ioBroker-Rock 2023-04-03 21:29:21.228 error Caught by controller[1]: at Socket.emit (node:domain:489:12) host.ioBroker-Rock 2023-04-03 21:29:21.227 error Caught by controller[1]: at Socket.emit (node:events:525:35) host.ioBroker-Rock 2023-04-03 21:29:21.227 error Caught by controller[1]: at Object.onceWrapper (node:events:628:26) host.ioBroker-Rock 2023-04-03 21:29:21.226 error Caught by controller[1]: at Socket.onClose (node:net:911:10) host.ioBroker-Rock 2023-04-03 21:29:21.225 error Caught by controller[1]: at new NodeError (node:internal/errors:399:5) host.ioBroker-Rock 2023-04-03 21:29:21.225 error Caught by controller[1]: Error: Socket closed before the connection was established host.ioBroker-Rock 2023-04-03 21:29:21.224 error Caught by controller[0]: 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(). The promise rejected with the reason: yeelight-2.0 2023-04-03 21:29:20.592 warn Terminated (UNCAUGHT_EXCEPTION): Without reason yeelight-2.0 2023-04-03 21:29:20.590 info terminating yeelight-2.0 2023-04-03 21:29:20.589 info cleaned everything up... yeelight-2.0 2023-04-03 21:29:20.562 error Exception-Code: ERR_SOCKET_CLOSED_BEFORE_CONNECTION: Socket closed before the connection was established yeelight-2.0 2023-04-03 21:29:20.561 error Error: Socket closed before the connection was established at new NodeError (node:internal/errors:399:5) at Socket.onClose (node:net:911:10) at Object.onceWrapper (node:events:628:26) at Socket.emit (node:events:525:35) at Socket.emit (node:domain:489:12) at TCP.<anonymous> (node:net:322:12) yeelight-2.0 2023-04-03 21:29:20.560 error unhandled promise rejection: Socket closed before the connection was established yeelight-2.0 2023-04-03 21:29:20.558 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(). host.ioBroker-Rock 2023-04-03 21:29:20.372 info instance system.adapter.alexa2.0 started with pid 33531 host.ioBroker-Rock 2023-04-03 21:29:18.170 info instance system.adapter.alexa2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.ioBroker-Rock 2023-04-03 21:29:17.910 info instance system.adapter.device-watcher.0 started with pid 33520 yeelight-2.0 2023-04-03 21:29:17.308 info starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.yeelight-2, node: v18.15.0, js-controller: 5.0.1-alpha.0-20230403-fd495c2e
-
@apollon77 sagte in Alpha Test js-controller 5.0:
Alpha (@next) updated to 5.0.1-alpha.0-20230403-fd495c2e
Master Slave System wurde erfolgreich aktualisiert.
Admin Log aktualisiert sich jetzt auch wieder automatischBisher keine weiteren Auffälligkeiten bei mir
Dankeschön -
@e-i-k-e mach mal loglevel Debug. Vllt sieht man da mehr.