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

                                    922
                                    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