Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. RPI-Monitor und GPIO rpi2 v2.3.1

    NEWS

    • Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    RPI-Monitor und GPIO rpi2 v2.3.1

    This topic has been deleted. Only users with topic management privileges can see it.
    • Torsten Lehmann
      Torsten Lehmann @Thomas Braun last edited by

      @thomas-braun deine NPM version: 11.6.2 meine 10.9.3 kan es daran liegen?

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

        @torsten-lehmann sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

        kan es daran liegen?

        Nein. Das baut auch mit npm 10:

        echad@chet:~ $ iobroker url https://github.com/Grothesk242/ioBroker.rpi2.git --host chet --debug
        install Grothesk242/ioBroker.rpi2#c87e9539d89bac8f4d19b266679bcb78ed554f1d
        NPM version: 10.9.3
        Installing Grothesk242/ioBroker.rpi2#c87e9539d89bac8f4d19b266679bcb78ed554f1d... (System call)
        
        up to date in 3m
        
        245 packages are looking for funding
          run `npm fund` for details
        upload [13] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
        upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
        upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
        upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
        upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
        upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
        upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
        upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
        upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
        upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
        upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
        upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/jsonConfig.json jsonConfig.json application/json
        upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
        upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
        Updating objects from io-package.json for adapter "rpi2" with version "2.4.0"
        echad@chet:~ $ 
        
        
        Torsten Lehmann 1 Reply Last reply Reply Quote 0
        • Torsten Lehmann
          Torsten Lehmann @Thomas Braun last edited by Homoran

          @thomas-braun neue SD ohne Backup zurücksetzen.

          added 5 packages in 4m
          
          91 packages are looking for funding
            run `npm fund` for details
          upload [13] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/de/translations.json i18n/de/translations.json application/json
          upload [12] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/en/translations.json i18n/en/translations.json application/json
          upload [11] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/es/translations.json i18n/es/translations.json application/json
          upload [10] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
          upload [9] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/it/translations.json i18n/it/translations.json application/json
          upload [8] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
          upload [7] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
          upload [6] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
          upload [5] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
          upload [4] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
          upload [3] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
          upload [2] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/jsonConfig.json jsonConfig.json application/json
          upload [1] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/rpi2.png rpi2.png image/png
          upload [0] rpi2.admin /opt/iobroker/node_modules/iobroker.rpi2/admin/words.js words.js application/javascript
          Updating objects from io-package.json for adapter "rpi2" with version "2.4.0"
          

          MOD-EDIT: Code in code-tags gesetzt

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

            @torsten-lehmann

            Setz sowas bitte in </> Codetags. Und die ersten Zeilen fehlen.

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

              @thomas-braun Guten Morgen nach erfolgreicher Installation rpi2 fehlt jedoch beim iobroker die rpi2 Instanz. Irgendwie mach ich wohl was falsch bei der iobroker Installation.

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

                @torsten-lehmann sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

                Irgendwie mach ich wohl was falsch bei der iobroker Installation.

                Nein, wenn Adapter via GitHub installiert werden muss die Instanz manuell hinzugefügt werden.

                1 Reply Last reply Reply Quote 0
                • Torsten Lehmann
                  Torsten Lehmann last edited by

                  @thomas-braun said in RPI-Monitor und GPIO rpi2 v2.3.1:

                  @torsten-lehmann sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

                  Irgendwie mach ich wohl was falsch bei der iobroker Installation.

                  Nein, wenn Adapter via GitHub installiert werden muss die Instanz manuell hinzugefügt werden.

                  da bin ich überfordert. Entschuldige, Wie mache ich das?

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

                    @torsten-lehmann

                    Mit dem PlusZeichen-Icon.
                    Steht auch 'Instanz hinzufügen' dran, wenn ich mich recht entsinne.

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Torsten Lehmann last edited by

                      @torsten-lehmann sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

                      Wie mache ich das?

                      https://www.iobroker.net/#de/documentation/tutorial/adapter.md

                      sogar mit Filmchen

                      1 Reply Last reply Reply Quote 0
                      • Torsten Lehmann
                        Torsten Lehmann last edited by Torsten Lehmann

                        @thomas-braun weiterhin viele Warn und Error.
                        Notice #797?

                        pi@raspberrypi:~ $ iobroker url https://github.com/Grothesk242/ioBroker.rpi2.git --host raspberrypi --debug
                        install Grothesk242/ioBroker.rpi2#c87e9539d89bac8f4d19b266679bcb78ed554f1d
                        NPM version: 10.9.3
                        Installing Grothesk242/ioBroker.rpi2#c87e9539d89bac8f4d19b266679bcb78ed554f1d... (System call)
                        npm warn skipping integrity check for git dependency ssh://git@github.com/Grothesk242/ioBroker.rpi2.git
                        npm warn deprecated npmlog@4.1.2: This package is no longer supported.
                        npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
                        npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
                        npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm warn deprecated gauge@2.7.4: This package is no longer supported.
                        
                        > iobroker.rpi2@2.4.0 preinstall
                        > sudo apt-get install -y libgpiod-dev || exit 0
                        
                        Reading package lists...
                        Building dependency tree...
                        Reading state information...
                        libgpiod-dev is already the newest version (2.2.1-2).
                        The following package was automatically installed and is no longer required:
                          libyuv0
                        Use 'sudo apt autoremove' to remove it.
                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                        
                        > @stoprocent/noble@1.19.1 install
                        > node-gyp-build
                        
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:12953) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/@stoprocent/noble/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/@stoprocent/noble',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        
                        > mdns@2.7.2 install
                        > node-gyp rebuild
                        
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:12971) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/mdns/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/mdns',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/mdns
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        
                        > node-dht-sensor@0.4.5 install
                        > node-gyp configure
                        
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:12987) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-dht-sensor/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/node-dht-sensor',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure"
                        gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        
                        > opengpio@2.0.2 install
                        > node-gyp rebuild
                        
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:13003) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/opengpio/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/opengpio',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        npm error code 1
                        npm error path /opt/iobroker/node_modules/opengpio
                        npm error command failed
                        npm error command sh -c node-gyp rebuild
                        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-10-20T11_05_16_554Z-debug-0.log
                        npm warn skipping integrity check for git dependency ssh://git@github.com/Grothesk242/ioBroker.rpi2.git
                        npm warn deprecated npmlog@4.1.2: This package is no longer supported.
                        npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
                        npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
                        npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm warn deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                        npm warn deprecated gauge@2.7.4: This package is no longer supported.
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:12953) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/@stoprocent/noble/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/@stoprocent/noble',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noble
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:12971) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/mdns/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/mdns',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/mdns
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:12987) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-dht-sensor/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/node-dht-sensor',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "configure"
                        gyp ERR! cwd /opt/iobroker/node_modules/node-dht-sensor
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        gyp info it worked if it ends with ok
                        gyp info using node-gyp@8.4.1
                        gyp info using node@22.20.0 | linux | arm64
                        (node:13003) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
                        (Use `node --trace-deprecation ...` to show where the warning was created)
                        gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3"
                        gyp info spawn /usr/bin/python3
                        gyp info spawn args [
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                        gyp info spawn args   'binding.gyp',
                        gyp info spawn args   '-f',
                        gyp info spawn args   'make',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/opengpio/build/config.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                        gyp info spawn args   '-I',
                        gyp info spawn args   '/home/iobroker/.cache/node-gyp/22.20.0/include/node/common.gypi',
                        gyp info spawn args   '-Dlibrary=shared_library',
                        gyp info spawn args   '-Dvisibility=default',
                        gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.20.0',
                        gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                        gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.20.0/<(target_arch)/node.lib',
                        gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/opengpio',
                        gyp info spawn args   '-Dnode_engine=v8',
                        gyp info spawn args   '--depth=.',
                        gyp info spawn args   '--no-parallel',
                        gyp info spawn args   '--generator-output',
                        gyp info spawn args   'build',
                        gyp info spawn args   '-Goutput_dir=.'
                        gyp info spawn args ]
                        Traceback (most recent call last):
                          File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module>
                            import gyp  # noqa: E402
                            ^^^^^^^^^^
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module>
                            import gyp.input
                          File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
                            from distutils.version import StrictVersion
                        ModuleNotFoundError: No module named 'distutils'
                        gyp ERR! configure error
                        gyp ERR! stack Error: `gyp` failed with exit code: 1
                        gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)
                        gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
                        gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
                        gyp ERR! System Linux 6.12.47+rpt-rpi-v8
                        gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                        gyp ERR! cwd /opt/iobroker/node_modules/opengpio
                        gyp ERR! node -v v22.20.0
                        gyp ERR! node-gyp -v v8.4.1
                        gyp ERR! not ok
                        npm error code 1
                        npm error path /opt/iobroker/node_modules/opengpio
                        npm error command failed
                        npm error command sh -c node-gyp rebuild
                        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-10-20T11_05_16_554Z-debug-0.log
                        host.raspberrypi Cannot install Grothesk242/ioBroker.rpi2#c87e9539d89bac8f4d19b266679bcb78ed554f1d: 1
                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

                        Qix- created this issue in visionmedia/debug

                        closed ReDos Vulnerability Regression Visibility Notice #797

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

                          @torsten-lehmann

                          Was haste denn jetzt geändert?
                          Oben ist es doch durchgelaufen?

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

                            @thomas-braun wenn ich ein Backup zurücksetze geht rpi2 nicht mehr zu installieren. Bin jetzt gerade soweit hab SD Karte iobroker neue aufgesetzt rpi2 Adapter und Instanz funktioniert auch. Befürchte hole ich das gespeichert Backup zurück wird rpi2 nicht mehr funktionieren.

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

                              @torsten-lehmann

                              Hast du im Backup vielleicht einen sehr alten Versionsstand eingebacken?

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

                                @thomas-braun said in RPI-Monitor und GPIO rpi2 v2.3.1:

                                @torsten-lehmann

                                Hast du im Backup vielleicht einen sehr alten Versionsstand eingebacken?

                                Danke für Deine Geduld, vor dem zurücksetzen des Backups hab ich opt/iobroker/node_modules/iobroker.rpi2 gesichert und nach dem zurücksetzen des Backups wieder zurück gespeichert. rpi2 v2.4.0 lebenzeichen und mit Host verbunden.
                                Wenn es so bleibt, werde ich mich, um das Problem Zigbee upgrade von 2.0.5 auf 3.0.5 kümmern.

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

                                  @torsten-lehmann sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

                                  vor dem zurücksetzen des Backups hab ich opt/iobroker/node_modules/iobroker.rpi2 gesichert und nach dem zurücksetzen des Backups wieder zurück gespeichert.

                                  Das macht man NICHT. Außer vielleicht unter anderen Betriebssystemen, aber auch da ist das Krampf.

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

                                    @thomas-braun dachte ich mir schon. bekomme es nicht ohne Backup hin. Viele Adapter, Skripte usw. jahrelange Arbeit.

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

                                      @torsten-lehmann

                                      Durch das wüste hin- und herkopieren zerballerst du dir die 'npm-Versionsdatenbank'.
                                      Kein Wunder, das dann alles ins Schleudern gerät.

                                      Wie schaut denn deine Ausgangslage aus?
                                      Generelle Vorgehensweise (bei allen Sprüngen): Alt-System auf den allerletzten Stand bringen, davon ein gescheites Backup ziehen (Backitup-Adapter!), neues Betriebssystem installieren, auf den letzten Stand bringen, iobroker leer installieren, in den leeren ioBroker das Backup einspielen.

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

                                        @thomas-braun sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

                                        Wie schaut denn deine Ausgangslage aus?
                                        Generelle Vorgehensweise (bei allen Sprüngen): Alt-System auf den allerletzten Stand bringen, davon ein gescheites Backup ziehen (Backitup-Adapter!), neues Betriebssystem installieren, auf den letzten Stand bringen, iobroker leer installieren, in den leeren ioBroker das Backup einspielen.

                                        Da fehlt ein wichtiger Punkt. Da auch das auf Stand bringen schon Probleme erzeugen kann:

                                        • Backup (A) ziehen (So wie das System ist)
                                        • Auf den neusten möglichen Stand bringen, ohne das Betriebssystem hoch zu ziehen
                                        • Backup (B) ziehen
                                        • neues OS installieren
                                        • IoBroker installieren
                                        • Backup einspielen - wenn Möglich Backup B, im Notfall Backup A

                                        A.

                                        Torsten Lehmann Thomas Braun 3 Replies Last reply Reply Quote 0
                                        • Torsten Lehmann
                                          Torsten Lehmann @Asgothian last edited by

                                          @asgothian said in RPI-Monitor und GPIO rpi2 v2.3.1:

                                          @thomas-braun sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

                                          Wie schaut denn deine Ausgangslage aus?
                                          Generelle Vorgehensweise (bei allen Sprüngen): Alt-System auf den allerletzten Stand bringen, davon ein gescheites Backup ziehen (Backitup-Adapter!), neues Betriebssystem installieren, auf den letzten Stand bringen, iobroker leer installieren, in den leeren ioBroker das Backup einspielen.

                                          Da fehlt ein wichtiger Punkt. Da auch das auf Stand bringen schon Probleme erzeugen kann:

                                          • Backup (A) ziehen (So wie das System ist)
                                          • Auf den neusten möglichen Stand bringen, ohne das Betriebssystem hoch zu ziehen
                                          • Backup (B) ziehen
                                          • neues OS installieren
                                          • IoBroker installieren
                                          • Backup einspielen - wenn Möglich Backup B, im Notfall Backup A

                                          A.

                                          okay nutze neben das iobroker backup noch ein windows tool (iobroker Tool) um ein komplettes Backup zu erstellen. erstelle neue SD mit iobroker.

                                          1 Reply Last reply Reply Quote 0
                                          • Torsten Lehmann
                                            Torsten Lehmann @Asgothian last edited by

                                            @asgothian
                                            [How-to] ioBroker richtig installieren
                                            sudo apt update && sudo apt upgrade -y
                                            curl -sl https://deb.nodesource.com/setup_22.x | sudo bash -
                                            sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                                            node -v && nodejs -v && npm -v
                                            curl -sL https://iobroker.net/install.sh | bash -

                                            Thomas Braun 1 Reply 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

                                            984
                                            Online

                                            32.3k
                                            Users

                                            81.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            44
                                            503
                                            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