Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Update von admin 6.2.20 -> 6.2.22 Error code 45

    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

    Update von admin 6.2.20 -> 6.2.22 Error code 45

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

      @michael-niestegge sagte in Update von admin 6.2.20 -> 6.2.22 Error code 45:

      sudo npm install iobroker.admin --error --prefix "/opt/iobroker"

      Ist rechtemäßig einfach falsch. Nie sudo mit iobroker oder npm zusammen verwenden.

      fix das:

      iobroker stop
      iobroker fix
      iobroker start
      
      Michael Niestegge 1 Reply Last reply Reply Quote 0
      • Michael Niestegge
        Michael Niestegge @Thomas Braun last edited by

        Wie vermutet habe ich das Problem jetzt beim Update von admin 6.2.22 auf 6.3.4 auch wieder.

        Ausgeführt habe ich

        iobroker stop
        iobroker fix
        iobroker start
        iobroker update
        iobroker upgrade
        

        Folgende Meldung

        Would you like to upgrade admin from @6.2.22 to @6.3.4 now? [(y)es, (n)o]: y
        Update admin from @6.2.22 to @6.3.4
        Cannot upgrade: Cannot read property 'enabled' of undefined
        

        Wie bekomme ich das in den Griff? Ich wäre für Lösungsansätze sehr dankbar.

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

          @michael-niestegge

          Ist da immer noch dieses Scheiß-Tool im Spiel?

          Michael Niestegge 1 Reply Last reply Reply Quote 0
          • Michael Niestegge
            Michael Niestegge @Thomas Braun last edited by

            @thomas-braun
            Das war nie im Spiel.

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

              @michael-niestegge

              Starte mal

              iobroker diag
              
              Michael Niestegge 1 Reply Last reply Reply Quote 0
              • Michael Niestegge
                Michael Niestegge @Thomas Braun last edited by

                ======================= SUMMARY =======================
                                        v.2022-12-13
                
                
                Operatingsystem:        Raspbian GNU/Linux 10 (buster)
                Installation:           Native
                Timezone:               Europe/Berlin
                User-ID:                1000
                X-Server:               false
                
                Pending OS-Updates:     92
                
                Nodejs-Installation:    /usr/bin/nodejs         v14.20.0
                                        /usr/bin/node           v14.20.0
                                        /usr/bin/npm            6.14.17
                
                ioBroker Core:          js-controller           4.0.23
                                        admin                   6.2.22
                
                ioBroker Status:        iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Pending iob updates:    1
                
                Active repo(s): stable
                
                Objects:                9321
                States:                 3276
                
                Size of iob-Database:
                
                9.3M    /opt/iobroker/iobroker-data/objects.jsonl
                7.0M    /opt/iobroker/iobroker-data/objects.json.migrated
                7.0M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                4.0K    /opt/iobroker/iobroker-data/objects.json.old
                2.7M    /opt/iobroker/iobroker-data/states.jsonl
                560K    /opt/iobroker/iobroker-data/states.json.migrated
                560K    /opt/iobroker/iobroker-data/states.json.bak.migrated
                0       /opt/iobroker/iobroker-data/states.json.broken
                
                
                ====================== END OF SUMMARY ==================
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Michael Niestegge last edited by

                  @michael-niestegge

                  Zieh dein nodejs auf Version 16 hoch.

                  Michael Niestegge 1 Reply Last reply Reply Quote 0
                  • Michael Niestegge
                    Michael Niestegge @Thomas Braun last edited by

                    @thomas-braun

                    pi@raspberrypi:/opt/iobroker $ node -v
                    v16.19.0
                    pi@raspberrypi:/opt/iobroker $ npm -v
                    8.19.3
                    
                    pi@raspberrypi:/opt/iobroker $ iob upgrade
                    
                    This upgrade of "admin" will introduce the following changes:
                    ==========================================================================
                    -> 6.3.4:
                    Corrected crashes in object browser
                    
                    -> 6.3.3:
                    Corrected icons in object browser
                    
                    -> 6.3.2:
                    Added `useNative` option to `sendTo` JSON Config component
                    Added `checkLicense` and `uuid` components to JSON Config
                    Corrected the news handler
                    
                    -> 6.2.23:
                    Prepare for future js-controller versions
                    Corrected deletion of objects
                    ==========================================================================
                    
                    Would you like to upgrade admin from @6.2.22 to @6.3.4 now? [(y)es, (n)o]: y
                    Update admin from @6.2.22 to @6.3.4
                    Cannot upgrade: Cannot read properties of undefined (reading 'enabled')
                    
                    
                    Michael Niestegge 1 Reply Last reply Reply Quote 0
                    • Michael Niestegge
                      Michael Niestegge @Michael Niestegge last edited by Michael Niestegge

                      Noch jemand eine Idee? Was sagt der Fehler überhaupt aus? Bringt es etwas, den admin komplett zu entfernen und neu zu installieren?

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

                        @michael-niestegge

                        Mach das Upgrade mal mit --debug Option.

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

                          @michael-niestegge sagte in Update von admin 6.2.20 -> 6.2.22 Error code 45:

                          Bringt es etwas, den admin komplett zu entfernen und neu zu installieren?

                          Wir sind hier nicht unter Windows...
                          Da mag das funktionieren, unter Linux i.d.R. nicht.

                          1 Reply Last reply Reply Quote 0
                          • Michael Niestegge
                            Michael Niestegge @Thomas Braun last edited by

                            @thomas-braun
                            Keine zusätzlichen Ausgaben... 😕

                            pi@raspberrypi:~ $ iob upgrade --debug
                            
                            This upgrade of "admin" will introduce the following changes:
                            ==========================================================================
                            -> 6.3.4:
                            Corrected crashes in object browser
                            
                            -> 6.3.3:
                            Corrected icons in object browser
                            
                            -> 6.3.2:
                            Added `useNative` option to `sendTo` JSON Config component
                            Added `checkLicense` and `uuid` components to JSON Config
                            Corrected the news handler
                            
                            -> 6.2.23:
                            Prepare for future js-controller versions
                            Corrected deletion of objects
                            ==========================================================================
                            
                            Would you like to upgrade admin from @6.2.22 to @6.3.4 now? [(y)es, (n)o]: y
                            Update admin from @6.2.22 to @6.3.4
                            Cannot upgrade: Cannot read properties of undefined (reading 'enabled')
                            pi@raspberrypi:~ $ 
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Michael Niestegge last edited by

                              @michael-niestegge

                              Und bring dein Betriebssystem in Reich der Lebenden.
                              'Buster' hat das End Of Life erreicht.

                              Michael Niestegge 1 Reply Last reply Reply Quote 0
                              • Michael Niestegge
                                Michael Niestegge @Thomas Braun last edited by

                                @thomas-braun said in Update von admin 6.2.20 -> 6.2.22 Error code 45:

                                @michael-niestegge

                                Und bring dein Betriebssystem in Reich der Lebenden.
                                'Buster' hat das End Of Life erreicht.

                                Ich verstehe die Aussage leider nicht?

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

                                  @michael-niestegge

                                  https://www.debian.org/News/2022/20220910

                                  Nach dieser Zwischenveröffentlichung werden Debians Security- und Release-Teams die Arbeit an Aktualisierungen für Debian 10 einstellen.

                                  Allerhöchste Zeit da auf den Nachfolger Debian 11 'Bullseye' zu gehen.

                                  Michael Niestegge 1 Reply Last reply Reply Quote 0
                                  • Michael Niestegge
                                    Michael Niestegge @Thomas Braun last edited by

                                    @thomas-braun said in Update von admin 6.2.20 -> 6.2.22 Error code 45:

                                    @michael-niestegge

                                    https://www.debian.org/News/2022/20220910

                                    Nach dieser Zwischenveröffentlichung werden Debians Security- und Release-Teams die Arbeit an Aktualisierungen für Debian 10 einstellen.

                                    Allerhöchste Zeit da auf den Nachfolger Debian 11 'Bullseye' zu gehen.

                                    Ok, danke für die Info. Aber das ändert dann nichts an der Situation oder?

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

                                      @michael-niestegge

                                      Das ändert zumindest die Basis.
                                      Ein bereits abgekündigtes Release zu maintainen wird mit jedem Tag schwieriger.

                                      Michael Niestegge 1 Reply Last reply Reply Quote 0
                                      • Michael Niestegge
                                        Michael Niestegge @Thomas Braun last edited by

                                        @thomas-braun said in Update von admin 6.2.20 -> 6.2.22 Error code 45:

                                        @michael-niestegge

                                        Das ändert zumindest die Basis.
                                        Ein bereits abgekündigtes Release zu maintainen wird mit jedem Tag schwieriger.

                                        Alles klar. Werde ich dann machen. Allerdings wohl erst zwischen den Feiertagen. Sollte das Problem weiterhin bestehen, melde ich mich 🙂

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

                                          @michael-niestegge

                                          Mach es danach:

                                          https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                                          1 Reply Last reply Reply Quote 0
                                          • Andreas Stürzer
                                            Andreas Stürzer last edited by

                                            @Michael-Niestegge Konntest du dein Problem lösen? Ich stehe vor einem ähnlichen Problem mit einem anderen Adapter

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            885
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            28
                                            1103
                                            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