Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. +Problem gelöst+Step7 Adapter Problem bei der Installation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    +Problem gelöst+Step7 Adapter Problem bei der Installation

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Chris20v last edited by

      @chris20v sagte in Step7 Adapter Problem bei der Installation:

      Könnt ihr mir bitte einen Tip geben.

      Texte immer als Text in code-tags posten!

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

        @chris20v

        Nodejs ist falsch installiert.

        iob diag
        

        anschauen.
        Und die Python Version checken:

        python version
        
        1 Reply Last reply Reply Quote 0
        • C
          Chris20v @Fabio last edited by

          @fa-bio said in Step7 Adapter Problem bei der Installation:

          @chris20v da gibt es wohl ein Problem mit npm und Pyhton hab aber nicht so die Ahnung.
          Ich würde das System mal auf neusten Stand bringen weitere Infos hier bei mir ist das im Moment:
          Node.js: v18.16.0
          NPM: 9.5.1
          Grüße Fabio

          Danke, ich bin nach der Anleitung in deinem Link vorgegangen.

          sudo apt purge --autoremove nodejs* npm node-* 
          
          curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
          
          sudo apt install -y nodejs
          
          root@iobrokerfw:/opt/iobroker# sudo apt-get install -y nodejs
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          Statusinformationen werden eingelesen.... Fertig
          Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
          Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
          Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
          nicht erstellt wurden oder Incoming noch nicht verlassen haben.
          Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
          
          Die folgenden Pakete haben unerfüllte Abhängigkeiten:
           nodejs : Hängt ab von: libc6 (>= 2.28) aber 2.24-11+deb9u4 soll installiert werden
          E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
          

          Dann erstmal wieder von vorne und wieder 16.x installiert.

          root@iobrokerfw:/opt/iobroker# type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          /usr/bin/npx
          v16.19.1
          v16.19.1
          8.19.3
          8.19.3
          

          Im Anschluss nochmal versuch den Step7 Adapter im Iobroker zu installieren ohne Erfolg.

          In der Fehlermeldung steht ja was von Use node 16.19.1 / node-gyp9.1.0npm.

          iobroker add s7 auto --host iobrokerfw --debug

          Installing iobroker.s7@1.3.14... (System call)

          npm ERR! code 1

          npm ERR! path /opt/iobroker/node_modules/node-snap7

          npm ERR! command failednpm ERR! command sh -c -- prebuild-install || node-gyp rebuildnpm ERR! sh: 1: prebuild-install: Permission deniednpm ERR! gyp info it worked if it ends with oknpm ERR! gyp info using node-gyp@9.1.0npm ERR! gyp info using node@16.19.1 | linux | x64npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python Python is not set from command line or npm configurationnpm ERR! gyp ERR! find Python Python is not set from environment variable PYTHONnpm ERR! gyp ERR! find Python checking if "python3" can be usednpm ERR! gyp ERR! find Python - executable path is "/usr/bin/python3"npm ERR! gyp ERR! find Python - version is "3.5.3"npm ERR! gyp ERR! find Python - version is 3.5.3 - should be >=3.6.0npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTEDnpm ERR! gyp ERR! find Python checking if "python" can be usednpm ERR! gyp ERR! find Python - executable path is "/usr/bin/python"npm ERR! gyp ERR! find Python - version is "2.7.13"npm ERR! gyp ERR! find Python - version is 2.7.13 - should be >=3.6.0npm ERR! gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTEDnpm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python **********************************************************npm ERR! gyp ERR! find Python You need to install the latest version of Python.npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,npm ERR! gyp ERR! find Python you can try one of the following options:npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)npm ERR! gyp ERR! find Python - Set the environment variable PYTHONnpm ERR! gyp ERR! find Python - Set the npm configuration variable python:npm ERR! gyp ERR! find Python npm config set python "/path/to/pythonexecutable"npm ERR! gyp ERR! find Python For more information consult the documentation at:npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installationnpm ERR! gyp ERR! find Python **********************************************************npm ERR! gyp ERR! find Python npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Could not find any Python installation to usenpm ERR! gyp ERR! stack at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)npm ERR! gyp ERR! stack at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:266:16)npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:297:7)npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:394:7)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1100:16)npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)npm ERR! gyp ERR! System Linux 4.9.0-19-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/node-snap7npm ERR! gyp ERR! node -v v16.19.1npm ERR! gyp ERR! node-gyp -v v9.1.0npm ERR! gyp ERR! not ok

          npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-04-19T08_57_07_597Z-debug-0.log

          host.iobrokerfw Cannot install iobroker.s7@1.3.14: 1

          ERROR: Process exited with code 25

          Thomas Braun Fabio 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Chris20v last edited by Thomas Braun

            @chris20v

            Nicht als root herumhampeln und die Ausgabe von

            iob diag
            

            posten.

            nodejs : Hängt ab von: libc6 (>= 2.28) aber 2.24-11+deb9u4 soll installiert werden

            sowie

            Python - version is "2.7.13"

            deutet aber darauf hin, dass du da mit einem hoffnungslos veralteten Betriebsystem unterwegs bist. Installier da was aktuelles.

            1 Reply Last reply Reply Quote 0
            • Fabio
              Fabio @Chris20v last edited by

              @chris20v da steht ja auch was von defekten zurückgehalten Paketen und auch THIS VERSION OF PYTHON IS NOT SUPPORTEDnpm ERR!
              Da kenne ich mich nicht aus ich denke du solltest das platt machen und alles neu aufsetzten.

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

                @fa-bio @Chris20v

                aber 2.24-11+deb9u4 soll installiert werden

                deb9 ist Debian 9 'Stretch' - PointRelease (Update) 4. Und das ist MAUSETOT.
                Muss wie gesagt durch Debian 11 'Bullseye' ersetzt werden.
                Das kommt dann auch mit einer passenden Version der libc6 sowie einem python3 daher.

                Hier wurde ein System so lange nicht 'gechanged' bis es nicht mehr richtig 'running' ist.

                1 Reply Last reply Reply Quote 1
                • Fabio
                  Fabio last edited by

                  @thomas-braun okay Thomas danke für die Info.
                  Dann ist es doch angebracht es platt zu machen und alles neu mit Bullseye sauber aufzusetzen.
                  Grüße
                  Fabio

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Chris20v @Fabio last edited by

                    @fa-bio said in Step7 Adapter Problem bei der Installation:

                    @thomas-braun okay Thomas danke für die Info.
                    Dann ist es doch angebracht es platt zu machen und alles neu mit Bullseye sauber aufzusetzen.
                    Grüße
                    Fabio

                    Hallo zusammen, letztes Wochenende das System Platt gemacht und Debian11 neu drauf gemacht. Iobroker neu installiert alles ohne Probleme.

                    Leider lässt sich der S7 Adapter immernoch nicht installieren. Vlt könnt ihr nochmal drüber gucken. Danke

                    Screenshot 2023-04-24 at 21-20-56 intro - IobrokerFW.png

                    $ iobroker add s7 auto --host IobrokerFW --debug

                    NPM version: 9.5.1

                    Installing iobroker.s7@1.3.14... (System call)

                    npm ERR! code 1

                    npm ERR! path /opt/iobroker/node_modules/node-snap7

                    npm ERR! command failednpm ERR! command sh -c prebuild-install || node-gyp rebuildnpm ERR! sh: 1: prebuild-install: Permission denied

                    npm ERR! gyp info it worked if it ends with ok

                    npm ERR! gyp info using node-gyp@9.3.1npm ERR! gyp info using node@18.16.0 | linux | x64npm ERR! gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"npm ERR! gyp info spawn /usr/bin/python3npm ERR! gyp info spawn args [npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/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/node-snap7/build/config.gypi',npm ERR! gyp info spawn args '-I',

                    npm ERR! gyp info spawn args '/usr/lib/node_modules/npm/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.16.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.16.0',npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',npm ERR! gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.16.0/<(target_arch)/node.lib',npm ERR! gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/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 ERR! build error npm ERR! gyp ERR! stack Error: not found: makenpm ERR! gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:10:17)npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:57:18

                    npm ERR! gyp ERR! stack at new Promise (<anonymous>)npm ERR! gyp ERR! stack at step (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:54:21)npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:71:22npm ERR! gyp ERR! stack at new Promise (<anonymous>)npm ERR! gyp ERR! stack at subStep (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:69:33)npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:80:22npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5npm ERR! gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5npm ERR! gyp ERR! System Linux 5.10.0-21-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/node-snap7npm ERR! gyp ERR! node -v v18.16.0npm ERR! gyp ERR! node-gyp -v v9.3.1npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-debug-0.log

                    host.IobrokerFW Cannot install iobroker.s7@1.3.14: 1

                    ERROR: Process exited with code 25

                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Chris20v last edited by

                      @chris20v sagte in Step7 Adapter Problem bei der Installation:

                      /home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-debug-0.log

                      Was steht in der Datei drin?

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

                        @chris20v

                        Muss was auf deinem System sein, hier läuft das durch:

                        echad@chet:~ $ iobroker add s7
                        NPM version: 9.5.1
                         Installing iobroker.s7@1.3.15... (System call)
                        
                        added 21 packages in 56s
                        
                        106 packages are looking for funding
                          run `npm fund` for details
                        host.chet install adapter s7
                        upload [129] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/asset-manifest.json asset-manifest.json application/json
                        upload [100] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Cold Water.937aad5fa21b0c20a856.svg static/media/Cold Water.937aad5fa21b0c20a856.svg image/svg+xml
                        upload [90] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Doorstep.10630b759b4867a10776.svg static/media/Doorstep.10630b759b4867a10776.svg image/svg+xml
                        upload [80] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Garage Doors.0c2a1cfca7ad1ea59625.svg static/media/Garage Doors.0c2a1cfca7ad1ea59625.svg image/svg+xml
                        upload [70] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Handle.3de1d1320fc3ce2f9712.svg static/media/Handle.3de1d1320fc3ce2f9712.svg image/svg+xml
                        upload [60] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Laundry Room.58da550dff0173676e02.svg static/media/Laundry Room.58da550dff0173676e02.svg image/svg+xml
                        upload [50] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Music.67bc6063cb601642fd74.svg static/media/Music.67bc6063cb601642fd74.svg image/svg+xml
                        upload [40] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Pump.a6035507cddbe7db5f6a.svg static/media/Pump.a6035507cddbe7db5f6a.svg image/svg+xml
                        upload [30] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/SmokeDetector.8222f77cb07030a409ee.svg static/media/SmokeDetector.8222f77cb07030a409ee.svg image/svg+xml
                        upload [20] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Temperature Sensors.75d805988a6b77b231d8.svg static/media/Temperature Sensors.75d805988a6b77b231d8.svg image/svg+xml
                        upload [19] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Terrace.d71d07d9290674f2ca20.svg static/media/Terrace.d71d07d9290674f2ca20.svg image/svg+xml
                        upload [18] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Toilet.83604dd2daafb67067dd.svg static/media/Toilet.83604dd2daafb67067dd.svg image/svg+xml
                        upload [17] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Tv.4e9745a548e57bfac0c7.svg static/media/Tv.4e9745a548e57bfac0c7.svg image/svg+xml
                        upload [16] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Upstairs.441813e54e0daca0882d.svg static/media/Upstairs.441813e54e0daca0882d.svg image/svg+xml
                        upload [15] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Vacuum Cleaner.9c8d50e436e6cea06dfa.svg static/media/Vacuum Cleaner.9c8d50e436e6cea06dfa.svg image/svg+xml
                        upload [14] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Ventilation.c31761d86d67e245ac92.svg static/media/Ventilation.c31761d86d67e245ac92.svg image/svg+xml
                        upload [13] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Wardrobe.e8019970a2b51412cfdc.svg static/media/Wardrobe.e8019970a2b51412cfdc.svg image/svg+xml
                        upload [12] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Washing Machines.577f3acdb3cef002b523.svg static/media/Washing Machines.577f3acdb3cef002b523.svg image/svg+xml
                        upload [11] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Washroom.bfb54196f381f36de9d6.svg static/media/Washroom.bfb54196f381f36de9d6.svg image/svg+xml
                        upload [10] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Water Consumption.68891649591cc2434c5b.svg static/media/Water Consumption.68891649591cc2434c5b.svg image/svg+xml
                        upload [9] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Water Heater.7e4bb4d99a5213f24d08.svg static/media/Water Heater.7e4bb4d99a5213f24d08.svg image/svg+xml
                        upload [8] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Water.f50411984c5c24fa574d.svg static/media/Water.f50411984c5c24fa574d.svg image/svg+xml
                        upload [7] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Wc.83604dd2daafb67067dd.svg static/media/Wc.83604dd2daafb67067dd.svg image/svg+xml
                        upload [6] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Weather.e91dae647698d48365e3.svg static/media/Weather.e91dae647698d48365e3.svg image/svg+xml
                        upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Window.421664f57c35e5109aa2.svg static/media/Window.421664f57c35e5109aa2.svg image/svg+xml
                        upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Windscreen.6058448bf63f72dd5036.svg static/media/Windscreen.6058448bf63f72dd5036.svg image/svg+xml
                        upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Workshop.7856e59fe4f164c90609.svg static/media/Workshop.7856e59fe4f164c90609.svg image/svg+xml
                        upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/Workspace.97d73e419d966bfb6428.svg static/media/Workspace.97d73e419d966bfb6428.svg image/svg+xml
                        upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/names.3a7dae0bd6b8b03b280f.txt static/media/names.3a7dae0bd6b8b03b280f.txt text/plain
                        upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/static/media/names.e7efb5283d98000c74ac.txt static/media/names.e7efb5283d98000c74ac.txt text/plain
                        host.chet object system.adapter.s7 created/updated
                        host.chet create instance s7
                        host.chet object system.adapter.s7.0.alive created
                        host.chet object system.adapter.s7.0.connected created
                        host.chet object system.adapter.s7.0.compactMode created
                        host.chet object system.adapter.s7.0.cpu created
                        host.chet object system.adapter.s7.0.cputime created
                        host.chet object system.adapter.s7.0.memHeapUsed created
                        host.chet object system.adapter.s7.0.memHeapTotal created
                        host.chet object system.adapter.s7.0.memRss created
                        host.chet object system.adapter.s7.0.uptime created
                        host.chet object system.adapter.s7.0.inputCount created
                        host.chet object system.adapter.s7.0.outputCount created
                        host.chet object system.adapter.s7.0.eventLoopLag created
                        host.chet object system.adapter.s7.0.sigKill created
                        host.chet object system.adapter.s7.0.logLevel created
                        host.chet object system.adapter.s7.0 created
                        echad@chet:~ $
                        
                        1 Reply Last reply Reply Quote 0
                        • C
                          Chris20v @Thomas Braun last edited by

                          @thomas-braun said in Step7 Adapter Problem bei der Installation:

                          @chris20v sagte in Step7 Adapter Problem bei der Installation:

                          /home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-debug-0.log

                          Was steht in der Datei drin?

                          0 verbose cli /usr/bin/node /usr/bin/npm
                          1 info using npm@9.5.1
                          2 info using node@v18.16.0
                          3 timing npm:load:whichnode Completed in 11ms
                          4 timing config:load:defaults Completed in 5ms
                          5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
                          6 timing config:load:builtin Completed in 1ms
                          7 timing config:load:cli Completed in 4ms
                          8 timing config:load:env Completed in 1ms
                          9 timing config:load:file:/opt/iobroker/.npmrc Completed in 20ms
                          10 timing config:load:project Completed in 22ms
                          11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
                          12 timing config:load:user Completed in 0ms
                          13 timing config:load:file:/usr/etc/npmrc Completed in 0ms
                          14 timing config:load:global Completed in 1ms
                          15 timing config:load:setEnvs Completed in 3ms
                          16 timing config:load Completed in 39ms
                          17 timing npm:load:configload Completed in 39ms
                          18 timing npm:load:mkdirpcache Completed in 0ms
                          19 timing npm:load:mkdirplogs Completed in 1ms
                          20 verbose title npm install iobroker.s7@1.3.14
                          21 verbose argv "install" "--save-exact" "iobroker.s7@1.3.14"
                          22 timing npm:load:setTitle Completed in 3ms
                          23 timing config:load:flatten Completed in 7ms
                          24 timing npm:load:display Completed in 10ms
                          25 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-
                          26 verbose logfile /home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-debug-0.log
                          27 timing npm:load:logFile Completed in 12ms
                          28 timing npm:load:timers Completed in 0ms
                          29 timing npm:load:configScope Completed in 0ms
                          30 timing npm:load Completed in 78ms
                          31 timing arborist:ctor Completed in 2ms
                          32 silly logfile start cleaning logs, removing 4 files
                          33 silly logfile done cleaning log files
                          34 timing idealTree:init Completed in 1526ms
                          35 timing idealTree:userRequests Completed in 15ms
                          36 silly idealTree buildDeps
                          37 silly fetch manifest iobroker.s7@1.3.14
                          38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
                          39 http fetch GET 200 https://registry.npmjs.org/iobroker.s7 2213ms (cache revalidated)
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Chris20v last edited by

                            @chris20v

                            Das muss länger sein.

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

                              @thomas-braun said in Step7 Adapter Problem bei der Installation:

                              @chris20v

                              Das muss länger sein.

                              0 verbose cli /usr/bin/node /usr/bin/npm
                              1 info using npm@9.5.1
                              2 info using node@v18.16.0
                              3 timing npm:load:whichnode Completed in 11ms
                              4 timing config:load:defaults Completed in 5ms
                              5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
                              6 timing config:load:builtin Completed in 1ms
                              7 timing config:load:cli Completed in 4ms
                              8 timing config:load:env Completed in 1ms
                              9 timing config:load:file:/opt/iobroker/.npmrc Completed in 20ms
                              10 timing config:load:project Completed in 22ms
                              11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
                              12 timing config:load:user Completed in 0ms
                              13 timing config:load:file:/usr/etc/npmrc Completed in 0ms
                              14 timing config:load:global Completed in 1ms
                              15 timing config:load:setEnvs Completed in 3ms
                              16 timing config:load Completed in 39ms
                              17 timing npm:load:configload Completed in 39ms
                              18 timing npm:load:mkdirpcache Completed in 0ms
                              19 timing npm:load:mkdirplogs Completed in 1ms
                              20 verbose title npm install iobroker.s7@1.3.14
                              21 verbose argv "install" "--save-exact" "iobroker.s7@1.3.14"
                              22 timing npm:load:setTitle Completed in 3ms
                              23 timing config:load:flatten Completed in 7ms
                              24 timing npm:load:display Completed in 10ms
                              25 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-
                              26 verbose logfile /home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-debug-0.log
                              27 timing npm:load:logFile Completed in 12ms
                              28 timing npm:load:timers Completed in 0ms
                              29 timing npm:load:configScope Completed in 0ms
                              30 timing npm:load Completed in 78ms
                              31 timing arborist:ctor Completed in 2ms
                              32 silly logfile start cleaning logs, removing 4 files
                              33 silly logfile done cleaning log files
                              34 timing idealTree:init Completed in 1526ms
                              35 timing idealTree:userRequests Completed in 15ms
                              36 silly idealTree buildDeps
                              37 silly fetch manifest iobroker.s7@1.3.14
                              38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules
                              39 http fetch GET 200 https://registry.npmjs.org/iobroker.s7 2213ms (cache revalidated)
                              40 silly placeDep ROOT iobroker.s7@1.3.14 OK for: iobroker.inst@3.0.0 want: 1.3.14
                              41 silly fetch manifest node-snap7@^1.0.6
                              42 silly fetch manifest iconv-lite@0.6.3
                              43 silly fetch manifest async@^3.2.4
                              44 http fetch GET 200 https://registry.npmjs.org/async 581ms (cache revalidated)
                              45 http fetch GET 200 https://registry.npmjs.org/iconv-lite 590ms (cache revalidated)
                              46 http fetch GET 200 https://registry.npmjs.org/node-snap7 1237ms (cache revalidated)
                              47 timing idealTree:#root Completed in 3480ms
                              48 silly placeDep node_modules/iobroker.s7 async@3.2.4 OK for: iobroker.s7@1.3.14 want: ^3.2.4
                              49 silly placeDep node_modules/iobroker.s7 iconv-lite@0.6.3 OK for: iobroker.s7@1.3.14 want: 0.6.3
                              50 silly placeDep ROOT node-snap7@1.0.6 OK for: iobroker.s7@1.3.14 want: ^1.0.6
                              51 silly fetch manifest nan@~2.14.1
                              52 silly fetch manifest prebuild-install@^6.1.2
                              53 http fetch GET 200 https://registry.npmjs.org/nan 51ms (cache revalidated)
                              54 http fetch GET 200 https://registry.npmjs.org/prebuild-install 60ms (cache revalidated)
                              55 timing idealTree:node_modules/iobroker.s7 Completed in 113ms
                              56 silly placeDep node_modules/node-snap7 nan@2.14.2 OK for: node-snap7@1.0.6 want: ~2.14.1
                              57 silly placeDep ROOT prebuild-install@6.1.4 OK for: node-snap7@1.0.6 want: ^6.1.2
                              58 silly fetch manifest detect-libc@^1.0.3
                              59 silly fetch manifest expand-template@^2.0.3
                              60 silly fetch manifest github-from-package@0.0.0
                              61 silly fetch manifest napi-build-utils@^1.0.1
                              62 silly fetch manifest node-abi@^2.21.0
                              63 silly fetch manifest npmlog@^4.0.1
                              64 silly fetch manifest rc@^1.2.7
                              65 silly fetch manifest simple-get@^3.0.3
                              66 http fetch GET 200 https://registry.npmjs.org/detect-libc 95ms (cache revalidated)
                              67 http fetch GET 200 https://registry.npmjs.org/expand-template 95ms (cache revalidated)
                              68 http fetch GET 200 https://registry.npmjs.org/github-from-package 95ms (cache revalidated)
                              69 http fetch GET 200 https://registry.npmjs.org/napi-build-utils 116ms (cache revalidated)
                              70 http fetch GET 200 https://registry.npmjs.org/rc 126ms (cache revalidated)
                              71 http fetch GET 200 https://registry.npmjs.org/npmlog 130ms (cache revalidated)
                              72 http fetch GET 200 https://registry.npmjs.org/simple-get 131ms (cache revalidated)
                              73 http fetch GET 200 https://registry.npmjs.org/node-abi 145ms (cache revalidated)
                              74 timing idealTree:node_modules/node-snap7 Completed in 173ms
                              75 silly placeDep ROOT detect-libc@1.0.3 OK for: prebuild-install@6.1.4 want: ^1.0.3
                              76 silly placeDep ROOT expand-template@2.0.3 OK for: prebuild-install@6.1.4 want: ^2.0.3
                              77 silly placeDep ROOT github-from-package@0.0.0 OK for: prebuild-install@6.1.4 want: 0.0.0
                              78 silly placeDep ROOT napi-build-utils@1.0.2 OK for: prebuild-install@6.1.4 want: ^1.0.1
                              79 silly placeDep ROOT node-abi@2.30.1 OK for: prebuild-install@6.1.4 want: ^2.21.0
                              80 silly placeDep ROOT npmlog@4.1.2 OK for: prebuild-install@6.1.4 want: ^4.0.1
                              81 silly placeDep ROOT rc@1.2.8 OK for: prebuild-install@6.1.4 want: ^1.2.7
                              82 silly placeDep ROOT simple-get@3.1.1 OK for: prebuild-install@6.1.4 want: ^3.0.3
                              83 silly fetch manifest semver@^5.4.1
                              84 silly fetch manifest are-we-there-yet@~1.1.2
                              85 silly fetch manifest console-control-strings@~1.1.0
                              86 silly fetch manifest gauge@~2.7.3
                              87 silly fetch manifest set-blocking@~2.0.0
                              88 silly fetch manifest deep-extend@^0.6.0
                              89 silly fetch manifest ini@~1.3.0
                              90 silly fetch manifest strip-json-comments@~2.0.1
                              91 silly fetch manifest decompress-response@^4.2.0
                              92 silly fetch manifest simple-concat@^1.0.0
                              93 http fetch GET 200 https://registry.npmjs.org/semver 109ms (cache revalidated)
                              94 http fetch GET 200 https://registry.npmjs.org/are-we-there-yet 114ms (cache revalidated)
                              95 http fetch GET 200 https://registry.npmjs.org/set-blocking 114ms (cache revalidated)
                              96 http fetch GET 200 https://registry.npmjs.org/deep-extend 116ms (cache revalidated)
                              97 http fetch GET 200 https://registry.npmjs.org/gauge 120ms (cache revalidated)
                              98 http fetch GET 200 https://registry.npmjs.org/console-control-strings 128ms (cache revalidated)
                              99 http fetch GET 200 https://registry.npmjs.org/strip-json-comments 126ms (cache revalidated)
                              100 http fetch GET 200 https://registry.npmjs.org/ini 133ms (cache revalidated)
                              101 http fetch GET 200 https://registry.npmjs.org/simple-concat 133ms (cache revalidated)
                              102 http fetch GET 200 https://registry.npmjs.org/decompress-response 136ms (cache revalidated)
                              103 timing idealTree:node_modules/prebuild-install Completed in 189ms
                              104 timing idealTree:node_modules/detect-libc Completed in 0ms
                              105 timing idealTree:node_modules/expand-template Completed in 0ms
                              106 timing idealTree:node_modules/github-from-package Completed in 0ms
                              107 timing idealTree:node_modules/napi-build-utils Completed in 0ms
                              108 silly placeDep node_modules/node-abi semver@5.7.1 OK for: node-abi@2.30.1 want: ^5.4.1
                              109 timing idealTree:node_modules/node-abi Completed in 5ms
                              110 silly placeDep ROOT are-we-there-yet@1.1.7 OK for: npmlog@4.1.2 want: ~1.1.2
                              111 silly placeDep ROOT console-control-strings@1.1.0 OK for: npmlog@4.1.2 want: ~1.1.0
                              112 silly placeDep ROOT gauge@2.7.4 OK for: npmlog@4.1.2 want: ~2.7.3
                              113 silly placeDep ROOT set-blocking@2.0.0 OK for: npmlog@4.1.2 want: ~2.0.0
                              114 silly fetch manifest delegates@^1.0.0
                              115 silly fetch manifest readable-stream@^2.0.6
                              116 silly fetch manifest aproba@^1.0.3
                              118 silly fetch manifest object-assign@^4.1.0
                              119 silly fetch manifest string-width@^1.0.1
                              120 silly fetch manifest strip-ansi@^3.0.1
                              121 silly fetch manifest wide-align@^1.1.0
                              122 http fetch GET 200 https://registry.npmjs.org/aproba 70ms (cache revalidated)
                              123 http fetch GET 200 https://registry.npmjs.org/has-unicode 98ms (cache revalidated)
                              124 http fetch GET 200 https://registry.npmjs.org/object-assign 98ms (cache revalidated)
                              125 http fetch GET 200 https://registry.npmjs.org/delegates 107ms (cache revalidated)
                              126 http fetch GET 200 https://registry.npmjs.org/strip-ansi 100ms (cache revalidated)
                              127 http fetch GET 200 https://registry.npmjs.org/readable-stream 112ms (cache revalidated)
                              128 http fetch GET 200 https://registry.npmjs.org/wide-align 108ms (cache revalidated)
                              129 http fetch GET 200 https://registry.npmjs.org/string-width 114ms (cache revalidated)
                              130 timing idealTree:node_modules/npmlog Completed in 145ms
                              131 silly placeDep ROOT delegates@1.0.0 OK for: are-we-there-yet@1.1.7 want: ^1.0.0
                              132 silly placeDep node_modules/are-we-there-yet readable-stream@2.3.8 OK for: are-we-there-yet@1.1.7 want: ^2.0.6
                              133 silly fetch manifest isarray@~1.0.0
                              134 silly fetch manifest string_decoder@~1.1.1
                              135 http fetch GET 200 https://registry.npmjs.org/isarray 38ms (cache revalidated)
                              136 http fetch GET 200 https://registry.npmjs.org/string_decoder 41ms (cache revalidated)
                              137 timing idealTree:node_modules/are-we-there-yet Completed in 56ms
                              138 timing idealTree:node_modules/console-control-strings Completed in 0ms
                              139 timing idealTree:node_modules/delegates Completed in 0ms
                              140 silly placeDep ROOT aproba@1.2.0 OK for: gauge@2.7.4 want: ^1.0.3
                              141 silly placeDep ROOT has-unicode@2.0.1 OK for: gauge@2.7.4 want: ^2.0.0
                              142 silly placeDep ROOT object-assign@4.1.1 OK for: gauge@2.7.4 want: ^4.1.0
                              143 silly placeDep node_modules/gauge string-width@1.0.2 OK for: gauge@2.7.4 want: ^1.0.1
                              144 silly placeDep node_modules/gauge strip-ansi@3.0.1 OK for: gauge@2.7.4 want: ^3.0.1
                              145 silly placeDep ROOT wide-align@1.1.5 OK for: gauge@2.7.4 want: ^1.1.0
                              146 silly fetch manifest code-point-at@^1.0.0
                              147 silly fetch manifest is-fullwidth-code-point@^1.0.0
                              148 silly fetch manifest ansi-regex@^2.0.0
                              149 http fetch GET 200 https://registry.npmjs.org/code-point-at 106ms (cache revalidated)
                              150 http fetch GET 200 https://registry.npmjs.org/is-fullwidth-code-point 113ms (cache revalidated)
                              151 http fetch GET 200 https://registry.npmjs.org/ansi-regex 114ms (cache revalidated)
                              152 timing idealTree:node_modules/gauge Completed in 145ms
                              153 timing idealTree:node_modules/aproba Completed in 0ms
                              154 timing idealTree:node_modules/has-unicode Completed in 0ms
                              155 timing idealTree:node_modules/object-assign Completed in 0ms
                              157 silly placeDep ROOT ini@1.3.8 OK for: rc@1.2.8 want: ~1.3.0
                              158 silly placeDep ROOT strip-json-comments@2.0.1 OK for: rc@1.2.8 want: ~2.0.1
                              159 timing idealTree:node_modules/rc Completed in 13ms
                              160 timing idealTree:node_modules/deep-extend Completed in 0ms
                              161 timing idealTree:node_modules/ini Completed in 0ms
                              162 timing idealTree:node_modules/set-blocking Completed in 0ms
                              163 silly placeDep ROOT decompress-response@4.2.1 OK for: simple-get@3.1.1 want: ^4.2.0
                              164 silly placeDep ROOT simple-concat@1.0.1 OK for: simple-get@3.1.1 want: ^1.0.0
                              165 silly fetch manifest mimic-response@^2.0.0
                              166 http fetch GET 200 https://registry.npmjs.org/mimic-response 56ms (cache revalidated)
                              167 timing idealTree:node_modules/simple-get Completed in 68ms
                              168 silly placeDep ROOT mimic-response@2.1.0 OK for: decompress-response@4.2.1 want: ^2.0.0
                              169 timing idealTree:node_modules/decompress-response Completed in 6ms
                              170 timing idealTree:node_modules/mimic-response Completed in 0ms
                              171 timing idealTree:node_modules/simple-concat Completed in 0ms
                              172 timing idealTree:node_modules/strip-json-comments Completed in 0ms
                              173 timing idealTree:node_modules/wide-align Completed in 1ms
                              174 silly placeDep node_modules/are-we-there-yet isarray@1.0.0 OK for: readable-stream@2.3.8 want: ~1.0.0
                              175 silly placeDep node_modules/are-we-there-yet string_decoder@1.1.1 OK for: readable-stream@2.3.8 want: ~1.1.1
                              176 timing idealTree:node_modules/are-we-there-yet/node_modules/readable-stream Completed in 9ms
                              177 timing idealTree:node_modules/are-we-there-yet/node_modules/isarray Completed in 0ms
                              178 timing idealTree:node_modules/are-we-there-yet/node_modules/string_decoder Completed in 0ms
                              179 silly placeDep ROOT code-point-at@1.1.0 OK for: string-width@1.0.2 want: ^1.0.0
                              180 silly placeDep node_modules/gauge is-fullwidth-code-point@1.0.0 OK for: string-width@1.0.2 want: ^1.0.0
                              181 silly fetch manifest number-is-nan@^1.0.0
                              182 http fetch GET 200 https://registry.npmjs.org/number-is-nan 46ms (cache revalidated)
                              183 timing idealTree:node_modules/gauge/node_modules/string-width Completed in 61ms
                              184 timing idealTree:node_modules/code-point-at Completed in 0ms
                              185 silly placeDep ROOT number-is-nan@1.0.1 OK for: is-fullwidth-code-point@1.0.0 want: ^1.0.0
                              186 timing idealTree:node_modules/gauge/node_modules/is-fullwidth-code-point Completed in 10ms
                              187 timing idealTree:node_modules/number-is-nan Completed in 0ms
                              188 silly placeDep node_modules/gauge ansi-regex@2.1.1 OK for: strip-ansi@3.0.1 want: ^2.0.0
                              189 timing idealTree:node_modules/gauge/node_modules/strip-ansi Completed in 7ms
                              190 timing idealTree:node_modules/gauge/node_modules/ansi-regex Completed in 0ms
                              191 timing idealTree:node_modules/iobroker.s7/node_modules/async Completed in 0ms
                              192 timing idealTree:node_modules/iobroker.s7/node_modules/iconv-lite Completed in 1ms
                              193 timing idealTree:node_modules/node-abi/node_modules/semver Completed in 0ms
                              194 timing idealTree:node_modules/node-snap7/node_modules/nan Completed in 0ms
                              195 timing idealTree:buildDeps Completed in 4495ms
                              196 timing idealTree:fixDepFlags Completed in 40ms
                              197 timing idealTree Completed in 6098ms
                              198 timing reify:loadTrees Completed in 6101ms
                              199 timing reify:diffTrees Completed in 44ms
                              200 silly reify moves {}
                              201 timing reify:retireShallow Completed in 4ms
                              202 timing reify:createSparse Completed in 11ms
                              203 timing reify:loadBundles Completed in 0ms
                              204 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents
                              205 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ]
                              206 timing reifyNode:node_modules/fsevents Completed in 26ms
                              207 timing reifyNode:node_modules/number-is-nan Completed in 631ms
                              208 timing reifyNode:node_modules/code-point-at Completed in 632ms
                              209 timing reifyNode:node_modules/strip-json-comments Completed in 632ms
                              210 timing reifyNode:node_modules/ini Completed in 633ms
                              211 timing reifyNode:node_modules/wide-align Completed in 633ms
                              212 timing reifyNode:node_modules/object-assign Completed in 633ms
                              213 timing reifyNode:node_modules/has-unicode Completed in 634ms
                              214 timing reifyNode:node_modules/aproba Completed in 634ms
                              215 timing reifyNode:node_modules/gauge/node_modules/ansi-regex Completed in 637ms
                              216 timing reifyNode:node_modules/gauge/node_modules/is-fullwidth-code-point Completed in 637ms
                              217 timing reifyNode:node_modules/gauge/node_modules/strip-ansi Completed in 638ms
                              218 timing reifyNode:node_modules/gauge/node_modules/string-width Completed in 638ms
                              219 timing reifyNode:node_modules/mimic-response Completed in 643ms
                              220 timing reifyNode:node_modules/decompress-response Completed in 644ms
                              221 timing reifyNode:node_modules/set-blocking Completed in 644ms
                              222 timing reifyNode:node_modules/console-control-strings Completed in 645ms
                              223 timing reifyNode:node_modules/simple-get Completed in 645ms
                              224 timing reifyNode:node_modules/expand-template Completed in 651ms
                              225 timing reifyNode:node_modules/simple-concat Completed in 657ms
                              226 timing reifyNode:node_modules/deep-extend Completed in 658ms
                              227 timing reifyNode:node_modules/npmlog Completed in 656ms
                              228 timing reifyNode:node_modules/napi-build-utils Completed in 657ms
                              229 timing reifyNode:node_modules/are-we-there-yet/node_modules/string_decoder Completed in 660ms
                              230 timing reifyNode:node_modules/are-we-there-yet/node_modules/isarray Completed in 664ms
                              231 timing reifyNode:node_modules/delegates Completed in 667ms
                              232 timing reifyNode:node_modules/are-we-there-yet Completed in 672ms
                              235 timing reifyNode:node_modules/github-from-package Completed in 691ms
                              236 timing reifyNode:node_modules/diskusage Completed in 692ms
                              237 timing reifyNode:node_modules/rc Completed in 695ms
                              238 timing reifyNode:node_modules/node-abi Completed in 696ms
                              239 timing reifyNode:node_modules/prebuild-install Completed in 696ms
                              240 timing reifyNode:node_modules/gauge Completed in 710ms
                              241 timing reifyNode:node_modules/are-we-there-yet/node_modules/readable-stream Completed in 725ms
                              242 timing reifyNode:node_modules/es6-promise Completed in 750ms
                              243 timing reifyNode:node_modules/iobroker.s7/node_modules/iconv-lite Completed in 768ms
                              244 timing reifyNode:node_modules/node-snap7/node_modules/nan Completed in 799ms
                              245 timing reifyNode:node_modules/node-snap7 Completed in 846ms
                              246 timing reifyNode:node_modules/iobroker.s7/node_modules/async Completed in 869ms
                              247 timing reifyNode:node_modules/iobroker.s7 Completed in 1101ms
                              248 timing reify:unpack Completed in 1106ms
                              249 timing reify:unretire Completed in 1ms
                              250 timing build:queue Completed in 6ms
                              251 timing build:link:node_modules/detect-libc Completed in 3ms
                              252 timing build:link:node_modules/prebuild-install Completed in 2ms
                              253 timing build:link:node_modules/rc Completed in 2ms
                              254 timing build:link:node_modules/node-abi/node_modules/semver Completed in 4ms
                              255 timing build:link Completed in 6ms
                              256 info run diskusage@1.1.3 install node_modules/diskusage node-gyp rebuild
                              257 info run node-snap7@1.0.6 install node_modules/node-snap7 prebuild-install || node-gyp rebuild
                              258 info run node-snap7@1.0.6 install { code: 1, signal: null }
                              259 info run diskusage@1.1.3 install { code: 1, signal: null }
                              260 verbose reify failed optional dependency /opt/iobroker/node_modules/diskusage
                              261 silly reify mark deleted [ '/opt/iobroker/node_modules/diskusage' ]
                              262 verbose reify failed optional dependency /opt/iobroker/node_modules/es6-promise
                              263 silly reify mark deleted [ '/opt/iobroker/node_modules/es6-promise' ]
                              264 timing build:run:install:node_modules/diskusage Completed in 2043ms
                              265 timing reify:rollback:createSparse Completed in 104ms
                              266 timing reify:rollback:retireShallow Completed in 0ms
                              267 timing command:install Completed in 9373ms
                              268 verbose stack Error: command failed
                              268 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
                              268 verbose stack     at ChildProcess.emit (node:events:513:28)
                              268 verbose stack     at maybeClose (node:internal/child_process:1091:16)
                              268 verbose stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
                              269 verbose pkgid node-snap7@1.0.6
                              270 verbose cwd /opt/iobroker
                              271 verbose Linux 5.10.0-21-amd64
                              272 verbose node v18.16.0
                              273 verbose npm  v9.5.1
                              274 error code 1
                              275 error path /opt/iobroker/node_modules/node-snap7
                              276 error command failed
                              277 error command sh -c prebuild-install || node-gyp rebuild
                              278 error sh: 1: prebuild-install: Permission denied
                              278 error gyp info it worked if it ends with ok
                              278 error gyp info using node-gyp@9.3.1
                              278 error gyp info using node@18.16.0 | linux | x64
                              278 error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
                              278 error gyp info spawn /usr/bin/python3
                              278 error gyp info spawn args [
                              278 error gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                              278 error gyp info spawn args   'binding.gyp',
                              278 error gyp info spawn args   '-f',
                              278 error gyp info spawn args   'make',
                              278 error gyp info spawn args   '-I',
                              278 error gyp info spawn args   '/opt/iobroker/node_modules/node-snap7/build/config.gypi',
                              278 error gyp info spawn args   '-I',
                              278 error gyp info spawn args   '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                              278 error gyp info spawn args   '-I',
                              278 error gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.16.0/include/node/common.gypi',
                              278 error gyp info spawn args   '-Dlibrary=shared_library',
                              278 error gyp info spawn args   '-Dvisibility=default',
                              278 error gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.16.0',
                              278 error gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
                              278 error gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.16.0/<(target_arch)/node.lib',
                              278 error gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/node-snap7',
                              278 error gyp info spawn args   '-Dnode_engine=v8',
                              278 error gyp info spawn args   '--depth=.',
                              278 error gyp info spawn args   '--no-parallel',
                              278 error gyp info spawn args   '--generator-output',
                              278 error gyp info spawn args   'build',
                              278 error gyp info spawn args   '-Goutput_dir=.'
                              278 error gyp info spawn args ]
                              278 error gyp ERR! build error
                              278 error gyp ERR! stack Error: not found: make
                              278 error gyp ERR! stack     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:10:17)
                              278 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:57:18
                              278 error gyp ERR! stack     at new Promise (<anonymous>)
                              278 error gyp ERR! stack     at step (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:54:21)
                              278 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:71:22
                              278 error gyp ERR! stack     at new Promise (<anonymous>)
                              278 error gyp ERR! stack     at subStep (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:69:33)
                              278 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/which/which.js:80:22
                              278 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5
                              278 error gyp ERR! stack     at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
                              278 error gyp ERR! System Linux 5.10.0-21-amd64
                              278 error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                              278 error gyp ERR! cwd /opt/iobroker/node_modules/node-snap7
                              278 error gyp ERR! node -v v18.16.0
                              278 error gyp ERR! node-gyp -v v9.3.1
                              278 error gyp ERR! not ok
                              279 verbose exit 1
                              280 timing npm Completed in 9516ms
                              281 verbose unfinished npm timer reify 1682363977125
                              282 verbose unfinished npm timer reify:build 1682363984401
                              283 verbose unfinished npm timer build 1682363984403
                              284 verbose unfinished npm timer build:deps 1682363984403
                              285 verbose unfinished npm timer build:run:install 1682363984415
                              286 verbose unfinished npm timer build:run:install:node_modules/node-snap7 1682363984441
                              287 verbose code 1
                              288 error A complete log of this run can be found in:
                              288 error     /home/iobroker/.npm/_logs/2023-04-24T19_19_37_002Z-debug-0.log
                              
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Chris20v last edited by

                                @chris20v sagte in Step7 Adapter Problem bei der Installation:

                                Error: not found: make

                                Sind die build-essentials installiert?

                                apt policy make build-essential
                                
                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  Chris20v @Thomas Braun last edited by

                                  @thomas-braun said in Step7 Adapter Problem bei der Installation:

                                  @chris20v sagte in Step7 Adapter Problem bei der Installation:

                                  Error: not found: make

                                  Sind die build-essentials installiert?

                                  apt policy make build-essential
                                  
                                   Installiert:           (keine)
                                    Installationskandidat: 4.3-4.1
                                    Versionstabelle:
                                       4.3-4.1 500
                                          500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                  build-essential:
                                    Installiert:           (keine)
                                    Installationskandidat: 12.9
                                    Versionstabelle:
                                       12.9 500
                                          500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Chris20v last edited by Thomas Braun

                                    @chris20v

                                    Das dann schon mal nachinstallieren. Ist halt wie der Name schon sagt zum bauen von Paketen/Modulen essentiell.

                                    sudo apt update
                                    sudo apt install build-essential
                                    

                                    Was mich aber wundert: Das wird eigentlich soweit ich weiß vom iobroker-Installer mitinstalliert. Hast du den nicht verwendet?

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

                                      @thomas-braun said in Step7 Adapter Problem bei der Installation:

                                      @chris20v

                                      Das dann schon mal nachinstallieren. Ist halt wie der Name schon sagt zum bauen von Paketen/Modulen essentiell.

                                      sudo apt update
                                      sudo apt install build-essential
                                      
                                      
                                      OK:1 http://deb.debian.org/debian bullseye InRelease
                                      Holen:2 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]
                                      Holen:3 http://security.debian.org/debian-security bullseye-security InRelease [                           48,4 kB]
                                      OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                                      Es wurden 92,4 kB in 2 s geholt (61,5 kB/s).
                                      Paketlisten werden gelesen… Fertig
                                      Abhängigkeitsbaum wird aufgebaut… Fertig
                                      Statusinformationen werden eingelesen… Fertig
                                      Alle Pakete sind aktuell.
                                      steger@IobrokerFW:~$ sudo apt install build-essential
                                      E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »sudo dpkg --configur                           e -a« ausführen, um das Problem zu beheben.
                                      steger@IobrokerFW:~$ ^C
                                      steger@IobrokerFW:~$ sudo dpkg --configure -a
                                      binutils-common:amd64 (2.35.2-2) wird eingerichtet ...
                                      linux-libc-dev:amd64 (5.10.162-1) wird eingerichtet ...
                                      libctf-nobfd0:amd64 (2.35.2-2) wird eingerichtet ...
                                      libtirpc-dev:amd64 (1.3.1-1+deb11u1) wird eingerichtet ...
                                      libnsl-dev:amd64 (1.3.0-2) wird eingerichtet ...
                                      libcrypt-dev:amd64 (1:4.4.18-4) wird eingerichtet ...
                                      libbinutils:amd64 (2.35.2-2) wird eingerichtet ...
                                      libc-dev-bin (2.31-13+deb11u5) wird eingerichtet ...
                                      libctf0:amd64 (2.35.2-2) wird eingerichtet ...
                                      binutils-x86-64-linux-gnu (2.35.2-2) wird eingerichtet ...
                                      binutils (2.35.2-2) wird eingerichtet ...
                                      Trigger für libc-bin (2.31-13+deb11u5) werden verarbeitet ...
                                      Trigger für man-db (2.9.4-2) werden verarbeitet ...
                                      
                                      

                                      Was mich aber wundert: Das wird eigentlich soweit ich weiß vom iobroker-Installer mitinstalliert. Hast du den nicht verwendet?

                                      Ich hab die Installation einfach über

                                      
                                      curl -sLf https://iobroker.net/install.sh | bash -
                                      

                                      angeworfen

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

                                        @chris20v sagte in Step7 Adapter Problem bei der Installation:

                                        E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »sudo dpkg --configure -a« ausführen, um das Problem zu beheben.
                                        

                                        Das ist ein untrügliches Zeichen für eine unterbrochene Installation.
                                        Lass das immer durchlaufen, nicht wegknallen oder das System hart ausschalten.

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

                                          @thomas-braun said in Step7 Adapter Problem bei der Installation:

                                          @chris20v sagte in Step7 Adapter Problem bei der Installation:

                                          E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »sudo dpkg --configure -a« ausführen, um das Problem zu beheben.
                                          

                                          Das ist ein untrügliches Zeichen für eine unterbrochene Installation.
                                          Lass das immer durchlaufen, nicht wegknallen oder das System hart ausschalten.

                                          Jetzt wo du es sagst ist der PC einmal in den Stromsparmodus gegangen beim installieren über ssh. Ich hatte dann bei Debian alle Energiespar Sachen deaktiviert und nochmal drüber installiert. Muss ich das System nochmal komplett neu machen?

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

                                            @chris20v

                                            Läuft das jetzt wieder?

                                            sudo apt update
                                            sudo apt install build-essential
                                            
                                            C 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            653
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            siemens sps step7 step7 adapter
                                            4
                                            27
                                            1270
                                            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