Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. s7 Adapter funktioniert nicht mehr noch node update

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    s7 Adapter funktioniert nicht mehr noch node update

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jacke last edited by

      Hallo ich wollte von node 16 auf 18 hochgehen.
      ich bin nach dieser Anleitung vorgegangen.
      Ich bekomme dann diese Fehlermeldung
      Screenshot 2023-09-11 122036.png
      ich habe dann folgendes probiert.

      cd /opt/iobroker/node_modules/iobroker.s7
       
      npm install --production
      
      

      dann bekomme ich folgende Fehlermeldungen

      pm WARN config production Use `--omit=dev` instead.
      npm ERR! code 1
      npm ERR! path /opt/iobroker/node_modules/iobroker.s7/node_modules/node-snap7
      npm ERR! command failed
      npm ERR! command sh -c -- prebuild-install || node-gyp rebuild
      npm ERR! make: Entering directory '/opt/iobroker/node_modules/iobroker.s7/node_modules/node-snap7/build'
      npm ERR!   CXX(target) Release/obj.target/snap7/deps/snap7/src/sys/snap_msgsock.o
      npm ERR! make: Leaving directory '/opt/iobroker/node_modules/iobroker.s7/node_modules/node-snap7/build'
      npm ERR! prebuild-install WARN install No prebuilt binaries found (target=18.11.0 runtime=node arch=x64 libc= platform=linux)
      npm ERR! gyp info it worked if it ends with ok
      npm ERR! gyp info using node-gyp@8.4.1
      npm ERR! gyp info using node@18.11.0 | linux | x64
      npm ERR! gyp info find Python using Python version 3.9.5 found at "/usr/bin/python3"
      npm ERR! gyp info spawn /usr/bin/python3
      npm ERR! gyp info spawn args [
      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
      npm ERR! gyp info spawn args   'binding.gyp',
      npm ERR! gyp info spawn args   '-f',
      npm ERR! gyp info spawn args   'make',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/iobroker.s7/node_modules/node-snap7/build/config.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
      npm ERR! gyp info spawn args   '-I',
      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.11.0/include/node/common.gypi',
      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
      npm ERR! gyp info spawn args   '-Dvisibility=default',
      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.11.0',
      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.11.0/<(target_arch)/node.lib',
      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/iobroker.s7/node_modules/node-snap7',
      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
      npm ERR! gyp info spawn args   '--depth=.',
      npm ERR! gyp info spawn args   '--no-parallel',
      npm ERR! gyp info spawn args   '--generator-output',
      npm ERR! gyp info spawn args   'build',
      npm ERR! gyp info spawn args   '-Goutput_dir=.'
      npm ERR! gyp info spawn args ]
      npm ERR! gyp info spawn make
      npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      npm ERR! In file included from /usr/include/unistd.h:217,
      npm ERR!                  from ../deps/snap7/src/sys/snap_platform.h:61,
      npm ERR!                  from ../deps/snap7/src/sys/snap_msgsock.h:29,
      npm ERR!                  from ../deps/snap7/src/sys/snap_msgsock.cpp:27:
      npm ERR! /usr/include/x86_64-linux-gnu/bits/types.h:31:18: internal compiler error: Illegal instruction
      npm ERR!    31 | typedef unsigned char __u_char;
      npm ERR!       |                  ^~~~
      npm ERR! Please submit a full bug report,
      npm ERR! with preprocessed source if appropriate.
      npm ERR! See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
      npm ERR! make: *** [snap7.target.mk:130: Release/obj.target/snap7/deps/snap7/src/sys/snap_msgsock.o] Error 1
      npm ERR! gyp ERR! build error
      npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
      npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/node-gyp/lib/build.js:194:23)
      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
      npm ERR! gyp ERR! System Linux 5.15.102-1-pve
      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.s7/node_modules/node-snap7
      npm ERR! gyp ERR! node -v v18.11.0
      npm ERR! gyp ERR! node-gyp -v v8.4.1
      npm ERR! gyp ERR! not ok
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2023-09-11T10_20_15_999Z-debug-0.log
      

      hoffe mir kann jemand helfen

      1 Reply Last reply Reply Quote 0
      • J
        Jacke last edited by

        hier einmal der komplette log

        host.IoBrokerLXC
        2023-09-11 12:28:12.449	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.IoBrokerLXC
        2023-09-11 12:28:12.449	error	Caught by controller[1]: Node.js v18.11.0
        host.IoBrokerLXC
        2023-09-11 12:28:12.449	error	Caught by controller[0]: }
        host.IoBrokerLXC
        2023-09-11 12:28:12.449	error	Caught by controller[0]: ]
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node'
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: tries: [
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14) {
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.s7/main.js:9:21)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1061:19)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:878:12)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1037:32)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:12.448	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
        host.IoBrokerLXC
        2023-09-11 12:28:12.447	error	Caught by controller[0]: ^
        host.IoBrokerLXC
        2023-09-11 12:28:12.447	error	Caught by controller[0]: throw err;
        host.IoBrokerLXC
        2023-09-11 12:28:12.447	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
        host.IoBrokerLXC
        2023-09-11 12:28:10.752	error	iobroker npm-rebuild: Rebuilding native modules failed
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: Node.js v18.11.0
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: }
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: ]
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node'
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: tries: [
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14) {
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.s7/main.js:9:21)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1061:19)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:878:12)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1037:32)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
        host.IoBrokerLXC
        2023-09-11 12:28:02.857	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: ^
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: throw err;
        host.IoBrokerLXC
        2023-09-11 12:28:02.856	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
        host.IoBrokerLXC
        2023-09-11 12:28:00.959	error	iobroker npm-rebuild: Rebuilding native modules failed
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	Caught by controller[0]: Node.js v18.11.0
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	Caught by controller[0]: }
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	Caught by controller[0]: ]
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node'
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.330	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: tries: [
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14) {
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.s7/main.js:9:21)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1061:19)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:878:12)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1037:32)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: ^
        host.IoBrokerLXC
        2023-09-11 12:27:52.329	error	Caught by controller[0]: throw err;
        host.IoBrokerLXC
        2023-09-11 12:27:52.328	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
        host.IoBrokerLXC
        2023-09-11 12:27:49.632	error	iobroker npm-rebuild: Rebuilding native modules failed
        host.IoBrokerLXC
        2023-09-11 12:27:42.267	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
        host.IoBrokerLXC
        2023-09-11 12:27:42.267	error	Caught by controller[0]: Node.js v18.11.0
        host.IoBrokerLXC
        2023-09-11 12:27:42.267	error	Caught by controller[0]: }
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: ]
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node'
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: tries: [
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14) {
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.s7/main.js:9:21)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1061:19)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:878:12)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1037:32)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1159:14)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/18.11.0/linux/x64/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.266	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: ^
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: throw err;
        host.IoBrokerLXC
        2023-09-11 12:27:42.265	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Jacke last edited by Thomas Braun

          @jacke

          100% nodejs falsch installiert.

          Schau dir das HowTo aus meiner Signatur an oder das:

          https://forum.iobroker.net/topic/68035/iob-node-fix-skript

          Denn bei deiner ausgegrabenen Anleitung steht groß und fett und deutlich drin:

          Stabilostick

          1. Juni 2019, 02:46
            MOD-EDIT: Dieser Thread und insbesondere diese Anleitung ist von 2019 und somit veraltet
            aktuell ist
            https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
          1 Reply Last reply Reply Quote 0
          • J
            Jacke last edited by

            danke für die Antwort ich habe es mit dem skript versucht der S7 Adapter hängt aber nach wie vor

            curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update > iob_node_update
            chmod 744 iob_node_update
            ./iob_node_update
            

            Mit der gleichen Fehlermeldung.

            Bei deinem HowTo steht

            NODE_MAJOR=18
            sudo apt update
            sudo apt install -y ca-certificates curl gnupg
            sudo mkdir -p /etc/apt/keyrings
            curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
            echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
            sudo apt update
            sudo apt install nodejs
            

            das Node_Major=18 soll so in die KOnsole eingegeben werden?
            Zur Info ich benutze Ubuntu 21.04 in einem Proxmox LXC nach meinen versuchen bin ich immer wieder zum snapshot von vorher zurück

            Wal Thomas Braun 2 Replies Last reply Reply Quote 0
            • Wal
              Wal Developer @Jacke last edited by

              @jacke ,
              bei mir läuft der S7 Adapter seit über einem Jahr mit node 18 in einem Proxmox Debian LXC.
              Thomas wird da Recht haben und deine Nodeinstallation wird verbogen sein.

              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Jacke last edited by Thomas Braun

                @jacke sagte in s7 Adapter funktioniert nicht mehr noch node update:

                Mit der gleichen Fehlermeldung.

                Und wie sieht ein erneuter Durchlauf des Skripts aus?
                Gerne vollständige Ausgaben.

                Erst wenn die Basis stabil ist kannst du da mit weiteren Versuchen den Adapter zu bauen fortfahren.

                1 Reply Last reply Reply Quote 0
                • J
                  Jacke last edited by

                  @thomas-braun
                  So sieht das skript aus

                  ioBroker nodejs fixer 2023-09-07
                  
                  Recommended nodejs-version is: 18.17.1
                  Checking your installation now. Please be patient!
                  
                  Your current setup is:
                  /usr/bin/node           v16.18.0
                  /usr/bin/npm            8.19.2
                  /usr/bin/npx            8.19.2
                  /usr/bin/corepack       0.14.1
                  
                  I found these nodejs versions available for installation:
                  
                  nodejs:
                    Installed: 16.18.0-deb-1nodesource1
                    Candidate: 16.18.0-deb-1nodesource1
                    Version table:
                   *** 16.18.0-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_16.x hirsute/main amd64 Packages
                          100 /var/lib/dpkg/status
                       12.21.0~dfsg-3ubuntu1 500
                          500 http://old-releases.ubuntu.com/ubuntu hirsute/universe amd64 Packages
                  
                  
                  
                  Nothing to do, your installation is using the correct paths.
                  
                  You are running nodejs v16.18.0. Do you want to install recommended version 18.17.1?
                  
                  Press <y> to continue or any other key to quit
                  Trying to fix your installation now. Please be patient.
                  [sudo] password for nils:
                  lxc
                  Waiting for ioBroker to shut down - Give me a minute...
                  ############################################################
                  
                  *** These repos are active on your system:
                  Hit:1 http://old-releases.ubuntu.com/ubuntu hirsute InRelease
                  Hit:2 http://old-releases.ubuntu.com/ubuntu hirsute-updates InRelease
                  Hit:3 http://old-releases.ubuntu.com/ubuntu hirsute-security InRelease
                  Reading package lists... Done
                  
                  *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                  
                  *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                  deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
                  Package: nodejs
                  Pin: origin deb.nodesource.com
                  Pin-Priority: 1001
                  
                  *** These repos are active after the adjustments:
                  Get:1 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                  Hit:2 http://old-releases.ubuntu.com/ubuntu hirsute InRelease
                  Hit:3 http://old-releases.ubuntu.com/ubuntu hirsute-updates InRelease
                  Get:4 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [5181 B]
                  Hit:5 http://old-releases.ubuntu.com/ubuntu hirsute-security InRelease
                  Fetched 17.3 kB in 0s (35.8 kB/s)
                  Reading package lists... Done
                  
                  Installing the recommended nodejs version now!
                  Exact recommended version unknown, installing a fallback!
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  The following packages will be upgraded:
                    nodejs
                  1 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
                  Need to get 29.4 MB of archives.
                  After this operation, 60.1 MB of additional disk space will be used.
                  Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.0-1nodesource1 [29.4 MB]
                  Fetched 29.4 MB in 1s (35.4 MB/s)
                  (Reading database ... 35480 files and directories currently installed.)
                  Preparing to unpack .../nodejs_18.17.0-1nodesource1_amd64.deb ...
                  Detected old npm client, removing...
                  Unpacking nodejs (18.17.0-1nodesource1) over (16.18.0-deb-1nodesource1) ...
                  Setting up nodejs (18.17.0-1nodesource1) ...
                  Processing triggers for man-db (2.9.4-2) ...
                  
                  Updating fallback to latest nodejs v18 release
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  Calculating upgrade... Done
                  The following packages have been kept back:
                    libgl1-mesa-dri libglapi-mesa libglx-mesa0 ubuntu-advantage-tools
                  The following packages will be upgraded:
                    nodejs python3-gdbm
                  2 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
                  Need to get 29.4 MB of archives.
                  After this operation, 32.8 kB of additional disk space will be used.
                  Get:1 https://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.17.1-1nodesource1 [29.4 MB]
                  Get:2 http://old-releases.ubuntu.com/ubuntu hirsute-updates/main amd64 python3-gdbm amd64 3.9.5-0ubuntu3~21.04 [20.1 kB]
                  Fetched 29.4 MB in 1s (39.5 MB/s)
                  (Reading database ... 37965 files and directories currently installed.)
                  Preparing to unpack .../python3-gdbm_3.9.5-0ubuntu3~21.04_amd64.deb ...
                  Unpacking python3-gdbm:amd64 (3.9.5-0ubuntu3~21.04) over (3.9.4-0ubuntu1) ...
                  Preparing to unpack .../nodejs_18.17.1-1nodesource1_amd64.deb ...
                  Detected old npm client, removing...
                  Unpacking nodejs (18.17.1-1nodesource1) over (18.17.0-1nodesource1) ...
                  Setting up python3-gdbm:amd64 (3.9.5-0ubuntu3~21.04) ...
                  Setting up nodejs (18.17.1-1nodesource1) ...
                  Processing triggers for man-db (2.9.4-2) ...
                  
                  *** You need to manually restart your container now! ***
                  
                  We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                  

                  So sieht danach der Fehler im Log aus

                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: Node.js v18.17.1
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: }
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: ]
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node'
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/18.17.1/linux/x64/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.854	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: tries: [
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) {
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.s7/main.js:9:21)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/18.17.1/linux/x64/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.853	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: ^
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: throw err;
                  host.IoBrokerLXC
                  2023-09-11 17:41:24.852	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
                  host.IoBrokerLXC
                  2023-09-11 17:41:22.039	error	iobroker npm-rebuild: Rebuilding native modules failed
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: Node.js v18.17.1
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: }
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: ]
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node'
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/compiled/18.17.1/linux/x64/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Release/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.912	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: '/opt/iobroker/node_modules/node-snap7/build/node_snap7.node',
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: tries: [
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) {
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.s7/main.js:9:21)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:126:9)
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/lib/binding/node-v108-linux-x64/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/default/install-root/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/debug/install-root/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/addon-build/release/install-root/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/compiled/18.17.1/linux/x64/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/default/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Release/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Release/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/Debug/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/out/Debug/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/Debug/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: → /opt/iobroker/node_modules/node-snap7/build/node_snap7.node
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: Error: Could not locate the bindings file. Tried:
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: ^
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: throw err;
                  host.IoBrokerLXC
                  2023-09-11 17:41:13.911	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:135
                  host.IoBrokerLXC
                  2023-09-11 17:41:11.932	error	iobroker npm-rebuild: Rebuilding native modules failed
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[1]: Node.js v18.17.1
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: }
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) {
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: at Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: NODE_MODULE_VERSION 93. This version of Node.js requires
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: was compiled against a different Node.js version using
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node'
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: ^
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: throw e;
                  host.IoBrokerLXC
                  2023-09-11 17:41:01.913	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                  host.IoBrokerLXC
                  2023-09-11 17:40:59.316	error	iobroker npm-rebuild: Rebuilding native modules failed
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.510	error	instance system.adapter.s7.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.510	error	Caught by controller[0]: Node.js v18.17.1
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.510	error	Caught by controller[0]: }
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.510	error	Caught by controller[0]: code: 'ERR_DLOPEN_FAILED'
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) {
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/node-snap7/lib/node-snap7.js:8:45)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: at Module._extensions..node (node:internal/modules/cjs/loader:1340:18)
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: NODE_MODULE_VERSION 108. Please try re-compiling or re-installing
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: NODE_MODULE_VERSION 93. This version of Node.js requires
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: was compiled against a different Node.js version using
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/node-snap7/build/Release/node_snap7.node'
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: ^
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: throw e;
                  host.IoBrokerLXC
                  2023-09-11 17:40:43.509	error	Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Jacke last edited by Thomas Braun

                    @jacke

                    hirsute ist steinalt und wird nicht mehr aktiv gepflegt.
                    Installier da die aktuelle LTS oder gleich ein Debian. Und dann ohne graphische Oberfläche.

                    Hast du den Rat befolgt?

                    *** You need to manually restart your container now! ***
                    
                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jacke @Thomas Braun last edited by Jacke

                      @thomas-braun Ich habe den S7 adapter gestoppt und dann gesatrtet gleiches ergebnis.
                      dann Habe ich die ganze Maschiene neu gestartet.
                      Evtl. setze ich ein neues System auf und spiel dann alles über den Backitup Adapter neu ein

                      1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active last edited by Thomas Braun

                        @jacke

                        Das wird dir vermutlich nichts nutzen, bei mir baut das Ding mit aktuellem nodejs auch nicht mehr. Mit nodes@16 funktioniert es allerdings noch.

                        https://forum.iobroker.net/topic/60999/simatic-s7-adapter-fehlermeldung
                        https://github.com/mathiask88/node-snap7/issues/88

                        Grothesk242 created this issue in mathiask88/node-snap7

                        closed Won't build with nodejs19 #88

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jacke @Thomas Braun last edited by

                          @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.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Jacke last edited by Thomas Braun

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jacke last edited by

                              @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 an

                              host.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.15
                              

                              gestern hat er auf meinem alten system von 4 auf 5 geupgraded

                              mcm1957 1 Reply Last reply Reply Quote 0
                              • mcm1957
                                mcm1957 @Jacke last edited by mcm1957

                                @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!
                                
                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  Jacke @mcm1957 last edited by

                                  @mcm57
                                  habe einen snapshot von gestern eingespielt mein altes system hat jetzt 4.0.23 das neue 4.0.24

                                  npm i iobroker.js-controller@4.0.23 --production
                                  

                                  mir wurde dieser befehl vorgeschlagen.
                                  das IoBroker backup beinhaltet das auch NodeRed zigbee und javascript oder muss ich da noch ein einzelnes Backup einspielen?

                                  mcm1957 1 Reply Last reply Reply Quote 0
                                  • mcm1957
                                    mcm1957 @Jacke last edited by

                                    @jacke
                                    Sorry,
                                    da kann ich nicht helfen. Mir war nur die js-controller 5 breaking change Info bekannt auf die ich hinweisen wollte.

                                    1 Reply Last reply Reply Quote 0
                                    • tugsi
                                      tugsi last edited by

                                      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

                                      mcm1957 1 Reply Last reply Reply Quote 0
                                      • mcm1957
                                        mcm1957 @tugsi last edited by

                                        @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

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @mcm1957 last edited by Thomas Braun

                                          @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.

                                          tugsi 1 Reply Last reply Reply Quote 0
                                          • tugsi
                                            tugsi @Thomas Braun last edited by

                                            @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.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            772
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            20
                                            745
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo