NEWS
nach nodeJs update auf 20.16.0 keine Skrpt seite mehr
-
@stoffel67
Also ist sowohl ble wie auch radar2 nun weg.iob update iog upgrade all -y iob stop iob upgrade self iob start
-
@thomas-braun
scheinbar nicht, obwohl ich die Adapter gelöscht habe
in "iob list adpaters" sind sie weg
bei "iob update" tauchen sie wieder aufpi@raspberrypi:/opt/iobroker $ iob update Used repository: stable Adapter "admin" : 7.0.22 , installed 7.0.22 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "ble" : 0.14.0 , installed 0.14.0 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "ds18b20" : 2.0.5 , installed 2.0.5 Adapter "enet" : 1.0.1 , installed 1.0.1 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.9 , installed 5.0.12 [Updatable] Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "modbus" : 6.2.3 , installed 6.1.0 [Updatable] Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "proxy" : 1.3.2 , installed 1.3.2 Adapter "radar2" : 2.2.0 , installed 2.1.0 [Updatable] Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.0 , installed 6.7.0 Adapter "sonoff" : 3.1.0 , installed 3.0.3 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.18 [Updatable] Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "withings" : 0.0.13 , installed 0.0.13 Adapter "ws" : 2.6.1 , installed 2.6.1 Adapter "yahka" : 1.0.3 , installed 1.0.3 pi@raspberrypi:/opt/iobroker $
und nochmal von vorne...
pi@raspberrypi:/opt/iobroker $ iob update Used repository: stable Adapter "admin" : 7.0.22 , installed 7.0.22 Adapter "backitup" : 2.11.0 , installed 2.11.0 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "ds18b20" : 2.0.5 , installed 2.0.5 Adapter "enet" : 1.0.1 , installed 1.0.1 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.9 , installed 5.0.12 [Updatable] Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "modbus" : 6.2.3 , installed 6.1.0 [Updatable] Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "proxy" : 1.3.2 , installed 1.3.2 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shelly" : 7.0.0 , installed 7.0.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "smartmeter" : 3.4.0 , installed 3.4.0 Adapter "socketio" : 6.7.0 , installed 6.7.0 Adapter "sonoff" : 3.1.0 , installed 3.0.3 [Updatable] Adapter "tr-064" : 4.3.0 , installed 4.2.18 [Updatable] Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "withings" : 0.0.13 , installed 0.0.13 Adapter "ws" : 2.6.1 , installed 2.6.1 Adapter "yahka" : 1.0.3 , installed 1.0.3 pi@raspberrypi:/opt/iobroker $ iob upgrade all -y Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19 Cannot check dependencies: Invalid version of "js-controller". Installed "5.0.12", required ">=5.0.19 Update modbus from @6.1.0 to @6.2.3 NPM version: 10.8.1 Installing iobroker.modbus@6.2.3... (System call) changed 1 package in 35s 153 packages are looking for funding run `npm fund` for details Update "system.adapter.modbus.0" upload [9] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/asset-manifest.json asset-manifest.json application/json upload [8] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/favicon.ico favicon.ico image/vnd.microsoft.icon upload [7] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/index_m.html index_m.html text/html upload [6] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/manifest.json manifest.json application/json upload [5] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/modbus.png modbus.png image/png upload [4] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/static/css/main.96b3c861.css static/css/main.96b3c861.css text/css upload [3] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/static/css/main.96b3c861.css.map static/css/main.96b3c861.css.map application/json upload [2] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/static/js/main.18496c94.js static/js/main.18496c94.js application/javascript upload [1] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/static/js/main.18496c94.js.LICENSE.txt static/js/main.18496c94.js.LICENSE.txt text/plain upload [0] modbus.admin /opt/iobroker/node_modules/iobroker.modbus/admin/static/js/main.18496c94.js.map static/js/main.18496c94.js.map application/json pi@raspberrypi:/opt/iobroker $ iob stop pi@raspberrypi:/opt/iobroker $ iob upgrade self Update js-controller from @5.0.12 to @6.0.9 Stopped Objects DB Stopped States DB NPM version: 10.8.1 Installing iobroker.js-controller@6.0.9... (System call) added 7 packages, removed 45 packages, and changed 26 packages in 2m 153 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ iob start pi@raspberrypi:/opt/iobroker $
ich denke... Systemseitig ist fast alles wieder Ok... im Log kommt nach iob start noch folgendes:
javascript.0 2024-08-03 17:16:09.567 error at Script.runInContext (node:vm:148:12) javascript.0 2024-08-03 17:16:09.565 error at script.js.common.sh1106:707:3 javascript.0 2024-08-03 17:16:09.563 error at script.js.common.sh1106:5:18 javascript.0 2024-08-03 17:16:09.561 error script.js.common.sh1106: TypeError: Cannot read properties of undefined (reading 'openSync') javascript.0 2024-08-03 17:16:09.544 error at Script.runInContext (node:vm:148:12) javascript.0 2024-08-03 17:16:09.543 error at script.js.common.sh1106:707:3 javascript.0 2024-08-03 17:16:09.541 error at script.js.common.sh1106:4:11 javascript.0 2024-08-03 17:16:09.538 error at require (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:552:28) javascript.0 2024-08-03 17:16:09.536 error at require (node:internal/modules/helpers:179:18) javascript.0 2024-08-03 17:16:09.534 error at Module.require (node:internal/modules/cjs/loader:1233:19) javascript.0 2024-08-03 17:16:09.531 error script.js.common.sh1106: Error: Cannot find module '@iobroker-javascript.0/i2c-bus' javascript.0 2024-08-03 17:15:27.591 error Error: The module '/opt/iobroker/node_modules/i2c-bus/build/Release/i2c.node'was compiled against a different Node.js version usingNODE_MODULE_VERSION 108. This version of Node.js requiresNODE_MODULE_VERSION 115. Please try re-compiling or re-installingthe module (for instance, using `npm rebuild` or `npm install`). at Object.Module._extensions..node (node:internal/modules/cjs/loader:1454:18) at Module.load (node:internal/modules/cjs/loader:1208:32) at Function.Module._load (node:internal/modules/cjs/loader:1024:12) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48) at Object.<anonymous> (/opt/iobroker/node_modules/i2c-bus/i2c-bus.js:4:32) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) javascript.0 2024-08-03 17:15:27.589 error Error: The module '/opt/iobroker/node_modules/i2c-bus/build/Release/i2c.node'was compiled against a different Node.js version usingNODE_MODULE_VERSION 108. This version of Node.js requiresNODE_MODULE_VERSION 115. Please try re-compiling or re-installingthe module (for instance, using `npm rebuild` or `npm install`). javascript.0 2024-08-03 17:15:27.583 error An error happened which is most likely from one of your scripts, but the originating script could not be detected. rpi2.0 2024-08-03 17:12:24.679 error Cannot initialize/setMode GPIO: Error: Could not locate the bindings file. Tried: → /opt/iobroker/node_modules/epoll/build/epoll.node /opt/iobroker/node_modules/epoll/build/Debug/epoll.node /opt/iobroker/node_modules/epoll/build/Release/epoll.node /opt/iobroker/node_modules/epoll/out/Debug/epoll.node /opt/iobroker/node_modules/epoll/Debug/epoll.node /opt/iobroker/node_modules/epoll/out/Release/epoll.node /opt/iobroker/node_modules/epoll/Release/epoll.node /opt/iobroker/node_modules/epoll/build/default/epoll.node /opt/iobroker/node_modules/epoll/compiled/20.16.0/linux/arm/epoll.node /opt/iobroker/node_modules/epoll/addon-build/release/install-root/epoll.node /opt/iobroker/node_modules/epoll/addon-build/debug/install-root/epoll.node /opt/iobroker/node_modules/epoll/addon-build/default/install-root/epoll.node /opt/iobroker/node_modules/epoll/lib/binding/node-v115-linux-arm/epoll.node
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
ich denke... Systemseitig ist fast alles wieder Ok... im Log kommt nach iob start noch folgendes:
Das dürfte von einem zusätzlich im javascript-Adapter eingetragenen Modul kommen.
-
@thomas-braun
ich glaube ich habs jetzt wieder "im Griff"...
hab ein npm rebuild für i2c-bus gemacht... jetzt scheint dieser Fehler weg zu sein..
nur noch etwas vom RPI2 adapterrpi2.0 2024-08-03 17:53:04.517 error Cannot initialize/setMode GPIO: Error: Could not locate the bindings file. Tried: /opt/iobroker/node_modules/epoll/build/epoll.node /opt/iobroker/node_modules/epoll/build/Debug/epoll.node /opt/iobroker/node_modules/epoll/build/Release/epoll.node /opt/iobroker/node_modules/epoll/out/Debug/epoll.node /opt/iobroker/node_modules/epoll/Debug/epoll.node /opt/iobroker/node_modules/epoll/out/Release/epoll.node /opt/iobroker/node_modules/epoll/Release/epoll.node /opt/iobroker/node_modules/epoll/build/default/epoll.node /opt/iobroker/node_modules/epoll/compiled/20.16.0/linux/arm/epoll.node /opt/iobroker/node_modules/epoll/addon-build/release/install-root/epoll.node /opt/iobroker/node_modules/epoll/addon-build/debug/install-root/epoll.node /opt/iobroker/node_modules/epoll/addon-build/default/install-root/epoll.node /opt/iobroker/node_modules/epoll/lib/binding/node-v115-linux-arm/epoll.node
,
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
nur noch etwas vom RPI2 adapter
Installier den mal in der Beta-Version 2.0. Der ist relativ umfangreich umgebaut worden.
-
Installier den mal in der Beta-Version 2.0. Der ist relativ umfangreich umgebaut worden.
Ja - ist unbedingt notwendig.
Falls es mit rpi2 Probleme gibt bitte ium diesbezüglichen Test Topic ansprechen. -
@mcm1957 @Thomas-Braun
ja werde ich testen, heute nicht mehr
vielen Dank an euch für eure Hilfe… ist einfach super die Unterstützung hier… -
@thomas-braun
so, habe mal die 2.0.0 installiert....läuft auch nicht ...rpi2.0 2024-08-04 11:12:46.507 error Cannot initialize/setMode GPIO: Error: Cannot find module 'opengpio' Require stack: - /opt/iobroker/node_modules/iobroker.rpi2/lib/gpioControl.js - /opt/iobroker/node_modules/iobroker.rpi2/main.js
-
@stoffel67 sagte in nach nodeJs update auf 20.16.0 keine Skrpt seite mehr:
so, habe mal die 2.0.0 installiert....läuft auch nicht ...
Wie installiert? Denn das vermisste Modul 'opengpio' wird bei der sauberen Installation mitinstalliert:
echad@chet:/opt/iobroker $ npm ls opengpio iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.rpi2@2.0.0 └── opengpio@1.1.0
-
rpi2 test thread:
https://forum.iobroker.net/topic/75290/test-adapter-rpi2-2-xDort liest / antwortet auch der Dev
-
pi@raspberrypi:~ $ cd /opt/iobroker/ pi@raspberrypi:/opt/iobroker $ npm ls opengpio iobroker.inst@3.0.0 /opt/iobroker └─┬ iobroker.rpi2@2.0.0 └── opengpio@1.1.0 pi@raspberrypi:/opt/iobroker $