NEWS
s7 Adapter funktioniert nicht mehr noch node update
-
@thomas-braun
Das ist natürlich schlecht hoffe da kommt ein update für den Adapter. dann warte ich mal aktuell kann ich nur Ring nicht mehr aktualisieren.@jacke sagte in s7 Adapter funktioniert nicht mehr noch node update:
kommt ein update für den Adapter.
Das hat mit dem Adapter direkt auch nicht zu tun, das klemmt bei einer Dependency (node-snap7). Und die ist seit Jahren nicht mehr angepackt worden. Das sieht fürchte ich schlecht aus, in der derzeitigen Konstellation.
-
@thomas-braun
Ich habe gerade den Adapter auf einer frischen Installation gesartet und es funktioniert nun wollte ich ein Backup meiner alten installation auf dem neuen system einspielen hier mecker er mir den JS controller anhost.IoBrokerDeb Using backup file 2023_09_12-09_16_32_backupiobroker.tar.gz iobroker controller daemon is not running host.IoBrokerDeb OK. The current version of js-controller differs from the version in the backup. The js-controller version of the backup can not be restored automatically. To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@5.0.12 --production" inside your ioBroker directory If you really want to restore the backup with the current installed js-controller, execute the restore command with the --force flag nils@IoBrokerDeb:~$ iobroker update Used repository: stable Adapter "admin" : 6.8.0 , installed 6.3.5 [Updatable] Adapter "backitup" : 2.6.23 , installed 2.6.23 Adapter "discovery" : 3.1.0 , installed 3.1.0 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "s7" : 1.3.15 , installed 1.3.15gestern hat er auf meinem alten system von 4 auf 5 geupgraded
-
@thomas-braun
Ich habe gerade den Adapter auf einer frischen Installation gesartet und es funktioniert nun wollte ich ein Backup meiner alten installation auf dem neuen system einspielen hier mecker er mir den JS controller anhost.IoBrokerDeb Using backup file 2023_09_12-09_16_32_backupiobroker.tar.gz iobroker controller daemon is not running host.IoBrokerDeb OK. The current version of js-controller differs from the version in the backup. The js-controller version of the backup can not be restored automatically. To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@5.0.12 --production" inside your ioBroker directory If you really want to restore the backup with the current installed js-controller, execute the restore command with the --force flag nils@IoBrokerDeb:~$ iobroker update Used repository: stable Adapter "admin" : 6.8.0 , installed 6.3.5 [Updatable] Adapter "backitup" : 2.6.23 , installed 2.6.23 Adapter "discovery" : 3.1.0 , installed 3.1.0 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "s7" : 1.3.15 , installed 1.3.15gestern hat er auf meinem alten system von 4 auf 5 geupgraded
@jacke
Welchen js-controller hat den das Zielsystem?
Soweit ich weiß kann ein js-controller 5 backup NUR auf einem js-controller 5 System restauriert werden.https://forum.iobroker.net/topic/66108/js-controller-5-0-x-jetzt-in-der-beta
ACHTUNG backups inkompatibel bei Downgrades!! Neben der Node.js Version gibt es eine wichtige Inkompatibilität: Backups die mit der 5.0 des js-controller erstellt wurden lassen sich nicht mit einem js-controller 4 oder kleiner wieder restoren! -
@jacke
Welchen js-controller hat den das Zielsystem?
Soweit ich weiß kann ein js-controller 5 backup NUR auf einem js-controller 5 System restauriert werden.https://forum.iobroker.net/topic/66108/js-controller-5-0-x-jetzt-in-der-beta
ACHTUNG backups inkompatibel bei Downgrades!! Neben der Node.js Version gibt es eine wichtige Inkompatibilität: Backups die mit der 5.0 des js-controller erstellt wurden lassen sich nicht mit einem js-controller 4 oder kleiner wieder restoren!@mcm57
habe einen snapshot von gestern eingespielt mein altes system hat jetzt 4.0.23 das neue 4.0.24npm i iobroker.js-controller@4.0.23 --productionmir wurde dieser befehl vorgeschlagen.
das IoBroker backup beinhaltet das auch NodeRed zigbee und javascript oder muss ich da noch ein einzelnes Backup einspielen? -
@mcm57
habe einen snapshot von gestern eingespielt mein altes system hat jetzt 4.0.23 das neue 4.0.24npm i iobroker.js-controller@4.0.23 --productionmir wurde dieser befehl vorgeschlagen.
das IoBroker backup beinhaltet das auch NodeRed zigbee und javascript oder muss ich da noch ein einzelnes Backup einspielen? -
Da ich den S7-Adapter auch brauche, kurz nachgefragt, ist mir jetzt noch nicht so klar geworden.
Läuft der Adapter noch, wenn ich den JS-Controller auf die 5er-Version hochziehe?
Liegt es nur daran, wenn ich node auf 18 hochrüste?Danke
Gruß Thomas -
Da ich den S7-Adapter auch brauche, kurz nachgefragt, ist mir jetzt noch nicht so klar geworden.
Läuft der Adapter noch, wenn ich den JS-Controller auf die 5er-Version hochziehe?
Liegt es nur daran, wenn ich node auf 18 hochrüste?Danke
Gruß Thomas@tugsi
Leider kann ich deine Frage nicht beantworten.Aber wenn jemand definitiv ein Problem mit Node 18 dokumentieren kann, dann bitte unbedingt ein passendes Issue incl. aktueller Logs beim Adapter anlegen, da node 16 seit 11.9.2023 EOL ist und in der nächsten Zeit von immer mehr Adaptern nicht mehr unterstützt werden wird. Ein Adapter der nicht mit node 18 läuft, ist daher ein Problemfall...
Das oben referenzierte Issue bezieht sich auf node 19 welches einerseits ein (veralteter) Nachfolger von node 18 ist und andrerseits ein unstable release. Dieses Issue wird sicher nicht intensiv beachtet. Relevant sind derzeit node 18 und node 20
-
@tugsi
Leider kann ich deine Frage nicht beantworten.Aber wenn jemand definitiv ein Problem mit Node 18 dokumentieren kann, dann bitte unbedingt ein passendes Issue incl. aktueller Logs beim Adapter anlegen, da node 16 seit 11.9.2023 EOL ist und in der nächsten Zeit von immer mehr Adaptern nicht mehr unterstützt werden wird. Ein Adapter der nicht mit node 18 läuft, ist daher ein Problemfall...
Das oben referenzierte Issue bezieht sich auf node 19 welches einerseits ein (veralteter) Nachfolger von node 18 ist und andrerseits ein unstable release. Dieses Issue wird sicher nicht intensiv beachtet. Relevant sind derzeit node 18 und node 20
@mcm57
Die Dependency node-snap7 baut nicht mit nodejs >18, mit 18 rumpelt es ein wenig. Jedenfalls auf meinem Testsystem.
Das oben referenzierte Issue bezieht sich auf node 19 welches einerseits ein (veralteter) Nachfolger von node 18 ist und andrerseits ein unstable release.
Issue ist ja auch aus 12/2022. Damals war das aktuell und nodejs@20 noch nicht released.
-
@mcm57
Die Dependency node-snap7 baut nicht mit nodejs >18, mit 18 rumpelt es ein wenig. Jedenfalls auf meinem Testsystem.
Das oben referenzierte Issue bezieht sich auf node 19 welches einerseits ein (veralteter) Nachfolger von node 18 ist und andrerseits ein unstable release.
Issue ist ja auch aus 12/2022. Damals war das aktuell und nodejs@20 noch nicht released.
@thomas-braun @mcm57
Ok, dann heißt es also einfach ausprobieren, in wieweit Probleme mit node18 und/oder JS-Controller 5.x auftreten.
Werde ich mal auf meine Agenda legen, wenn ich etwas mehr Zeit habe, widme ich mich dem, denn ich wollte mein System auf den neuesten Stand mal wieder bringen.Danke für die Antworten.
-
Ich wollte mein Nodejs aktualisieren mit dem Befehl iob nodejs-update aber irgendwie funktioniert das bei diesen Adapter nicht alle anderen laufen nach dem update.
host.SmartHomeMira
2025-11-09 16:41:08.287 error instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[1]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) {
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Object..node (node:internal/modules/cjs/loader:1865:18)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: the module (for instance, usingnpm rebuildornpm install).
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 127. Please try re-compiling or re-installing
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 115. This version of Node.js requires
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: was compiled against a different Node.js version using
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node'
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 16:41:08.286 error Caught by controller[0]: throw e;
host.SmartHomeMira
2025-11-09 16:41:08.286 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
host.SmartHomeMira
2025-11-09 16:41:07.842 info instance system.adapter.s7.0 in version "1.4.3" started with pid 5406 -
Ich wollte mein Nodejs aktualisieren mit dem Befehl iob nodejs-update aber irgendwie funktioniert das bei diesen Adapter nicht alle anderen laufen nach dem update.
host.SmartHomeMira
2025-11-09 16:41:08.287 error instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[1]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) {
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Object..node (node:internal/modules/cjs/loader:1865:18)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: the module (for instance, usingnpm rebuildornpm install).
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 127. Please try re-compiling or re-installing
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 115. This version of Node.js requires
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: was compiled against a different Node.js version using
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node'
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 16:41:08.286 error Caught by controller[0]: throw e;
host.SmartHomeMira
2025-11-09 16:41:08.286 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
host.SmartHomeMira
2025-11-09 16:41:07.842 info instance system.adapter.s7.0 in version "1.4.3" started with pid 5406@basti97 sagte in s7 Adapter funktioniert nicht mehr noch node update:
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 127. Please try re-compiling or re-installing
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 115. This version of Node.js requires
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: was compiled against a different Node.js version using
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node'Liest sich blöd, oder? Dreh die Ausgabe um, wenn du schon aus dem GUI kopierst.

Besser das Log aus
iob logsverwenden.
Zum Problem: Installier den Adapter nochmal neu. -
Ich wollte mein Nodejs aktualisieren mit dem Befehl iob nodejs-update aber irgendwie funktioniert das bei diesen Adapter nicht alle anderen laufen nach dem update.
host.SmartHomeMira
2025-11-09 16:41:08.287 error instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[1]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) {
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: at Object..node (node:internal/modules/cjs/loader:1865:18)
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: the module (for instance, usingnpm rebuildornpm install).
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 127. Please try re-compiling or re-installing
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: NODE_MODULE_VERSION 115. This version of Node.js requires
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: was compiled against a different Node.js version using
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node'
host.SmartHomeMira
2025-11-09 16:41:08.287 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 16:41:08.286 error Caught by controller[0]: throw e;
host.SmartHomeMira
2025-11-09 16:41:08.286 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
host.SmartHomeMira
2025-11-09 16:41:07.842 info instance system.adapter.s7.0 in version "1.4.3" started with pid 5406 -
@ro75 sagte in s7 Adapter funktioniert nicht mehr noch node update:
wenn ich das aus vorherigen Posts richtig gesehen habe, ist dein OS uralt.
Nee, die Postings sind uralt...
-
@thomas-braun
2025-11-09 17:04:20.278 - error: host.SmartHomeMira Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
2025-11-09 17:04:20.278 - error: host.SmartHomeMira Caught by controller[0]: throw err;
2025-11-09 17:04:20.278 - error: host.SmartHomeMira Caught by controller[0]: ^
2025-11-09 17:04:20.278 - error: host.SmartHomeMira Caught by controller[0]: Error: Could not locate the bindings file. Tried:
2025-11-09 17:04:20.278 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at Object. (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: at require (node:internal/modules/helpers:147:16) {
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: tries: [
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
2025-11-09 17:04:20.279 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node',
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node'
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: ]
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[0]: }
2025-11-09 17:04:20.280 - error: host.SmartHomeMira Caught by controller[1]: Node.js v22.21.0
2025-11-09 17:04:20.280 - error: host.SmartHomeMira instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
2025-11-09 17:04:20.280 - info: host.SmartHomeMira Rebuild for adapter system.adapter.s7.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: throw err;
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: ^
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: Error: Could not locate the bindings file. Tried:
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at Object. (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: at require (node:internal/modules/helpers:147:16) {
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: tries: [
2025-11-09 17:04:20.344 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node'
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: ]
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: }
2025-11-09 17:04:20.345 - error: host.SmartHomeMira Caught by controller[0]: Node.js v22.21.0
2025-11-09 17:04:20.345 - error: host.SmartHomeMira instance system.adapter.s7.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
2025-11-09 17:04:20.345 - info: host.SmartHomeMira Rebuild for adapter system.adapter.s7.1 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" -
@ro75 sagte in s7 Adapter funktioniert nicht mehr noch node update:
wenn ich das aus vorherigen Posts richtig gesehen habe, ist dein OS uralt.
Nee, die Postings sind uralt...
@thomas-braun so hier wenn ich den Adapter lösche dann sind ja die Konfigurrationen auch weg. Denn in dem S7 Adapter kann man leider die konfigurrationen so nicht sichern wie bei den anderen
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: throw err;
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: Error: Could not locate the bindings file. Tried:
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) {
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: tries: [
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node'
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: ]
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 17:03:45.916 error instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.SmartHomeMira
2025-11-09 17:03:45.916 info Adapter system.adapter.s7.0 needs rebuild and will be restarted afterwards.
host.SmartHomeMira
2025-11-09 17:03:45.916 info system.adapter.s7.0 will be rebuilt
host.SmartHomeMira
2025-11-09 17:03:45.916 warn adapter "s7" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
host.SmartHomeMira
2025-11-09 17:03:45.917 info iobroker rebuild
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: throw err;
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: Error: Could not locate the bindings file. Tried:
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) {
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: tries: [
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node'
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: ]
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 17:03:45.977 error instance system.adapter.s7.1 terminated with code 1 (JS_CONTROLLER_STOPPED) -
@thomas-braun so hier wenn ich den Adapter lösche dann sind ja die Konfigurrationen auch weg. Denn in dem S7 Adapter kann man leider die konfigurrationen so nicht sichern wie bei den anderen
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: throw err;
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: Error: Could not locate the bindings file. Tried:
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.915 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) {
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: tries: [
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node'
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: ]
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 17:03:45.916 error Caught by controller[0]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 17:03:45.916 error instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.SmartHomeMira
2025-11-09 17:03:45.916 info Adapter system.adapter.s7.0 needs rebuild and will be restarted afterwards.
host.SmartHomeMira
2025-11-09 17:03:45.916 info system.adapter.s7.0 will be rebuilt
host.SmartHomeMira
2025-11-09 17:03:45.916 warn adapter "s7" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
host.SmartHomeMira
2025-11-09 17:03:45.917 info iobroker rebuild
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: throw err;
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: ^
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: Error: Could not locate the bindings file. Tried:
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12)
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) {
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: tries: [
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node'
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: ]
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: }
host.SmartHomeMira
2025-11-09 17:03:45.977 error Caught by controller[0]: Node.js v22.21.0
host.SmartHomeMira
2025-11-09 17:03:45.977 error instance system.adapter.s7.1 terminated with code 1 (JS_CONTROLLER_STOPPED)Setz das in CodeTags.
-
Setz das in CodeTags.
@thomas-braun ok mache
jetzt ist die Meldung noch gekommenadapter "s7" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt -
Setz das in CodeTags.
2025-11-09 17:03:45.976 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135 host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: throw err; host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: ^ host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: Error: Could not locate the bindings file. Tried: host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) { host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: tries: [ host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node' host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: ] host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: } host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: Node.js v22.21.0 host.SmartHomeMira 2025-11-09 17:03:45.977 error instance system.adapter.s7.1 terminated with code 1 (JS_CONTROLLER_STOPPED) host.SmartHomeMira 2025-11-09 17:03:45.977 info Adapter system.adapter.s7.1 needs rebuild and will be restarted afterwards. host.SmartHomeMira 2025-11-09 17:03:45.977 info system.adapter.s7.1 will be rebuilt -
2025-11-09 17:03:45.976 error Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135 host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: throw err; host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: ^ host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: Error: Could not locate the bindings file. Tried: host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.976 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1706:14) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Object..js (node:internal/modules/cjs/loader:1839:10) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1441:32) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Function._load (node:internal/modules/cjs/loader:1263:12) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at TracingChannel.traceSync (node:diagnostics_channel:328:14) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at wrapModuleLoad (node:internal/modules/cjs/loader:237:24) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1463:12) host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: at require (node:internal/modules/helpers:147:16) { host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: tries: [ host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/22.21.0/linux/x64/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node', host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v127-linux-x64/node_snap7.node' host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: ] host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: } host.SmartHomeMira 2025-11-09 17:03:45.977 error Caught by controller[0]: Node.js v22.21.0 host.SmartHomeMira 2025-11-09 17:03:45.977 error instance system.adapter.s7.1 terminated with code 1 (JS_CONTROLLER_STOPPED) host.SmartHomeMira 2025-11-09 17:03:45.977 info Adapter system.adapter.s7.1 needs rebuild and will be restarted afterwards. host.SmartHomeMira 2025-11-09 17:03:45.977 info system.adapter.s7.1 will be rebuiltAuf einem aktuellen System baut das Ding jedenfalls:
echad@chet:~ $ iobroker add s7 --debug NPM version: 11.6.1 Installing iobroker.s7@1.5.0... (System call) > node-snap7@1.0.9 install > prebuild-install || node-gyp rebuild (node:231268) [DEP0176] DeprecationWarning: fs.R_OK is deprecated, use fs.constants.R_OK instead (Use `node --trace-deprecation ...` to show where the warning was created) prebuild-install warn install No prebuilt binaries found (target=24.11.0 runtime=node arch=arm64 libc= platform=linux) gyp info it worked if it ends with ok gyp info using node-gyp@11.4.2 gyp info using node@24.11.0 | linux | arm64 gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp http GET https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/nsolid-v6.0.2-headers.tar.gz gyp http 200 https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/nsolid-v6.0.2-headers.tar.gz gyp http GET https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/SHASUMS256.txt gyp http 200 https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/SHASUMS256.txt gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/opt/iobroker/node_modules/node-snap7/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/iobroker/.cache/node-gyp/24.11.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/24.11.0', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/24.11.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/node-snap7', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/opt/iobroker/node_modules/node-snap7/build' CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_msgsock.o CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_sysutils.o CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_tcpsrvr.o ../deps/snap7/src/sys/snap_tcpsrvr.cpp: In member function ‘int TCustomMsgServer::StartTo(const char*, word)’: ../deps/snap7/src/sys/snap_tcpsrvr.cpp:429:12: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Wstringop-truncation] 429 | strncpy(FLocalAddress, Address, 16); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_threads.o CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_client.o CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_isotcp.o ../deps/snap7/src/core/s7_isotcp.cpp: In member function ‘int TIsoTcpSocket::IsoConfirmConnection(u_char)’: ../deps/snap7/src/core/s7_isotcp.cpp:163:17: warning: variable ‘TempRef’ set but not used [-Wunused-but-set-variable] 163 | u_short TempRef; | ^~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_partner.o ../deps/snap7/src/core/s7_partner.cpp: In member function ‘int TConnectionServer::StartTo(const char*)’: ../deps/snap7/src/core/s7_partner.cpp:252:12: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Wstringop-truncation] 252 | strncpy(FLocalAddress,Address,16); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_peer.o CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_server.o ../deps/snap7/src/core/s7_server.cpp: In member function ‘byte TS7Worker::WriteArea(PReqFunWriteDataItem, PReqFunWriteItem, TEv&)’: ../deps/snap7/src/core/s7_server.cpp:626:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 626 | if ((ReqItemPar->Area==S7AreaTM) ^ (ReqItemPar->TransportSize==S7WLTimer)) | ^~ ../deps/snap7/src/core/s7_server.cpp:629:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 629 | if ((ReqItemPar->Area==S7AreaCT) ^ (ReqItemPar->TransportSize==S7WLCounter)) | ^~ ../deps/snap7/src/core/s7_server.cpp: In member function ‘void TS7Worker::SZLSystemState()’: ../deps/snap7/src/core/s7_server.cpp:1247:11: warning: ‘void* memcpy(void*, const void*, size_t)’ forming offset [4, 5] is out of the bounds [0, 4] of object ‘SZLNotAvail’ with type ‘byte [4]’ {aka ‘unsigned char [4]’} [-Warray-bounds=] 1247 | memcpy(SZL.ResData,&SZLNotAvail,sizeof(SZLSysState)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../deps/snap7/src/core/s7_server.cpp:27: ../deps/snap7/src/core/s7_firmware.h:36:8: note: ‘SZLNotAvail’ declared here 36 | byte SZLNotAvail[4] = { | ^~~~~~~~~~~ ../deps/snap7/src/core/s7_server.cpp: In member function ‘word TS7Worker::ReadArea(PResFunReadItem, PReqFunReadItem, int&, TEv&)’: ../deps/snap7/src/core/s7_server.cpp:454:34: warning: ‘BitIndex’ may be used uninitialized [-Wmaybe-uninitialized] 454 | if ((ByteVal & BitMask[BitIndex])!=0) | ^~~~~~~~ ../deps/snap7/src/core/s7_server.cpp:332:10: note: ‘BitIndex’ was declared here 332 | byte BitIndex, ByteVal; | ^~~~~~~~ ../deps/snap7/src/core/s7_server.cpp: In member function ‘byte TS7Worker::WriteArea(PReqFunWriteDataItem, PReqFunWriteItem, TEv&)’: ../deps/snap7/src/core/s7_server.cpp:698:53: warning: ‘BitIndex’ may be used uninitialized [-Wmaybe-uninitialized] 698 | *Target=*Target | BitMask[BitIndex]; | ^~~~~~~~ ../deps/snap7/src/core/s7_server.cpp:598:14: note: ‘BitIndex’ was declared here 598 | byte BitIndex; | ^~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_text.o ../deps/snap7/src/core/s7_text.cpp: In function ‘char* EvtSrvText(TSrvEvent&, char*, int)’: ../deps/snap7/src/core/s7_text.cpp:782:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 782 | else | ^~~~ ../deps/snap7/src/core/s7_text.cpp:785:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 785 | strncpy(Result, S, TextLen); | ^~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_micro_client.o ../deps/snap7/src/core/s7_micro_client.cpp: In member function ‘void TSnap7MicroClient::SetConnectionParams(const char*, word, word)’: ../deps/snap7/src/core/s7_micro_client.cpp:2675:13: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Wstringop-truncation] 2675 | strncpy(RemoteAddress, RemAddress, 16); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/snap7/src/core/s7_micro_client.cpp: In member function ‘int TSnap7MicroClient::SetSessionPassword(char*)’: ../deps/snap7/src/core/s7_micro_client.cpp:3306:16: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3306 | strncpy((char*)&opData,Password,L); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/snap7/src/core/s7_micro_client.cpp:3298:26: note: length computed here 3298 | size_t L = strlen(Password); | ~~~~~~^~~~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/lib/snap7_libmain.o rm -f Release/obj.target/snap7.a Release/obj.target/snap7.a.ar-file-list; mkdir -p `dirname Release/obj.target/snap7.a` ar crs Release/obj.target/snap7.a @Release/obj.target/snap7.a.ar-file-list COPY Release/snap7.a CXX(target) Release/obj.target/node_snap7/src/node_snap7.o In file included from ../src/node_snap7_client.h:11, from ../src/node_snap7.cpp:6: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../../nan/nan.h:1173:36: warning: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ is deprecated: Use WriteUtf8V2 instead. [-Wdeprecated-declarations] 1173 | length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1174 | static_cast<int>(len), 0, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-object.h:12, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-array-buffer.h:14, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8.h:24, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:74, from ../src/node_snap7_client.h:10: /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-primitive.h:212:7: note: declared here 212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | ^~~~~~~~~ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’: ../../nan/nan.h:2418:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2418 | return node::Encode( | ~~~~~~~~~~~~^ 2419 | isolate | ~~~~~~~ 2420 | , reinterpret_cast<const uint16_t *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2421 | , len / 2); | ~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1189:50: note: declared here 1189 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../../nan/nan.h:2423:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2423 | return node::Encode( | ~~~~~~~~~~~~^ 2424 | isolate | ~~~~~~~ 2425 | , reinterpret_cast<const char *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2426 | , len | ~~~~~ 2427 | , node_enc); | ~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1181:38: note: declared here 1181 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../src/node_snap7.cpp: At global scope: /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1279:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] 1279 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1313:3: note: in expansion of macro ‘NODE_MODULE_X’ 1313 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../src/node_snap7.cpp:16:1: note: in expansion of macro ‘NODE_MODULE’ 16 | NODE_MODULE(node_snap7, InitAll) | ^~~~~~~~~~~ CXX(target) Release/obj.target/node_snap7/src/node_snap7_client.o In file included from ../src/node_snap7_client.h:11, from ../src/node_snap7_client.cpp:6: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../../nan/nan.h:1173:36: warning: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ is deprecated: Use WriteUtf8V2 instead. [-Wdeprecated-declarations] 1173 | length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1174 | static_cast<int>(len), 0, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-object.h:12, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-array-buffer.h:14, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8.h:24, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:74, from ../src/node_snap7_client.h:10: /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-primitive.h:212:7: note: declared here 212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | ^~~~~~~~~ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’: ../../nan/nan.h:2418:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2418 | return node::Encode( | ~~~~~~~~~~~~^ 2419 | isolate | ~~~~~~~ 2420 | , reinterpret_cast<const uint16_t *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2421 | , len / 2); | ~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1189:50: note: declared here 1189 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../../nan/nan.h:2423:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2423 | return node::Encode( | ~~~~~~~~~~~~^ 2424 | isolate | ~~~~~~~ 2425 | , reinterpret_cast<const char *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2426 | , len | ~~~~~ 2427 | , node_enc); | ~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1181:38: note: declared here 1181 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../src/node_snap7_client.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_snap7::S7Client::ListBlocksOfType(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/node_snap7_client.cpp:1689:42: warning: expression does not compute the number of elements in this array; element type is ‘word’ {aka ‘short unsigned int’}, not ‘PS7BlocksOfType’ {aka ‘short unsigned int (*)[8192]’} [-Wsizeof-array-div] 1689 | int BlockNum = sizeof(TS7BlocksOfType) / sizeof(PS7BlocksOfType); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/node_snap7_client.cpp:1689:44: note: add parentheses around ‘sizeof (PS7BlocksOfType)’ to silence this warning 1689 | int BlockNum = sizeof(TS7BlocksOfType) / sizeof(PS7BlocksOfType); | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) CXX(target) Release/obj.target/node_snap7/src/node_snap7_server.o In file included from ../src/node_snap7_server.h:12, from ../src/node_snap7_server.cpp:6: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../../nan/nan.h:1173:36: warning: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ is deprecated: Use WriteUtf8V2 instead. [-Wdeprecated-declarations] 1173 | length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1174 | static_cast<int>(len), 0, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-object.h:12, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-array-buffer.h:14, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8.h:24, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:74, from ../src/node_snap7_server.h:10: /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-primitive.h:212:7: note: declared here 212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | ^~~~~~~~~ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’: ../../nan/nan.h:2418:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2418 | return node::Encode( | ~~~~~~~~~~~~^ 2419 | isolate | ~~~~~~~ 2420 | , reinterpret_cast<const uint16_t *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2421 | , len / 2); | ~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1189:50: note: declared here 1189 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../../nan/nan.h:2423:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2423 | return node::Encode( | ~~~~~~~~~~~~^ 2424 | isolate | ~~~~~~~ 2425 | , reinterpret_cast<const char *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2426 | , len | ~~~~~ 2427 | , node_enc); | ~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1181:38: note: declared here 1181 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../src/node_snap7_server.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_snap7::S7Server::RWBufferCallback(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/node_snap7_server.cpp:721:56: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 721 | if (node::Buffer::Length(info[0].As<v8::Object>()) < size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CXX(target) Release/obj.target/node_snap7/src/snap7.o SOLINK_MODULE(target) Release/obj.target/node_snap7.node COPY Release/node_snap7.node make: Leaving directory '/opt/iobroker/node_modules/node-snap7/build' gyp info ok added 3 packages in 1m 250 packages are looking for funding run `npm fund` for details host.chet install adapter s7 upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/assets/index-B2ytDdn0.js assets/index-B2ytDdn0.js application/javascript upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/assets/index-Bd3GtHgn.css assets/index-Bd3GtHgn.css text/css upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/favicon.ico favicon.ico image/vnd.microsoft.icon upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/index_m.html index_m.html text/html upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/manifest.json manifest.json application/json upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/s7.png s7.png image/png host.chet object system.adapter.s7 created/updated Updating objects from io-package.json for adapter "s7" with version "1.5.0" host.chet create instance s7 host.chet object system.adapter.s7.0.alive created host.chet object system.adapter.s7.0.connected created host.chet object system.adapter.s7.0.compactMode created host.chet object system.adapter.s7.0.cpu created host.chet object system.adapter.s7.0.cputime created host.chet object system.adapter.s7.0.memHeapUsed created host.chet object system.adapter.s7.0.memHeapTotal created host.chet object system.adapter.s7.0.memRss created host.chet object system.adapter.s7.0.uptime created host.chet object system.adapter.s7.0.inputCount created host.chet object system.adapter.s7.0.outputCount created host.chet object system.adapter.s7.0.eventLoopLag created host.chet object system.adapter.s7.0.sigKill created host.chet object system.adapter.s7.0.logLevel created host.chet object system.adapter.s7.0 created echad@chet:~ $ -
Auf einem aktuellen System baut das Ding jedenfalls:
echad@chet:~ $ iobroker add s7 --debug NPM version: 11.6.1 Installing iobroker.s7@1.5.0... (System call) > node-snap7@1.0.9 install > prebuild-install || node-gyp rebuild (node:231268) [DEP0176] DeprecationWarning: fs.R_OK is deprecated, use fs.constants.R_OK instead (Use `node --trace-deprecation ...` to show where the warning was created) prebuild-install warn install No prebuilt binaries found (target=24.11.0 runtime=node arch=arm64 libc= platform=linux) gyp info it worked if it ends with ok gyp info using node-gyp@11.4.2 gyp info using node@24.11.0 | linux | arm64 gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp http GET https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/nsolid-v6.0.2-headers.tar.gz gyp http 200 https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/nsolid-v6.0.2-headers.tar.gz gyp http GET https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/SHASUMS256.txt gyp http 200 https://s3-us-west-2.amazonaws.com/nodesource-public-downloads/24.11.0-ns6.0.2/artifacts/headers/krypton/v6.0.2/SHASUMS256.txt gyp info spawn /usr/bin/python3 gyp info spawn args [ gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/opt/iobroker/node_modules/node-snap7/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/home/iobroker/.cache/node-gyp/24.11.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/24.11.0', gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/24.11.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/node-snap7', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp info spawn make gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] make: Entering directory '/opt/iobroker/node_modules/node-snap7/build' CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_msgsock.o CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_sysutils.o CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_tcpsrvr.o ../deps/snap7/src/sys/snap_tcpsrvr.cpp: In member function ‘int TCustomMsgServer::StartTo(const char*, word)’: ../deps/snap7/src/sys/snap_tcpsrvr.cpp:429:12: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Wstringop-truncation] 429 | strncpy(FLocalAddress, Address, 16); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_threads.o CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_client.o CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_isotcp.o ../deps/snap7/src/core/s7_isotcp.cpp: In member function ‘int TIsoTcpSocket::IsoConfirmConnection(u_char)’: ../deps/snap7/src/core/s7_isotcp.cpp:163:17: warning: variable ‘TempRef’ set but not used [-Wunused-but-set-variable] 163 | u_short TempRef; | ^~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_partner.o ../deps/snap7/src/core/s7_partner.cpp: In member function ‘int TConnectionServer::StartTo(const char*)’: ../deps/snap7/src/core/s7_partner.cpp:252:12: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Wstringop-truncation] 252 | strncpy(FLocalAddress,Address,16); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_peer.o CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_server.o ../deps/snap7/src/core/s7_server.cpp: In member function ‘byte TS7Worker::WriteArea(PReqFunWriteDataItem, PReqFunWriteItem, TEv&)’: ../deps/snap7/src/core/s7_server.cpp:626:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 626 | if ((ReqItemPar->Area==S7AreaTM) ^ (ReqItemPar->TransportSize==S7WLTimer)) | ^~ ../deps/snap7/src/core/s7_server.cpp:629:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 629 | if ((ReqItemPar->Area==S7AreaCT) ^ (ReqItemPar->TransportSize==S7WLCounter)) | ^~ ../deps/snap7/src/core/s7_server.cpp: In member function ‘void TS7Worker::SZLSystemState()’: ../deps/snap7/src/core/s7_server.cpp:1247:11: warning: ‘void* memcpy(void*, const void*, size_t)’ forming offset [4, 5] is out of the bounds [0, 4] of object ‘SZLNotAvail’ with type ‘byte [4]’ {aka ‘unsigned char [4]’} [-Warray-bounds=] 1247 | memcpy(SZL.ResData,&SZLNotAvail,sizeof(SZLSysState)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../deps/snap7/src/core/s7_server.cpp:27: ../deps/snap7/src/core/s7_firmware.h:36:8: note: ‘SZLNotAvail’ declared here 36 | byte SZLNotAvail[4] = { | ^~~~~~~~~~~ ../deps/snap7/src/core/s7_server.cpp: In member function ‘word TS7Worker::ReadArea(PResFunReadItem, PReqFunReadItem, int&, TEv&)’: ../deps/snap7/src/core/s7_server.cpp:454:34: warning: ‘BitIndex’ may be used uninitialized [-Wmaybe-uninitialized] 454 | if ((ByteVal & BitMask[BitIndex])!=0) | ^~~~~~~~ ../deps/snap7/src/core/s7_server.cpp:332:10: note: ‘BitIndex’ was declared here 332 | byte BitIndex, ByteVal; | ^~~~~~~~ ../deps/snap7/src/core/s7_server.cpp: In member function ‘byte TS7Worker::WriteArea(PReqFunWriteDataItem, PReqFunWriteItem, TEv&)’: ../deps/snap7/src/core/s7_server.cpp:698:53: warning: ‘BitIndex’ may be used uninitialized [-Wmaybe-uninitialized] 698 | *Target=*Target | BitMask[BitIndex]; | ^~~~~~~~ ../deps/snap7/src/core/s7_server.cpp:598:14: note: ‘BitIndex’ was declared here 598 | byte BitIndex; | ^~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_text.o ../deps/snap7/src/core/s7_text.cpp: In function ‘char* EvtSrvText(TSrvEvent&, char*, int)’: ../deps/snap7/src/core/s7_text.cpp:782:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 782 | else | ^~~~ ../deps/snap7/src/core/s7_text.cpp:785:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 785 | strncpy(Result, S, TextLen); | ^~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/core/s7_micro_client.o ../deps/snap7/src/core/s7_micro_client.cpp: In member function ‘void TSnap7MicroClient::SetConnectionParams(const char*, word, word)’: ../deps/snap7/src/core/s7_micro_client.cpp:2675:13: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 16 equals destination size [-Wstringop-truncation] 2675 | strncpy(RemoteAddress, RemAddress, 16); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/snap7/src/core/s7_micro_client.cpp: In member function ‘int TSnap7MicroClient::SetSessionPassword(char*)’: ../deps/snap7/src/core/s7_micro_client.cpp:3306:16: warning: ‘char* strncpy(char*, const char*, size_t)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3306 | strncpy((char*)&opData,Password,L); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../deps/snap7/src/core/s7_micro_client.cpp:3298:26: note: length computed here 3298 | size_t L = strlen(Password); | ~~~~~~^~~~~~~~~~ CXX(target) Release/obj.target/snap7/deps/snap7/src/lib/snap7_libmain.o rm -f Release/obj.target/snap7.a Release/obj.target/snap7.a.ar-file-list; mkdir -p `dirname Release/obj.target/snap7.a` ar crs Release/obj.target/snap7.a @Release/obj.target/snap7.a.ar-file-list COPY Release/snap7.a CXX(target) Release/obj.target/node_snap7/src/node_snap7.o In file included from ../src/node_snap7_client.h:11, from ../src/node_snap7.cpp:6: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../../nan/nan.h:1173:36: warning: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ is deprecated: Use WriteUtf8V2 instead. [-Wdeprecated-declarations] 1173 | length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1174 | static_cast<int>(len), 0, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-object.h:12, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-array-buffer.h:14, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8.h:24, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:74, from ../src/node_snap7_client.h:10: /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-primitive.h:212:7: note: declared here 212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | ^~~~~~~~~ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’: ../../nan/nan.h:2418:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2418 | return node::Encode( | ~~~~~~~~~~~~^ 2419 | isolate | ~~~~~~~ 2420 | , reinterpret_cast<const uint16_t *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2421 | , len / 2); | ~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1189:50: note: declared here 1189 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../../nan/nan.h:2423:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2423 | return node::Encode( | ~~~~~~~~~~~~^ 2424 | isolate | ~~~~~~~ 2425 | , reinterpret_cast<const char *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2426 | , len | ~~~~~ 2427 | , node_enc); | ~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1181:38: note: declared here 1181 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../src/node_snap7.cpp: At global scope: /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1279:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] 1279 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1313:3: note: in expansion of macro ‘NODE_MODULE_X’ 1313 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../src/node_snap7.cpp:16:1: note: in expansion of macro ‘NODE_MODULE’ 16 | NODE_MODULE(node_snap7, InitAll) | ^~~~~~~~~~~ CXX(target) Release/obj.target/node_snap7/src/node_snap7_client.o In file included from ../src/node_snap7_client.h:11, from ../src/node_snap7_client.cpp:6: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../../nan/nan.h:1173:36: warning: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ is deprecated: Use WriteUtf8V2 instead. [-Wdeprecated-declarations] 1173 | length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1174 | static_cast<int>(len), 0, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-object.h:12, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-array-buffer.h:14, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8.h:24, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:74, from ../src/node_snap7_client.h:10: /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-primitive.h:212:7: note: declared here 212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | ^~~~~~~~~ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’: ../../nan/nan.h:2418:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2418 | return node::Encode( | ~~~~~~~~~~~~^ 2419 | isolate | ~~~~~~~ 2420 | , reinterpret_cast<const uint16_t *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2421 | , len / 2); | ~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1189:50: note: declared here 1189 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../../nan/nan.h:2423:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2423 | return node::Encode( | ~~~~~~~~~~~~^ 2424 | isolate | ~~~~~~~ 2425 | , reinterpret_cast<const char *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2426 | , len | ~~~~~ 2427 | , node_enc); | ~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1181:38: note: declared here 1181 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../src/node_snap7_client.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_snap7::S7Client::ListBlocksOfType(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/node_snap7_client.cpp:1689:42: warning: expression does not compute the number of elements in this array; element type is ‘word’ {aka ‘short unsigned int’}, not ‘PS7BlocksOfType’ {aka ‘short unsigned int (*)[8192]’} [-Wsizeof-array-div] 1689 | int BlockNum = sizeof(TS7BlocksOfType) / sizeof(PS7BlocksOfType); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/node_snap7_client.cpp:1689:44: note: add parentheses around ‘sizeof (PS7BlocksOfType)’ to silence this warning 1689 | int BlockNum = sizeof(TS7BlocksOfType) / sizeof(PS7BlocksOfType); | ^~~~~~~~~~~~~~~~~~~~~~~ | ( ) CXX(target) Release/obj.target/node_snap7/src/node_snap7_server.o In file included from ../src/node_snap7_server.h:12, from ../src/node_snap7_server.cpp:6: ../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’: ../../nan/nan.h:1173:36: warning: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ is deprecated: Use WriteUtf8V2 instead. [-Wdeprecated-declarations] 1173 | length_ = string->WriteUtf8(v8::Isolate::GetCurrent(), str_, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1174 | static_cast<int>(len), 0, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-object.h:12, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-array-buffer.h:14, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8.h:24, from /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:74, from ../src/node_snap7_server.h:10: /home/iobroker/.cache/node-gyp/24.11.0/include/node/v8-primitive.h:212:7: note: declared here 212 | int WriteUtf8(Isolate* isolate, char* buffer, int length = -1, | ^~~~~~~~~ ../../nan/nan.h: In function ‘v8::Local<v8::Value> Nan::Encode(const void*, size_t, Encoding)’: ../../nan/nan.h:2418:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const uint16_t*, size_t)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2418 | return node::Encode( | ~~~~~~~~~~~~^ 2419 | isolate | ~~~~~~~ 2420 | , reinterpret_cast<const uint16_t *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2421 | , len / 2); | ~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1189:50: note: declared here 1189 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../../nan/nan.h:2423:24: warning: ‘v8::Local<v8::Value> node::Encode(v8::Isolate*, const char*, size_t, encoding)’ is deprecated: Use TryEncode(...) instead [-Wdeprecated-declarations] 2423 | return node::Encode( | ~~~~~~~~~~~~^ 2424 | isolate | ~~~~~~~ 2425 | , reinterpret_cast<const char *>(buf) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2426 | , len | ~~~~~ 2427 | , node_enc); | ~~~~~~~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:1181:38: note: declared here 1181 | NODE_EXTERN v8::Local<v8::Value> Encode(v8::Isolate* isolate, | ^~~~~~ /home/iobroker/.cache/node-gyp/24.11.0/include/node/node.h:117:42: note: in definition of macro ‘NODE_DEPRECATED’ 117 | __attribute__((deprecated(message))) declarator | ^~~~~~~~~~ ../src/node_snap7_server.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_snap7::S7Server::RWBufferCallback(Nan::NAN_METHOD_ARGS_TYPE)’: ../src/node_snap7_server.cpp:721:56: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 721 | if (node::Buffer::Length(info[0].As<v8::Object>()) < size) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ CXX(target) Release/obj.target/node_snap7/src/snap7.o SOLINK_MODULE(target) Release/obj.target/node_snap7.node COPY Release/node_snap7.node make: Leaving directory '/opt/iobroker/node_modules/node-snap7/build' gyp info ok added 3 packages in 1m 250 packages are looking for funding run `npm fund` for details host.chet install adapter s7 upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/assets/index-B2ytDdn0.js assets/index-B2ytDdn0.js application/javascript upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/assets/index-Bd3GtHgn.css assets/index-Bd3GtHgn.css text/css upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/favicon.ico favicon.ico image/vnd.microsoft.icon upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/index_m.html index_m.html text/html upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/manifest.json manifest.json application/json upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/s7.png s7.png image/png host.chet object system.adapter.s7 created/updated Updating objects from io-package.json for adapter "s7" with version "1.5.0" host.chet create instance s7 host.chet object system.adapter.s7.0.alive created host.chet object system.adapter.s7.0.connected created host.chet object system.adapter.s7.0.compactMode created host.chet object system.adapter.s7.0.cpu created host.chet object system.adapter.s7.0.cputime created host.chet object system.adapter.s7.0.memHeapUsed created host.chet object system.adapter.s7.0.memHeapTotal created host.chet object system.adapter.s7.0.memRss created host.chet object system.adapter.s7.0.uptime created host.chet object system.adapter.s7.0.inputCount created host.chet object system.adapter.s7.0.outputCount created host.chet object system.adapter.s7.0.eventLoopLag created host.chet object system.adapter.s7.0.sigKill created host.chet object system.adapter.s7.0.logLevel created host.chet object system.adapter.s7.0 created echad@chet:~ $@thomas-braun was kann ich da jetzt machen?