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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. BLE Adapter funktioniert nach Node Update auf v16 nicht mehr

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

BLE Adapter funktioniert nach Node Update auf v16 nicht mehr

Geplant Angeheftet Gesperrt Verschoben Error/Bug
20 Beiträge 8 Kommentatoren 1.4k Aufrufe 7 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @tiego

    cd /opt/iobroker
    npm ls object-assign
    

    sagt?
    Bei nodejs schaut's wie aus?

    sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
    uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    

    Edit: Typo

    H Offline
    H Offline
    holgerwolf
    schrieb am zuletzt editiert von holgerwolf
    #3

    @thomas-braun
    @tiego

    Ich muss das mal von tiego wieder hochholen. Er hat sich ja nicht mehr gemeldet. Aber ich laufe mit BLE 0.13 und Node 16.x auch in das obige Problem.
    Hier die Ausgabe:

     npm la object-assign
    npm ERR! Cannot read properties of undefined (reading 'description')
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.log
    
    0 verbose cli /usr/local/bin/node /usr/local/bin/npm
    1 info using npm@8.19.3
    2 info using node@v16.19.0
    3 timing npm:load:whichnode Completed in 3ms
    4 timing config:load:defaults Completed in 39ms
    5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 20m
    s
    6 timing config:load:builtin Completed in 24ms
    7 timing config:load:cli Completed in 39ms
    8 timing config:load:env Completed in 7ms
    9 timing config:load:file:/opt/iobroker/.npmrc Completed in 26ms
    10 timing config:load:project Completed in 47ms
    11 timing config:load:file:/home/iobroker/.npmrc Completed in 4ms
    12 timing config:load:user Completed in 10ms
    13 timing config:load:file:/usr/local/etc/npmrc Completed in 2ms
    14 timing config:load:global Completed in 4ms
    15 timing config:load:validate Completed in 29ms
    16 timing config:load:credentials Completed in 20ms
    17 timing config:load:setEnvs Completed in 21ms
    18 timing config:load Completed in 252ms
    19 timing npm:load:configload Completed in 256ms
    20 timing npm:load:mkdirpcache Completed in 22ms
    21 timing npm:load:mkdirplogs Completed in 6ms
    22 verbose title npm la object-assign
    23 verbose argv "la" "object-assign"
    24 timing npm:load:setTitle Completed in 23ms
    25 timing config:load:flatten Completed in 68ms
    26 timing npm:load:display Completed in 111ms
    27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs
    28 verbose logfile /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.lo
    g
    29 timing npm:load:logFile Completed in 123ms
    30 timing npm:load:timers Completed in 1ms
    31 timing npm:load:configScope Completed in 1ms
    32 timing npm:load Completed in 568ms
    33 timing config:load:flatten Completed in 25ms
    34 timing arborist:ctor Completed in 17ms
    35 silly logfile start cleaning logs, removing 3 files
    36 silly logfile done cleaning log files
    37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date
    , updated: node_modules/iobroker.discovery
    38 timing command:la Completed in 20984ms
    39 verbose stack TypeError: Cannot read properties of undefined (reading 'descri
    ption')
    39 verbose stack     at getHumanOutputItem (/usr/local/lib/node_modules/npm/lib/
    commands/ls.js:339:35)
    39 verbose stack     at visit (/usr/local/lib/node_modules/npm/lib/commands/ls.j
    s:160:15)
    39 verbose stack     at visitNode (/usr/local/lib/node_modules/npm/node_modules/
    treeverse/lib/breadth.js:37:25)
    39 verbose stack     at next (/usr/local/lib/node_modules/npm/node_modules/treev
    erse/lib/breadth.js:23:19)
    39 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/treeverse/l
    ib/breadth.js:25:31
    39 verbose stack     at processTicksAndRejections (node:internal/process/task_qu
    eues:96:5)
    39 verbose stack     at async LL.exec (/usr/local/lib/node_modules/npm/lib/comma
    nds/ls.js:122:20)
    39 verbose stack     at async module.exports (/usr/local/lib/node_modules/npm/li
    b/cli.js:78:5)
    40 verbose cwd /opt/iobroker
    41 verbose Linux 5.15.76+
    42 verbose node v16.19.0
    43 verbose npm  v8.19.3
    44 error Cannot read properties of undefined (reading 'description')
    45 verbose exit 1
    46 timing npm Completed in 24052ms
    47 verbose code 1
    48 error A complete log of this run can be found in:
    48 error     /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.log
    
    uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    armv6l
    Kein Docker
    /usr/local/bin/nodejs
    /usr/local/bin/node
    /usr/local/bin/npm
    v16.19.0
    v16.19.0
    8.19.3
    4.0.23
    iobroker
    iobroker adm tty dialout cdrom sudo audio video plugdev games users input render netdev bluetooth gpio i2c spi
    tty
    
    /etc/apt/sources.list.d
    Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
    Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    All packages are up to date.
    nodejs:
      Installed: (none)
      Candidate: 12.22.12~dfsg-1~deb11u1
      Version table:
         12.22.12~dfsg-1~deb11u1 500
            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package
    

    Bin kurzzeit mal wieder zurück auf ne alte Node Version. Da gehts dann wieder. Noch ne Idee?

    CodierknechtC GlasfaserG 2 Antworten Letzte Antwort
    0
    • H holgerwolf

      @thomas-braun
      @tiego

      Ich muss das mal von tiego wieder hochholen. Er hat sich ja nicht mehr gemeldet. Aber ich laufe mit BLE 0.13 und Node 16.x auch in das obige Problem.
      Hier die Ausgabe:

       npm la object-assign
      npm ERR! Cannot read properties of undefined (reading 'description')
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.log
      
      0 verbose cli /usr/local/bin/node /usr/local/bin/npm
      1 info using npm@8.19.3
      2 info using node@v16.19.0
      3 timing npm:load:whichnode Completed in 3ms
      4 timing config:load:defaults Completed in 39ms
      5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 20m
      s
      6 timing config:load:builtin Completed in 24ms
      7 timing config:load:cli Completed in 39ms
      8 timing config:load:env Completed in 7ms
      9 timing config:load:file:/opt/iobroker/.npmrc Completed in 26ms
      10 timing config:load:project Completed in 47ms
      11 timing config:load:file:/home/iobroker/.npmrc Completed in 4ms
      12 timing config:load:user Completed in 10ms
      13 timing config:load:file:/usr/local/etc/npmrc Completed in 2ms
      14 timing config:load:global Completed in 4ms
      15 timing config:load:validate Completed in 29ms
      16 timing config:load:credentials Completed in 20ms
      17 timing config:load:setEnvs Completed in 21ms
      18 timing config:load Completed in 252ms
      19 timing npm:load:configload Completed in 256ms
      20 timing npm:load:mkdirpcache Completed in 22ms
      21 timing npm:load:mkdirplogs Completed in 6ms
      22 verbose title npm la object-assign
      23 verbose argv "la" "object-assign"
      24 timing npm:load:setTitle Completed in 23ms
      25 timing config:load:flatten Completed in 68ms
      26 timing npm:load:display Completed in 111ms
      27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs
      28 verbose logfile /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.lo
      g
      29 timing npm:load:logFile Completed in 123ms
      30 timing npm:load:timers Completed in 1ms
      31 timing npm:load:configScope Completed in 1ms
      32 timing npm:load Completed in 568ms
      33 timing config:load:flatten Completed in 25ms
      34 timing arborist:ctor Completed in 17ms
      35 silly logfile start cleaning logs, removing 3 files
      36 silly logfile done cleaning log files
      37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date
      , updated: node_modules/iobroker.discovery
      38 timing command:la Completed in 20984ms
      39 verbose stack TypeError: Cannot read properties of undefined (reading 'descri
      ption')
      39 verbose stack     at getHumanOutputItem (/usr/local/lib/node_modules/npm/lib/
      commands/ls.js:339:35)
      39 verbose stack     at visit (/usr/local/lib/node_modules/npm/lib/commands/ls.j
      s:160:15)
      39 verbose stack     at visitNode (/usr/local/lib/node_modules/npm/node_modules/
      treeverse/lib/breadth.js:37:25)
      39 verbose stack     at next (/usr/local/lib/node_modules/npm/node_modules/treev
      erse/lib/breadth.js:23:19)
      39 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/treeverse/l
      ib/breadth.js:25:31
      39 verbose stack     at processTicksAndRejections (node:internal/process/task_qu
      eues:96:5)
      39 verbose stack     at async LL.exec (/usr/local/lib/node_modules/npm/lib/comma
      nds/ls.js:122:20)
      39 verbose stack     at async module.exports (/usr/local/lib/node_modules/npm/li
      b/cli.js:78:5)
      40 verbose cwd /opt/iobroker
      41 verbose Linux 5.15.76+
      42 verbose node v16.19.0
      43 verbose npm  v8.19.3
      44 error Cannot read properties of undefined (reading 'description')
      45 verbose exit 1
      46 timing npm Completed in 24052ms
      47 verbose code 1
      48 error A complete log of this run can be found in:
      48 error     /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.log
      
      uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv6l
      Kein Docker
      /usr/local/bin/nodejs
      /usr/local/bin/node
      /usr/local/bin/npm
      v16.19.0
      v16.19.0
      8.19.3
      4.0.23
      iobroker
      iobroker adm tty dialout cdrom sudo audio video plugdev games users input render netdev bluetooth gpio i2c spi
      tty
      
      /etc/apt/sources.list.d
      Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      All packages are up to date.
      nodejs:
        Installed: (none)
        Candidate: 12.22.12~dfsg-1~deb11u1
        Version table:
           12.22.12~dfsg-1~deb11u1 500
              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package
      

      Bin kurzzeit mal wieder zurück auf ne alte Node Version. Da gehts dann wieder. Noch ne Idee?

      CodierknechtC Offline
      CodierknechtC Offline
      Codierknecht
      Developer Most Active
      schrieb am zuletzt editiert von
      #4

      @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

      Bin kurzzeit mal wieder zurück auf ne alte Node Version. Da gehts dann wieder

      Wie alt?
      Das aktuelle Docker-Image wird z.B. mit Node.js 16.18 ausgeliefert.
      Die 16.19 könnte etwas zu neu sein.

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      1 Antwort Letzte Antwort
      0
      • H holgerwolf

        @thomas-braun
        @tiego

        Ich muss das mal von tiego wieder hochholen. Er hat sich ja nicht mehr gemeldet. Aber ich laufe mit BLE 0.13 und Node 16.x auch in das obige Problem.
        Hier die Ausgabe:

         npm la object-assign
        npm ERR! Cannot read properties of undefined (reading 'description')
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.log
        
        0 verbose cli /usr/local/bin/node /usr/local/bin/npm
        1 info using npm@8.19.3
        2 info using node@v16.19.0
        3 timing npm:load:whichnode Completed in 3ms
        4 timing config:load:defaults Completed in 39ms
        5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 20m
        s
        6 timing config:load:builtin Completed in 24ms
        7 timing config:load:cli Completed in 39ms
        8 timing config:load:env Completed in 7ms
        9 timing config:load:file:/opt/iobroker/.npmrc Completed in 26ms
        10 timing config:load:project Completed in 47ms
        11 timing config:load:file:/home/iobroker/.npmrc Completed in 4ms
        12 timing config:load:user Completed in 10ms
        13 timing config:load:file:/usr/local/etc/npmrc Completed in 2ms
        14 timing config:load:global Completed in 4ms
        15 timing config:load:validate Completed in 29ms
        16 timing config:load:credentials Completed in 20ms
        17 timing config:load:setEnvs Completed in 21ms
        18 timing config:load Completed in 252ms
        19 timing npm:load:configload Completed in 256ms
        20 timing npm:load:mkdirpcache Completed in 22ms
        21 timing npm:load:mkdirplogs Completed in 6ms
        22 verbose title npm la object-assign
        23 verbose argv "la" "object-assign"
        24 timing npm:load:setTitle Completed in 23ms
        25 timing config:load:flatten Completed in 68ms
        26 timing npm:load:display Completed in 111ms
        27 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs
        28 verbose logfile /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.lo
        g
        29 timing npm:load:logFile Completed in 123ms
        30 timing npm:load:timers Completed in 1ms
        31 timing npm:load:configScope Completed in 1ms
        32 timing npm:load Completed in 568ms
        33 timing config:load:flatten Completed in 25ms
        34 timing arborist:ctor Completed in 17ms
        35 silly logfile start cleaning logs, removing 3 files
        36 silly logfile done cleaning log files
        37 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date
        , updated: node_modules/iobroker.discovery
        38 timing command:la Completed in 20984ms
        39 verbose stack TypeError: Cannot read properties of undefined (reading 'descri
        ption')
        39 verbose stack     at getHumanOutputItem (/usr/local/lib/node_modules/npm/lib/
        commands/ls.js:339:35)
        39 verbose stack     at visit (/usr/local/lib/node_modules/npm/lib/commands/ls.j
        s:160:15)
        39 verbose stack     at visitNode (/usr/local/lib/node_modules/npm/node_modules/
        treeverse/lib/breadth.js:37:25)
        39 verbose stack     at next (/usr/local/lib/node_modules/npm/node_modules/treev
        erse/lib/breadth.js:23:19)
        39 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/treeverse/l
        ib/breadth.js:25:31
        39 verbose stack     at processTicksAndRejections (node:internal/process/task_qu
        eues:96:5)
        39 verbose stack     at async LL.exec (/usr/local/lib/node_modules/npm/lib/comma
        nds/ls.js:122:20)
        39 verbose stack     at async module.exports (/usr/local/lib/node_modules/npm/li
        b/cli.js:78:5)
        40 verbose cwd /opt/iobroker
        41 verbose Linux 5.15.76+
        42 verbose node v16.19.0
        43 verbose npm  v8.19.3
        44 error Cannot read properties of undefined (reading 'description')
        45 verbose exit 1
        46 timing npm Completed in 24052ms
        47 verbose code 1
        48 error A complete log of this run can be found in:
        48 error     /home/iobroker/.npm/_logs/2022-12-20T07_49_59_077Z-debug-0.log
        
        uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        armv6l
        Kein Docker
        /usr/local/bin/nodejs
        /usr/local/bin/node
        /usr/local/bin/npm
        v16.19.0
        v16.19.0
        8.19.3
        4.0.23
        iobroker
        iobroker adm tty dialout cdrom sudo audio video plugdev games users input render netdev bluetooth gpio i2c spi
        tty
        
        /etc/apt/sources.list.d
        Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
        Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
        Reading package lists... Done
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        nodejs:
          Installed: (none)
          Candidate: 12.22.12~dfsg-1~deb11u1
          Version table:
             12.22.12~dfsg-1~deb11u1 500
                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package
        

        Bin kurzzeit mal wieder zurück auf ne alte Node Version. Da gehts dann wieder. Noch ne Idee?

        GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        schrieb am zuletzt editiert von
        #5

        @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

        /usr/local/bin/nodejs
        /usr/local/bin/node
        /usr/local/bin/npm

        Noch ne Idee?

        alles im falschen Verzeichniss installiert .

        siehe im HowTo von Thomas wie man es beseitigt .

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        H Thomas BraunT 2 Antworten Letzte Antwort
        0
        • GlasfaserG Glasfaser

          @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

          /usr/local/bin/nodejs
          /usr/local/bin/node
          /usr/local/bin/npm

          Noch ne Idee?

          alles im falschen Verzeichniss installiert .

          siehe im HowTo von Thomas wie man es beseitigt .

          H Offline
          H Offline
          holgerwolf
          schrieb am zuletzt editiert von
          #6

          @glasfaser Das ist mein Slave System nur für BLE und läuft auf nem Raspi Zero. Sorry, die Info hatte ich vergessen.

          1 Antwort Letzte Antwort
          0
          • GlasfaserG Glasfaser

            @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

            /usr/local/bin/nodejs
            /usr/local/bin/node
            /usr/local/bin/npm

            Noch ne Idee?

            alles im falschen Verzeichniss installiert .

            siehe im HowTo von Thomas wie man es beseitigt .

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

            @glasfaser

            Ist der Sonderfall für armv6. Das passt.

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

            H 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @glasfaser

              Ist der Sonderfall für armv6. Das passt.

              H Offline
              H Offline
              holgerwolf
              schrieb am zuletzt editiert von
              #8

              Ich habs so nicht hinbekommen.

              Dachte ich installier jetzt erstmal die neuen node.js Versionen und dann den ble Adapter.

              Jetzt bringt der aber beim Starten den Error "noble.on is not a function". Die zusätzlich benötigten Libraries (bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin) hatte vorab installiert. rebuild habe ich auch ohne Fehler erneut ausgeführt.
              Zu dem noble.on Fehler finde ich überhaupt nix...

              H 1 Antwort Letzte Antwort
              0
              • T Offline
                T Offline
                TDCroPower
                schrieb am zuletzt editiert von
                #9

                ich häng mich mal hier dran, meine BLE Datenpunkte werden aktuell ebenfalls nicht aktualisiert.
                Nutze aktuell auch das Docker Image 7.2.0 mit NodeJS v16.18.1

                root@rpi4-8GB:/opt/iobroker# npm la object-assign
                npm ERR! Cannot read properties of undefined (reading 'description')
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /opt/iobroker/.npm/_logs/2022-12-20T23_31_09_035Z-debug-0.log
                
                root@rpi4-8GB:/opt/iobroker# uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                aarch64
                Docker-Installation
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v16.18.1
                v16.18.1
                8.19.2
                4.0.24
                root
                root
                
                
                /opt/iobroker
                Hit:1 http://deb.debian.org/debian bullseye InRelease
                Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
                Hit:3 http://deb.debian.org/debian bullseye-updates InRelease  
                Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease  
                Reading package lists... Done                                  
                Building dependency tree... Done
                Reading state information... Done
                1 package can be upgraded. Run 'apt list --upgradable' to see it.
                nodejs:
                  Installed: 16.18.1-deb-1nodesource1
                  Candidate: 16.19.0-deb-1nodesource1
                  Version table:
                     16.19.0-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                 *** 16.18.1-deb-1nodesource1 100
                        100 /var/lib/dpkg/status
                     12.22.12~dfsg-1~deb11u1 500
                        500 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages
                     12.22.5~dfsg-2~11u1 500
                        500 http://deb.debian.org/debian bullseye/main arm64 Packages
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • T TDCroPower

                  ich häng mich mal hier dran, meine BLE Datenpunkte werden aktuell ebenfalls nicht aktualisiert.
                  Nutze aktuell auch das Docker Image 7.2.0 mit NodeJS v16.18.1

                  root@rpi4-8GB:/opt/iobroker# npm la object-assign
                  npm ERR! Cannot read properties of undefined (reading 'description')
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /opt/iobroker/.npm/_logs/2022-12-20T23_31_09_035Z-debug-0.log
                  
                  root@rpi4-8GB:/opt/iobroker# uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                  aarch64
                  Docker-Installation
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  v16.18.1
                  v16.18.1
                  8.19.2
                  4.0.24
                  root
                  root
                  
                  
                  /opt/iobroker
                  Hit:1 http://deb.debian.org/debian bullseye InRelease
                  Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
                  Hit:3 http://deb.debian.org/debian bullseye-updates InRelease  
                  Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease  
                  Reading package lists... Done                                  
                  Building dependency tree... Done
                  Reading state information... Done
                  1 package can be upgraded. Run 'apt list --upgradable' to see it.
                  nodejs:
                    Installed: 16.18.1-deb-1nodesource1
                    Candidate: 16.19.0-deb-1nodesource1
                    Version table:
                       16.19.0-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
                   *** 16.18.1-deb-1nodesource1 100
                          100 /var/lib/dpkg/status
                       12.22.12~dfsg-1~deb11u1 500
                          500 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages
                       12.22.5~dfsg-2~11u1 500
                          500 http://deb.debian.org/debian bullseye/main arm64 Packages
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #10

                  @tdcropower

                  npm ls object-assign
                  

                  Und warum Docker auf einem Raspberry 4? Manche Dinge werde ich wohl nie verstehen...

                  Meld dich wenigstens nicht als root an, beim Raspberry gibt es ja eine User-Verwaltung.

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

                  T 1 Antwort Letzte Antwort
                  0
                  • H holgerwolf

                    Ich habs so nicht hinbekommen.

                    Dachte ich installier jetzt erstmal die neuen node.js Versionen und dann den ble Adapter.

                    Jetzt bringt der aber beim Starten den Error "noble.on is not a function". Die zusätzlich benötigten Libraries (bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin) hatte vorab installiert. rebuild habe ich auch ohne Fehler erneut ausgeführt.
                    Zu dem noble.on Fehler finde ich überhaupt nix...

                    H Offline
                    H Offline
                    holgerwolf
                    schrieb am zuletzt editiert von
                    #11

                    @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

                    Ich habs so nicht hinbekommen.

                    Dachte ich installier jetzt erstmal die neuen node.js Versionen und dann den ble Adapter.

                    Jetzt bringt der aber beim Starten den Error "noble.on is not a function". Die zusätzlich benötigten Libraries (bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin) hatte vorab installiert. rebuild habe ich auch ohne Fehler erneut ausgeführt.
                    Zu dem noble.on Fehler finde ich überhaupt nix...

                    @AlCalzone
                    Hast du noch ne Idee zu dem noble Error? Habe das Gefühl, dass durch die Neuinstallation direkt mit 16.x irgendwas fehlt. Vielleicht installier ich nochmal neu mit ner alten Node Version und dann erst die Updates... Betrifft zum Glück nur den Slave für den Aussensensor.

                    H 1 Antwort Letzte Antwort
                    0
                    • H holgerwolf

                      @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

                      Ich habs so nicht hinbekommen.

                      Dachte ich installier jetzt erstmal die neuen node.js Versionen und dann den ble Adapter.

                      Jetzt bringt der aber beim Starten den Error "noble.on is not a function". Die zusätzlich benötigten Libraries (bluetooth bluez libbluetooth-dev libudev-dev libcap2-bin) hatte vorab installiert. rebuild habe ich auch ohne Fehler erneut ausgeführt.
                      Zu dem noble.on Fehler finde ich überhaupt nix...

                      @AlCalzone
                      Hast du noch ne Idee zu dem noble Error? Habe das Gefühl, dass durch die Neuinstallation direkt mit 16.x irgendwas fehlt. Vielleicht installier ich nochmal neu mit ner alten Node Version und dann erst die Updates... Betrifft zum Glück nur den Slave für den Aussensensor.

                      H Offline
                      H Offline
                      holgerwolf
                      schrieb am zuletzt editiert von holgerwolf
                      #12

                      Da am wohl Einiges durch das node Update durcheinander. Es gibt eine neue Version vom ble Adapter auf Guthub:
                      https://github.com/AlCalzone/ioBroker.ble

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • H holgerwolf

                        Da am wohl Einiges durch das node Update durcheinander. Es gibt eine neue Version vom ble Adapter auf Guthub:
                        https://github.com/AlCalzone/ioBroker.ble

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

                        @holgerwolf sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

                        Da am wohl Einiges durch das node Update durcheinander.

                        Naja, alte Deps wohl. Muss natürlich auch regelmäßig nachgezogen werden.

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

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @tdcropower

                          npm ls object-assign
                          

                          Und warum Docker auf einem Raspberry 4? Manche Dinge werde ich wohl nie verstehen...

                          Meld dich wenigstens nicht als root an, beim Raspberry gibt es ja eine User-Verwaltung.

                          T Offline
                          T Offline
                          TDCroPower
                          schrieb am zuletzt editiert von TDCroPower
                          #14

                          @thomas-braun ganz einfach, durch Docker bleibt das Raspberry OS soweit fast komplett original und kann ohne Probleme aktualisiert werden ohne das irgendwie was zerschoßen wird.
                          Hatte damals einen OrangePi auf dem Unifi Controller nicht installiert werden konnte, da einige Abhängigkeiten auf Armbian nicht vorhanden sind/waren... welche habe nicht mehr im Kopf, war aber ein Krampf diese zu lösen.
                          Da bin ich damals auf Docker umgestiegen und will es NIE mehr missen.
                          Ich kann meine docker-compose Config auf jeden Host/OS umziehen und es läuft sofort.
                          Gerade bei ioBroker ist es so simpel vor einem Update ein Fullbackup zu erstellen, indem man einfach den Container stoppt, das Container Verzeichnis kopiert und dann seine Spielereien testet... falls was kaputt geht einfach das Verzeichnis wieder zurück rollen und alles ist prima... dauert nur einige Sekunden!
                          Vertrau dem BackItUp Adapter bei sowas nicht mehr zu 100%, hat oft mal nicht alles funktioniert, wenn man ein Backup wieder einspielen wollte (das Yahka Adapter Files Problem zum Beispiel ;) ).

                          Zum User root, dieser ist nur im Container eingeloggt, ist der default wenn man per Portainer in den Container sich einloggt... aber für dich gerne als iobroker User der im Container eigentlich genutzt wird...

                          iobroker@rpi4-8GB:~$ pwd
                          /opt/iobroker
                          iobroker@rpi4-8GB:~$ ls -l
                          total 672
                          drwxrwxr-x   2 iobroker iobroker   4096 Apr  6  2022 backups
                          -rwxrwxrwx   1 iobroker iobroker    131 Mär 30  2022 INSTALLER_INFO.txt
                          lrwxrwxrwx   1 iobroker iobroker     22 Mär 30  2022 iob -> /opt/iobroker/iobroker
                          -rwxr-xr-x   1 iobroker iobroker    178 Dez 21 01:06 iobroker
                          -rwxr-xr-x   1 iobroker iobroker    178 Dez 20 23:54 iobroker.bak
                          drwxrwxr-x  11 iobroker iobroker   4096 Dez 21 16:04 iobroker-data
                          drwxrwxr-x   2 iobroker iobroker   4096 Dez 21 16:30 log
                          drwxrwxr-x 593 iobroker iobroker  24576 Dez 21 01:12 node_modules
                          -rw-rwxr--   1 iobroker iobroker    987 Dez 21 01:12 package.json
                          -rw-rwxr--   1 iobroker iobroker 633949 Dez 21 01:12 package-lock.json
                          
                          iobroker@rpi4-8GB:~$ npm ls object-assign
                          iobroker.inst@3.0.0 /opt/iobroker
                          ├─┬ iobroker.ble@0.13.1
                          │ └─┬ @abandonware/noble@1.9.2-18
                          │   └─┬ @abandonware/bluetooth-hci-socket@0.5.3-9
                          │     └─┬ @mapbox/node-pre-gyp@1.0.10
                          │       └─┬ npmlog@5.0.1
                          │         └─┬ gauge@3.0.2
                          │           └── object-assign@4.1.1 deduped
                          └─┬ iobroker.zigbee@1.8.9
                            └─┬ zigbee-herdsman@0.14.80
                              └─┬ mz@2.7.0
                                └── object-assign@4.1.1
                          
                          iobroker@rpi4-8GB:~$
                          
                          1 Antwort Letzte Antwort
                          0
                          • SpikeNbgS Offline
                            SpikeNbgS Offline
                            SpikeNbg
                            schrieb am zuletzt editiert von
                            #15

                            @tdcropower Dein Post ist zwar schon älter, aber ich hab grad das gleiche Problem und bin durch die Suche drauf gestoßen.. Bei mir werden ebenfalls die Werte (z.B. Temperatur, Luftfeuchtigkeit) vom ble nicht aktualisiert, wobei der rssi Wert z.B. schon aktualisiert wird.
                            Habe dazu jetzt gesehen, dass es einen Bug gibt: https://github.com/AlCalzone/ioBroker.ble/issues/518
                            (hier nur zur Info, wenn jemand ebenfalls auf das Problem stößt und sich, wie ich, an den Bug für Updates dran hängen will) :beers:

                            werner2000xW 1 Antwort Letzte Antwort
                            0
                            • SpikeNbgS SpikeNbg

                              @tdcropower Dein Post ist zwar schon älter, aber ich hab grad das gleiche Problem und bin durch die Suche drauf gestoßen.. Bei mir werden ebenfalls die Werte (z.B. Temperatur, Luftfeuchtigkeit) vom ble nicht aktualisiert, wobei der rssi Wert z.B. schon aktualisiert wird.
                              Habe dazu jetzt gesehen, dass es einen Bug gibt: https://github.com/AlCalzone/ioBroker.ble/issues/518
                              (hier nur zur Info, wenn jemand ebenfalls auf das Problem stößt und sich, wie ich, an den Bug für Updates dran hängen will) :beers:

                              werner2000xW Offline
                              werner2000xW Offline
                              werner2000x
                              schrieb am zuletzt editiert von
                              #16

                              @spikenbg Ich habe jetzt auch nach update auf bullseye und Node auf v16 Probleme mit dem BLE Adapter.
                              Es kommen keine Geräte herein. der "driverstate steht auf "powerOff" und connection auf "fail".
                              ble_log.txt

                              Raspi4 8 GB mit Aqara Zigbee USB, iob
                              Innogy Smarthome
                              Bosch Bridge 2
                              HUE Bridge
                              OpenWB Wallbox mit EVU Kit
                              Google Nest Pro Hub
                              HA auf uGreen dxp4800

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • werner2000xW werner2000x

                                @spikenbg Ich habe jetzt auch nach update auf bullseye und Node auf v16 Probleme mit dem BLE Adapter.
                                Es kommen keine Geräte herein. der "driverstate steht auf "powerOff" und connection auf "fail".
                                ble_log.txt

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

                                @werner2000x

                                setcap durchgeführt? Siehe Readme des Adapters.

                                rfkill
                                

                                sagt?

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

                                werner2000xW 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @werner2000x

                                  setcap durchgeführt? Siehe Readme des Adapters.

                                  rfkill
                                  

                                  sagt?

                                  werner2000xW Offline
                                  werner2000xW Offline
                                  werner2000x
                                  schrieb am zuletzt editiert von
                                  #18

                                  @thomas-braun ```
                                  rfkill
                                  ID TYPE DEVICE SOFT HARD
                                  0 wlan phy0 blocked unblocked
                                  1 bluetooth hci0 blocked unblocked

                                  Raspi4 8 GB mit Aqara Zigbee USB, iob
                                  Innogy Smarthome
                                  Bosch Bridge 2
                                  HUE Bridge
                                  OpenWB Wallbox mit EVU Kit
                                  Google Nest Pro Hub
                                  HA auf uGreen dxp4800

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • werner2000xW werner2000x

                                    @thomas-braun ```
                                    rfkill
                                    ID TYPE DEVICE SOFT HARD
                                    0 wlan phy0 blocked unblocked
                                    1 bluetooth hci0 blocked unblocked

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

                                    @werner2000x

                                    rfkill unblock bluetooth
                                    

                                    ggf. mit

                                    sudo rfkill unblock bluetooth
                                    

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

                                    werner2000xW 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @werner2000x

                                      rfkill unblock bluetooth
                                      

                                      ggf. mit

                                      sudo rfkill unblock bluetooth
                                      
                                      werner2000xW Offline
                                      werner2000xW Offline
                                      werner2000x
                                      schrieb am zuletzt editiert von
                                      #20

                                      @thomas-braun sagte in BLE Adapter funktioniert nach Node Update auf v16 nicht mehr:

                                      rfkill unblock bluetooth

                                      Ja, Danke. Der Adapter ist jetzt grün und sucht nach Geräten. ;-)

                                      Raspi4 8 GB mit Aqara Zigbee USB, iob
                                      Innogy Smarthome
                                      Bosch Bridge 2
                                      HUE Bridge
                                      OpenWB Wallbox mit EVU Kit
                                      Google Nest Pro Hub
                                      HA auf uGreen dxp4800

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


                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      593

                                      Online

                                      32.7k

                                      Benutzer

                                      82.4k

                                      Themen

                                      1.3m

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

                                      • Du hast noch kein Konto? Registrieren

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