Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. RPI-Monitor und GPIO rpi2 v2.3.1

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.5k

RPI-Monitor und GPIO rpi2 v2.3.1

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
50 Beiträge 6 Kommentatoren 1.2k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @asgothian

    Und ich hab lieber ein gescheites, in sich konsistentes Backup eines senkrechten Systems.
    So unterschiedlich können die Ansätze sein.

    AsgothianA Offline
    AsgothianA Offline
    Asgothian
    Developer
    schrieb am zuletzt editiert von
    #41

    @thomas-braun Ich denke ich hab nicht besonders gut beschrieben was ich meine:

    • Adaptereinstellungen sind üblicherweise OK, auch wenn sie von älteren Versionen stammen - ich kenne Keinen Adapter bei dem die Einstellungen nicht abwärtskompatibel sind. Und was an Einstellungen 'neu' gemacht werden muss sollte beim Versuch das System hoch zu ziehen aufgefallen sein
    • Bei Datenbanken ist klar ob sie ok sind oder nicht (sprich - die restauriert man aus dem was du ein struppiges backup nennst sowieso nicht)
    • Bei all den Adaptern wo externe Daten existieren (z.Bsp. Yahka, vis, Zigbee) ist auch aus dem Versuch das System hoch zu ziehen klar ob die externen Daten sauber sind oder nicht - auch die restauriert man nur wenn damit das hochziehen klappt.

    Und wenn man das System nicht sauber hochgezogen bekommt ist ein vorhandenes Teilbackup besser als kein backup.

    Wo ich mit gehe - wenn das Backup nach hochziehen existiert sollte man das nehmen.

    Ansonsten bin ich extrem froh das es im ioBroker eine weitergehende Trennung zwischen code und Daten gibt, und das das Backup an den meisten Stellen nur Daten beinhaltet, und eben keinen (extern zu aktualisierenden) code. (Eigene Skripte fallen dabei durchaus unter Daten).

    Der Gedanke 'erst hochziehen, dann backup, dann installieren, dann restore' funktioniert ausschliesslich wenn das hochziehen und sauber machen funktioniert. Nur stellt sich dann die Frage - warum neu installieren, wenn man doch alles hochgezogen bekommt ?

    A.

    ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
    "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • AsgothianA Asgothian

      @thomas-braun Ich denke ich hab nicht besonders gut beschrieben was ich meine:

      • Adaptereinstellungen sind üblicherweise OK, auch wenn sie von älteren Versionen stammen - ich kenne Keinen Adapter bei dem die Einstellungen nicht abwärtskompatibel sind. Und was an Einstellungen 'neu' gemacht werden muss sollte beim Versuch das System hoch zu ziehen aufgefallen sein
      • Bei Datenbanken ist klar ob sie ok sind oder nicht (sprich - die restauriert man aus dem was du ein struppiges backup nennst sowieso nicht)
      • Bei all den Adaptern wo externe Daten existieren (z.Bsp. Yahka, vis, Zigbee) ist auch aus dem Versuch das System hoch zu ziehen klar ob die externen Daten sauber sind oder nicht - auch die restauriert man nur wenn damit das hochziehen klappt.

      Und wenn man das System nicht sauber hochgezogen bekommt ist ein vorhandenes Teilbackup besser als kein backup.

      Wo ich mit gehe - wenn das Backup nach hochziehen existiert sollte man das nehmen.

      Ansonsten bin ich extrem froh das es im ioBroker eine weitergehende Trennung zwischen code und Daten gibt, und das das Backup an den meisten Stellen nur Daten beinhaltet, und eben keinen (extern zu aktualisierenden) code. (Eigene Skripte fallen dabei durchaus unter Daten).

      Der Gedanke 'erst hochziehen, dann backup, dann installieren, dann restore' funktioniert ausschliesslich wenn das hochziehen und sauber machen funktioniert. Nur stellt sich dann die Frage - warum neu installieren, wenn man doch alles hochgezogen bekommt ?

      A.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #42

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

      warum neu installieren, wenn man doch alles hochgezogen bekommt ?

      Um z.B. beim RaspberryPi von einem 32Bit-System auf ein 64Bit-System zu kommen. Oder sauber von 10 auf 11.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @torsten-lehmann

        Wo hast du denn das her?
        Im Grunde reicht der Einzeiler:

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

        Der Installer zieht dann auch nodejs usw. rein.

        Torsten LehmannT Offline
        Torsten LehmannT Offline
        Torsten Lehmann
        schrieb am zuletzt editiert von
        #43

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

        @torsten-lehmann

        Wo hast du denn das her?
        Im Grunde reicht der Einzeiler:

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

        Der Installer zieht dann auch nodejs usw. rein.

        hallo Thomas
        hab alles so [https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht](link url) gemacht bekomme rpi2 nicht hin und werde solange darauf verzichten bis es über den offizellen Adapter funktioniert

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • Torsten LehmannT Torsten Lehmann

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

          @torsten-lehmann

          Wo hast du denn das her?
          Im Grunde reicht der Einzeiler:

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

          Der Installer zieht dann auch nodejs usw. rein.

          hallo Thomas
          hab alles so [https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht](link url) gemacht bekomme rpi2 nicht hin und werde solange darauf verzichten bis es über den offizellen Adapter funktioniert

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #44

          @torsten-lehmann

          Hier hat es @plc wohl im ersten Anlauf hinbekommen.
          Vielleicht kann er dir sagen, was er gemacht hat.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • Torsten LehmannT 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
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #45

            @Torsten-Lehmann sagte in RPI-Monitor und GPIO rpi2 v2.3.1:

            ModuleNotFoundError: No module named 'distutils'

            Die Meldung bekommst du weg, in dem das Paket python3-setuptools nachinstalliert wird.

            sudo apt install python3-setuptools
            

            also.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            1 Antwort Letzte Antwort
            0
            • mcm1957M Online
              mcm1957M Online
              mcm1957
              schrieb am zuletzt editiert von
              #46

              @haus-automatisierung hat heiute eine 3.0.1 released die debian trixie unterstützen sollte:
              https://github.com/iobroker-community-adapters/ioBroker.rpi2#301-2025-11-28

              Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
              Support Repositoryverwaltung.

              Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

              LESEN - gute Forenbeitrage

              1 Antwort Letzte Antwort
              1
              • L Online
                L Online
                Laser
                schrieb zuletzt editiert von
                #47

                Habe das Problem, daß nach Update auf trixie die GPIO's nicht mehr funktionieren. Es wird ja immer abgeraten, über npm etwas zu installieren?

                Thomas BraunT mcm1957M 2 Antworten Letzte Antwort
                0
                • L Laser

                  Habe das Problem, daß nach Update auf trixie die GPIO's nicht mehr funktionieren. Es wird ja immer abgeraten, über npm etwas zu installieren?

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb zuletzt editiert von
                  #48

                  @Laser

                  Der Adapter liegt im Beta-Repo.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  0
                  • L Online
                    L Online
                    Laser
                    schrieb zuletzt editiert von Laser
                    #49

                    Ich habe Ihn mal installiert. Aber nicht schimpfen über "wilde" Installation...
                    EDIT: GPIO wird angesteuert!

                    1 Antwort Letzte Antwort
                    0
                    • L Laser

                      Habe das Problem, daß nach Update auf trixie die GPIO's nicht mehr funktionieren. Es wird ja immer abgeraten, über npm etwas zu installieren?

                      mcm1957M Online
                      mcm1957M Online
                      mcm1957
                      schrieb zuletzt editiert von
                      #50

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

                      Habe das Problem, daß nach Update auf trixie die GPIO's nicht mehr funktionieren. Es wird ja immer abgeraten, über npm etwas zu installieren?

                      Nein, es wird nur abgeraten

                      • VON GITHUB zu installieren
                      • direkt MIT npm (aber nicht von npm) zu installieren

                      :-)

                      Entwicklung u Betreuung: envertech-pv, hoymiles-ms, ns-client, pid, snmp Adapter;
                      Support Repositoryverwaltung.

                      Wer Danke sagen will, kann nen Kaffee spendieren: https://paypal.me/mcm1957atiobroker

                      LESEN - gute Forenbeitrage

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

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

                      793

                      Online

                      32.4k

                      Benutzer

                      81.6k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe