NEWS
Alpha Test js-controller 4.0
-
@wendy2702 Auch: Versuch doch mal einen 3.3.22 controller zu installieren. Da wirst Du denke die gleiche Meldungen haben ... damit npm und generelles Rechte thema
-
@apollon77 kann ich vielleicht später noch versuchen. Jetzt ruft die Arbeit
-
@apollon77
Hier läuft iobroker im (privilegierten) lxc (debian) unter proxmox. Installation des js-controller als "normaler" Benutzer funktioniert ohne Probleme.Node.js v14.19.0
NPM v6.14.16 -
Mal noch einen anderen Versuch gewagt: Key und Cert etwas gekürzt.
mirko@iobroker:/opt/iobroker$ sudo -H -u iobroker npm i iobroker.js-controller@next > iobroker.js-controller@4.0.0-alpha.74-20220203-a06ae9e1 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.16 > iobroker.js-controller@4.0.0-alpha.74-20220203-a06ae9e1 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Cannot clean up invalid user group assignments: Cannot read property 'length' of null object system.licenses created object _design/system updated The following notifications happened during sync: - Ignoring Directory "_temp" because officially not created as meta object. Please remove directory! - Ignoring Directory "terminal" because officially not created as meta object. Please remove directory! - Ignoring Directory "terminal.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tr-064.admin" because officially not created as meta object. Please remove directory! { "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nxxxxOHqAJ6mqZ\r\n-----END RSA PRIVATE KEY-----\r\n", "defaultPublic": "-----BEGIN CERTIFICATE-----\rxxxfraHQ==\r\n-----END CERTIFICATE-----\r\n" } Update certificate defaultPrivate The object "system.certificates" was updated successfully. Update certificate defaultPublic The object "system.certificates" was updated successfully. States DB type migrated from "file" to "jsonl" Objects DB type migrated from "file" to "jsonl" ioBroker configuration updated npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules/iobroker.js2fs/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) + iobroker.js-controller@4.0.0-alpha.74-20220203-a06ae9e1 added 37 packages from 42 contributors, removed 109 packages, updated 42 packages and moved 2 packages in 32.791s 163 packages are looking for funding run `npm fund` for details mirko@iobroker:/opt/iobroker$
Startet erstmal:
2022-02-04 12:17:07.056 - info: host.iobroker iobroker.js-controller version 4.0.0 js-controller starting 2022-02-04 12:17:07.059 - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2022-02-04 12:17:07.059 - info: host.iobroker hostname: iobroker, node: v14.19.0 2022-02-04 12:17:07.059 - info: host.iobroker ip addresses: 192.168.178.18 fd30:4253:5f21:46be:805a:fcff:fedc:3d66 2a01:c22:b4d1:b000:805a:fcff:fedc:3d66 fe80::805a:fcff:fedc:3d66 2022-02-04 12:17:08.206 - info: host.iobroker Sets unsupported 2022-02-04 12:17:08.206 - info: host.iobroker Sets unsupported 2022-02-04 12:17:08.708 - info: host.iobroker connected to Objects and States 2022-02-04 12:17:08.715 - info: host.iobroker added notifications configuration of host 2022-02-04 12:17:08.716 - info: host.iobroker Node.js version has changed from unknown to 14.19.0 2022-02-04 12:17:08.748 - info: host.iobroker Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node 2022-02-04 12:17:09.188 - info: host.iobroker 95 instances found 2022-02-04 12:17:09.255 - info: host.iobroker starting 53 instances 2022-02-04 12:17:09.378 - info: host.iobroker instance system.adapter.admin.0 started with pid 12443 2022-02-04 12:17:10.133 - info: admin.0 (12443) Sets unsupported 2022-02-04 12:17:10.134 - info: admin.0 (12443) Sets unsupported 2022-02-04 12:17:10.453 - info: admin.0 (12443) starting. Version 5.2.3 in /opt/iobroker/node_modules/iobroker.admin, node: v14.19.0, js-controller: 4.0.0-alpha.74-20220203-a06ae9e1 2022-02-04 12:17:10.470 - info: admin.0 (12443) requesting all states 2022-02-04 12:17:10.470 - info: admin.0 (12443) requesting all objects 2022-02-04 12:17:11.958 - info: admin.0 (12443) received all objects 2022-02-04 12:17:12.246 - info: admin.0 (12443) http server listening on port 8081 2022-02-04 12:17:12.246 - info: admin.0 (12443) Use link "http://localhost:8081" to configure. 2022-02-04 12:17:13.284 - info: host.iobroker instance system.adapter.email.0 started with pid 12460 2022-02-04 12:17:13.848 - info: email.0 (12460) Sets unsupported 2022-02-04 12:17:13.849 - info: email.0 (12460) Sets unsupported 2022-02-04 12:17:14.158 - info: email.0 (12460) starting. Version 1.0.10 in /opt/iobroker/node_modules/iobroker.email, node: v14.19.0, js-controller: 4.0.0-alpha.74-20220203-a06ae9e1 2022-02-04 12:17:17.376 - info: host.iobroker instance system.adapter.history.0 started with pid 12477 2022-02-04 12:17:18.051 - info: history.0 (12477) Sets unsupported 2022-02-04 12:17:18.052 - info: history.0 (12477) Sets unsupported 2022-02-04 12:17:18.345 - info: history.0 (12477) starting. Version 1.10.5 in /opt/iobroker/node_modules/iobroker.history, node: v14.19.0, js-controller: 4.0.0-alpha.74-20220203-a06ae9e1 2022-02-04 12:17:21.425 - info: host.iobroker instance system.adapter.javascript.0 started with pid 12494 2022-02-04 12:17:22.471 - info: javascript.0 (12494) Sets unsupported 2022-02-04 12:17:22.472 - info: javascript.0 (12494) Sets unsupported 2022-02-04 12:17:22.808 - info: javascript.0 (12494) starting. Version 5.2.21 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.19.0, js-controller: 4.0.0-alpha.74-20220203-a06ae9e1 2022-02-04 12:17:22.849 - info: javascript.0 (12494) npm install jsftp --production (System call) 2022-02-04 12:17:25.381 - info: host.iobroker instance system.adapter.javascript.1 started with pid 12522 2022-02-04 12:17:26.603 - info: javascript.1 (12522) Sets unsupported 2022-02-04 12:17:26.604 - info: javascript.1 (12522) Sets unsupported 2022-02-04 12:17:26.999 - info: javascript.1 (12522) starting. Version 5.2.21 in /opt/iobroker/node_modules/iobroker.javascript, node: v14.19.0, js-controller: 4.0.0-alpha.74-20220203-a06ae9e1 2022-02-04 12:17:27.030 - info: javascript.1 (12522) npm install xml2js --production (System call)
-
@wendy2702 Das siht auch alles perfekt aus. Was war der Unterschied? Das obige sudo-Kommando was es unter dem iobroker user ausführt?
-
@apollon77 Ja. Nur das Kommando....
verstehen muss ich das aktuell noch nicht.
-
@wendy2702 sagte in Alpha Test js-controller 4.0:
Cannot clean up invalid user group assignments: Cannot read property 'length' of null
Unabhängig von der Problematik mit dem Install: Kannst du mal deine
system.group
Objekte zeigen, irgendeins hat da wohl keincommon.members
Attribut. -
@foxriver76 sagte in Alpha Test js-controller 4.0:
@wendy2702 sagte in Alpha Test js-controller 4.0:
Cannot clean up invalid user group assignments: Cannot read property 'length' of null
Unabhängig von der Problematik mit dem Install: Kannst du mal deine
system.group
Objekte zeigen, irgendeins hat da wohl keincommon.members
Attribut.Meinst du das:
-
@wendy2702 mal hinten dran auf den Stift und das raw JSON posten
-
@foxriver76 sagte in Alpha Test js-controller 4.0:
@wendy2702 mal hinten dran auf den Stift und das raw JSON posten
{ "_id": "system.group.administrator", "type": "group", "common": { "name": "Administrator", "description": { "en": "Can do everything with ioBroker" }, "members": [ "system.user.admin" ], "dontDelete": true, "acl": { "object": { "list": true, "read": true, "write": true, "delete": true }, "state": { "list": true, "read": true, "write": true, "create": true, "delete": true }, "users": { "list": true, "read": true, "write": true, "create": true, "delete": true }, "other": { "execute": true, "http": true, "sendto": true }, "file": { "list": true, "read": true, "write": true, "create": true, "delete": true } }, "icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCI+DQogICAgPGcgZmlsbD0iY3VycmVudENvb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tMS4wMSBDMjAuNzIsMTYuNDIsMjAuNzUsMTYuMjIsMjAuNzUsMTZ6IE0xNywxOGMtMS4xLDAtMi0wLjktMi0yczAuOS0yLDItMnMyLDAuOSwyLDJTMTguMSwxOCwxNywxOHoiLz4NCiAgICA8L2c+DQo8L3N2Zz4=" }, "acl": { "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "object": 1604 }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1621797197839 }
und
{ "_id": "system.group.user", "type": "group", "common": { "name": "User", "description": { "en": "Cannot modify anything" }, "members": null, "dontDelete": true, "url": "https://github.com/ioBroker/ioBroker.js-controller/archive/master.zip", "meta": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/io-package.json", "acl": { "object": { "list": true, "read": true, "write": false, "delete": false }, "state": { "list": true, "read": true, "write": true, "create": true, "delete": false }, "users": { "list": true, "read": true, "write": false, "create": false, "delete": false }, "other": { "execute": false, "http": true, "sendto": false }, "file": { "list": true, "read": true, "write": false, "create": false, "delete": false } }, "icon": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB3aWR0aD0iMjRweCI+DQogICAgPHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNMTIgNmMxLjEgMCAyIC45IDIgMnMtLjkgMi0yIDItMi0uOS0yLTIgLjktMiAyLTJtMCAxMGMyLjcgMCA1LjggMS4yOSA2IDJINmMuMjMtLjcyIDMuMzEtMiA2LTJtMC0xMkM5Ljc5IDQgOCA1Ljc5IDggOHMxLjc5IDQgNCA0IDQtMS43OSA0LTQtMS43OS00LTQtNHptMCAxMGMtMi42NyAwLTggMS4zNC04IDR2MmgxNnYtMmMwLTIuNjYtNS4zMy00LTgtNHoiLz4NCjwvc3ZnPg==" }, "acl": { "owner": "system.user.admin", "ownerGroup": "system.group.administrator", "object": 1604 }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1621797197839 }
-
@wendy2702 Foxriver hat den Fix schon gemacht. kommt dann in die 4.0.1 für Latest heute Abend
-
@apollon77 sagte in Alpha Test js-controller 4.0:
(foxriver76) Optimize meta object sync
Update auf Alpha 74
@foxriver76 Jetzt sind es nur noch 3. Wobei der iogo.admin nicht mehr installiert ist und eine Leiche ist.
Hilft es die anderen beiden Adapter einfach mal zu deinstallieren und neu zu installieren und mit der 4.0.1 dann zu schauen ob die Meldungen weiterhin kommen?The following notifications happened during sync: - Ignoring Directory "daswetter" because officially not created as meta object. Please remove directory! - Ignoring Directory "iogo.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "tr-064-community.admin" because officially not created as meta object. Please remove directory!
-
@feuersturm ich denke der tr-064-Community ist auch ne Altlast oder?!
-
@feuersturm zeig mal die Objekte ob es Typ Meta sind sonst jammert er korrekterweise
-
@apollon77 @foxriver76
So wie es aussieht sind die drei monierten "Adapter" alles Leichen wenn man sich die Zeitstempel der Dateien so ansieht.proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/daswetter.admin$ ls -l total 216 -rw-rwxr--+ 1 iobroker iobroker 154292 Feb 4 18:48 _data.json -rw-rwxr--+ 1 iobroker iobroker 2589 Feb 3 22:06 daswettercom.png -rw-rwxr--+ 1 iobroker iobroker 3937 Nov 14 2019 daswettercom_1.png drwxrwxr-x+ 5 iobroker iobroker 4096 Jan 12 2020 icons -rw-rwxr--+ 1 iobroker iobroker 4195 May 2 2020 index.html -rw-rwxr--+ 1 iobroker iobroker 20265 Feb 3 22:06 index_m.html -rw-rwxr--+ 1 iobroker iobroker 5673 Feb 3 22:06 jsonConfig.json -rw-rwxr--+ 1 iobroker iobroker 14893 Feb 3 22:06 words.js proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/daswetter.admin$ cd .. proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files$ cd daswetter proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/daswetter$ ls -l total 64 -rw-rwxr--+ 1 iobroker iobroker 60096 Jan 16 2021 _data.json drwxrwxr-x+ 5 iobroker iobroker 4096 Jan 12 2020 icons proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/daswetter$ cd .. proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files$ cd tr tr-064-community.admin/ tr-064.admin/ trashschedule.admin/ proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files$ cd tr-064-community.admin/ proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/tr-064-community.admin$ ls -l total 92 -rw-rwxr--+ 1 iobroker iobroker 3035 Jan 10 2021 _data.json drwxrwxr-x+ 12 iobroker iobroker 4096 Jan 20 2020 i18n -rw-rwxr--+ 1 iobroker iobroker 21842 Jan 20 2020 index.html -rw-rwxr--+ 1 iobroker iobroker 22279 Jan 20 2020 index_m.html -rw-rwxr--+ 1 iobroker iobroker 1736 Jan 20 2020 tr-064-community.png -rw-rwxr--+ 1 iobroker iobroker 30797 Jan 20 2020 words.js proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/tr-064-community.admin$ cd .. proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files$ cd tr-064.admin/ proxmox@ioBrokerTestsystem:/opt/iobroker/iobroker-data/files/tr-064.admin$ ls -l total 100 -rw-rwxr--+ 1 iobroker iobroker 3103 Feb 4 18:48 _data.json drwxrwxr-x+ 12 iobroker iobroker 4096 Jan 24 2020 i18n -rw-rwxr--+ 1 iobroker iobroker 21822 Jan 27 2020 index.html -rw-rwxr--+ 1 iobroker iobroker 28639 Feb 3 22:04 index_m.html -rw-rwxr--+ 1 iobroker iobroker 1736 Feb 3 22:04 tr-064.png -rw-rwxr--+ 1 iobroker iobroker 34320 Feb 3 22:04 words.js
-
@feuersturm dann passt die Meldung ja: please remove directory
-
@apollon77 sagte in Alpha Test js-controller 4.0:
@wendy2702 Foxriver hat den Fix schon gemacht. kommt dann in die 4.0.1 für Latest heute Abend
Ok.
Schaffe ich hoffentlich morgen einzuspielen
-
Guten Abend, hatte bis heute leider keine Zeit den neuen 4.0.0 zu testen.
Eben aber direkt mein P-System (redis/redis + node14 / npm6) umgestellt. Melde mich bei Auffälligkeiten.
-
Hallo alle zusammen,
ich habe @next nochmals aktualisiert mit der 4.0.3, was die geplante Beta/Latest version für heute Nachmittag/Abend ist. Meine Tests sehen soweit gut aus.
Von daher wäre cool wenn Ihr, wie Zeit, es nochmal bei euch aktualisiert - dann habt Ihr auch gleich die Latest Version drauf
Änderungen sind minimaler Kleinkram und Fixes der noch gemeldet wurde (und einige Version haben wir "verloren" weil der Release-Prozess nicht so wollte wie wir )
- (foxriver76) Fix user-group objects with invalid member list - reported by @wendy2702
- (foxriver76) Fix multihost commands - reported in GitHub
- (foxriver76) Fix meto object check/sync to prevent false positive logs
-
Ich war mal so mutig und habe die 4.0.3 auf mein Produktivsystem losgelassen (ein Hoch auf proxmox und die Möglichkeit von snapshots). Dabei sind folgende Meldungen noch hochgekommen:
The following notifications happened during sync: - Ignoring Directory "gartenbewaesserung.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "robonect.admin" because officially not created as meta object. Please remove directory!
Beide Adapter sind zzt. nicht in Benutzung. Können die Ordner tatsächlich gefahrlos gelöscht werden?
Ferner folgende Warnungen im Log:
shuttercontrol.0 2022-02-05 11:15:36.840 warn This object will not be created in future versions. Please report this to the developer. shuttercontrol.0 2022-02-05 11:15:36.839 warn Object shuttercontrol.0.info.Azimut is invalid: Default value has to be type "number" but received type "string" shuttercontrol.0 2022-02-05 11:15:36.832 warn This object will not be created in future versions. Please report this to the developer. shuttercontrol.0 2022-02-05 11:15:36.830 warn Object shuttercontrol.0.info.Elevation is invalid: Default value has to be type "number" but received type "string" mqtt.0 2022-02-05 11:15:00.871 warn This object will not be created in future versions. Please report this to the developer. mqtt.0 2022-02-05 11:15:00.870 warn Object mqtt.0.info.connection is invalid: Default value has to be type "string" but received type "boolean"
Issue beim Adapter erstellen?
Gruß Marco