Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehler bei Installation i2c Adapter

    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

    Fehler bei Installation i2c Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • wendy2702
      wendy2702 @Chris_B last edited by

      @chris_b Kein Stress bin auch gleich weg

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

        @chris_b

        Bring dein System auf Debian11/Bullseye.

        1 Reply Last reply Reply Quote 0
        • C
          Chris_B @wendy2702 last edited by

          @wendy2702 Hier nun das log vom fixer (aber da sehe ich auch keine wesentliche Info, die auf ein potentielles Problem hindeutet):

          library: loaded
          Library version=2022-12-09
          
          ==========================================================================
          
              Welcome to the ioBroker installation fixer!
              Script version: 2022-12-22
          
              You might need to enter your password a couple of times.
          
          ==========================================================================
          
          
          ==========================================================================
              Installing prerequisites (1/4)
          ==========================================================================
          
          Holen:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
          OK:2 http://archive.raspberrypi.org/debian buster InRelease
          OK:3 https://deb.nodesource.com/node_16.x buster InRelease
          OK:4 https://phoscon.de/apt/deconz buster InRelease
          Es wurden 15.0 kB in 1 s geholt (10.2 kB/s).
          Paketlisten werden gelesen... Fertig
          Installed gcc-c++
          
          ==========================================================================
              Checking ioBroker user and directory permissions (2/4)
          ==========================================================================
          
          Created /etc/sudoers.d/iobroker
          Fixing directory permissions...
          
          ==========================================================================
              Database maintenance (3/4)
          ==========================================================================
          
          Checking for uncompressed JSONL databases... This might take a while!
          
          Compressing /opt/iobroker/iobroker-data/states.jsonl
          Compressing /opt/iobroker/iobroker-data/objects.jsonl
          Compressed 2 JSONL files. Done
          
          ==========================================================================
              Checking autostart (4/4)
          ==========================================================================
          
          Enabling autostart...
          Autostart enabled!
          
          ==========================================================================
          
              Your installation was fixed successfully
              Run iobroker start to start ioBroker again!
          
          ==========================================================================
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Chris_B last edited by

            @chris_b

            Bring dein System auf Debian11/Bullseye.

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

              @thomas-braun Ich höre Dich klar und deutlich, Thomas. Ich war nur so freundlich die Frage von wendy2702 zu beantworten. Danke.

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

                @chris_b

                Ist halt die Frage welche Baustelle man zuerst angeht. Das Betriebssystem ist dringlicher.

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

                  @thomas-braun Ich habe mir nun Zeit genommen mein OS auf Bullseye upzudaten. Vielen Dank für Deine Anleitung
                  https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye
                  Update ist gelungen, ich bin jetzt auf Bullseye mit Node.js: v16.19.1 und NPM: v8.19.3.
                  iobroker läuft wieder ohne Probleme.
                  Der Versuch den i2c Adapter zu installieren endet im Wesentlichen mit der gleichen Fehlermeldung. Hat in dieser Sache also noch keinen Fortschritt gebracht.

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

                    @chris_b

                    Dann kannst du ja mit aktuellem OS nochmal

                    iob diag
                    

                    ausführen und bzgl. der Installation auch die vollständigen Rückmeldungen aus dem logfile oder dem Terminal bekannt geben.

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

                      @thomas-braun Hier die Infos:
                      Aus iob diag

                      Skript v.2023-01-02
                      
                      *** BASE SYSTEM ***
                      Model           : Raspberry Pi 4 Model B Rev 1.5
                      Architecture:   armv7l
                      Docker:         false
                      Virtualization: none
                      Distributor ID: Raspbian
                      Description:    Raspbian GNU/Linux 11 (bullseye)
                      Release:        11
                      Codename:       bullseye
                      
                      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                      NAME="Raspbian GNU/Linux"
                      VERSION_ID="11"
                      VERSION="11 (bullseye)"
                      VERSION_CODENAME=bullseye
                      ID=raspbian
                      ID_LIKE=debian
                      HOME_URL="http://www.raspbian.org/"
                      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                      
                      Systemuptime and Load:
                       15:50:10 up 43 min,  1 user,  load average: 0.35, 0.25, 0.31
                      CPU threads: 4
                      
                      *** Time and Time Zones ***
                      Sat Feb 18 14:50:10 UTC 2023
                      Sat Feb 18 15:50:10 CET 2023
                      CET +0100
                      Europe/Zurich
                      
                      *** User and Groups ***
                      pi
                      /home/pi
                      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker pijuice
                      
                      *** X-Server-Setup ***
                      X-Server:       false
                      Desktop:
                      Terminal:       tty
                      Boot Target:    graphical.target
                      
                      *** MEMORY ***
                                     total        used        free      shared  buff/cache   available
                      Mem:            3.8G        1.1G        2.4G        0.0K        312M        2.9G
                      Swap:            99M          0B         99M
                      Total:          3.9G        1.1G        2.5G
                      
                               3838 M total memory
                               1105 M used memory
                                184 M active memory
                               1127 M inactive memory
                               2420 M free memory
                                 50 M buffer memory
                                262 M swap cache
                                 99 M total swap
                                  0 M used swap
                                 99 M free swap
                      
                      *** FILESYSTEM ***
                      Filesystem     Type      Size  Used Avail Use% Mounted on
                      /dev/root      ext4       15G  4.8G  9.0G  35% /
                      devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                      tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                      tmpfs          tmpfs     768M  688K  768M   1% /run
                      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                      /dev/mmcblk0p1 vfat      253M   50M  203M  20% /boot
                      tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
                      
                      Messages in dmesg:
                      [Sat Feb 18 15:06:39 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=E4:5F:01:A8:12:03 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=cd3e8f54-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                      [Sat Feb 18 15:06:42 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
                      [Sat Feb 18 15:06:42 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
                      [Sat Feb 18 15:06:44 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota mode: none.
                      
                      Show mounted filesystems (real ones only):
                      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:
                      548M    /var/
                      299M    /var/cache
                      294M    /var/cache/apt
                      229M    /var/cache/apt/archives
                      95M     /var/lib
                      
                      /opt/iobroker/backups:
                      21M     /opt/iobroker/backups/
                      
                      /opt/iobroker/iobroker-data:
                      234M    /opt/iobroker/iobroker-data/
                      105M    /opt/iobroker/iobroker-data/files
                      94M     /opt/iobroker/iobroker-data/backup-objects
                      51M     /opt/iobroker/iobroker-data/files/javascript.admin
                      32M     /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                      
                      The five largest files in iobroker-data are:
                      20M     /opt/iobroker/iobroker-data/objects.jsonl
                      6.9M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
                      6.3M    /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map
                      6.2M    /opt/iobroker/iobroker-data/objects.json.migrated
                      6.2M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                      
                      *** NodeJS-Installation ***
                      
                      /usr/bin/nodejs         v16.19.1
                      /usr/bin/node           v16.19.1
                      /usr/bin/npm            8.19.3
                      /usr/bin/npx            8.19.3
                      
                      nodejs:
                        Installed: 16.19.1-deb-1nodesource1
                        Candidate: 16.19.1-deb-1nodesource1
                        Version table:
                       *** 16.19.1-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                              100 /var/lib/dpkg/status
                           12.22.12~dfsg-1~deb11u3 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      
                      Temp directories causing npm8 problem: 0
                      
                      *** ioBroker-Installation ***
                      
                      ioBroker Status
                      iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Core adapters versions
                      js-controller:  4.0.24
                      admin:          6.3.5
                      javascript:     6.1.4
                      
                      Adapters from github:   0
                      
                      Adapter State
                      + system.adapter.admin.0                  : admin                 : raspberrypi4-iob                         -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                      + system.adapter.backitup.0               : backitup              : raspberrypi4-iob                         -  enabled
                      + system.adapter.cloud.0                  : cloud                 : raspberrypi4-iob                         -  enabled
                      + system.adapter.denon.0                  : denon                 : raspberrypi4-iob                         -  enabled
                      + system.adapter.denon.1                  : denon                 : raspberrypi4-iob                         -  enabled
                      + system.adapter.discovery.0              : discovery             : raspberrypi4-iob                         -  enabled
                        system.adapter.flot.0                   : flot                  : raspberrypi4-iob                         - disabled
                      + system.adapter.heos.0                   : heos                  : raspberrypi4-iob                         -  enabled
                      + system.adapter.history.0                : history               : raspberrypi4-iob                         -  enabled
                      + system.adapter.hue.0                    : hue                   : raspberrypi4-iob                         -  enabled, port: 80
                      + system.adapter.hue.1                    : hue                   : raspberrypi4-iob                         -  enabled, port: 80
                      + system.adapter.info.0                   : info                  : raspberrypi4-iob                         -  enabled
                      + system.adapter.javascript.0             : javascript            : raspberrypi4-iob                         -  enabled
                      + system.adapter.netatmo.0                : netatmo               : raspberrypi4-iob                         -  enabled
                      + system.adapter.ping.0                   : ping                  : raspberrypi4-iob                         -  enabled
                      + system.adapter.rpi2.0                   : rpi2                  : raspberrypi4-iob                         -  enabled
                      + system.adapter.simple-api.0             : simple-api            : raspberrypi4-iob                         -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                      + system.adapter.socketio.0               : socketio              : raspberrypi4-iob                         -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : raspberrypi4-iob                         - disabled
                        system.adapter.vis.0                    : vis                   : raspberrypi4-iob                         -  enabled
                      + system.adapter.web.0                    : web                   : raspberrypi4-iob                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      + system.adapter.yahka.0                  : yahka                 : raspberrypi4-iob                         -  enabled
                      
                      + instance is alive
                      
                      Enabled adapters with bindings
                      + system.adapter.admin.0                  : admin                 : raspberrypi4-iob                         -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                      + system.adapter.hue.0                    : hue                   : raspberrypi4-iob                         -  enabled, port: 80
                      + system.adapter.hue.1                    : hue                   : raspberrypi4-iob                         -  enabled, port: 80
                      + system.adapter.simple-api.0             : simple-api            : raspberrypi4-iob                         -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                      + system.adapter.socketio.0               : socketio              : raspberrypi4-iob                         -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                      + system.adapter.web.0                    : web                   : raspberrypi4-iob                         -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      ioBroker-Repositories
                      stable        : http://download.iobroker.net/sources-dist.json
                      beta          : http://download.iobroker.net/sources-dist-latest.json
                      
                      Active repo(s): stable
                      
                      Installed ioBroker-Instances
                      Used repository: stable
                      Adapter    "admin"        : 6.3.5    , installed 6.3.5
                      Adapter    "backitup"     : 2.5.12   , installed 2.5.12
                      Adapter    "cloud"        : 4.3.0    , installed 4.3.0
                      Adapter    "denon"        : 1.13.4   , installed 1.13.4
                      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                      Adapter    "email"        : 1.1.4    , installed 1.1.4
                      Adapter    "flot"         : 1.11.0   , installed 1.11.0
                      Adapter    "heos"         : 1.10.0   , installed 1.10.0
                      Adapter    "history"      : 2.2.4    , installed 2.2.4
                      Adapter    "homekit-controller": 0.5.1, installed 0.5.1
                      Adapter    "hue"          : 3.7.1    , installed 3.7.1
                      Adapter    "info"         : 1.9.19   , installed 1.9.19
                      Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                      Controller "js-controller": 4.0.24   , installed 4.0.24
                      Adapter    "netatmo"      : 2.0.5    , installed 2.0.5
                      Adapter    "ping"         : 1.5.3    , installed 1.5.3
                      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                      Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                      Adapter    "vis"          : 1.4.15   , installed 1.4.15
                      Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                      Adapter    "web"          : 4.3.0    , installed 4.3.0
                      Adapter    "ws"           : 1.3.0    , installed 1.3.0
                      Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                      
                      Objects and States
                      Please stand by - This may take a while
                      Objects:        3096
                      States:         2594
                      
                      *** OS-Repositories and Updates ***
                      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                      Hit:4 https://phoscon.de/apt/deconz bullseye 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 127.0.0.1:44821         0.0.0.0:*               LISTEN      1001       56591      13999/io.yahka.0
                      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       52502      12844/iobroker.js-c
                      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       52495      12844/iobroker.js-c
                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          10727      483/sshd: /usr/sbin
                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       56445      13795/io.web.0
                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       51533      12879/io.admin.0
                      tcp6       0      0 :::8087                 :::*                    LISTEN      1001       53094      13274/io.simple-api
                      tcp6       0      0 :::8084                 :::*                    LISTEN      1001       52191      13449/io.socketio.0
                      tcp6       0      0 :::39029                :::*                    LISTEN      1001       56583      13999/io.yahka.0
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          10729      483/sshd: /usr/sbin
                      udp        0      0 0.0.0.0:49190           0.0.0.0:*                           1001       51872      13217/io.heos.0
                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14614      645/dhcpcd
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       56584      13999/io.yahka.0
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        11680      363/avahi-daemon: r
                      udp        0      0 0.0.0.0:53498           0.0.0.0:*                           108        11682      363/avahi-daemon: r
                      udp6       0      0 :::546                  :::*                                0          14642      645/dhcpcd
                      udp6       0      0 :::5353                 :::*                                108        11681      363/avahi-daemon: r
                      udp6       0      0 :::52971                :::*                                108        11683      363/avahi-daemon: r
                      
                      *** Log File - Last 25 Lines ***
                      
                      2023-02-18 15:17:24.642  - info: yahka.0 (13999) adding Wasser Höfli 2A with UUID: e801a2ae-6c62-44d0-870f-a7a316e4a4b6
                      2023-02-18 15:17:24.646  - info: yahka.0 (13999) adding Wasser Garten 3A with UUID: e7a975c7-14b7-4db6-93c9-a5c06b0f0906
                      2023-02-18 15:17:24.651  - info: yahka.0 (13999) adding Wasser Garten 4A with UUID: b19d1566-51f7-4dbf-a436-f10b00d4d3bf
                      2023-02-18 15:17:24.654  - info: yahka.0 (13999) adding Wasser Garten 5A with UUID: cfba9462-495d-445e-bdaf-92d89e5d323c
                      2023-02-18 15:17:24.659  - info: yahka.0 (13999) adding Wasser Feedback 1 with UUID: 80efd4c4-8f76-48b0-b794-663ac97d7d2a
                      2023-02-18 15:17:24.662  - info: yahka.0 (13999) adding Wasser Feedback 2 with UUID: c7c1a3fe-b438-43eb-a479-bbda51d1d6c8
                      2023-02-18 15:17:24.666  - info: yahka.0 (13999) adding Wasser Feedback 3 with UUID: 3270564c-f984-4208-88ed-bcafad48b3e3
                      2023-02-18 15:17:24.671  - info: yahka.0 (13999) adding Wasser Feedback 4 with UUID: 94316748-7b8a-456d-9813-e1529df2ff42
                      2023-02-18 15:17:24.675  - info: yahka.0 (13999) adding Wasser Feedback 5 with UUID: 192619c5-90be-4580-8af2-9cdd5282fc7a
                      2023-02-18 15:17:24.678  - info: yahka.0 (13999) adding Wasser Feedback 6 with UUID: 442ced11-b93a-4a60-9eaf-d6b789ce2e54
                      2023-02-18 15:17:24.682  - info: yahka.0 (13999) adding Wasser Garten 6A with UUID: 5356872a-1195-47ad-a30c-62d253157baf
                      2023-02-18 15:17:24.686  - info: yahka.0 (13999) adding Motion Cat1 with UUID: 01ba38ce-6b34-4467-8989-7af6f0774eeb
                      2023-02-18 15:17:24.689  - info: yahka.0 (13999) adding Motion Cat2 with UUID: 9122c6a7-6598-4298-84f5-ecc8c2598e8d
                      2023-02-18 15:17:24.692  - info: yahka.0 (13999) publishing bridge Yahka-0 on 0.0.0.0 using ciao
                      2023-02-18 15:19:16.604  - info: admin.0 (12879) ==> Connected system.user.admin from ::ffff:192.168.1.137
                      2023-02-18 15:21:14.629  - info: host.raspberrypi4-iob iobroker add i2c auto --host raspberrypi4-iob --debug
                      2023-02-18 15:21:18.476  - info: host.raspberrypi4-iob iobroker NPM version: 8.19.3
                      2023-02-18 15:21:18.480  - info: host.raspberrypi4-iob iobroker Installing iobroker.i2c@1.2.1... (System call)
                      2023-02-18 15:21:27.131  - info: host.raspberrypi4-iob iobroker npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/i2c-bus
                      2023-02-18 15:21:27.137  - info: host.raspberrypi4-iob iobroker npm ERR! command failed
                      2023-02-18 15:21:27.138  - info: host.raspberrypi4-iob iobroker npm ERR! command sh -c -- node-gyp rebuildnpm ERR! node:internal/modules/cjs/loader:1024npm ERR!   throw err;npm ERR!   ^npm ERR! npm ERR! Error: Cannot find module 'object-assign'npm ERR! Require stack:npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
                      2023-02-18 15:21:27.148  - info: host.raspberrypi4-iob iobroker npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:866:27)npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19)npm ERR!     at require (node:internal/modules/cjs/helpers:108:18)npm ERR!     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js:4:20)npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1191:14)npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)npm ERR!     at Module.load (node:internal/modules/cjs/loader:1069:32)npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:904:12)npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19) {npm ERR!   code: 'MODULE_NOT_FOUND',npm ERR!   requireStack: [npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'npm ERR!   ]npm ERR! }npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2023-02-18T14_21_19_654Z-debug-0.log
                      2023-02-18 15:21:27.176  - error: host.raspberrypi4-iob iobroker host.raspberrypi4-iob Cannot install iobroker.i2c@1.2.1: 1
                      2023-02-18 15:21:28.217  - info: host.raspberrypi4-iob iobroker exit 25
                      2023-02-18 15:28:25.784  - info: admin.0 (12879) <== Disconnect system.user.admin from ::ffff:192.168.1.137 admin
                      
                      
                      ======================= SUMMARY =======================
                                           v.2023-01-02
                      
                      
                      Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                      Installation:           Native
                      Timezone:               Europe/Zurich
                      User-ID:                1000
                      X-Server:               false
                      Boot Target:            graphical.target
                      
                      Pending OS-Updates:     0
                      
                      Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                              /usr/bin/node           v16.19.1
                                              /usr/bin/npm            8.19.3
                                              /usr/bin/npx            8.19.3
                      
                      ioBroker Core:          js-controller           4.0.24
                                              admin                   6.3.5
                      
                      ioBroker Status:        iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Status admin:
                      + system.adapter.admin.0                  : admin                 : raspberrypi4-iob                         -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                      
                      Pending iob updates:    0
                      
                      Active repo(s): stable
                      
                      Objects:                3096
                      States:                 2594
                      
                      Size of iob-Database:
                      
                      20M     /opt/iobroker/iobroker-data/objects.jsonl
                      6.2M    /opt/iobroker/iobroker-data/objects.json.migrated
                      6.2M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                      2.1M    /opt/iobroker/iobroker-data/states.jsonl
                      684K    /opt/iobroker/iobroker-data/states.json.migrated
                      684K    /opt/iobroker/iobroker-data/states.json.bak.migrated
                      
                      
                      =================== END OF SUMMARY ====================
                      

                      Und hier noch das log (wieder diese superlangen Zeilen):

                      host.raspberrypi4-iob
                      	2023-02-18 15:21:28.217	info	iobroker exit 25
                      host.raspberrypi4-iob
                      	2023-02-18 15:21:27.176	error	iobroker host.raspberrypi4-iob Cannot install iobroker.i2c@1.2.1: 1
                      host.raspberrypi4-iob
                      	2023-02-18 15:21:27.148	info	iobroker npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:866:27)npm ERR! at Module.require (node:internal/modules/cjs/loader:1093:19)npm ERR! at require (node:internal/modules/cjs/helpers:108:18)npm ERR! at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js:4:20)npm ERR! at Module._compile (node:internal/modules/cjs/loader:1191:14)npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)npm ERR! at Module.load (node:internal/modules/cjs/loader:1069:32)npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:904:12)npm ERR! at Module.require (node:internal/modules/cjs/loader:1093:19) {npm ERR! code: 'MODULE_NOT_FOUND',npm ERR! requireStack: [npm ERR! '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',npm ERR! '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',npm ERR! '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',npm ERR! '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',npm ERR! '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',npm ERR! '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'npm ERR! ]npm ERR! }npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2023-02-18T14_21_19_654Z-debug-0.log
                      host.raspberrypi4-iob
                      	2023-02-18 15:21:27.138	info	iobroker npm ERR! command sh -c -- node-gyp rebuildnpm ERR! node:internal/modules/cjs/loader:1024npm ERR! throw err;npm ERR! ^npm ERR! npm ERR! Error: Cannot find module 'object-assign'npm ERR! Require stack:npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.jsnpm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
                      host.raspberrypi4-iob
                      	2023-02-18 15:21:27.137	info	iobroker npm ERR! command failed
                      host.raspberrypi4-iob
                      	2023-02-18 15:21:27.131	info	iobroker npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/i2c-bus
                      host.raspberrypi4-iob
                      	2023-02-18 15:21:18.480	info	iobroker Installing iobroker.i2c@1.2.1... (System call)
                      

                      Die alternative Lösung ist, dass ich mein i2c Gerät anders ansteuere (über python oder ein C++ Programm) und die Daten dann an iobroker übergebe.

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

                        @chris_b

                        Warum hast du nicht die 64bit-Version genommen?

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

                          @thomas-braun Ja, das ist mir auch aufgefallen. Ich habe den Update nach Deiner Anleitung durchgeführt, und das ursprüngliche System war eben noch 32-bit. Der Update bleibt auf dieser Variante, so wie ich das verstehe. 64-bit würde eine komplette Neuinstallation bedeuten, korrekt?

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

                            @chris_b

                            64-bit würde eine komplette Neuinstallation bedeuten, korrekt?

                            Ja, richtig.

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

                              @chris_b

                              cd /opt/iobroker 
                              npm ls
                              npm ls object-assign
                              
                              C 1 Reply Last reply Reply Quote 0
                              • C
                                Chris_B @Thomas Braun last edited by

                                @thomas-braun So sieht es aus:

                                iobroker.inst@3.0.0 /opt/iobroker
                                ├── @types/caseless@0.12.2 extraneous
                                ├── @types/request@2.48.8 extraneous
                                ├── @types/tough-cookie@4.0.2 extraneous
                                ├── coffeescript@1.12.7 extraneous
                                ├── iobroker.admin@6.3.5
                                ├── iobroker.backitup@2.5.12
                                ├── iobroker.cloud@4.3.0
                                ├── iobroker.denon@1.13.4
                                ├── iobroker.discovery@3.1.0
                                ├── iobroker.email@1.1.4
                                ├── iobroker.flot@1.11.0
                                ├── iobroker.heos@1.10.0
                                ├── iobroker.history@2.2.4
                                ├── iobroker.homekit-controller@0.5.1
                                ├── iobroker.hue@3.7.1
                                ├── iobroker.info@1.9.19
                                ├── iobroker.javascript@6.1.4
                                ├── iobroker.js-controller@4.0.24
                                ├── iobroker.netatmo@2.0.5
                                ├── iobroker.ping@1.5.3
                                ├── iobroker.rpi2@1.3.2
                                ├── iobroker.simple-api@2.7.2
                                ├── iobroker.socketio@4.2.0
                                ├── iobroker.vis-hqwidgets@1.3.0
                                ├── iobroker.vis@1.4.15
                                ├── iobroker.web@4.3.0
                                ├── iobroker.yahka@0.13.1
                                ├── jsonata@1.8.6 extraneous
                                ├── node-inspect@2.0.0 extraneous
                                ├── picocolors@1.0.0 extraneous
                                ├── suncalc2@1.8.1 extraneous
                                ├── typescript@4.8.2 extraneous
                                ├── virtual-tsc@0.6.2 extraneous
                                └── wake_on_lan@1.0.0 extraneous
                                
                                iobroker.inst@3.0.0 /opt/iobroker
                                └─┬ iobroker.homekit-controller@0.5.1
                                  └─┬ hap-controller@0.8.1
                                    └─┬ @abandonware/noble@1.9.2-15
                                      └─┬ @abandonware/bluetooth-hci-socket@0.5.3-8
                                        └─┬ @mapbox/node-pre-gyp@1.0.9
                                          └─┬ npmlog@5.0.1
                                            └─┬ gauge@3.0.2
                                              └── object-assign@4.1.1
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Chris_B last edited by Thomas Braun

                                  @chris_b

                                  cd /opt/iobroker 
                                  npm cache clear --force
                                  iobroker add i2c --debug
                                  

                                  Bitte immer vollständig aus der Konsole kopieren, inkl. log in prompt usw.

                                  C 2 Replies Last reply Reply Quote 0
                                  • C
                                    Chris_B @Thomas Braun last edited by

                                    @thomas-braun Das löschen des Caches scheint auch nichts zu bringen.

                                    pi@raspberrypi4-iob:/opt/iobroker $ npm cache clear --force
                                    npm WARN using --force Recommended protections disabled.
                                    pi@raspberrypi4-iob:/opt/iobroker $ iobroker add i2c auto --debug
                                    NPM version: 8.19.3
                                    Installing iobroker.i2c@1.2.1... (System call)
                                    npm ERR! code 1
                                    npm ERR! path /opt/iobroker/node_modules/i2c-bus
                                    npm ERR! command failed
                                    npm ERR! command sh -c -- node-gyp rebuild
                                    npm ERR! node:internal/modules/cjs/loader:1024
                                    npm ERR!   throw err;
                                    npm ERR!   ^
                                    npm ERR!
                                    npm ERR! Error: Cannot find module 'object-assign'
                                    npm ERR! Require stack:
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
                                    npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1021:15)
                                    npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                                    npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19)
                                    npm ERR!     at require (node:internal/modules/cjs/helpers:108:18)
                                    npm ERR!     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/r    ender-template.js:4:20)
                                    npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1191:14)
                                    npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                                    npm ERR!     at Module.load (node:internal/modules/cjs/loader:1069:32)
                                    npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:904:12)
                                    npm ERR!     at Module.require (node:internal/modules/cjs/loader:1093:19) {
                                    npm ERR!   code: 'MODULE_NOT_FOUND',
                                    npm ERR!   requireStack: [
                                    npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',
                                    npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',
                                    npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',
                                    npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',
                                    npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',
                                    npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
                                    npm ERR!   ]
                                    npm ERR! }
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2023-02-18T15_54_49_210Z-debug-0.log
                                    host.raspberrypi4-iob Cannot install iobroker.i2c@1.2.1: 1
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      Chris_B @Thomas Braun last edited by

                                      @thomas-braun Bemerkung dazu: Ich habe davor iobroker nicht gestoppt. Ist das korrekt?

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

                                        @chris_b

                                        apt policy npm node-gyp nodejs
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Chris_B last edited by

                                          @chris_b sagte in Fehler bei Installation i2c Adapter:

                                          Ich habe davor iobroker nicht gestoppt. Ist das korrekt?

                                          Das ist wurscht.

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

                                            @thomas-braun

                                            npm:
                                              Installiert:           (keine)
                                              Installationskandidat: 7.5.2+ds-2
                                              Versionstabelle:
                                                 7.5.2+ds-2 500
                                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            node-gyp:
                                              Installiert:           (keine)
                                              Installationskandidat: 7.1.2-4
                                              Versionstabelle:
                                                 7.1.2-4 500
                                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            nodejs:
                                              Installiert:           16.19.1-deb-1nodesource1
                                              Installationskandidat: 16.19.1-deb-1nodesource1
                                              Versionstabelle:
                                             *** 16.19.1-deb-1nodesource1 500
                                                    500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                                                    100 /var/lib/dpkg/status
                                                 12.22.12~dfsg-1~deb11u3 500
                                                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            
                                            Thomas Braun 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            836
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            58
                                            1914
                                            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