Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

    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

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

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

      @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

      wheezy

      Ist so tot, das stinkt schon nicht mehr. Ersetze das durch buster.
      Bzw. das kann komplett raus.

      Und node6 ist genauso lange tot. Änder das auf node12.

      Zeig mal den Inhalt der Datei

      cat /etc/apt/sources.list
      
      N 1 Reply Last reply Reply Quote 1
      • N
        nidd @Thomas Braun last edited by

        @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

        cat /etc/apt/sources.list

        ich habe den Pi erst vor 2 Monaten aufgesetzt und da das image von raspberrypi.org genommen 🤔
        gibt's ne Anleitung wie ich das update?

        deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
        # Uncomment line below then 'apt-get update' to enable 'apt-get source'
        #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
        deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
        deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @nidd last edited by Thomas Braun

          @nidd
          Man nimmt ja auch keine Images.
          Welches Image hast du denn da jetzt erwischt?

          lsb_release -a
          

          Die Zeilen 4+5 kannst du aber schon mal löschen, das ist toter Quatsch.

          Homoran N 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Thomas Braun last edited by

            @thomas-braun sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

            Man nimmt ja auch keine Images.

            was denn?

            @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

            das image von raspberrypi.org

            ist das Betriebssystem

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

              @homoran
              Ja...
              Man nimmt sowas wie noobs oder den Nachfolger, dessen Name mir gerade entfallen ist. Dann bekommt man auch nix untergejubelt, das mit wheezy zu tun hat.
              Wobei ich stark davon ausgehe, das die Einträge da im Nachgang manuell reingefummelt wurden.

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Thomas Braun last edited by

                @thomas-braun sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                Man nimmt sowas wie noobs oder den Nachfolger, dessen Name mir gerade entfallen ist.

                nee, immer das aktuelle RapberryOS lite im Downloadbereich.

                @thomas-braun sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                Dann bekommt man auch nix untergejubelt, das mit wheezy zu tun hat.

                Das würde mich allerdings auch sehr interessieren, wo das jetzt herkam.
                lag vielleicht nocch seit Jahren im Download-Ordner

                1 Reply Last reply Reply Quote 1
                • N
                  nidd @Thomas Braun last edited by

                  @thomas-braun

                  unter lsb_release erhalte ich

                  
                  No LSB modules are available.
                  Distributor ID: Raspbian
                  Description:    Raspbian GNU/Linux 10 (buster)
                  Release:        10
                  Codename:       buster
                  
                  

                  wenn ich mich richtig erinnere hatte ich den Downloader hier verwendet: https://www.raspberrypi.org/software/ (aber mit Desktop)
                  ich dachte auf der offiziellen Seite würde ich das aktuellste erhalten...

                  ich würde meinen Raspberry auch wohl neu aufsetzen, habe mit wenig Ahnung tatsächlich viel rumgespielt. Welches OS soll ich denn dann verwenden?
                  c756c878-088f-4dfa-a850-bcf24bf0af46-image.png

                  gruß
                  Nidd

                  Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @nidd last edited by Homoran

                    @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                    Welches OS soll ich denn dann verwenden?

                    das letzte, os lite

                    @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                    ich dachte auf der offiziellen Seite würde ich das aktuellste erhalten..

                    solltest du auch.
                    deswegen kann es eigentlich kein wheezy sein.
                    ist ja auch ein buster!

                    dann ist bei dir was anderes krumm.

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

                      @nidd
                      Nimm die beiden Zeilen halt raus, dann passt es doch.

                      N 1 Reply Last reply Reply Quote 0
                      • K
                        kaifu @apollon77 last edited by

                        @apollon77
                        Erstmal vielen Dank für die Anleitung. Fast alles hat auch so geklappt. Zigbee ging mit Warten grundsätzlich auch. Ich habe allerdings 2 Zigbee Instanzen und die zweite macht Ärger:

                        2021-05-01 21:17:22.097 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
                        2021-05-01 21:17:22.097 - error: host.raspberrypi Caught by controller[0]: throw e;
                        2021-05-01 21:17:22.097 - error: host.raspberrypi Caught by controller[0]: ^
                        2021-05-01 21:17:22.097 - error: host.raspberrypi Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: was compiled against a different Node.js version using
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                        2021-05-01 21:17:22.098 - error: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                        2021-05-01 21:17:22.099 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                        2021-05-01 21:17:22.100 - error: host.raspberrypi instance system.adapter.zigbee.1 terminated with code 1 (JS_CONTROLLER_STOPPED)
                        

                        Daraufhin habe ich npm install --production in /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings ausgeführt.

                        Zigbee.0 ist grün, Zigbee.1 bleibt auf gelb.

                        Es kommt Folgendes (hab mal alles kopiert, keine Ahnung was wichtig ist...):

                        2021-05-02 09:29:30.152 - error: zigbee.1 (26947) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                        2021-05-02 09:29:30.153 - error: zigbee.1 (26947) unhandled promise rejection: Cannot read property 'getEntries' of null
                        2021-05-02 09:29:30.155 - error: zigbee.1 (26947) TypeError: Cannot read property 'getEntries' of null
                        at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/device.js:221:55)
                        at Function.all (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/device.js:241:16)
                        at Controller.getDevices (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:289:31)
                        at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:206:49)
                        at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:222:43)
                        at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:192:42)
                        at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:310:20)
                        at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:581:41)
                        at Zigbee.emit (events.js:314:20)
                        at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8620:22)
                        2021-05-02 09:29:30.156 - error: zigbee.1 (26947) Cannot read property 'getEntries' of null
                        2021-05-02 09:29:31.145 - info: host.raspberrypi stopInstance system.adapter.zigbee.1 killing pid 26947
                        2021-05-02 09:29:32.520 - info: host.raspberrypi "system.adapter.zigbee.1" enabled
                        2021-05-02 09:29:32.554 - info: host.raspberrypi instance system.adapter.zigbee.1 started with pid 11723
                        2021-05-02 09:29:34.829 - error: zigbee.1 (11723) zigbee.1 already running
                        2021-05-02 09:29:34.832 - warn: zigbee.1 (11723) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
                        2021-05-02 09:29:35.423 - error: host.raspberrypi instance system.adapter.zigbee.1 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
                        2021-05-02 09:29:35.424 - info: host.raspberrypi Restart adapter system.adapter.zigbee.1 because enabled
                        2021-05-02 09:29:35.784 - error: host.raspberrypi instance system.adapter.zigbee.1 terminated by request of the instance itself and will not be restarted, before user restarts it.
                        2021-05-02 09:29:35.784 - info: host.raspberrypi Do not restart adapter system.adapter.zigbee.1 because desired by instance
                        2021-05-02 09:30:05.470 - info: host.raspberrypi instance system.adapter.zigbee.1 started with pid 11737
                        2021-05-02 09:30:08.265 - info: zigbee.1 (11737) starting. Version 1.4.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16
                        2021-05-02 09:30:08.366 - info: zigbee.1 (11737) Starting Zigbee npm ...
                        2021-05-02 09:30:08.921 - info: zigbee.1 (11737) Installed Version: iobroker.zigbee@1.4.4
                        2021-05-02 09:30:11.604 - info: host.raspberrypi Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                        2021-05-02 09:30:48.540 - error: zigbee.1 (11737) Failed to start Zigbee
                        2021-05-02 09:30:48.543 - error: zigbee.1 (11737) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
                        at ZStackAdapter. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
                        at Generator.throw ()
                        at rejected (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
                        2021-05-02 09:30:58.546 - info: zigbee.1 (11737) Try to reconnect. 1 attempts left
                        2021-05-02 09:30:58.548 - info: zigbee.1 (11737) Starting Zigbee npm ...
                        2021-05-02 09:30:58.592 - info: zigbee.1 (11737) Installed Version: iobroker.zigbee@1.4.4
                        2021-05-02 09:31:03.854 - error: zigbee.1 (11737) Failed to start Zigbee
                        2021-05-02 09:31:03.856 - error: zigbee.1 (11737) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
                        at Znp. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
                        at Generator.next ()
                        at /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
                        at new Promise ()
                        at __awaiter (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
                        at SerialPort. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
                        at SerialPort._error (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
                        at /opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
                        2021-05-02 09:37:16.246 - info: host.raspberrypi "system.adapter.zigbee.1" disabled
                        2021-05-02 09:37:16.258 - info: host.raspberrypi stopInstance system.adapter.zigbee.1 (force=false, process=true)
                        2021-05-02 09:37:16.268 - info: zigbee.1 (11737) Got terminate signal TERMINATE_YOURSELF
                        2021-05-02 09:37:16.268 - info: host.raspberrypi stopInstance system.adapter.zigbee.1 send kill signal
                        2021-05-02 09:37:16.270 - info: zigbee.1 (11737) cleaned everything up...
                        2021-05-02 09:37:16.277 - info: zigbee.1 (11737) Zigbee: disabling joining new devices.
                        2021-05-02 09:37:16.280 - warn: zigbee.1 (11737) Failed to stop zigbee during startup
                        2021-05-02 09:37:16.281 - info: zigbee.1 (11737) terminating
                        2021-05-02 09:37:16.283 - info: zigbee.1 (11737) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        2021-05-02 09:37:16.285 - error: zigbee.1 (11737) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                        2021-05-02 09:37:16.286 - error: zigbee.1 (11737) unhandled promise rejection: Cannot read property 'getEntries' of null
                        2021-05-02 09:37:16.292 - error: zigbee.1 (11737) TypeError: Cannot read property 'getEntries' of null
                        at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/device.js:221:55)
                        at Function.all (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/model/device.js:241:16)
                        at Controller.getDevices (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/controller/controller.js:289:31)
                        at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:206:49)
                        at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:222:43)
                        at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:192:42)
                        at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:310:20)
                        at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:581:41)
                        at Zigbee.emit (events.js:314:20)
                        at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:8620:22)
                        2021-05-02 09:37:16.292 - error: zigbee.1 (11737) Cannot read property 'getEntries' of null
                        2021-05-02 09:37:17.277 - info: host.raspberrypi stopInstance system.adapter.zigbee.1 killing pid 11737
                        2021-05-02 09:37:18.707 - info: host.raspberrypi "system.adapter.zigbee.1" enabled
                        2021-05-02 09:37:18.763 - info: host.raspberrypi instance system.adapter.zigbee.1 started with pid 12125
                        2021-05-02 09:37:20.991 - error: zigbee.1 (12125) zigbee.1 already running
                        2021-05-02 09:37:20.993 - warn: zigbee.1 (12125) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
                        2021-05-02 09:37:21.589 - error: host.raspberrypi instance system.adapter.zigbee.1 terminated with code 7 (ADAPTER_ALREADY_RUNNING)
                        2021-05-02 09:37:21.590 - info: host.raspberrypi Restart adapter system.adapter.zigbee.1 because enabled
                        2021-05-02 09:37:21.598 - info: javascript.0 (23961) script.js.Eigene_Skripte.##on_log_-_Überwachung_und_telegram: ERROR an telegram gesendet
                        2021-05-02 09:37:21.906 - error: host.raspberrypi instance system.adapter.zigbee.1 terminated by request of the instance itself and will not be restarted, before user restarts it.
                        2021-05-02 09:37:21.907 - info: host.raspberrypi Do not restart adapter system.adapter.zigbee.1 because desired by instance
                        2021-05-02 09:37:48.558 - info: host.raspberrypi "system.adapter.zigbee.0" disabled
                        2021-05-02 09:37:48.562 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 (force=false, process=true)
                        2021-05-02 09:37:48.580 - info: host.raspberrypi stopInstance system.adapter.zigbee.0 send kill signal
                        2021-05-02 09:37:48.578 - info: zigbee.0 (25626) Got terminate signal TERMINATE_YOURSELF
                        2021-05-02 09:37:48.581 - info: zigbee.0 (25626) cleaned everything up...
                        2021-05-02 09:37:48.586 - info: zigbee.0 (25626) Zigbee: disabling joining new devices.
                        2021-05-02 09:37:48.871 - info: zigbee.0 (25626) terminating
                        2021-05-02 09:37:48.872 - info: zigbee.0 (25626) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                        2021-05-02 09:37:49.496 - info: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                        2021-05-02 09:37:49.860 - info: host.raspberrypi "system.adapter.zigbee.1" disabled
                        2021-05-02 09:37:54.304 - error: zigbee.1 (12144) adapter disabled
                        2021-05-02 09:37:54.323 - warn: zigbee.1 (12144) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                        2021-05-02 09:37:54.930 - error: host.raspberrypi instance system.adapter.zigbee.1 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
                        2021-05-02 09:37:54.931 - info: host.raspberrypi Do not restart adapter system.adapter.zigbee.1 because disabled or deleted
                        2021-05-02 09:37:57.145 - info: host.raspberrypi "system.adapter.zigbee.0" enabled
                        2021-05-02 09:37:57.197 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 12174
                        2021-05-02 09:37:58.011 - info: host.raspberrypi "system.adapter.zigbee.1" enabled
                        2021-05-02 09:37:58.053 - info: host.raspberrypi instance system.adapter.zigbee.1 started with pid 12181
                        2021-05-02 09:37:59.855 - info: zigbee.0 (12174) starting. Version 1.4.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16
                        2021-05-02 09:37:59.966 - info: zigbee.0 (12174) Starting Zigbee npm ...
                        2021-05-02 09:38:00.629 - info: zigbee.0 (12174) Installed Version: iobroker.zigbee@1.4.4
                        2021-05-02 09:38:00.910 - info: zigbee.1 (12181) starting. Version 1.4.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16
                        2021-05-02 09:38:01.013 - info: zigbee.1 (12181) Starting Zigbee npm ...
                        2021-05-02 09:38:01.576 - info: zigbee.1 (12181) Installed Version: iobroker.zigbee@1.4.4
                        2021-05-02 09:38:02.235 - info: zigbee.0 (12174) Coordinator firmware version: {"type":"zStack30x","meta":{"transportrev":2,"product":2,"majorrel":2,"minorrel":7,"maintrel":2,"revision":20200211}}
                        2021-05-02 09:38:02.239 - info: zigbee.0 (12174) Disable LED
                        2021-05-02 09:38:02.242 - info: zigbee.0 (12174) --> transmitPower : normal
                        2021-05-02 09:38:02.249 - info: zigbee.0 (12174) Currently 5 devices are joined:
                        2021-05-02 09:38:02.280 - info: zigbee.0 (12174) Configuring 0x04cf8cdf3c7759af lumi.sen_ill.mgl01
                        2021-05-02 09:38:02.288 - info: zigbee.0 (12174) 0x00158d0004094af0 (addr 26820): WXKG02LM_rev2 - Xiaomi Aqara double key wireless wall switch (2018 model) (EndDevice)
                        2021-05-02 09:38:02.291 - info: zigbee.0 (12174) 0xd0cf5efffe1194fb (addr 36701): ICPSHC24-30EU-IL-1 - IKEA TRADFRI driver for wireless control (30 watt) (Router)
                        2021-05-02 09:38:02.293 - info: zigbee.0 (12174) 0x680ae2fffe9178f4 (addr 28525): ICPSHC24-10EU-IL-1 - IKEA TRADFRI driver for wireless control (10 watt) (Router)
                        2021-05-02 09:38:02.294 - info: zigbee.0 (12174) 0x04cf8cdf3c7759af (addr 65466): GZCGQ01LM - Xiaomi MiJia light intensity sensor (EndDevice)
                        2021-05-02 09:38:02.296 - info: zigbee.0 (12174) 0x00158d00027d7fb3 (addr 27291): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
                        2021-05-02 09:38:02.297 - info: zigbee.0 (12174) Zigbee started
                        2021-05-02 09:38:12.313 - warn: zigbee.0 (12174) DeviceConfigure failed 0x04cf8cdf3c7759af lumi.sen_ill.mgl01, attempt 1 (Error: Bind 0x04cf8cdf3c7759af/1 genPowerCfg from '0x00124b00062d5b84/1' failed (AREQ - ZDO - bindRsp after 10000ms)
                        at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/utils/waitress.js:37:35)
                        at listOnTimeout (internal/timers.js:554:17)
                        at processTimers (internal/timers.js:497:7))
                        2021-05-02 09:38:41.177 - error: zigbee.1 (12181) Failed to start Zigbee
                        2021-05-02 09:38:41.179 - error: zigbee.1 (12181) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
                        at ZStackAdapter. (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:94:31)
                        at Generator.throw ()
                        at rejected (/opt/iobroker/node_modules/iobroker.zigbee/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
                        2021-05-02 09:38:41.184 - info: javascript.0 (23961) script.js.Eigene_Skripte.##on_log_-_Überwachung_und_telegram: ERROR an telegram gesendet
                        2021-05-02 09:38:41.187 - info: javascript.0 (23961) script.js.Eigene_Skripte.##on_log_-_Überwachung_und_telegram: ERROR an telegram gesendet
                        2021-05-02 09:38:51.181 - info: zigbee.1 (12181) Try to reconnect. 1 attempts left
                        2021-05-02 09:38:51.183 - info: zigbee.1 (12181) Starting Zigbee npm ...
                        2021-05-02 09:38:51.230 - info: zigbee.1 (12181) Installed Version: iobroker.zigbee@1.4.4
                        2021-05-02 09:38:56.494 - error: zigbee.1 (12181) Failed to start Zigbee
                        2021-05-02 09:38:56.496 - error: zigbee.1 (12181) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
                        
                        apollon77 1 Reply Last reply Reply Quote 0
                        • N
                          nidd @Thomas Braun last edited by nidd

                          @thomas-braun

                          hab ich gemacht, läuft! 😳
                          besten Dank für die Hilfe!

                          danke auch an @Homoran! beim nächsten problem werde ich den Raspberry dann vielleicht mal neu aufsetzen 😬

                          1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @kaifu last edited by

                            @kaifu sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                            Zigbee ging mit Warten grundsätzlich auch. Ich habe allerdings 2 Zigbee Instanzen und die zweite macht Ärger:

                            Der Fehler kommt vom Adapter, bitte dort melden. Zum Grund kann ich nichts sagen. Wenn eine tut ...

                            1 Reply Last reply Reply Quote 0
                            • T
                              TheChicken last edited by

                              Für Windowsuser: Ich habe mir das Paket von hier https://nodejs.org/dist/latest-v12.x/ geholt (node-v12.22.1-win-x64.zip), auf den Zielrechner kopiert und entpackt. Dann via iobroker-cmd

                              ioborker stop
                              

                              und dann im Installationsverzeichnis von iobroker den Ordner nodejs als Backup umbenannt. Danach einen neue Ordner nodejs erstellt und die entpackten Dateien da rein kopiert. Im Anschluss wieder

                              ioborker start
                              

                              -> Kontrolle, läuft alles und node.js ist jetzt v12.22.1.

                              A 1 Reply Last reply Reply Quote 4
                              • U
                                usn09750 @apollon77 last edited by

                                Danke für die Anleitung. Bei mir kommt folgende Ausgabe:
                                nodejs.jpg
                                Für mich leider unerklärlich. Kann jemand helfen?

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

                                  @usn09750

                                  Für mich leider unerklärlich. Kann jemand helfen?

                                  Ja. Kann ich.
                                  nodeJS offenbar doppelt installiert.
                                  Einmal richtig über apt, einmal an apt vorbei manuell ins System gedonnert.

                                  In meiner Signatur findest du eine Anleitung, wie man das korrigiert.

                                  Bitte von KonsolenTEXT keine Bilder schießen, sondern den TEXT auch als TEXT (in CodeTags eingebettet) ins Forum kopieren.

                                  U 1 Reply Last reply Reply Quote 1
                                  • U
                                    usn09750 @Thomas Braun last edited by

                                    @thomas-braun Perfekt - hat geklappt! Danke Dir für die schnelle Hilfe

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      heinzix last edited by

                                      Super Anleitung,
                                      hat alles einwandfrei geklappt

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        aleks-83 @TheChicken last edited by

                                        @thechicken sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                        Für Windowsuser: Ich habe mir das Paket von hier https://nodejs.org/dist/latest-v12.x/ geholt (node-v12.22.1-win-x64.zip), auf den Zielrechner kopiert und entpackt. Dann via iobroker-cmd

                                        ioborker stop
                                        

                                        und dann im Installationsverzeichnis von iobroker den Ordner nodejs als Backup umbenannt. Danach einen neue Ordner nodejs erstellt und die entpackten Dateien da rein kopiert. Im Anschluss wieder

                                        ioborker start
                                        

                                        -> Kontrolle, läuft alles und node.js ist jetzt v12.22.1.

                                        Hier sei noch erwähnt, dass man die Datei nodevars.bat vor dem Update sichern sollte, und nach dem Update zurück kopiert.
                                        Danke @Alexi für den Tipp.

                                        C 1 Reply Last reply Reply Quote 0
                                        • A
                                          aleks-83 last edited by aleks-83

                                          Seit dem Upgrade meines Win10 Systems auf Node.js 12.22.1 und NPM 6.14.12 (JS Controller 3.3.10) kann ich nicht mehr alle Adapter updaten.

                                          $ ./iobroker upgrade
                                          Update hue from @3.5.2 to @3.5.15
                                          NPM version: 6.14.12
                                          npm install iobroker.hue@3.5.15 --loglevel error (System call)
                                          npm ERR! code EBUSY
                                          npm ERR! syscall rmdir
                                          npm ERR! path D:\ioBroker\NUCubuntu\node_modules\iobroker.hue
                                          npm ERR! errno -4082
                                          npm ERR! EBUSY: resource busy or locked, rmdir 'D:\ioBroker\NUCubuntu\node_modules\iobroker.hue'
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     C:\WINDOWS\ServiceProfiles\iobroker(NUCubuntu)\AppData\Roaming\npm-cache\_logs\2021-05-30T18_31_29_382Z-debug.log
                                          ERROR: host.NUC(NUCubuntu) Cannot install iobroker.hue@3.5.15: 4294963214
                                          ERROR: process exited with code 25
                                          

                                           $ ./iobroker upgrade denon
                                          Update denon from @1.10.4 to @1.10.7
                                          NPM version: 6.14.12
                                          npm install iobroker.denon@1.10.7 --loglevel error (System call)
                                          npm ERR! code EBUSY
                                          npm ERR! syscall rmdir
                                          npm ERR! path D:\ioBroker\NUCubuntu\node_modules\iobroker.denon
                                          npm ERR! errno -4082
                                          npm ERR! EBUSY: resource busy or locked, rmdir 'D:\ioBroker\NUCubuntu\node_modules\iobroker.denon'
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     C:\WINDOWS\ServiceProfiles\iobroker(NUCubuntu)\AppData\Roaming\npm-cache\_logs\2021-05-30T18_34_25_810Z-debug.log
                                          ERROR: host.NUC(NUCubuntu) Cannot install iobroker.denon@1.10.7: 4294963214
                                          ERROR: process exited with code 25
                                          

                                          Die interessante Zeile wird wohl sein:

                                          npm ERR! EBUSY: resource busy or locked
                                          

                                          Was bedeutet das?

                                          Und wenn Alexa2.0 startet, findet der Adapter einen Ordner nicht...

                                          alexa2.0	2021-05-30 20:35:30.592	error	(5604) Cannot find search "folder" in "system"
                                          
                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @aleks-83 last edited by

                                            @aleks-83 EBUSY: Es scheint wohl so das in bestimmten Fällen Dateien von Windows geblockt werden, sodass npm die nicht aktualisieren kann. Adapter beenden und Update neu versuchen - hat schon mehrfach getan. Ggf iobroker beenden und Dann Update versuchen.

                                            Zu Den "cannot search folder": welcher js-controller? Bitte mal "iobroker setup first" aufrufen

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

                                            Support us

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

                                            747
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            97
                                            812
                                            318625
                                            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