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

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    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

      iob update
      iobroker upgrade admin@6.2.22 --debug
      
      Michael Niestegge 1 Reply Last reply Reply Quote 0
      • Michael Niestegge
        Michael Niestegge @Thomas Braun last edited by Michael Niestegge

        @thomas-braun

        pi@raspberrypi:~ $ iob update
        Used repository: stable
        Adapter    "admin"        : 6.2.22   , installed 6.2.20 [Updatable]
        Adapter    "alexa2"       : 3.19.9   , installed 3.19.9
        Adapter    "alias-manager": 1.2.4    , installed 1.2.4
        Adapter    "backitup"     : 2.4.10   , installed 2.4.10
        Adapter    "devices"      : 1.0.12   , installed 1.0.12
        Adapter    "discovery"    : 3.0.5    , installed 3.0.5
        Adapter    "history"      : 2.2.0    , installed 2.2.0
        Adapter    "ical"         : 1.13.1   , installed 1.13.1
        Adapter    "influxdb"     : 3.1.8    , installed 3.1.8
        Adapter    "info"         : 1.9.19   , installed 1.9.19
        Adapter    "jarvis"       : 3.0.13   , installed 3.0.13
        Adapter    "javascript"   : 6.0.3    , installed 6.0.3
        Controller "js-controller": 4.0.23   , installed 4.0.23
        Adapter    "mihome-vacuum": 3.4.2    , installed 3.4.2
        Adapter    "modbus"       : 5.0.5    , installed 5.0.5
        Adapter    "ocpp"         : 0.4.0    , installed 0.4.0
        Adapter    "ping"         : 1.5.3    , installed 1.5.3
        Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
        Adapter    "shelly"       : 6.0.0    , installed 6.0.0
        Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
        Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
        Adapter    "snmp"         : 2.1.8    , installed 2.1.8
        Adapter    "socketio"     : 4.2.0    , installed 4.2.0
        Adapter    "spotify-premium": 1.2.1  , installed 1.2.1
        Adapter    "synology"     : 2.1.9    , installed 2.1.9
        Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
        Adapter    "trashschedule": 2.0.3    , installed 2.0.3
        Adapter    "upnp"         : 1.0.21   , installed 1.0.21
        Adapter    "web"          : 4.3.0    , installed 4.3.0
        Adapter    "ws"           : 1.3.0    , installed 1.3.0
        Adapter    "yr"           : 5.3.0    , installed 5.3.0
        pi@raspberrypi:~ $
        
        pi@raspberrypi:~ $ iobroker upgrade admin@6.2.22 --debug
        
        This upgrade of "admin" will introduce the following changes:
        ==========================================================================
        -> 6.2.22:
        Corrected admin4 adapter settings
        
        -> 6.2.21:
        Corrected small JSON config issue
        ==========================================================================
        
        Would you like to upgrade admin from @6.2.20 to @6.2.22 now? [(y)es, (n)o]: Y
        Update admin from @6.2.20 to @6.2.22
        Cannot upgrade: Cannot read property 'enabled' of undefined
        pi@raspberrypi:~ $
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Michael Niestegge last edited by

          @michael-niestegge

          Fällt mir nix gescheites zu ein.

          Vielleicht mal den fix drüberjagen?

          iob stop
          iob fix
          iob start
          
          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Thomas Braun last edited by

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

            Fällt mir nix gescheites zu ein.

            https://forum.iobroker.net/topic/53194/probleme-bei-update-von-admin-und-zigbee-adapter/2?_=1663671312863

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

              @glasfaser

              Das Tool ist ja auch nix gescheites... 😄

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

                Beim letzten Update hatte ich das gleiche Problem, allerdings war es da ein größerer Sprung von 5.x.

                Ich habe das Update jetzt erfolgreich mit folgenden Schritten ausführen können.

                pi@raspberrypi:~ $ iobroker stop
                pi@raspberrypi:~ $ sudo npm uninstall iobroker.admin --error --prefix "/opt/iobroker"
                npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                
                removed 47 packages in 16.717s
                
                54 packages are looking for funding
                  run `npm fund` for details
                
                pi@raspberrypi:~ $ 
                
                pi@raspberrypi:~ $ sudo npm install iobroker.admin --error --prefix "/opt/iobroker"
                npm WARN crc@4.1.1 requires a peer of buffer@>=6.0.3 but none is installed. You must install peer dependencies yourself.
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.8 (node_modules/osx-temperature-sensor):
                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                
                + iobroker.admin@6.2.22
                added 23 packages from 24 contributors in 33.149s
                
                56 packages are looking for funding
                  run `npm fund` for details
                
                pi@raspberrypi:~ $ 
                
                pi@raspberrypi:~ $ iobroker upload admin
                upload [51] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                upload [50] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/customComponents.js custom/customComponents.js application/javascript
                upload [40] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/i18n/ru.json custom/i18n/ru.json application/json
                upload [30] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js custom/static/js/node_modules_prop-types_index_js.512eddf9.chunk.js application/javascript
                upload [20] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js application/javascript
                upload [19] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map custom/static/js/vendors-node_modules_mui_material_Accordion_index_js-node_modules_mui_material_AccordionDetai-57e02d.0886b730.chunk.js.map application/json
                upload [18] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js application/javascript
                upload [17] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map custom/static/js/vendors-node_modules_mui_material_index_js.40e01f69.chunk.js.map application/json
                upload [16] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js application/javascript
                upload [15] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_index_js-node_modules_mui_utils_esm_capitalize_js-node_module-19fe07.82575832.chunk.js.map application/json
                upload [14] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js application/javascript
                upload [13] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map custom/static/js/vendors-node_modules_mui_styles_withStyles_withStyles_js.6d998ff2.chunk.js.map application/json
                upload [12] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js application/javascript
                upload [11] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map custom/static/js/vendors-node_modules_react-dom_index_js.51544235.chunk.js.map application/json
                upload [10] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/de/translations.json i18n/de/translations.json application/json
                upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/en/translations.json i18n/en/translations.json application/json
                upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json
                upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json
                upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5
                Update "system.adapter.admin.0"
                pi@raspberrypi:~ $ iob start
                

                Aber ich befürchte, dass der Fehler bestand hat und beim nächsten Update die gleiche Meldung kommen wird.

                Thomas Braun 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:

                  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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            653
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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