Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Wie führe ich ein sauberes Updates durch?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Wie führe ich ein sauberes Updates durch?

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

      @philipp_lappe

      Iobroker so aktuell wie möglich machen, Backup ziehen, mit Sack und Pack auf ein aktuelles Betriebssystem umziehen.

      iob update
      iob upgrade all -y
      iob stop
      iob upgrade self
      
      P 1 Reply Last reply Reply Quote 0
      • P
        philipp_lappe @Thomas Braun last edited by

        @thomas-braun danke für die schnelle Antwort. Also am besten Screenshots der installierten Adapter und Einstellungen machen und dann von Grund auf nochmal neu aufsetzen meinst du?
        Gibt es hier im Forum eine Anleitung für eine saubere Installation?

        Ach ich habe auch noch tasmo-admin im Docker installiert, das dauert bestimmt bis ich das alles wieder so hinbekomme.

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

          @philipp_lappe

          Nein, ich meine ein Backup ziehen, nachdem der ioBrokrr auf Stand ist und mit dem Backup umziehen.

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

            @philipp_lappe

            Welche Hardware ist denn da eigentlich am Start? Mit weniger als 2 GB RAM dürfte das sehr gemütlich werden, vermute ich.

            P 1 Reply Last reply Reply Quote 0
            • P
              philipp_lappe @Thomas Braun last edited by

              @thomas-braun es ist ein Pi 3B+

              Homoran 1 Reply Last reply Reply Quote 0
              • P
                philipp_lappe @Thomas Braun last edited by

                @thomas-braun leider ist das nicht möglich.

                pi@homepi_phil:~ $ iob upgrade self
                Update js-controller from @4.0.24 to @5.0.12
                Stopped Objects DB
                Stopped States DB
                NPM version: 8.19.4
                Installing iobroker.js-controller@5.0.12... (System call)
                host.homepi_phil Cannot install iobroker.js-controller@5.0.12: 217

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

                  @philipp_lappe sagte in Wie führe ich ein sauberes Updates durch?:

                  @thomas-braun es ist ein Pi 3B+

                  der hat nur 1GB RAM!
                  maximal 10 Instanzen! Wenn da ausschließlich ioBroker drauf läuft

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

                    @philipp_lappe

                    Die Hardware ist zu schwach für einen sinnvollen Betrieb, würde ich voraussagen.

                    iob update
                    iob upgrade self --debug
                    

                    sagt?

                    P Homoran 2 Replies Last reply Reply Quote 0
                    • P
                      philipp_lappe @Thomas Braun last edited by Homoran

                      @thomas-braun said in Wie führe ich ein sauberes Updates durch?:

                      @philipp_lappe

                      Die Hardware ist zu schwach für einen sinnvollen Betrieb, würde ich voraussagen.

                      iob update
                      iob upgrade self --debug
                      

                      sagt?

                      pi@homepi_phil:~ $ iob upgrade self --debug
                      Update js-controller from @4.0.24 to @5.0.12
                      Stopped Objects DB
                      Stopped States DB
                      NPM version: 8.19.4
                      Installing iobroker.js-controller@5.0.12... (System call)
                      npm ERR! code ENOTEMPTY
                      npm ERR! syscall rename
                      npm ERR! path /opt/iobroker/node_modules/alcalzone-shared
                      npm ERR! dest /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
                      npm ERR! errno -39
                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/alcalzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2023-11-12T21_31_05_268Z-debug-0.log
                      host.homepi_phil Cannot install iobroker.js-controller@5.0.12: 217
                      

                      MOD-EDIT: Code in code-tags gesetzt!

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

                        @thomas-braun enotempty und 217 bei npm 8

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

                          @philipp_lappe

                          iob stop
                          iob fix
                          iob upgrade all
                          iob upgrade self --debug
                          
                          1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @philipp_lappe last edited by

                            @philipp_lappe

                            iob stop
                            iob fix
                            iob upgrade all
                            iob upgrade self --debug
                            
                            P 1 Reply Last reply Reply Quote 0
                            • P
                              philipp_lappe @Thomas Braun last edited by Homoran

                              @thomas-braun said in Wie führe ich ein sauberes Updates durch?:

                              @philipp_lappe

                              iob stop
                              iob fix
                              iob upgrade all
                              iob upgrade self --debug
                              
                              iob upgrade self --debug
                              Update js-controller from @4.0.24 to @5.0.12
                              Stopped Objects DB
                              Stopped States DB
                              NPM version: 8.19.4
                              Installing iobroker.js-controller@5.0.12... (System call)
                              npm ERR! code ENOTEMPTY
                              npm ERR! syscall rename
                              npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone
                              npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK
                              npm ERR! errno -39
                              npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK'
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2023-11-12T22_09_46_524Z-debug-0.log
                              host.homepi_phil Cannot install iobroker.js-controller@5.0.12: 217
                              

                              MOD-EDIT: Code in code-tags gesetzt!

                              da_Woody Homoran 2 Replies Last reply Reply Quote 0
                              • da_Woody
                                da_Woody @philipp_lappe last edited by

                                @philipp_lappe bitte, setz deine logs in 3b78940c-63e7-4156-b8fc-6d42ca860f0d-grafik.png

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

                                  @philipp_lappe sagte in Wie führe ich ein sauberes Updates durch?:

                                  iob upgrade self --debug

                                  und die anderen Ausgaben?

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    philipp_lappe @Homoran last edited by

                                    @homoran

                                    pi@homepi_phil:~ $ iob stop
                                    pi@homepi_phil:~ $ 
                                    pi@homepi_phil:~ $ iob fix
                                    library: loaded
                                    Library version=2023-10-13
                                    
                                    ==========================================================================
                                    
                                        Welcome to the ioBroker installation fixer!
                                        Script version: 2023-10-13
                                        
                                        You might need to enter your password a couple of times.
                                    
                                    ==========================================================================
                                    
                                    
                                    ==========================================================================
                                        Installing prerequisites (1/5)
                                    ==========================================================================
                                    
                                    Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                    Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
                                    Err:3 http://raspbian.raspberrypi.org/raspbian stretch Release          
                                      404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
                                    Get:4 https://download.docker.com/linux/raspbian stretch InRelease [31.1 kB]
                                    Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                    Hit:7 https://deb.nodesource.com/node_16.x stretch InRelease
                                    Reading package lists... Done
                                    E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
                                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                                    
                                    ==========================================================================
                                        Checking ioBroker user and directory permissions (2/5)
                                    ==========================================================================
                                    
                                    Created /etc/sudoers.d/iobroker
                                    Fixing directory permissions...
                                    
                                    ==========================================================================
                                        Check and cleanup npm temporary directories (3/5)
                                    ==========================================================================
                                    
                                    Done.
                                    
                                    ==========================================================================
                                        Database maintenance (4/5)
                                    ==========================================================================
                                    
                                    Checking for uncompressed JSONL databases... This might take a while!
                                    
                                    Compressing /opt/iobroker/iobroker-data/states.jsonl
                                    Compressing /opt/iobroker/iobroker-data/objects.jsonl
                                    Compressed 2 JSONL files. Done
                                    
                                    ==========================================================================
                                        Checking autostart (5/5)
                                    ==========================================================================
                                    
                                    Enabling autostart...
                                    Autostart enabled!
                                    
                                    ==========================================================================
                                    
                                        Your installation was fixed successfully
                                        Run iobroker start to start ioBroker again!
                                    
                                    ==========================================================================
                                    
                                    pi@homepi_phil:~ $ 
                                    pi@homepi_phil:~ $ iob upgrade all
                                    
                                    This upgrade of "yahka" will introduce the following changes:
                                    ==========================================================================
                                    -> 1.0.3:
                                    Corrected empty device list with rebuild
                                    
                                    -> 1.0.1:
                                    we ensured controller 5 compatibility
                                    Formatting
                                    
                                    -> 0.17.0:
                                    Added AVAHI advertiser as default and updated HomeKit Library to improve performance and stability
                                    
                                    -> 0.14.0:
                                    Updated HomeKit Library
                                    
                                    -> 0.13.2:
                                    Fixed crashes due to changes in used HomeKit Library
                                    ==========================================================================
                                    
                                    BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                                    Would you like to upgrade yahka from @0.13.1 to @1.0.3 now? [(y)es, (n)o]: No upgrade of "yahka" desired.
                                    
                                    This upgrade of "text2command" will at least introduce the following changes:
                                    ==========================================================================
                                    -> 3.0.2:
                                    Corrected link from admin
                                    
                                    -> 3.0.1:
                                    Corrected many GUI errors
                                    
                                    -> 2.3.1:
                                    Migrated GUI to v5
                                    ==========================================================================
                                    
                                    BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
                                    Would you like to upgrade text2command from @2.3.0 to @3.0.2 now? [(y)es, (n)o]: y
                                    Update text2command from @2.3.0 to @3.0.2
                                    NPM version: 8.19.4
                                    Installing iobroker.text2command@3.0.2... (System call)
                                    host.homepi_phil Cannot install iobroker.text2command@3.0.2: 244
                                    pi@homepi_phil:~ $ iob upgrade self --debug
                                    Update js-controller from @4.0.24 to @5.0.12
                                    Stopped Objects DB
                                    Stopped States DB
                                    NPM version: 8.19.4
                                    Installing iobroker.js-controller@5.0.12... (System call)
                                    npm ERR! code ENOTEMPTY
                                    npm ERR! syscall rename
                                    npm ERR! path /opt/iobroker/node_modules/acme-http-01-standalone
                                    npm ERR! dest /opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK
                                    npm ERR! errno -39
                                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/acme-http-01-standalone' -> '/opt/iobroker/node_modules/.acme-http-01-standalone-sG2kCsLK'
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2023-11-12T22_09_46_524Z-debug-0.log
                                    host.homepi_phil Cannot install iobroker.js-controller@5.0.12: 217
                                    
                                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @philipp_lappe last edited by

                                      @philipp_lappe sagte in Wie führe ich ein sauberes Updates durch?:

                                      Err:3 http://raspbian.raspberrypi.org/raspbian stretch Release

                                      Ernsthaft?

                                      Ansonsten jede Menge Fehler, der Fixer ist nicht durchgelaufen,
                                      Kein Wunder dass nichts gefixt wurde

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

                                        @philipp_lappe sagte in Wie führe ich ein sauberes Updates durch?:

                                        Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                        Hit:7 https://deb.nodesource.com/node_16.x stretch InRelease

                                        Ist ja auch schon Quark...

                                        Schmeiß die bullseye-Quelle raus und reinstalliere nodejs in passender Version.

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          philipp_lappe @Thomas Braun last edited by

                                          @thomas-braun said in Wie führe ich ein sauberes Updates durch?:

                                          @philipp_lappe sagte in Wie führe ich ein sauberes Updates durch?:

                                          Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          Hit:7 https://deb.nodesource.com/node_16.x stretch InRelease

                                          Ist ja auch schon Quark...

                                          Schmeiß die bullseye-Quelle raus und reinstalliere nodejs in passender Version.

                                          In /etc/apt/sources.list ist nur die stretch Quelle drin. Also kein Plan wo und wie ich die falschen Quellen löschen kann.
                                          Irgendwann war das System down und dann hatte ich aus lauter Verzweiflung jede Menge probiert und verutlich Chaos angerichtet.

                                          Es wäre vermutlich doch besser alles von Grund auf neu aufzusetzen oder?

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

                                            @philipp_lappe sagte in Wie führe ich ein sauberes Updates durch?:

                                            Es wäre vermutlich doch besser alles von Grund auf neu aufzusetzen oder?

                                            Das ohnehin. Aber ich würde den Umzug mit einem Backup aus einem halbwegs aktuellen ioBroker machen.
                                            Ist nämlich wesentlich einfacher.

                                            cat /etc/apt/sources.list.d/node*
                                            

                                            sagt?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            790
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            52
                                            3044
                                            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