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.
    • A
      Accu last edited by

      IPs werden über den DHCP dynamisch vergeben.
      Ich sprach beim Raspi von statischen DHCP. Heißt er bekomt die IP vom DHCP Server der Fritzbox aber eben immer die selbe 192.168.1.13 (statisch) (Fritzbox = dem Gerät immer die gleiche IP geben).

      Mit sudo raspi-config konnte ich es jetzt wohl hinbiegen, dass er wieder eine IP bekommt.

      Dafür habe ich jetzt das nächste Problem ich bekomme keinen zugriff mehr auf dein ioBroker Admin.

      pi@Raspi:~ $ iobroker status
       Cannot read system.config: null (OK when migrating or restoring)
       Cannot find view "system" for search "host"
      iobroker is running on this host.
      
      
      Objects type: file
      States  type: file
      pi@Raspi:~ $ 
      
      
      pi@Raspi:~ $ sudo apt update
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                 
      OK:3 https://deb.nodesource.com/node_12.x buster InRelease                     
      Paketlisten werden gelesen... Fertig               
      Abhängigkeitsbaum wird aufgebaut.       
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      pi@Raspi:~ $ 
      
      
      pi@Raspi:~ $ sudo apt dist-upgrade
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.       
      Statusinformationen werden eingelesen.... Fertig
      Paketaktualisierung (Upgrade) wird berechnet... Fertig
      Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
        alsa-base emacs24 firmware-misc-nonfree firmware-ralink
        fontconfig-infinality g++-6 gnupg-agent gstreamer0.10-alsa
        gstreamer0.10-plugins-base libass5 libavcodec57 libavfilter6 libavformat57
        libavresample3 libavutil55 libbabeltrace-ctf1 libbind9-140 libblas-common
        libbluetooth3 libbluray1 libboost-filesystem1.62.0 libboost-iostreams1.62.0
        libboost-system1.62.0 libcdio-cdda1 libcdio-paranoia1 libcdio13 libcfitsio5
        libdns-export162 libdns162 libdrm-freedreno1 libebur128-1 libevent-2.0-5
        libgcr-3-common libgfortran3 libglew2.0 libgraphviz-dev
        libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgvc6-plugins-gtk
        libgvpr2 libhunspell-1.4-0 libicu57 libilmbase12 libisc-export160 libisc160
        libisccc140 libisccfg140 libjim0.76 liblab-gamut1 liblockfile-bin
        liblockfile1 liblwres141 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra
        libmagickwand-6.q16-3 libmpfr4 libnfs8 libopencv-calib3d2.4v5
        libopencv-core2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5
        libopencv-highgui2.4-deb0 libopencv-imgproc2.4v5 libopencv-objdetect2.4v5
        libopencv-video2.4v5 libopenexr22 libpackage-deprecationmanager-perl
        libpango1.0-0 libperl5.24 libpoppler64 libpostproc54 libprocps6 libpython3.5
        libpython3.5-dev libpython3.5-minimal libpython3.5-stdlib libsndio6.1
        libsodium18 libsrtp0 libssl1.0.2 libstdc++-6-dev libswresample2 libswscale4
        libtiff5-dev libtxc-dxtn-s2tc0 libunbound2 libunistring0 libva-drm1
        libva-x11-1 libva1 libvpx4 libvte-common libvte9 libwayland-egl1-mesa
        libwebpmux2 libx264-148 libx265-95 libxfce4util-bin libxfce4util-common
        libxfce4util7 libxfconf-0-2 lxplug-volume netsurf-common php7.0-intl
        php7.0-sqlite3 php7.0-xml pimixer point-rpi python-apt python-apt-common
        python3-pyasn1 python3.5 python3.5-dev python3.5-minimal rename rsync
        sgml-base tla tla-doc xfconf xml-core
      Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
      pi@Raspi:~ $ 
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • 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\nkfozbLUCgYEA60yBE8A/Eco4qr2DdKt+9+Fla0fNJPbtftu539Td8ZWj5KXHT0jt\r\naxM+UADmokF3G90Lf8hlhkcPaMbvFD+BaO9MVwv5jCUGBqDramD1Hbiww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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

                          576
                          Online

                          32.0k
                          Users

                          80.3k
                          Topics

                          1.3m
                          Posts

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