Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Fehler durch gleichzeitiges Update?

    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

    Zigbee Fehler durch gleichzeitiges Update?

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      M-A-X last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Qnap Virtuell
      Arbeitsspeicher: 3GB
      Festplattenart: virtuell
      Betriebssystem: Debian
      Node-Version: 16.18.1
      Nodejs-Version: 16.18.1
      NPM-Version: 8.19.2
      Installationsart: Skript

      Hi.
      Leider ist mir gestern etwas blödes passiert. Ich wollte einen anderen Adapter (leider weiß ich nicht mehr welcher das war - ich glaube web?) updaten und habe im Info Menü versehentlich nach dem Start des Updates auch den Zigbee Adapter angeklickt, sodass auch dieser auf die latest updaten wollte (quasi zeitgleich).
      Seitdem kann ich den Zigbee Adapter nicht mehr starten... folgende Fehlermeldungen kommen:

      host.iobroker
      	2022-12-11 07:39:26.703	error	instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      zigbee.0
      	2022-12-11 07:39:25.509	error	utils.getAbsoluteInstanceDataDir is not a function
      zigbee.0
      	2022-12-11 07:39:25.507	error	TypeError: utils.getAbsoluteInstanceDataDir is not a function at Zigbee.expandFileName (/opt/iobroker/node_modules/iobroker.zigbee/main.js:874:32) at new StatesController (/opt/iobroker/node_modules/iobroker.zigbee/lib/statescontroller.js:20:28) at new Zigbee (/opt/iobroker/node_modules/iobroker.zigbee/main.js:73:29) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:919:5) at Module._compile (node:internal/modules/cjs/loader:1155:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47
      zigbee.0
      	2022-12-11 07:39:25.503	error	uncaught exception: utils.getAbsoluteInstanceDataDir is not a function
      host.iobroker
      	2022-12-11 07:38:50.149	error	instance system.adapter.zigbee.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      zigbee.0
      	2022-12-11 07:38:48.923	error	utils.getAbsoluteInstanceDataDir is not a function
      zigbee.0
      	2022-12-11 07:38:48.920	error	TypeError: utils.getAbsoluteInstanceDataDir is not a function at Zigbee.expandFileName (/opt/iobroker/node_modules/iobroker.zigbee/main.js:874:32) at new StatesController (/opt/iobroker/node_modules/iobroker.zigbee/lib/statescontroller.js:20:28) at new Zigbee (/opt/iobroker/node_modules/iobroker.zigbee/main.js:73:29) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.zigbee/main.js:919:5) at Module._compile (node:internal/modules/cjs/loader:1155:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:22:47
      zigbee.0
      	2022-12-11 07:38:48.907	error	uncaught exception: utils.getAbsoluteInstanceDataDir is not a function
      

      Ich habe gestern als erstes versucht den Adapter einfach nochmal drüber zu installieren (1.8.9.), dann versucht zu downgraden (1.8.7) beides über die Konsole bei gestopptem IOB.
      Dann hab ich den Adapter komplett deinstalliert (sowohl Instanz, als auch Adapter) und beides neu installiert. Einzige Konsequenz (außer dem Fehler) ist, dass alle Geräte weg sind. Das wäre nicht so schlimm, da ich die recht "schnell" wieder anlernen könnte..
      Zu Guter Letzt hab ich eben ein 3 Tage altes iobroker Backup über den Backup Adapter eingespielt (und auch das Zigbee Backup von vor 3 Tagen). Leider ohne Erfolg...
      Ich gehe also davon aus, dass irgendwas im Grundsystem zerschossen ist?!?
      Hat jemand einen Tipp?
      Vielen Dank im Voraus

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @M-A-X last edited by Thomas Braun

        @m-a-x

        Wie bist du denn beim Grundsystem unterwegs?

        nodeJS schaut 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
        

        Und

        iob update 
        

        liefert?

        M 1 Reply Last reply Reply Quote 0
        • M
          M-A-X @Thomas Braun last edited by M-A-X

          @thomas-braun

          max@iobroker:/opt/iobroker$ nodejs -v
          v16.18.1
          max@iobroker:/opt/iobroker$ iob update
          Used repository: Beta (latest)
          Adapter    "admin"        : 6.2.23   , installed 6.2.23
          Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
          Adapter    "backitup"     : 2.5.9    , installed 2.5.9
          Adapter    "ble"          : 0.13.0   , installed 0.13.0
          Adapter    "cloud"        : 4.3.0    , installed 4.3.0
          Adapter    "daswetter"    : 3.1.4    , installed 3.1.4
          Adapter    "discovery"    : 3.1.0    , installed 3.1.0
          Adapter    "flot"         : 1.11.0   , installed 1.11.0
          Adapter    "harmony"      : 1.2.2    , installed 1.2.2
          Adapter    "history"      : 2.2.4    , installed 2.2.4
          Adapter    "hm-rega"      : 3.0.43   , installed 3.0.43
          Adapter    "hm-rpc"       : 1.15.16  , installed 1.15.16
          Adapter    "homeconnect"  : 1.1.1    , installed 1.1.1
          Adapter    "ical"         : 1.13.2   , installed 1.13.2
          Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
          Adapter    "info"         : 1.9.23   , installed 1.9.23
          Adapter    "iot"          : 1.13.0   , installed 1.13.0
          Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
          Adapter    "javascript"   : 6.1.4    , installed 6.1.4
          Controller "js-controller": 4.0.23   , installed 4.0.23
          Adapter    "melcloud"     : 1.2.1    , installed 1.2.1
          Adapter    "mielecloudservice": 6.4.0, installed 6.4.0
          Adapter    "mihome-vacuum": 3.8.8    , installed 3.8.8
          Adapter    "miio"         : 0.0.13   , installed 0.0.13
          Adapter    "ping"         : 1.5.3    , installed 1.5.3
          Adapter    "rct"          : 1.0.1    , installed 1.0.1
          Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
          Adapter    "socketio"     : 6.3.1    , installed 6.3.1
          Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
          Adapter    "telegram"     : 1.15.2   , installed 1.15.2
          Adapter    "tesla-motors" : 1.3.1    , installed 1.3.1
          Adapter    "tr-064"       : 4.2.17   , installed 4.2.17
          Adapter    "vis"          : 1.4.15   , installed 1.4.15
          Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
          Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
          Adapter    "vis-icontwo"  : 0.90.0   , installed 0.90.0
          Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
          Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
          Adapter    "web"          : 5.3.1    , installed 5.3.1
          Adapter    "ws"           : 2.3.1    , installed 2.3.1
          Adapter    "yeelight-2"   : 1.2.1    , installed 1.2.1
          Adapter    "zigbee"       : 1.8.9    , installed 1.8.9
          

          Meintest du das :)?

          max@iobroker:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/nul                                                                    l
          [sudo] Passwort für max:
          max@iobroker:/opt/iobroker$ uname -m && test -f /opt/scripts/.docker_config/.thi                                                                    sisdocker && 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/nu                                                                    ll && sudo apt update && apt policy nodejs
          x86_64
          Kein Docker
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v16.18.1
          v16.18.1
          8.19.2
          4.0.23
          max
          max cdrom floppy sudo audio dip video plugdev netdev iobroker
          tty
          
          /opt/iobroker
          OK:1 http://deb.debian.org/debian bullseye InRelease
          OK:2 http://deb.debian.org/debian-security bullseye-security InRelease
          OK:3 http://deb.debian.org/debian bullseye-updates InRelease
          OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
          OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
          Paketlisten werden gelesen… Fertig
          Abhängigkeitsbaum wird aufgebaut… Fertig
          Statusinformationen werden eingelesen… Fertig
          Alle Pakete sind aktuell.
          nodejs:
            Installiert:           16.18.1-deb-1nodesource1
            Installationskandidat: 16.18.1-deb-1nodesource1
            Versionstabelle:
           *** 16.18.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                  100 /var/lib/dpkg/status
               14.21.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
               12.22.12~dfsg-1~deb11u1 500
                  500 http://deb.debian.org/debian-security bullseye-security/main amd64 P                                                                    ackages
               12.22.5~dfsg-2~11u1 500
                  500 http://deb.debian.org/debian bullseye/main amd64 Packages
          max@iobroker:/opt/iobroker$
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @M-A-X last edited by

            @m-a-x

            Das ist soweit i.O.

            Keine Ahnung was da falsch ist.

            M 1 Reply Last reply Reply Quote 0
            • M
              M-A-X @Thomas Braun last edited by

              @thomas-braun
              Hilft das vielleicht? Ist der Fehler wenn ich bei beendetem iobroker versuche zigbee zu downgraden:

              er$ sudo iob upgrade iobroker.zigbee@1.8.7
              
              This downgrade of "zigbee" will remove the following changes:
              ==========================================================================
              -> 1.8.9
              fix lidl plug
              
              -> 1.8.8
              fix lidl plug
              ==========================================================================
              
              Would you like to downgrade zigbee from @1.8.9 to @1.8.7 now? [(y)es, (n)o]:
              y
              Update zigbee from @1.8.9 to @1.8.7
              NPM version: 8.19.2
              Installing iobroker.zigbee@1.8.7... (System call)
              host.iobroker Cannot install iobroker.zigbee@1.8.7: 217
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @M-A-X last edited by Thomas Braun

                @m-a-x

                iobroker wird NICHT per sudo angepackt.
                Wo kommt der Blödsinn immer her?

                iob stop
                iob fix
                iob start
                

                Zu 217: Siehe den angepinnten Beitrag im Forum.

                M 1 Reply Last reply Reply Quote 0
                • M
                  M-A-X @Thomas Braun last edited by

                  @thomas-braun
                  Hey.
                  Das mit dem Sudo lasse ich auch immer - außer wenn ich verzweifelt bin 🙂
                  Dein Tipp mit dem angepinnten Thema hat mir zumindest in soweit geholfen, dass ich Zigbee neu installieren konnte. Leider kenne ich meine Einstellungen nicht, sodass auch das Zigbee Backup mir zwar die Geräte zurück gebracht hat, diese aber falsch benannt sind und keine Verbindung anzeigen 🙂
                  Wie gesagt bekomme ich das aber durch komplettes anlernen (sind nur ca 20 Geräte) wieder hin 🙂
                  Vielen Dank also für die kompetente Hilfe

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

                    @m-a-x sagte in Zigbee Fehler durch gleichzeitiges Update?:

                    außer wenn ich verzweifelt bin

                    Gerade dann ist das zu unterlassen.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    725
                    Online

                    31.8k
                    Users

                    80.0k
                    Topics

                    1.3m
                    Posts

                    2
                    8
                    259
                    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