Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kann den Rpi Adapter auf meinem Raspberry nicht installieren

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Kann den Rpi Adapter auf meinem Raspberry nicht installieren

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

      @thomas-braun Danke probiere ich mal aus ich dachte opengpio wird schon mit dem Befehl
      sudo apt install -y build-essential python3-dev git automatisch mit installiert. Wo ich das ganze damals mal getestet hatte habe ich gedacht das ich nur den Adapter installiert habe und dann wäre es gegangen.

      Nein leider nicht da kommt auch eine Fehlermeldung wenn ich opengpio installieren möchte

      npm error code 1
      npm error path /home/pi/node_modules/opengpio
      npm error command failed
      npm error command sh -c node-gyp rebuild
      npm error make: Entering directory '/home/pi/node_modules/opengpio/build'
      npm error   CXX(target) Release/obj.target/opengpio/cpp/opengpio.o
      npm error   SOLINK_MODULE(target) Release/obj.target/opengpio.node
      npm error make: Leaving directory '/home/pi/node_modules/opengpio/build'
      npm error gyp info it worked if it ends with ok
      npm error gyp info using node-gyp@10.1.0
      npm error gyp info using node@20.19.1 | linux | arm
      npm error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
      npm error gyp http GET https://nodejs.org/download/release/v20.19.1/node-v20.19.1-headers.tar.gz
      npm error gyp http 200 https://nodejs.org/download/release/v20.19.1/node-v20.19.1-headers.tar.gz
      npm error gyp http GET https://nodejs.org/download/release/v20.19.1/SHASUMS256.txt
      npm error gyp http 200 https://nodejs.org/download/release/v20.19.1/SHASUMS256.txt
      npm error gyp info spawn /usr/bin/python3
      npm error gyp info spawn args [
      npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
      npm error gyp info spawn args 'binding.gyp',
      npm error gyp info spawn args '-f',
      npm error gyp info spawn args 'make',
      npm error gyp info spawn args '-I',
      npm error gyp info spawn args '/home/pi/node_modules/opengpio/build/config.gypi',
      npm error gyp info spawn args '-I',
      npm error gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
      npm error gyp info spawn args '-I',
      npm error gyp info spawn args '/home/pi/.cache/node-gyp/20.19.1/include/node/common.gypi',
      npm error gyp info spawn args '-Dlibrary=shared_library',
      npm error gyp info spawn args '-Dvisibility=default',
      npm error gyp info spawn args '-Dnode_root_dir=/home/pi/.cache/node-gyp/20.19.1',
      npm error gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',
      npm error gyp info spawn args '-Dnode_lib_file=/home/pi/.cache/node-gyp/20.19.1/<(target_arch)/node.lib',
      npm error gyp info spawn args '-Dmodule_root_dir=/home/pi/node_modules/opengpio',
      npm error gyp info spawn args '-Dnode_engine=v8',
      npm error gyp info spawn args '--depth=.',
      npm error gyp info spawn args '--no-parallel',
      npm error gyp info spawn args '--generator-output',
      npm error gyp info spawn args 'build',
      npm error gyp info spawn args '-Goutput_dir=.'
      npm error gyp info spawn args ]
      npm error gyp info spawn make
      npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
      npm error /usr/lib/gcc/arm-linux-gnueabihf/10/crtbeginS.o: file not recognized: file format not recognized
      npm error collect2: error: ld returned 1 exit status
      npm error make: *** [opengpio.target.mk:133: Release/obj.target/opengpio.node] Error 1
      npm error gyp ERR! build error
      npm error gyp ERR! stack Error: `make` failed with exit code: 2
      npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
      npm error gyp ERR! System Linux 6.1.21-v7+
      npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      npm error gyp ERR! cwd /home/pi/node_modules/opengpio
      npm error gyp ERR! node -v v20.19.1
      npm error gyp ERR! node-gyp -v v10.1.0
      npm error gyp ERR! not ok
      npm error A complete log of this run can be found in: /home/pi/.npm/_logs/2025-07-15T23_12_46_875Z-debug-0.log
      /home/pi
      └── (empty)
      
      

      ich werde morgen probieren so ein misst 🙂

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

        @thomas-braun ist vielleicht nodejs zu neu?

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

          @basti97 sagte in Kann den Rpi Adapter auf meinem Raspberry nicht installieren:

          ich dachte opengpio wird schon mit dem Befehl
          sudo apt install -y build-essential python3-dev git automatisch mit installiert. Wo ich das ganze damals mal getestet hatte habe ich gedacht das ich nur den Adapter installiert habe und dann wäre es gegangen.

          Nein, damit werden nur Pakete installiert, die zum bauen von Paketen benötigt werden.
          opengpio wird dann durch die Kompiler gejagt

          ist vielleicht nodejs zu neu?

          Nein, eher ist dein OS zu alt/auf der falschen Architektur. Du fährst doch da nodejs@20, das ist die momentane Empfehlung.

          /usr/lib/gcc/arm-linux-gnueabihf/10/crtbeginS.o: file not recognized: file format not recognized

          deutet auf 32Bit hin, das wird eher nicht mehr mit dem aktuellen Code durchlaufen.

          1 Reply Last reply Reply Quote 0
          • OliverIO
            OliverIO @Basti97 last edited by

            @basti97

            an dieser stelle spielt node keine rolle.
            das kompillieren und linken eines c/c++ programms (opengpio ) schlägt fehl.
            immer noch der gleiche fehler

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

              @basti97

              Gib mal die Ausgabe von

              iob diag
              

              bekannt sowie von

              apt policy libgpiod*
              
              Basti97 1 Reply Last reply Reply Quote 1
              • Basti97
                Basti97 Most Active @Thomas Braun last edited by

                @thomas-braun sagte in Kann den Rpi Adapter auf meinem Raspberry nicht installieren:

                iob diag

                ========== Start marking the full check here ===========
                
                ```bash
                Script v.2025-03-08
                
                *** BASE SYSTEM ***
                   Static hostname: raspberrypi
                         Icon name: computer
                  Operating System: Raspbian GNU/Linux 11 (bullseye)
                            Kernel: Linux 6.1.21-v7+
                      Architecture: arm
                OS is similar to: debian
                
                Model           : Raspberry Pi 3 Model B Plus Rev 1.3
                Docker          : false
                Virtualization  : none
                Kernel          : armv7l
                Userland        : 32 bit
                
                Systemuptime and Load:
                 09:46:33 up 14:44,  2 users,  load average: 3.28, 2.88, 2.27
                CPU threads: 4
                
                
                *** LIFE CYCLE STATUS ***
                Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!
                
                *** RASPBERRY THROTTLING ***
                Current issues:
                No throttling issues detected.
                
                Previously detected issues:
                ~ Under-voltage has occurred
                ~ Arm frequency capping has occurred
                
                *** TIME AND TIMEZONES ***
                               Local time: Wed 2025-07-16 09:46:33 CEST
                           Universal time: Wed 2025-07-16 07:46:33 UTC
                                 RTC time: n/a
                                Time zone: Europe/Berlin (CEST, +0200)
                System clock synchronized: yes
                              NTP service: active
                          RTC in local TZ: no
                
                *** Users and Groups ***
                User that called 'iob diag':
                pi
                HOME=/home/pi
                GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
                
                User that is running 'js-controller':
                iobroker
                HOME=/home/iobroker
                GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c
                
                *** DISPLAY-SERVER SETUP ***
                Display-Server: false
                Desktop:
                Terminal:       tty
                
                *** MEMORY ***
                               total        used        free      shared  buff/cache   available
                Mem:            921M        216M        209M        1.0M        496M        634M
                Swap:            99M         78M         21M
                Total:          1.0G        295M        230M
                
                Active iob-Instances:   3
                
                          921 M total memory
                          216 M used memory
                          407 M active memory
                          210 M inactive memory
                          209 M free memory
                           70 M buffer memory
                          425 M swap cache
                           99 M total swap
                           78 M used swap
                           21 M free swap
                
                *** top - Table Of Processes  ***
                top - 09:46:34 up 14:44,  2 users,  load average: 3.28, 2.88, 2.27
                Tasks: 158 total,   1 running, 157 sleeping,   0 stopped,   0 zombie
                %Cpu(s):  5.5 us,  5.5 sy,  0.0 ni, 89.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                MiB Mem :    922.0 total,    209.1 free,    216.4 used,    496.5 buff/cache
                MiB Swap:    100.0 total,     21.0 free,     79.0 used.    633.7 avail Mem
                
                *** FAILED SERVICES ***
                
                  UNIT                          LOAD   ACTIVE SUB    DESCRIPTION
                * bthelper@hci0.service         loaded failed failed Raspberry Pi bluetooth helper
                * colord.service                loaded failed failed Manage, Install and Generate Color Profiles
                * openvpn-client@client.service loaded failed failed OpenVPN tunnel for client
                * plymouth-start.service        loaded failed failed Show Plymouth Boot Screen
                * wg-quick@wg0.service          loaded failed failed WireGuard via wg-quick(8) for wg0
                
                LOAD   = Reflects whether the unit definition was properly loaded.
                ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
                SUB    = The low-level unit activation state, values depend on unit type.
                5 loaded units listed.
                
                
                *** DMESG CRITICAL ERRORS ***
                144 CRITICAL ERRORS DETECTED!
                Check 'sudo dmesg --level=emerg,alert,crit -T' for details
                
                *** FILESYSTEM ***
                Filesystem     Type      Size  Used Avail Use% Mounted on
                /dev/root      ext4       15G  6.2G  7.7G  45% /
                devtmpfs       devtmpfs  333M     0  333M   0% /dev
                tmpfs          tmpfs     461M  4.0K  461M   1% /dev/shm
                tmpfs          tmpfs     185M  772K  184M   1% /run
                tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                /dev/mmcblk0p1 vfat      253M   51M  202M  20% /boot
                tmpfs          tmpfs      93M   20K   93M   1% /run/user/1000
                
                Messages concerning ext4 filesystem in dmesg:
                [Tue Jul 15 19:01:52 2025] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=44a3dce6-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                [Tue Jul 15 19:01:55 2025] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
                [Tue Jul 15 19:01:55 2025] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                [Tue Jul 15 19:01:58 2025] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
                
                Show mounted filesystems:
                TARGET  SOURCE         FSTYPE OPTIONS
                /       /dev/mmcblk0p2 ext4   rw,noatime
                `-/boot /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
                
                Files in neuralgic directories:
                
                /var:
                2.2G    /var/
                1.1G    /var/cache/apt
                1.1G    /var/cache
                992M    /var/cache/apt/archives
                865M    /var/log
                
                Journal file /var/log/journal/17f5be65a0144b718868da827cf6bffe/system@0c9cfaba2fdb43568eb34c2594062e00-0000000000000001-0005cf905c0cadb6.journal corrupted, ignoring file.
                Archived and active journals take up 776.1M in the file system.
                
                /opt/iobroker/backups:
                4.0K    /opt/iobroker/backups/
                
                /opt/iobroker/iobroker-data:
                103M    /opt/iobroker/iobroker-data/
                64M     /opt/iobroker/iobroker-data/files
                47M     /opt/iobroker/iobroker-data/files/admin.admin
                46M     /opt/iobroker/iobroker-data/files/admin.admin/custom/assets
                46M     /opt/iobroker/iobroker-data/files/admin.admin/custom
                
                The five largest files in iobroker-data are:
                22M     /opt/iobroker/iobroker-data/objects.jsonl
                8.1M    /opt/iobroker/iobroker-data/files/backitup.admin/assets/index-BFvcOIQE.js
                3.7M    /opt/iobroker/iobroker-data/files/backitup.admin/custom/assets/index-CyIqcfMJ.js
                3.7M    /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-ZPb95xPG.js
                3.7M    /opt/iobroker/iobroker-data/files/admin.admin/custom/assets/index-IIKn7Ixx.js
                
                USB-Devices by-id:
                USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                
                No Devices found 'by-id'
                
                Zigbee Network Settings on your coordinator/in nvbackup are:
                
                zigbee.X
                Extended Pan ID:
                *** MASKED ***
                Pan ID:
                *** MASKED ***
                Channel:
                *** MASKED ***
                Network Key:
                *** MASKED ***
                
                To unmask the settings run 'iob diag --unmask'
                
                
                *** NodeJS-Installation ***
                
                /usr/bin/nodejs         v20.19.1
                /usr/bin/node           v20.19.1
                /usr/bin/npm            10.8.2
                /usr/bin/npx            10.8.2
                /usr/bin/corepack       0.31.0
                
                nodejs:
                  Installed: 20.19.1-1nodesource1
                  Candidate: 20.19.1-1nodesource1
                  Version table:
                 *** 20.19.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                        100 /var/lib/dpkg/status
                     20.19.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.18.3-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.18.2-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.18.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.18.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.17.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.16.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.15.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.15.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.14.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.13.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.13.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.12.2-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.12.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.12.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.11.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.11.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.10.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.9.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.8.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.8.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.7.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.6.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.6.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.5.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.5.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.4.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.3.1-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.3.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.2.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.1.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     20.0.0-1nodesource1 600
                        500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
                     12.22.12~dfsg-1~deb11u7 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                
                Temp directories causing deletion problem: 0
                No problems detected
                
                Errors in npm tree: 0
                No problems detected
                
                *** ioBroker-Installation ***
                
                ioBroker Status
                iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Hosts:
                raspberrypi         raspberrypi (version: 7.0.6, hostname: raspberrypi   , alive, uptime: 35829)
                
                Core adapters versions
                js-controller:  7.0.6
                admin:          7.6.17
                javascript:     "javascript" not found
                
                nodejs modules from github:     0
                
                Adapter State
                + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  system.adapter.backitup.0               : backitup              : raspberrypi                              - disabled
                  system.adapter.discovery.0              : discovery             : raspberrypi                              - disabled
                + system.adapter.mqtt-client.0            : mqtt-client           : raspberrypi                              -  enabled, port: 1884
                
                + instance is alive
                
                Enabled adapters with bindings
                + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.mqtt-client.0            : mqtt-client           : raspberrypi                              -  enabled, port: 1884
                
                ioBroker-Repositories
                ┌──────────────────────────────────────────────────────────────────────────────────────────────
                │ (index) │ name     │ url                                                     │ auto upgrade │
                ├──────────────────────────────────────────────────────────────────────────────────────────────
                │ 0       │ 'stable' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                │ 1       │ 'beta'   │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                └──────────────────────────────────────────────────────────────────────────────────────────────
                
                Active repo(s): stable
                Upgrade policy: none
                
                Installed ioBroker-Adapters
                Used repository: stable
                Adapter    "admin"        : 7.6.17   , installed 7.6.17
                Adapter    "backitup"     : 3.3.5    , installed 3.2.2  [Updatable]
                Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                Controller "js-controller": 7.0.6    , installed 7.0.6
                Adapter    "mqtt-client"  : 3.0.0    , installed 3.0.0
                
                Objects and States
                Please stand by - This may take a while
                Objects:        171
                States:         106
                
                *** OS-Repositories and Updates ***
                Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease
                Reading package lists...
                Pending Updates: 0
                
                *** Listening Ports ***
                Active Internet connections (only servers)
                Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          14657      623/lighttpd
                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          14552      551/sshd: /usr/sbin
                tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      0          14166      876/dnsmasq
                tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       285666     21933/iobroker.js-c
                tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       285671     21933/iobroker.js-c
                tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          297692     25814/cupsd
                tcp6       0      0 :::80                   :::*                    LISTEN      0          14658      623/lighttpd
                tcp6       0      0 :::22                   :::*                    LISTEN      0          14554      551/sshd: /usr/sbin
                tcp6       0      0 ::1:631                 :::*                    LISTEN      0          297691     25814/cupsd
                tcp6       0      0 :::53                   :::*                    LISTEN      0          14168      876/dnsmasq
                tcp6       0      0 :::8081                 :::*                    LISTEN      1001       288840     21989/io.admin.0
                udp        0      0 0.0.0.0:59903           0.0.0.0:*                           108        12483      337/avahi-daemon: r
                udp        0      0 0.0.0.0:53              0.0.0.0:*                           0          14165      876/dnsmasq
                udp        0      0 0.0.0.0:67              0.0.0.0:*                           0          14162      876/dnsmasq
                udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          12897      857/dhcpcd
                udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        12481      337/avahi-daemon: r
                udp6       0      0 :::546                  :::*                                0          116938     857/dhcpcd
                udp6       0      0 :::53                   :::*                                0          14167      876/dnsmasq
                udp6       0      0 :::58970                :::*                                108        12484      337/avahi-daemon: r
                udp6       0      0 :::5353                 :::*                                108        12482      337/avahi-daemon: r
                
                *** Log File - Last 25 Lines ***
                
                2025-07-16 00:19:31.687  - info: host.raspberrypi iobroker gyp ERR! cwd /opt/iobroker/node_modules/opengpiogyp ERR! node -v v20.19.1gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok
                2025-07-16 00:19:31.836  - info: host.raspberrypi iobroker npm error code 1
                2025-07-16 00:19:31.839  - info: host.raspberrypi iobroker npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuild
                2025-07-16 00:19:31.850  - info: host.raspberrypi iobroker npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-15T22_18_28_400Z-debug-0.log
                2025-07-16 00:19:31.890  - error: host.raspberrypi iobroker gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.19.1 | linux | armgyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/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/diskusage/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.19.1/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/20.19.1',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.19.1/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/diskusage',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 ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]<command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefined<command-line>: note: this is the location of the previous definitionIn file included from ../../nan/nan.h:62,                 from ../src/main.cpp:3:/home/iobroker/.cache/node-gyp/20.19.1/include/node/node.h:1226:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] 1226 |       (node::addon_register_func) (regfunc),                          \      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/home/iobroker/.cache/node-gyp/20.19.1/include/node/node.h:1260:3: note: in expansion of macro 'NODE_MODULE_X' 1260 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)      |   ^~~~~~~~~~~~~../src/main.cpp:42:1: note: in expansion of macro 'NODE_MODULE'   42 | NODE_MODULE(diskusage, Init)      | ^~~~~~~~~~~<command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefined<command-line>: note: this is the location of the previous definition/usr/lib/gcc/arm-linux-gnueabihf/10/crtbeginS.o: file not recognized: file format not recognizedcollect2: error: ld returned 1 exit statusmake: *** [diskusage.target.mk:135: Release/obj.target/diskusage.node] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.1.21-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/diskusagegyp ERR! node -v v20.19.1gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.19.1 | linux | armgyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/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 '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.19.1/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/20.19.1',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.19.1/<(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 ]gyp info ok gyp info it worked if it ends with okgyp info using node-gyp@10.1.0gyp info using node@20.19.1 | linux | armgyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/usr/lib/node_modules/npm/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 '/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/20.19.1/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/20.19.1',gyp info spawn args '-Dnode_gyp_dir=/usr/lib/node_modules/npm/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/20.19.1/<(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 ]gyp info spawn makegyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]/usr/lib/gcc/arm-linux-gnueabihf/10/crtbeginS.o: file not recognized: file format not recognizedcollect2: error: ld returned 1 exit statusmake: *** [opengpio.target.mk:133: Release/obj.target/opengpio.node] Error 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)gyp ERR! System Linux 6.1.21-v7+gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/opengpiogyp ERR! node -v v20.19.1gyp ERR! node-gyp -v v10.1.0gyp ERR! not ok npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-15T22_18_28_400Z-debug-0.log
                2025-07-16 00:19:31.893  - error: host.raspberrypi iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                2025-07-16 00:19:32.961  - info: host.raspberrypi iobroker exit 25
                2025-07-16 00:22:15.158  - info: admin.0 (21989) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
                2025-07-16 00:22:17.669  - info: admin.0 (21989) ==> Connected system.user.admin from ::ffff:192.168.1.3
                2025-07-16 00:32:36.623  - info: admin.0 (21989) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
                2025-07-16 00:32:36.881  - info: admin.0 (21989) ==> Connected system.user.admin from ::ffff:192.168.1.3
                2025-07-16 00:32:36.925  - info: admin.0 (21989) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
                2025-07-16 00:32:39.394  - info: admin.0 (21989) ==> Connected system.user.admin from ::ffff:192.168.1.3
                2025-07-16 00:38:54.719  - info: host.raspberrypi iobroker add rpi2 --host raspberrypi
                2025-07-16 00:39:02.488  - info: host.raspberrypi iobroker NPM version: 10.8.2
                2025-07-16 00:39:02.492  - info: host.raspberrypi iobroker Installing iobroker.rpi2@2.4.0... (System call)
                2025-07-16 00:40:08.220  - error: host.raspberrypi iobroker npm error code 1npm error path /opt/iobroker/node_modules/opengpionpm error command failednpm error command sh -c node-gyp rebuildnpm error make: Entering directory '/opt/iobroker/node_modules/opengpio/build'npm error   CXX(target) Release/obj.target/opengpio/cpp/opengpio.onpm error   SOLINK_MODULE(target) Release/obj.target/opengpio.nodenpm error make: Leaving directory '/opt/iobroker/node_modules/opengpio/build'npm error /usr/lib/gcc/arm-linux-gnueabihf/10/crtbeginS.o: file not recognized: file format not recognizednpm error collect2: error: ld returned 1 exit statusnpm error make: *** [opengpio.target.mk:133: Release/obj.target/opengpio.node] Error 1npm error gyp ERR! build error npm error gyp ERR! stack Error: `make` failed with exit code: 2npm error gyp ERR! stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)npm error gyp ERR! System Linux 6.1.21-v7+npm error gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm error gyp ERR! cwd /opt/iobroker/node_modules/opengpionpm error gyp ERR! node -v v20.19.1npm error gyp ERR! node-gyp -v v10.1.0npm error gyp ERR! not oknpm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-07-15T22_39_03_166Z-debug-0.log
                2025-07-16 00:40:08.225  - error: host.raspberrypi iobroker host.raspberrypi Cannot install iobroker.rpi2@2.4.0: 1
                2025-07-16 00:40:09.283  - info: host.raspberrypi iobroker exit 25
                2025-07-16 00:45:05.391  - error: host.raspberrypi Cannot read disk size: Could not determine controller directory
                2025-07-16 00:51:31.884  - info: admin.0 (21989) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
                2025-07-16 09:44:56.397  - info: admin.0 (21989) ==> Connected system.user.admin from ::ffff:192.168.1.3
                2025-07-16 09:48:30.566  - info: admin.0 (21989) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
                2025-07-16 09:49:23.357  - info: admin.0 (21989) ==> Connected system.user.admin from ::ffff:192.168.1.3
                2025-07-16 09:49:23.955  - info: admin.0 (21989) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
                
                

                ============ Mark until here for C&P =============

                iob diag has finished.

                pi@raspberrypi:~ $ obroker fix
                -bash: obroker: command not found
                pi@raspberrypi:~ $

                
                
                
                
                ```pi@raspberrypi:~ $ apt policy libgpiod*
                libgpiod-dev:
                  Installed: 1.6.2-1+rpi1
                  Candidate: 1.6.2-1+rpi1
                  Version table:
                 *** 1.6.2-1+rpi1 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                        100 /var/lib/dpkg/status
                libgpiod-doc:
                  Installed: (none)
                  Candidate: 1.6.2-1+rpi1
                  Version table:
                     1.6.2-1+rpi1 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                libgpiod2:
                  Installed: 1.6.2-1+rpi1
                  Candidate: 1.6.2-1+rpi1
                  Version table:
                 *** 1.6.2-1+rpi1 500
                        500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                        100 /var/lib/dpkg/status
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Basti97 last edited by

                  @basti97 sagte in Kann den Rpi Adapter auf meinem Raspberry nicht installieren:

                  144 CRITICAL ERRORS DETECTED!

                  Setz das Ding komplett neu auf, diesmal direkt als RaspberryOS 12 'Lite - 64Bit'.

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

                    @thomas-braun Und dann funktoniert es oder?
                    Das komische daran ist ich hatte den Rpi vorher als Slave laufen gehabt. Das hatte ich vor längeren mal so eingestellt und er wurde auch gleich wieder erkannt und ich konnte die gpios auch steuern. Ich hatte den Verbund nicht auseinander gemacht und iobroker deinstalliert und alles neu installiert. Danach konnte ich den rpi Adapter nicht mehr installieren.

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

                      @basti97 sagte in Kann den Rpi Adapter auf meinem Raspberry nicht installieren:

                      Und dann funktoniert es oder?

                      Kann ich dir nicht sagen. Aber zumindest ist dann die Ausgangslage eine stabile.

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

                        @thomas-braun dann probiere ich das mal vielen Dank für deine Hilfe 🙂

                        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

                        844
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        adapter gpio hilfe installation raspberry
                        3
                        21
                        65
                        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