NEWS
Alpha Test js-controller 4.0
-
@apollon77 sagte in Alpha Test js-controller 4.0:
@fortune95 Legst Du dann bitte 4 GitHub issues an? ;-)) (bzw 3 weil ich glaube shelly gibts schon)
Done!
-
@wendy2702 sagte in Alpha Test js-controller 4.0:
Noch eine Idee woran es liegen könnte?
An der Uptime...
Der rennt seit 04. August durch?
Ist das was gedockertes? EXT4-fs (dm-6) schaut so ungewohnt aus. -
@thomas-braun sagte in Alpha Test js-controller 4.0:
An der Uptime...
Ja.... wie ein Käfer.... der läuft und läuft....
Ist ein LXC im Proxmox
-
@wendy2702 "iob fix" und ja ohne sudo (eigentlich wie immer und wie es in der Anleitung steht gg)
-
@apollon77 Ja,
genau das habe ich ja beim zweiten Versuch gemacht und hier beschrieben:
https://forum.iobroker.net/post/755201
...
hat aber trotzdem nicht geklappt.
-
@wendy2702 Ja, hatte ich danach auch gesehen :-)) und das finde ich mega interessant weil "iob fix" an sich das alles glatt ziehen sollte. zeig mal "ls -la" von so einem der angemeckerten Verzeichnisse, vllt sieht man ja was.
Ansonsten (wenn keinem sonst mehr was einfällt) wäre ich bei nem krassen neustart "node_modules löschen", controller manuell installieren, starten ... dann installiert der alle adapter neu
-
@apollon77 Hier mal ein Beispiel:
mirko@iobroker:/opt/iobroker$ ls -la /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node total 836 drwxrwxr-x+ 3 iobroker iobroker 4096 Feb 3 18:09 . drwxrwxr-x+ 4 iobroker iobroker 4096 Feb 3 18:09 .. -rwxr-xr-x+ 1 iobroker iobroker 1141 Feb 1 09:31 LICENSE -rwxr-xr-x+ 1 iobroker iobroker 2591 Feb 1 09:31 README.md -rwxr-xr-x+ 1 iobroker iobroker 5724 Feb 1 09:31 assert.d.ts -rwxr-xr-x+ 1 iobroker iobroker 9784 Feb 1 09:31 async_hooks.d.ts -rwxr-xr-x+ 1 iobroker iobroker 3097 Feb 1 09:31 buffer.d.ts -rwxr-xr-x+ 1 iobroker iobroker 26012 Feb 1 09:31 child_process.d.ts -rwxr-xr-x+ 1 iobroker iobroker 16301 Feb 1 09:31 cluster.d.ts -rwxr-xr-x+ 1 iobroker iobroker 6218 Feb 1 09:31 console.d.ts -rwxr-xr-x+ 1 iobroker iobroker 598 Feb 1 09:31 constants.d.ts -rwxr-xr-x+ 1 iobroker iobroker 47240 Feb 1 09:31 crypto.d.ts -rwxr-xr-x+ 1 iobroker iobroker 7371 Feb 1 09:31 dgram.d.ts -rwxr-xr-x+ 1 iobroker iobroker 16763 Feb 1 09:31 dns.d.ts -rwxr-xr-x+ 1 iobroker iobroker 778 Feb 1 09:31 domain.d.ts -rwxr-xr-x+ 1 iobroker iobroker 3477 Feb 1 09:31 events.d.ts drwxr-xr-x+ 2 iobroker iobroker 4096 Feb 3 18:09 fs -rwxr-xr-x+ 1 iobroker iobroker 121480 Feb 1 09:31 fs.d.ts -rwxr-xr-x+ 1 iobroker iobroker 25191 Feb 1 09:31 globals.d.ts -rwxr-xr-x+ 1 iobroker iobroker 55 Feb 1 09:31 globals.global.d.ts -rwxr-xr-x+ 1 iobroker iobroker 25681 Feb 1 09:31 http.d.ts -rwxr-xr-x+ 1 iobroker iobroker 57454 Feb 1 09:31 http2.d.ts -rwxr-xr-x+ 1 iobroker iobroker 11799 Feb 1 09:31 https.d.ts -rwxr-xr-x+ 1 iobroker iobroker 4743 Feb 1 09:31 index.d.ts -rwxr-xr-x+ 1 iobroker iobroker 123902 Feb 1 09:31 inspector.d.ts -rwxr-xr-x+ 1 iobroker iobroker 1736 Feb 1 09:31 module.d.ts -rwxr-xr-x+ 1 iobroker iobroker 13923 Feb 1 09:31 net.d.ts -rwxr-xr-x+ 1 iobroker iobroker 8231 Feb 1 09:31 os.d.ts -rwxr-xr-x+ 1 iobroker iobroker 5135 Feb 3 18:09 package.json -rwxr-xr-x+ 1 iobroker iobroker 6454 Feb 1 09:31 path.d.ts -rwxr-xr-x+ 1 iobroker iobroker 10735 Feb 1 09:31 perf_hooks.d.ts -rwxr-xr-x+ 1 iobroker iobroker 20658 Feb 1 09:31 process.d.ts -rwxr-xr-x+ 1 iobroker iobroker 3535 Feb 1 09:31 punycode.d.ts -rwxr-xr-x+ 1 iobroker iobroker 1157 Feb 1 09:31 querystring.d.ts -rwxr-xr-x+ 1 iobroker iobroker 7599 Feb 1 09:31 readline.d.ts -rwxr-xr-x+ 1 iobroker iobroker 18337 Feb 1 09:31 repl.d.ts -rwxr-xr-x+ 1 iobroker iobroker 19743 Feb 1 09:31 stream.d.ts -rwxr-xr-x+ 1 iobroker iobroker 270 Feb 1 09:31 string_decoder.d.ts -rwxr-xr-x+ 1 iobroker iobroker 889 Feb 1 09:31 timers.d.ts -rwxr-xr-x+ 1 iobroker iobroker 38658 Feb 1 09:31 tls.d.ts -rwxr-xr-x+ 1 iobroker iobroker 2186 Feb 1 09:31 trace_events.d.ts -rwxr-xr-x+ 1 iobroker iobroker 2497 Feb 1 09:31 tty.d.ts -rwxr-xr-x+ 1 iobroker iobroker 5490 Feb 1 09:31 url.d.ts -rwxr-xr-x+ 1 iobroker iobroker 13112 Feb 1 09:31 util.d.ts -rwxr-xr-x+ 1 iobroker iobroker 6822 Feb 1 09:31 v8.d.ts -rwxr-xr-x+ 1 iobroker iobroker 6508 Feb 1 09:31 vm.d.ts -rwxr-xr-x+ 1 iobroker iobroker 3520 Feb 1 09:31 wasi.d.ts -rwxr-xr-x+ 1 iobroker iobroker 11705 Feb 1 09:31 worker_threads.d.ts -rwxr-xr-x+ 1 iobroker iobroker 14576 Feb 1 09:31 zlib.d.ts mirko@iobroker:/opt/iobroker$
Wenn sonst nichts einfällt wird es wohl der Holzhammer werden...
-
Schaut bei mir genauso aus
-
@apollon77 Das ist nur der Master.....
habe gerade ein wenig respekt wenn ich an meine Slaves denke wegen dem Holzhammer
-
Da sind ACLs drauf.
Schau mal mitgetfacl /Pfad/zu/einer/meckerdatei
Was da noch dranhängt
-
@thomas-braun sagte in Alpha Test js-controller 4.0:
getfacl
Das hier z.B.:
mirko@iobroker:/opt/iobroker$ getfacl /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node # owner: iobroker # group: iobroker user::rwx group::r-x group:iobroker:rwx mask::rwx other::r-x default:user::rwx default:group::r-x default:group:iobroker:rwx default:mask::rwx default:other::r-x
Sehe da auf Anhieb nichts verdächtiges.... bin aber mit einem Auge noch in einem Online Training
-
@apollon77 sagte in Alpha Test js-controller 4.0:
@thomas-braun sagte in Alpha Test js-controller 4.0:
Nur der iobroker.parcel-Adapter muss bei jedem update des controllers neugebaut werden.
Das wäre aber interessant warum das so ist. Was bringt der als Fehler? Läuft der renbuild machenaismus an?
Hier das Log dazu:
2022-02-03 15:24:15.366 - info: host.chet instance system.adapter.parcel.0 started with pid 66699 2022-02-03 15:24:15.411 - info: miio.0 (66537) discover stoped after 30 seconds. 2022-02-03 15:24:16.645 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 15:24:16.645 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 15:24:16.646 - error: host.chet Caught by controller[0]: ^ 2022-02-03 15:24:16.646 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 15:24:16.646 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 15:24:16.646 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 15:24:16.646 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 15:24:16.647 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 15:24:16.647 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 15:24:16.647 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:24:16.647 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 15:24:16.647 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 15:24:16.648 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 15:24:16.649 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 15:24:16.649 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 15:24:16.649 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 15:24:16.649 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:24:16.649 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 15:24:16.650 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 15:24:16.650 - error: host.chet Caught by controller[0]: } 2022-02-03 15:24:16.650 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 15:24:16.651 - info: host.chet Adapter system.adapter.parcel.0 needs rebuild and will be restarted afterwards. 2022-02-03 15:24:16.655 - info: host.chet system.adapter.parcel.0 will be rebuilt 2022-02-03 15:24:16.656 - warn: host.chet adapter "parcel" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt 2022-02-03 15:24:16.656 - info: host.chet iobroker rebuild 2022-02-03 15:24:17.635 - info: host.chet iobroker npm-rebuild: Rebuilding native modules ... 2022-02-03 15:25:05.335 - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully 2022-02-03 15:25:05.370 - info: host.chet iobroker npm-rebuild: 2022-02-03 15:25:05.371 - info: host.chet iobroker npm-rebuild: Rebuilding native modules done 2022-02-03 15:25:06.387 - info: host.chet iobroker npm-rebuild: exit 0 2022-02-03 15:25:06.542 - info: host.chet instance system.adapter.parcel.0 started with pid 67346 2022-02-03 15:25:07.862 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 15:25:07.863 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 15:25:07.864 - error: host.chet Caught by controller[0]: ^ 2022-02-03 15:25:07.864 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 15:25:07.864 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 15:25:07.864 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 15:25:07.865 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 15:25:07.865 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 15:25:07.865 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 15:25:07.865 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:25:07.865 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 15:25:07.866 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 15:25:07.866 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 15:25:07.866 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 15:25:07.866 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 15:25:07.866 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 15:25:07.873 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:25:07.874 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 15:25:07.874 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 15:25:07.874 - error: host.chet Caught by controller[0]: } 2022-02-03 15:25:07.874 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 15:25:07.875 - info: host.chet Adapter system.adapter.parcel.0 needs rebuild and will be restarted afterwards. 2022-02-03 15:25:07.878 - info: host.chet system.adapter.parcel.0 will be rebuilt 2022-02-03 15:25:07.878 - warn: host.chet adapter "parcel" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt 2022-02-03 15:25:07.879 - info: host.chet iobroker rebuild 2022-02-03 15:25:08.977 - info: host.chet iobroker npm-rebuild: Rebuilding native modules ... 2022-02-03 15:25:50.623 - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully 2022-02-03 15:25:50.666 - info: host.chet iobroker npm-rebuild: 2022-02-03 15:25:50.667 - info: host.chet iobroker npm-rebuild: Rebuilding native modules done 2022-02-03 15:25:51.687 - info: host.chet iobroker npm-rebuild: exit 0 2022-02-03 15:25:51.839 - info: host.chet instance system.adapter.parcel.0 started with pid 67981 2022-02-03 15:25:53.048 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 15:25:53.049 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 15:25:53.049 - error: host.chet Caught by controller[0]: ^ 2022-02-03 15:25:53.049 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 15:25:53.050 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 15:25:53.050 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 15:25:53.051 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 15:25:53.051 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 15:25:53.051 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 15:25:53.051 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:25:53.052 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 15:25:53.052 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 15:25:53.052 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 15:25:53.052 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 15:25:53.052 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 15:25:53.052 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 15:25:53.053 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:25:53.053 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 15:25:53.053 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 15:25:53.053 - error: host.chet Caught by controller[0]: } 2022-02-03 15:25:53.054 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 15:25:53.054 - info: host.chet Adapter system.adapter.parcel.0 needs rebuild and will be restarted afterwards. 2022-02-03 15:25:53.054 - info: host.chet system.adapter.parcel.0 will be rebuilt 2022-02-03 15:25:53.055 - warn: host.chet adapter "parcel" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt 2022-02-03 15:25:53.055 - info: host.chet iobroker rebuild 2022-02-03 15:25:54.004 - info: host.chet iobroker npm-rebuild: Rebuilding native modules ... 2022-02-03 15:26:35.390 - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully 2022-02-03 15:26:35.433 - info: host.chet iobroker npm-rebuild: 2022-02-03 15:26:35.434 - info: host.chet iobroker npm-rebuild: Rebuilding native modules done 2022-02-03 15:26:36.447 - info: host.chet iobroker npm-rebuild: exit 0 2022-02-03 15:26:36.588 - info: host.chet instance system.adapter.parcel.0 started with pid 68611 2022-02-03 15:26:37.838 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 15:26:37.839 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 15:26:37.839 - error: host.chet Caught by controller[0]: ^ 2022-02-03 15:26:37.839 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 15:26:37.840 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 15:26:37.841 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 15:26:37.842 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 15:26:37.842 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 15:26:37.842 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 15:26:37.843 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:26:37.843 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 15:26:37.843 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 15:26:37.843 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 15:26:37.843 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 15:26:37.844 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 15:26:37.845 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 15:26:37.845 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 15:26:37.845 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 15:26:37.845 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 15:26:37.845 - error: host.chet Caught by controller[0]: } 2022-02-03 15:26:37.846 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 15:26:37.846 - info: host.chet Rebuild for adapter system.adapter.parcel.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
Please execute "npm install --production" in adapter directory manually.
habe ich dann gemacht, danach ging der iobroker.parcel.0 auch. Hat aber eher mit canvas zu tun, wenn ich das richtig sehe.
-
@wendy2702 sagte in Alpha Test js-controller 4.0:
getfacl /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
mine
-
@apollon77 Arrrgghhhhh.... Ein Screenshot
Sieht aber aus wie bei mir.
-
mount | sort
Ich frag mich noch was das für ein komisches mount da bei dir immer ist.
Aber Container... -
@wendy2702 grad schneller ... sorry
-
mirko@iobroker:/opt/iobroker$ mount | sort /dev/mapper/pve-vm--101--disk--0 on / type ext4 (rw,relatime,stripe=16) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime) devpts on /dev/console type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) devpts on /dev/ptmx type devpts (rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1024) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1024) devpts on /dev/tty1 type devpts (rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1024) devpts on /dev/tty2 type devpts (rw,nosuid,noexec,relatime,gid=100005,mode=620,ptmxmode=666,max=1024) fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime) lxcfs on /proc/cpuinfo type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /proc/diskstats type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /proc/loadavg type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /proc/meminfo type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /proc/stat type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /proc/swaps type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /proc/uptime type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) lxcfs on /sys/devices/system/cpu/online type fuse.lxcfs (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other) mqueue on /dev/mqueue type mqueue (rw,relatime) none on /dev type tmpfs (rw,relatime,size=492k,mode=755,uid=100000,gid=100000) none on /proc/sys/kernel/random/boot_id type tmpfs (ro,nosuid,nodev,noexec,relatime,size=492k,mode=755,uid=100000,gid=100000) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) proc on /proc/sys type proc (ro,nosuid,nodev,noexec,relatime) proc on /proc/sys/net type proc (rw,nosuid,nodev,noexec,relatime) proc on /proc/sysrq-trigger type proc (ro,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (ro,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) sysfs on /sys/devices/virtual/net type sysfs (rw,nosuid,nodev,noexec,relatime) sysfs on /sys/devices/virtual/net type sysfs (rw,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,uid=100000,gid=100000) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755,uid=100000,gid=100000) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,uid=100000,gid=100000) tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=3275760k,mode=700,uid=100000,gid=100000) tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=3275760k,mode=700,uid=101001,gid=101001) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755,uid=100000,gid=100000) udev on /dev/full type devtmpfs (rw,nosuid,relatime,size=16354028k,nr_inodes=4088507,mode=755) udev on /dev/null type devtmpfs (rw,nosuid,relatime,size=16354028k,nr_inodes=4088507,mode=755) udev on /dev/random type devtmpfs (rw,nosuid,relatime,size=16354028k,nr_inodes=4088507,mode=755) udev on /dev/tty type devtmpfs (rw,nosuid,relatime,size=16354028k,nr_inodes=4088507,mode=755) udev on /dev/urandom type devtmpfs (rw,nosuid,relatime,size=16354028k,nr_inodes=4088507,mode=755) udev on /dev/zero type devtmpfs (rw,nosuid,relatime,size=16354028k,nr_inodes=4088507,mode=755) mirko@iobroker:/opt/iobroker$
Allerdings, wie gesagt bis JS3.3.22 ging alles Problemlos
@apollon77 sagte in Alpha Test js-controller 4.0:
@wendy2702 grad schneller ... sorry
Alles gut
-
@wendy2702 sagte in Alpha Test js-controller 4.0:
Allerdings, wie gesagt bis JS3.3.22 ging alles Problemlos
Das ist es ja ... das ist "soooo low level" das kann mit dem controller nix zu tun haben
-
@apollon77
Moin,
Ich habe mal eine kurze Zwischenfrage.
Ich habe den weiter oben erwähnten Yamaha-Adapter installiert und
bekomme jetzt auch die genannten Warnungen. z.B.2022-02-03 18:32:52.225 - warn: yamaha.0 (8368) Object yamaha.0.powerAllZones is invalid: obj.common.min has an invalid type! Expected "number", received "boolean"
Was ich daran nicht vestehe, ist das der Datentyp boolean ist und
der min-Wert ist false. Warum Expected „number“?{ "_id": "yamaha.0.powerAllZones", "type": "state", "common": { "name": "PowerAllZones", "type": "boolean", "role": "state", "read": true, "write": true, "min": false, "max": true, "def": false, "desc": "Power all Zones" }, "native": {}, "from": "system.adapter.yamaha.0", "ts": 1643912423847, "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "user": "system.user.admin" }
Liegt es an mir das ich es nicht verstehe?
Ein ja wäre eine ausreichende Antwort. -
Leider haben die Änderungen in der main.js nix gebracht, soweit ich sehe:
main.js hat jetzt drin:
Line 4443
// show for debug console.error(text); if ( text.includes('NODE_MODULE_VERSION') || text.includes('npm rebuild') || text.includes('Error: The module \'') || text.includes('Cannot find module') ) {
Line 3016
case 'rebuildAdapter': if (!msg.message.id) { if (msg.callback && msg.from) { sendTo(msg.from, msg.command, { error: 'Adapter to rebuild not provided.' }, msg.callback); } } else if (!installQueue.some(entry => entry.id === msg.message.id)) { logger.info(`${hostLogPrefix} ${msg.message.id} will be rebuilt ( ${msg.message.rebuildArgs})`); const installObj = { id: msg.message.id, rebuild: true }; if (msg.message.rebuildArgs) { installObj.rebuildArgs = msg.message.rebuildArgs; }
Leider kommt da immer noch das um's Eck:
2022-02-03 20:18:45.732 - info: host.chet instance system.adapter.parcel.0 started with pid 76304 2022-02-03 20:18:46.983 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 20:18:46.983 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 20:18:46.985 - error: host.chet Caught by controller[0]: ^ 2022-02-03 20:18:46.985 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 20:18:46.985 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 20:18:46.985 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 20:18:46.986 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 20:18:46.986 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 20:18:46.986 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 20:18:46.986 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:18:46.986 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 20:18:46.986 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 20:18:46.987 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 20:18:46.987 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 20:18:46.987 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 20:18:46.988 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 20:18:46.988 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:18:46.988 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 20:18:46.988 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 20:18:46.988 - error: host.chet Caught by controller[0]: } 2022-02-03 20:18:46.989 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 20:18:46.989 - info: host.chet Adapter system.adapter.parcel.0 needs rebuild and will be restarted afterwards. 2022-02-03 20:18:46.989 - info: host.chet system.adapter.parcel.0 will be rebuilt ( undefined) 2022-02-03 20:18:46.990 - warn: host.chet adapter "parcel" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt 2022-02-03 20:18:46.991 - info: host.chet iobroker rebuild 2022-02-03 20:18:47.764 - info: miio.0 (76030) discover stoped after 30 seconds. 2022-02-03 20:18:48.067 - info: host.chet iobroker npm-rebuild: Rebuilding native modules ... 2022-02-03 20:19:30.209 - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully 2022-02-03 20:19:30.246 - info: host.chet iobroker npm-rebuild: 2022-02-03 20:19:30.248 - info: host.chet iobroker npm-rebuild: Rebuilding native modules done 2022-02-03 20:19:31.259 - info: host.chet iobroker npm-rebuild: exit 0 2022-02-03 20:19:31.356 - info: host.chet instance system.adapter.parcel.0 started with pid 76951 2022-02-03 20:19:32.606 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 20:19:32.606 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 20:19:32.607 - error: host.chet Caught by controller[0]: ^ 2022-02-03 20:19:32.607 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 20:19:32.607 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 20:19:32.607 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 20:19:32.607 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 20:19:32.608 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 20:19:32.608 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 20:19:32.608 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:19:32.608 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 20:19:32.609 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 20:19:32.609 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 20:19:32.609 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 20:19:32.609 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 20:19:32.609 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 20:19:32.610 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:19:32.610 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 20:19:32.610 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 20:19:32.610 - error: host.chet Caught by controller[0]: } 2022-02-03 20:19:32.610 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 20:19:32.611 - info: host.chet Adapter system.adapter.parcel.0 needs rebuild and will be restarted afterwards. 2022-02-03 20:19:32.611 - info: host.chet system.adapter.parcel.0 will be rebuilt ( undefined) 2022-02-03 20:19:32.611 - warn: host.chet adapter "parcel" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt 2022-02-03 20:19:32.612 - info: host.chet iobroker rebuild 2022-02-03 20:19:33.581 - info: host.chet iobroker npm-rebuild: Rebuilding native modules ... 2022-02-03 20:20:15.070 - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully 2022-02-03 20:20:15.110 - info: host.chet iobroker npm-rebuild: 2022-02-03 20:20:15.111 - info: host.chet iobroker npm-rebuild: Rebuilding native modules done 2022-02-03 20:20:16.125 - info: host.chet iobroker npm-rebuild: exit 0 2022-02-03 20:20:16.265 - info: host.chet instance system.adapter.parcel.0 started with pid 77583 2022-02-03 20:20:17.605 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: ^ 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 20:20:17.606 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 20:20:17.607 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 20:20:17.607 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:20:17.607 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 20:20:17.607 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 20:20:17.607 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 20:20:17.607 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 20:20:17.608 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 20:20:17.608 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 20:20:17.608 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:20:17.608 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 20:20:17.608 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 20:20:17.609 - error: host.chet Caught by controller[0]: } 2022-02-03 20:20:17.609 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 20:20:17.609 - info: host.chet Adapter system.adapter.parcel.0 needs rebuild and will be restarted afterwards. 2022-02-03 20:20:17.610 - info: host.chet system.adapter.parcel.0 will be rebuilt ( undefined) 2022-02-03 20:20:17.610 - warn: host.chet adapter "parcel" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt 2022-02-03 20:20:17.610 - info: host.chet iobroker rebuild 2022-02-03 20:20:18.792 - info: host.chet iobroker npm-rebuild: Rebuilding native modules ... 2022-02-03 20:21:00.528 - info: host.chet iobroker npm-rebuild: rebuilt dependencies successfully 2022-02-03 20:21:00.570 - info: host.chet iobroker npm-rebuild: 2022-02-03 20:21:00.571 - info: host.chet iobroker npm-rebuild: Rebuilding native modules done 2022-02-03 20:21:01.582 - info: host.chet iobroker npm-rebuild: exit 0 2022-02-03 20:21:01.677 - info: host.chet instance system.adapter.parcel.0 started with pid 78216 2022-02-03 20:21:02.929 - error: host.chet Caught by controller[0]: node:internal/modules/cjs/loader:1183 2022-02-03 20:21:02.929 - error: host.chet Caught by controller[0]: return process.dlopen(module, path.toNamespacedPath(filename)); 2022-02-03 20:21:02.930 - error: host.chet Caught by controller[0]: ^ 2022-02-03 20:21:02.930 - error: host.chet Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' 2022-02-03 20:21:02.930 - error: host.chet Caught by controller[0]: was compiled against a different Node.js version using 2022-02-03 20:21:02.930 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 83. This version of Node.js requires 2022-02-03 20:21:02.930 - error: host.chet Caught by controller[0]: NODE_MODULE_VERSION 93. Please try re-compiling or re-installing 2022-02-03 20:21:02.931 - error: host.chet Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`). 2022-02-03 20:21:02.931 - error: host.chet Caught by controller[0]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18) 2022-02-03 20:21:02.931 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:21:02.931 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) 2022-02-03 20:21:02.931 - error: host.chet Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1005:19) 2022-02-03 20:21:02.932 - error: host.chet Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18) 2022-02-03 20:21:02.932 - error: host.chet Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/canvas/lib/bindings.js:3:18) 2022-02-03 20:21:02.932 - error: host.chet Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1101:14) 2022-02-03 20:21:02.933 - error: host.chet Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) 2022-02-03 20:21:02.933 - error: host.chet Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:981:32) 2022-02-03 20:21:02.933 - error: host.chet Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) { 2022-02-03 20:21:02.934 - error: host.chet Caught by controller[0]: code: 'ERR_DLOPEN_FAILED' 2022-02-03 20:21:02.934 - error: host.chet Caught by controller[0]: } 2022-02-03 20:21:02.934 - error: host.chet instance system.adapter.parcel.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2022-02-03 20:21:02.934 - info: host.chet Rebuild for adapter system.adapter.parcel.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.