Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee: Resource temporarily unavailable Cannot lock port

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee: Resource temporarily unavailable Cannot lock port

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      roughestboy @crunchip last edited by roughestboy

      @crunchip
      Ja, die alte nvbackup.json is ja auch noch da. Wenn ich die wieder einsetze, sehen die Fehlermeldungen anders aus, Instanz bleibt aber auf gelb:

      zigbee.0
      2023-02-26 18:00:06.605	error	Error herdsman start
      
      zigbee.0
      2023-02-26 18:00:06.604	error	Failed to start Zigbee
      
      zigbee.0
      2023-02-26 18:00:06.598	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
      
      
      zigbee.0
      2023-02-26 18:00:06.199	info	Installed Version: iobroker.zigbee@1.8.10
      
      zigbee.0
      2023-02-26 18:00:06.131	info	Starting Zigbee npm ...
      
      zigbee.0
      2023-02-26 18:00:06.128	info	Try to reconnect. 1 attempts left
      
      zigbee.0
      2023-02-26 17:59:56.121	error	Error herdsman start
      
      zigbee.0
      2023-02-26 17:59:56.120	error	Failed to start Zigbee
      
      zigbee.0
      2023-02-26 17:59:56.117	error	Starting zigbee-herdsman problem : "Cannot read properties of undefined (reading 'payload')"
      
      zigbee.0
      2023-02-26 17:59:46.937	info	Installed Version: iobroker.zigbee@1.8.10
      
      zigbee.0
      2023-02-26 17:59:46.246	info	Starting Zigbee npm ...
      
      zigbee.0
      2023-02-26 17:59:46.242	info	delete old Backup files. keep only last 10
      
      zigbee.0
      2023-02-26 17:59:46.102	info	starting. Version 1.8.10 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.19.1, js-controller: 4.0.24
      
      crunchip 1 Reply Last reply Reply Quote 0
      • R
        roughestboy @Thomas Braun last edited by

        @thomas-braun

        ======================= SUMMARY =======================
                             v.2023-01-02
        
        
        Operatingsystem:        Debian GNU/Linux 11 (bullseye)
        Installation:           Native
        Timezone:               Europe/Berlin
        User-ID:                1000
        X-Server:               false
        Boot Target:            multi-user.target
        
        Pending OS-Updates:     54
        
        Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                /usr/bin/node           v16.19.1
                                /usr/bin/npm            8.19.3
                                /usr/bin/npx            8.19.3
        
        ioBroker Core:          js-controller           4.0.24
                                admin                   6.3.6
        
        ioBroker Status:        iobroker is running on this host.
        
        
        Objects type: jsonl
        States  type: redis
        
        Status admin:
        + system.adapter.admin.0                  : admin                 : pi4iobroker                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        
        Pending iob updates:    0
        
        Active repo(s): beta
        
        Objects:                4090
        States:                 2820
        
        Size of iob-Database:
        
        25M     /opt/iobroker/iobroker-data/objects.jsonl
        552K    /opt/iobroker/iobroker-data/states.jsonl
        
        
        =================== END OF SUMMARY ====================
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @roughestboy last edited by

          @roughestboy

          Pending OS-Updates: 54

          Updaten...

          R 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @roughestboy last edited by

            @roughestboy und wenn du den Stick mal kurz absteckst?

            R 1 Reply Last reply Reply Quote 0
            • R
              roughestboy @crunchip last edited by

              @crunchip ändert nichts.

              1 Reply Last reply Reply Quote 0
              • R
                roughestboy @Thomas Braun last edited by

                @thomas-braun

                Habe jetzt Pending OS-Updates auf Null. Zwischendurch Kabel zum Stick getauscht, den Stick gegen einen identischen gewechselt, und ein Backitup vom 2.2. eingespielt, da war das Problem noch nicht. Auch noch eine neue, 2te Instanz angelegt. Es bleibt immer bei einem 'zigbee-herdsman Problem,' "Cannot read properties of undefined (reading 'payload')" und "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'". Letztes log:

                zigbee.0
                	2023-03-04 11:48:47.327	error	Error herdsman start
                zigbee.0
                	2023-03-04 11:48:47.325	error	Failed to start Zigbee
                zigbee.0
                	2023-03-04 11:48:47.324	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                zigbee.0
                	2023-03-04 11:48:47.127	info	Installed Version: iobroker.zigbee@1.8.10
                zigbee.0
                	2023-03-04 11:48:47.103	info	Starting Zigbee npm ...
                zigbee.0
                	2023-03-04 11:48:47.102	info	Try to reconnect. 1 attempts left
                zigbee.0
                	2023-03-04 11:48:37.083	error	Error herdsman start
                zigbee.0
                	2023-03-04 11:48:37.083	error	Failed to start Zigbee
                zigbee.0
                	2023-03-04 11:48:37.081	error	Starting zigbee-herdsman problem : "Cannot read properties of undefined (reading 'payload')"
                zigbee.0
                	2023-03-04 11:48:28.346	info	Installed Version: iobroker.zigbee@1.8.10
                zigbee.0
                	2023-03-04 11:48:27.652	info	Starting Zigbee npm ...
                zigbee.0
                	2023-03-04 11:48:27.483	info	starting. Version 1.8.10 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.19.1, js-controller: 4.0.24
                
                1 Reply Last reply Reply Quote 0
                • R
                  roughestboy last edited by

                  Frage: gibts in iobroker irgendetwas oder einen anderen Adapter, der sich den Zigbee Stick schnappt, in etwa sowas wie hier:
                  502 - Bad Gateway =>TypeError: Cannot read property 'payload' of undefined

                  1 Reply Last reply Reply Quote 0
                  • R
                    roughestboy last edited by

                    So, um das hier noch abzuschließen. Habe mich wegen eines anderen 'Großprojekts' lange nicht kümmern können und erstmal ohne Zigbee leben müssen.
                    Nun ist raus, es war ein 'schlechtes' udev-Paket. Siehe auch
                    zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev
                    Für mich war es dann die Möglichkeit 2.

                    1 Reply Last reply Reply Quote 0
                    • M
                      micw42 last edited by micw42

                      Hallo zusammen,

                      ich habe heute den js-controller aktualisiert und danach node.js und den zigbee-Adapter. Sonst habe ich nichts verändert!
                      Leider bekomme ich nun auch die Meldung und der Adapter startet nicht mehr:

                      zigbee.0
                      2024-01-03 23:02:48.184	error	Error herdsman start
                      
                      zigbee.0
                      2024-01-03 23:02:48.183	error	Failed to start Zigbee
                      
                      zigbee.0
                      2024-01-03 23:02:48.182	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                      
                      zigbee.0
                      2024-01-03 23:02:47.835	info	Installed Version: iobroker.zigbee@1.9.5
                      
                      zigbee.0
                      2024-01-03 23:02:47.802	info	Starting Zigbee npm ...
                      
                      zigbee.0
                      2024-01-03 23:02:47.801	info	Try to reconnect. 1 attempts left
                      
                      zigbee.0
                      2024-01-03 23:02:37.795	error	Error herdsman start
                      
                      zigbee.0
                      2024-01-03 23:02:37.794	error	Failed to start Zigbee
                      
                      zigbee.0
                      2024-01-03 23:02:37.793	error	Starting zigbee-herdsman problem : undefined
                      
                      zigbee.0
                      2024-01-03 23:02:26.289	info	Installed Version: iobroker.zigbee@1.9.5
                      
                      zigbee.0
                      2024-01-03 23:02:25.619	info	Starting Zigbee npm ...
                      
                      zigbee.0
                      2024-01-03 23:02:25.616	info	delete old Backup files. keep only last 10
                      
                      zigbee.0
                      2024-01-03 23:02:25.317	info	starting. Version 1.9.5 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.19.0, js-controller: 5.0.17
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @micw42 last edited by

                        @micw42

                        iob diag
                        

                        in der Langfassung anschauen.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          micw42 @Thomas Braun last edited by micw42

                          @thomas-braun

                          Ich muss wohl noch dazu sagen, dass ich einen RaspBee II Stick habe.

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

                            @micw42 sagte in Zigbee: Resource temporarily unavailable Cannot lock port:

                            Was davon ist denn interessant?

                            Alles. Im gesamten gibt es ein Bild.

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              micw42 @Thomas Braun last edited by

                              @thomas-braun
                              Habe es in dem vorigen Beitrag reingepackt.

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

                                @micw42

                                Besser CodeTags statt Spoiler verwenden.

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

                                  @micw42

                                  Ich brauche aber gar nicht weiterlesen.

                                  Buster ist tot, installier da NEU das aktuelle Release 'Bookworm'. In der 64Bit Lite-Version.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    micw42 @Thomas Braun last edited by

                                    @thomas-braun
                                    Ich weiß, aber daran kann es doch nicht liegen?
                                    Das hat vor zwei Stunden unter buster alles funktioniert ...

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

                                      @micw42 Irrelevant. Buster ist tot. Zeit von dem Gaul abzusteigen.

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

                                      Support us

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

                                      887
                                      Online

                                      32.0k
                                      Users

                                      80.4k
                                      Topics

                                      1.3m
                                      Posts

                                      4
                                      29
                                      2804
                                      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