NEWS
Alpha Test js-controller 4.0
-
@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 sagte in Alpha Test js-controller 4.0:
@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
Da stimme ich dir zu. Frage bleibt nur wo.
Wenn morgen Zeit ist kommt der Holzhammer zum Einsatz
-
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.@thomas-braun Benutze mal den logger statt console, sonst tauch das nicht im logfile auf. Also
logger.warn('blabla') -
@maik-0 offensichtlich kann jeder Boolean true und false sein, ein min max wert macht nur bei einem numerischen Wert Sinn.
@foxriver76
Ja sehe ich auch so. In der Doku gibt‘s aber ein Beispiel mit einem boolean
und min+max Wert. Egal, ich habe bei allen booleans die min/max Werte gelöscht. Jetzt ist Ruhe. -
@apollon77
Ich hab gerade auf die Version Alpha73 aktualisiert.proxmox@ioBrokerTestsystem:/opt/iobroker$ iobroker version 4.0.0-alpha.73-20220203-4ff5b7b6Beim Update hatte ich wieder folgendes in der Konsole.
- Ignoring Directory "benchmark.files" because officially not created as meta ob ject. Please remove directory! - Ignoring Directory "daswetter" because officially not created as meta object. Please remove directory! - Ignoring Directory "hm-rega" because officially not created as meta object. Pl ease 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!Ich hatte das gleiche Verhalten ja hier https://forum.iobroker.net/topic/52033/alpha-test-js-controller-4-0/45 auch schon.
Damals hatte ich das iobroker upload all gemachtMeine aktuellen Objekte die angemeckert werden sehen so aus:

@feuersturm sagte in Alpha Test js-controller 4.0:
- Ignoring Directory "benchmark.files" because officially not created as meta ob ject. Please remove directory!
- Ignoring Directory "daswetter" because officially not created as meta object. Please remove directory!
- Ignoring Directory "hm-rega" because officially not created as meta object. Pl ease 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
Danke, da passt was nicht, aber schon vor 4.0!
-
@thomas-braun Benutze mal den logger statt console, sonst tauch das nicht im logfile auf. Also
logger.warn('blabla')Da weiß ich gerade nicht was du wo meinst...
-
@foxriver76
Ja sehe ich auch so. In der Doku gibt‘s aber ein Beispiel mit einem boolean
und min+max Wert. Egal, ich habe bei allen booleans die min/max Werte gelöscht. Jetzt ist Ruhe. -
@feuersturm sagte in Alpha Test js-controller 4.0:
- Ignoring Directory "benchmark.files" because officially not created as meta ob ject. Please remove directory!
- Ignoring Directory "daswetter" because officially not created as meta object. Please remove directory!
- Ignoring Directory "hm-rega" because officially not created as meta object. Pl ease 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
Danke, da passt was nicht, aber schon vor 4.0!
@foxriver76 sagte in Alpha Test js-controller 4.0:
Danke, da passt was nicht, aber schon vor 4.0!
Ich könnte auf einen Stand zurückgehen wo noch die 3.3.22 drauf ist.Würde das helfen? Wonach müsste ich dort schauen?
-
@apollon77
Ich hab gerade auf die Version Alpha73 aktualisiert.proxmox@ioBrokerTestsystem:/opt/iobroker$ iobroker version 4.0.0-alpha.73-20220203-4ff5b7b6Beim Update hatte ich wieder folgendes in der Konsole.
- Ignoring Directory "benchmark.files" because officially not created as meta ob ject. Please remove directory! - Ignoring Directory "daswetter" because officially not created as meta object. Please remove directory! - Ignoring Directory "hm-rega" because officially not created as meta object. Pl ease 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!Ich hatte das gleiche Verhalten ja hier https://forum.iobroker.net/topic/52033/alpha-test-js-controller-4-0/45 auch schon.
Damals hatte ich das iobroker upload all gemachtMeine aktuellen Objekte die angemeckert werden sehen so aus:

