NEWS
nach nodeJs update auf 20.16.0 keine Skrpt seite mehr
-
@mcm1957
es ist seltsam, ichbekomm den Adapter nicht weg....$ iobroker del radar2 --debug Delete adapter "radar2" host.raspberrypi Counted 1 meta of radar2 host.raspberrypi Counted 1 adapter for radar2 host.raspberrypi Counted 1 states (io.radar2.*) from states host.raspberrypi Counted 1 states (system.adapter.radar2.*) from states host.raspberrypi file radar2.admin deleted host.raspberrypi object radar2 deleted host.raspberrypi object radar2.admin deleted host.raspberrypi Deleting 2 object(s). host.raspberrypi Deleting 2 state(s). Error deleting adapter radar2 from disk: host.raspberrypi: Cannot uninstall iobroker.radar2: 217 You might have to delete it yourself! Process exited with code 0
-
iob fix iob list adapters
-
@thomas-braun
auf ein neues...pi@raspberrypi:/opt/iobroker $ iob fix library: loaded Library version=2024-05-24 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2024-01-04 You might need to enter your password a couple of times. ========================================================================== ========================================================================== Installing prerequisites (1/5) ========================================================================== Holen:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB] OK:2 http://archive.raspberrypi.org/debian bullseye InRelease OK:3 https://deb.nodesource.com/node_20.x nodistro InRelease Es wurden 15,0 kB in 2 s geholt (6.669 B/s). Paketlisten werden gelesen… Fertig ========================================================================== Checking ioBroker user and directory permissions (2/5) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Check and cleanup npm temporary directories (3/5) ========================================================================== Done. ========================================================================== Database maintenance (4/5) ========================================================================== Checking for uncompressed JSONL databases... This might take a while! Compressing /opt/iobroker/iobroker-data/states.jsonl Compressing /opt/iobroker/iobroker-data/objects.jsonl Compressed 2 JSONL files. Done ========================================================================== Checking autostart (5/5) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ========================================================================== pi@raspberrypi:/opt/iobroker $ iob list adapters system.adapter.admin : admin - v7.0.22 system.adapter.backitup : backitup - v2.11.0 system.adapter.discovery : discovery - v4.5.0 system.adapter.ds18b20 : ds18b20 - v2.0.5 system.adapter.enet : enet - v1.0.1 system.adapter.info : info - v1.9.26 system.adapter.javascript : javascript - v8.7.6 system.adapter.linkeddevices : linkeddevices - v1.5.5 system.adapter.modbus : modbus - v6.1.0 system.adapter.node-red : node-red - v5.2.1 system.adapter.palazzetti : palazzetti - v0.0.6 system.adapter.proxy : proxy - v1.3.2 system.adapter.rpi2 : rpi2 - v1.3.2 system.adapter.shelly : shelly - v7.0.0 system.adapter.simple-api : simple-api - v2.8.0 system.adapter.slideshow : slideshow - v0.1.4 system.adapter.smartmeter : smartmeter - v3.4.0 system.adapter.socketio : socketio - v6.7.0 system.adapter.sonoff : sonoff - v3.0.3 system.adapter.terminal : terminal - v0.2.2 system.adapter.tr-064 : tr-064 - v4.2.18 system.adapter.vis : vis - v1.5.6 system.adapter.vw-connect : vw-connect - v0.0.67 system.adapter.web : web - v6.2.5 system.adapter.withings : withings - v0.0.13 system.adapter.ws : ws - v2.6.1 system.adapter.yahka : yahka - v1.0.3 pi@raspberrypi:/opt/iobroker $
-
@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 $