Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker lässt sich nicht upgraden

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker lässt sich nicht upgraden

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

      @accu sagte in ioBroker lässt sich nicht upgraden:

      sudo apt autoremove
      

      Aber sonst schaut das doch ganz gut aus nun.

      Und zu dem
      Cannot find view "system" for search "host"
      siehe:
      https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1634136165861

      1 Reply Last reply Reply Quote 0
      • A
        Accu last edited by

        geht wieder. ABER mein ursprüngliches Problem ist immer noch nicht gefixt:

        pi@Raspi:/opt/iobroker/iobroker-data/backup-objects $ iobroker status
        iobroker is running on this host.
        
        
        Objects type: file
        States  type: file
        pi@Raspi:/opt/iobroker/iobroker-data/backup-objects $ iobroker backup
        host.Raspi 9188 states saved
        host.Raspi 23741 objects saved
        /usr/bin/iobroker: Zeile 8:  4155 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
        pi@Raspi:/opt/iobroker/iobroker-data/backup-objects $ iob stop
        pi@Raspi:/opt/iobroker/iobroker-data/backup-objects $ iob update
        No connection to databases possible ...
        pi@Raspi:/opt/iobroker/iobroker-data/backup-objects $ iob upgrade self
        No connection to databases possible ...
        pi@Raspi:/opt/iobroker/iobroker-data/backup-objects $ 
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Accu last edited by

          @accu

          Läuft der Desktop da eigentlich permanent mit?

          who -r
          
          A 1 Reply Last reply Reply Quote 0
          • A
            Accu @Thomas Braun last edited by

            @thomas-braun ```
            pi@Raspi:~ $ who -r
            Runlevel 3 2021-10-13 17:18
            pi@Raspi:~ $

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

              @accu
              Lass mal das

              iobroker backup
              

              weg. Da klemmt ja offenbar auch schon was. Warum auch immer.

              Und stell dich in ein anderes Verzeichnis, wenn du da rummachst.

              cd ~
              iobroker restart
              iobroker update
              
              A 1 Reply Last reply Reply Quote 0
              • A
                Accu @Thomas Braun last edited by

                @thomas-braun
                die gute Nachricht ist, dass mein iOB wieder läuft. Die schlechte, dass ich immer noch den Fehler "no connection to db" bekomme, wenn ich den Host auf die nächste Version heben will. Habe es gerade mal wieder versucht:

                Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                permitted by applicable law.
                Last login: Thu Oct 14 04:00:31 2021
                pi@Raspi:~ $ cd /opt/iobroker/
                pi@Raspi:/opt/iobroker $ sudo iob backup
                host.Raspi 9171 states saved
                host.Raspi 23741 objects saved
                /usr/bin/iob: Zeile 8:  5731 Getötet                sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                pi@Raspi:/opt/iobroker $ sudo iob stop
                pi@Raspi:/opt/iobroker $ sudo iob fix
                library: loaded
                Library version=2021-08-05
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2021-04-07
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/3)
                ==========================================================================
                
                OK:1 http://archive.raspberrypi.org/debian buster InRelease
                OK:2 https://deb.nodesource.com/node_12.x buster InRelease                 
                Holen:3 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
                Es wurden 15,0 kB in 2 s geholt (7.888 B/s).
                Paketlisten werden gelesen... Fertig
                Installed gcc-c++
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/3)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Checking autostart (3/3)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                
                pi@Raspi:/opt/iobroker $ sudo iob update
                No connection to databases possible ...
                pi@Raspi:/opt/iobroker $ sudo iob upgrade self
                No connection to databases possible ...
                pi@Raspi:/opt/iobroker $ iob start
                pi@Raspi:/opt/iobroker $ 
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Accu last edited by

                  @accu
                  Nicht mit sudo hantieren!

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Accu @Thomas Braun last edited by

                    @thomas-braun
                    ich habe jetzt wieder mal versucht meinen iob admin zu upgraden.

                    Kannst Du sagen, was folgende Probleme bedeuten und wie ich sie fixen kann?

                    1. ich wollte vorher ein Backup machen mit:
                      iob stop
                      iob backup
                    pi@Raspi:~ $ iob stop
                    pi@Raspi:~ $ iob backup
                    host.Raspi 12458 states saved
                    host.Raspi 25779 objects saved
                    
                    <--- Last few GCs --->
                    
                    [16450:0x4aaee00]    35683 ms: Scavenge 207.4 (226.1) -> 207.2 (228.1) MB, 7.9 / 0.0 ms  (average mu = 0.918, current mu = 0.803) allocation failure 
                    [16450:0x4aaee00]    37433 ms: Mark-sweep (reduce) 314.3 (334.7) -> 207.4 (228.5) MB, 204.1 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 563 ms) (average mu = 0.914, current mu = 0.910) extern
                    
                    <--- JS stacktrace --->
                    
                    FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
                    /usr/bin/iob: Zeile 8: 16449 Abgebrochen             sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                    

                    dann wollte ich den Self Upgrade machen, was bedeutet, dass Objekte for Funding suchen?

                    pi@Raspi:~ $ iob upgrade self
                    Update js-controller from @4.0.21 to @4.0.23
                    Stopped Objects DB
                    Stopped States DB
                    NPM version: 6.14.16
                    Installing iobroker.js-controller@4.0.23... (System call)
                    
                    > iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                    > node lib/preinstallCheck.js
                    
                    NPM version: 6.14.16
                    
                    > iobroker.js-controller@4.0.23 install /opt/iobroker/node_modules/iobroker.js-controller
                    > node iobroker.js setup first
                    
                    Successfully migrated 25779 objects to Redis Sets
                    object _design/system updated
                    {
                      "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEogIBAAKCAQEAvGKW8pARNnO8bbO8dIg1HgWRUP0V0m1U2xeaG5fmJBY8ctUv\r\natOa/jxT+P9zSSNqTVhi0wxjxhKa6Jx/ODkTP98NfB4kGs08TOOEiET8Mx1eU71c\r\n6A1Xz8BQkcJ7uaeIdosk55qZkX+lctpvLUsMTbzgVM5ewZ7JcPUynKWCiriokDeU\r\nnJ00RWjWnsqJRCMznW+Kjf018t/2miDGX9NzdCIB69nTJJsJOK91mZp1aoBTq9b9\r\njviF+ZGIRowaiVSQhid9DPkmTbB8/cs0Gyouf+W0xYj0Pg5iCTfTLt0CZcJ5mK9z\r\nvTu41OCAAsbpyuk5JI24HbntDWsYQynTCVna8QIDAQABAoIBAFHSfH+UZXWCJVh8\r\nlaEDvBZzEp/bnQvNouqaQLw1aKdJ5S13POYoTIyaRVrEER22PSik+B90pS1VzWS0\r\n/Gi+GYdHaUL8kG/3rnYy59CMLgJBgkPa3qyHhxlcDWKR101W3+WlH/1cX9EbYRAW\r\noe1JSGnHXKRZEj0Eq7fdOANju+Rl+s/whUELfi06cXtYW2RNYbORUIk7SvUfKZi1\r\nYUJ3HUPzJZHoHbj2DY5hZ/BKqYbT9DQM1vL2C3Mhf2kByLBzTto+HUE4UJPwLoiv\r\nflCkeNQqpV1w6o2JCMrd2qEDxddS2pjTObjlP302EmkYcK0DEYwU1XDCL4bCXGID\r\n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HhleW25APK\r\nA1nTVJjhd5GLmGKc1uXboPI2EawuASiKZb4ryC4TF0mCTSNNs7yQ2nl25l2vbp52\r\n/LO13qNUlEdCPzFlLjoHl3MlpS7BqFsVEZTLDA==\r\n-----END CERTIFICATE-----\r\n"
                    }
                    Update certificate defaultPrivate
                    The object "system.certificates" was updated successfully.
                    Update certificate defaultPublic
                    The object "system.certificates" was updated successfully.
                    + iobroker.js-controller@4.0.23
                    removed 2 packages, updated 59 packages and moved 2 packages in 164.451s
                    
                    61 packages are looking for funding
                      run `npm fund` for details
                    
                    
                    Meister Mopper crunchip 2 Replies Last reply Reply Quote 0
                    • Meister Mopper
                      Meister Mopper @Accu last edited by

                      @accu sagte in ioBroker lässt sich nicht upgraden:

                      JavaScript heap out of memory

                      Du hast ein Speicherproblem. Was ist das für ein System?

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

                        @accu https://forum.iobroker.net/post/797501 hier gibt es das selbe Problem

                        @accu sagte in ioBroker lässt sich nicht upgraden:

                        was bedeutet, dass Objekte for Funding suchen

                        kann ignoriert werden, ausser du möchtest spenden

                        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

                        531
                        Online

                        32.0k
                        Users

                        80.4k
                        Topics

                        1.3m
                        Posts

                        7
                        45
                        1997
                        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