@feuersturm Najaok sagen wir so:
- die mit .admin solten nach einem "upload all" weg sein - wenn die Adapter noch da sind! Wenn die Adapter ggf gelöscht sind dann File smanuell löschen, ende
- die anderen sollten verschwinden wenn du den relevanten Adapter einmalig startest- wenn er noch da ist (sonst löschen)
-
@apollon77
https://www.iobroker.net/#de/documentation/dev/objectsschema.mdUnter Kanalbeschreibungen.
-
Da weiß ich gerade nicht was du wo meinst...
@thomas-braun Nee alles gut. Es ist erstmal was ich sehen wollte
-
@foxriver76 sagte in Alpha Test js-controller 4.0:
Danke, da passt was nicht, aber schon vor 4.0!
Ich könnte auf einen Stand zurückgehen wo noch die 3.3.22 drauf ist.Würde das helfen? Wonach müsste ich dort schauen?
@feuersturm habe den Fehler schon gefunden, fix kommt in nächste Version
-
@apollon77
https://www.iobroker.net/#de/documentation/dev/objectsschema.mdUnter Kanalbeschreibungen.
-
@maik-0 FIxed, hoffe hab alle erwischt https://github.com/ioBroker/ioBroker.docs/commit/63bcf4acc09803f1ce8fd1e03e4ba3881b3bf666
Dieser Beitrag wurde gelöscht! -
@maik-0 FIxed, hoffe hab alle erwischt https://github.com/ioBroker/ioBroker.docs/commit/63bcf4acc09803f1ce8fd1e03e4ba3881b3bf666
Dieser Beitrag wurde gelöscht! -
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.@thomas-braun sagte in Alpha Test js-controller 4.0:
console.error(text);Das meinte ich nur, aber ihr seid ja schon in Kontakt - all good ;-)
-
@thomas-braun sagte in Alpha Test js-controller 4.0:
console.error(text);Das meinte ich nur, aber ihr seid ja schon in Kontakt - all good ;-)
@foxriver76 Jo das ist original im Code drin von uns :-))
-
@foxriver76 Jo das ist original im Code drin von uns :-))
Dieser Beitrag wurde gelöscht! -
Dieser Beitrag wurde gelöscht!
Dieser Beitrag wurde gelöscht! -
@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 sagte in Alpha Test js-controller 4.0:
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
Guten Morgen,
Holzhammer probiert:
mirko@iobroker:/opt/iobroker$ sudo rm -r node_modules [sudo] password for mirko: mirko@iobroker:/opt/iobroker$ ls -la total 1036 drwxrwxr-x+ 10 iobroker iobroker 4096 Feb 4 07:41 . drwxr-xr-x 4 root root 4096 Jan 10 2021 .. -rw-rwxr--+ 1 iobroker iobroker 91 Feb 3 17:11 .npmrc -rw-rwxr--+ 1 iobroker iobroker 1049 Mar 31 2020 CHANGELOG_FIXER_LINUX.md -rw-rwxr--+ 1 iobroker iobroker 3556 Mar 31 2020 CHANGELOG_INSTALLER_LINUX.md -rw-rwxr--+ 1 iobroker iobroker 0 Jul 11 2020 GarageKlein_Einfahrt_JPG.txt -rw-rwxr--+ 1 iobroker iobroker 0 Jul 11 2020 GarageKlein_JPG.txt -rw-rwxr--+ 1 iobroker iobroker 0 Jul 11 2020 Haustuer_JPG.txt -rwxrwxrwx+ 1 iobroker iobroker 359 Feb 3 17:11 INSTALLER_INFO.txt -rw-rwxr--+ 1 iobroker iobroker 1137 Mar 31 2020 LICENSE -rw-rwxr--+ 1 iobroker iobroker 6101 Mar 31 2020 README.md drwxrwxrwx+ 2 iobroker iobroker 4096 Feb 3 16:40 backups drwxrwxr-x+ 2 iobroker iobroker 4096 Jan 29 15:02 cache -rw-rwxr--+ 1 iobroker iobroker 23988 Mar 31 2020 fix_installation.sh drwxrwxr-x+ 2 iobroker iobroker 12288 Aug 22 12:56 history drwxrwxr-x+ 3 iobroker iobroker 4096 Mar 31 2020 install lrwxrwxrwx 1 iobroker iobroker 22 Feb 3 17:11 iob -> /opt/iobroker/iobroker -rwxr-xr-x+ 1 iobroker iobroker 305 Feb 3 17:11 iobroker drwxrwxr-x+ 14 iobroker iobroker 4096 Feb 4 07:39 iobroker-data drwxrwxr-x+ 2 iobroker iobroker 4096 Mar 31 2020 lib drwxrwxr-x+ 2 iobroker iobroker 4096 Feb 4 07:39 log -rw-rwxr--+ 1 iobroker iobroker 129561 Feb 4 07:26 out2.mp4 -rw-rwxr--+ 1 iobroker iobroker 169136 Feb 4 05:47 out3.mp4 -rw-rwxr--+ 1 iobroker iobroker 637615 Feb 3 18:10 package-lock.json -rw-rwxr--+ 1 iobroker iobroker 3392 Feb 3 18:10 package.json -rw-rwxr--+ 1 iobroker iobroker 5693 Feb 3 17:06 reinstall.js drwxrwxrwx+ 5 iobroker iobroker 4096 Jan 10 2021 scripte-backup mirko@iobroker:/opt/iobroker$ npm i iobroker.js-controller@next npm WARN tarball tarball data for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master (sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==) seems to be corrupted. Trying one more time. npm WARN tarball tarball data for iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master (sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w==) seems to be corrupted. Trying one more time. 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 ERR! code EINTEGRITY npm ERR! Verification failed while extracting iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master: npm ERR! Verification failed while extracting iobroker.icons-open-icon-library-png@https://github.com/ioBroker/ioBroker.icons-open-icon-library-png/tarball/master: npm ERR! sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== integrity checksum failed when using sha512: wanted sha512-qGFFRFfv/uSaVT+z3v01bwdZYjfIES0YwaHNOgy+OO28NMa8/8fh2rkBKGHNeHfFPBTo3juTeH+p6ngZ6s//7w== but got sha512-ZH4lj95sM6IpZEL2H1HR0hXTo6GMqbUBPbQyylgdRd6TDEdU+fgohUVGW4gPI0UnrAzqM/kx5+mozLqCVh2DCg==. (64751136 bytes) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-02-04T06_43_35_307Z-debug.log mirko@iobroker:/opt/iobroker$Hier das npm log:
2022-02-04T06_43_35_307Z-debug.log
iob startet nicht.