Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Update funktioniert nicht mehr

    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 funktioniert nicht mehr

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

      @thomas-braun

      iob fix
      
      library: loaded
      Library version=2022-12-09
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2022-12-22
          
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      [sudo] Passwort für iob-user: 
      sudo: apt-get: Befehl nicht gefunden
      Installed acl
      Installed sudo
      Installed libcap2-bin
      Installed build-essential
      Installed gcc-c++
      Installed make
      Installed libavahi-compat-libdnssd-dev
      Installed libudev-dev
      Installed libpam0g-dev
      Installed pkg-config
      Installed git
      Installed curl
      Installed unzip
      Installed libcairo2-dev
      Installed libpango1.0-dev
      Installed libjpeg-dev
      Installed libgif-dev
      Installed librsvg2-dev
      Installed libpixman-1-dev
      Installed net-tools
      Installed cmake
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Database maintenance (3/4)
      ==========================================================================
      
      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 (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      
      
      

      und

      $ iob diag
      bash: /home/iobroker/.diag.sh: Keine Berechtigung
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @norp2k22 last edited by

        @norp2k22

        ls -la /home/iobroker/.diag.sh
        
        N 1 Reply Last reply Reply Quote 0
        • N
          norp2k22 @Thomas Braun last edited by

          Ok, interessant..

          iob stop
          for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
          iob fix
          iob start
          

          danach noch

          iob upgrade
          

          Jetzt sind alle Adapter aktuell und alles funktioniert wieder.

          @thomas-braun
          Das NodeJS 16 gallium Paket aus dem AUR habe ich jetzt (noch) nicht installiert,
          wollte auf diesem Rechner die verwendung vom AUR Repo eigentlich vermeiden.
          Brauche ich dieses spezielle Paket UNBEDINGT für den IOB ?
          Weil wie es aussieht, funktioniert jetzt alles wieder.

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

            @norp2k22 sagte in Update funktioniert nicht mehr:

            Ok, interessant..

            was stand denn da?

            @norp2k22 sagte in Update funktioniert nicht mehr:

            Brauche ich dieses spezielle Paket UNBEDINGT für den IOB ?

            v19 ist wie alle ungeraden Versionen eine Entwicklerversion und eher Beta. Selbst unter v18 gibt es bei ioBroker noch leichte Probleme

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

              @norp2k22

              Ja, du brauchst eine stabile Basis. Über pacman rollt dir das immer weg. Rolling Release halt...

              Da man das bei runtimes nicht will gibt es die fixierten Pakete ja.

              N 1 Reply Last reply Reply Quote 0
              • N
                norp2k22 @Thomas Braun last edited by norp2k22

                Achso, deswegen.
                Ok, dann wird das Paket jetzt nachinstalliert.

                Nachtrag :
                So, alles läuft wieder wie es soll.
                Danke euch !

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

                  @norp2k22

                  Magst mir jetzt noch die Ausgabe von

                  iob diag
                  

                  geben?

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    norp2k22 @Thomas Braun last edited by

                    @thomas-braun
                    Den Befehl kann ich nur mit Rootrechten ausführen, wird sonst der zugriff verweigert.
                    sudo soll man ja nicht verwenden in verbindung mit dem IOB.
                    Ist das Script mit Rootrechten ungefährlich ? Habe absolut keine Lust, mir jetzt
                    doch noch alles zu zerschiessen.

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

                      @norp2k22 sagte in Update funktioniert nicht mehr:

                      Ist das Script mit Rootrechten ungefährlich ?

                      Das liest nur, schreibt/ändert nichts. Von daher safe.

                      Mich würde halt interessieren wie sich das Ding unter Arch verhält, da ich das auf einem Debian zusammengeskriptet habe.

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        norp2k22 @Thomas Braun last edited by

                        @thomas-braun
                        So :

                        ======================= SUMMARY =======================
                                             v.2022-12-31
                        
                        
                        Operatingsystem:        Manjaro Linux
                        Installation:           oracle
                        Timezone:               Europe/Berlin
                        User-ID:                0
                        X-Server:               true
                        Boot Target:            graphical.target
                        
                        Pending OS-Updates: 
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v19.3.0
                                                /usr/bin/node           v19.3.0
                                                /usr/bin/npm            8.19.2
                        
                        ioBroker Core:          js-controller           4.0.23
                                                admin                   6.3.5
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Status admin:
                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: ****, bind: 0.0.0.0 (SSL), run as: admin
                        
                        Cannot download repository hash file from "http://download.iobroker.net/sources-dist-hash.json": timeout of 10000ms exceeded
                        Cannot download repository hash file from "http://download.iobroker.net/sources-dist-hash.json": timeout of 10000ms exceeded
                        Cannot download repository file from "http://download.iobroker.net/sources-dist.json": timeout of 10000ms exceeded
                        Pending iob updates:    0
                        
                        Active repo(s): stable
                        
                        Objects:                8860
                        States:                 6891
                        
                        Size of iob-Database:
                        
                        11M     /opt/iobroker/iobroker-data/objects.jsonl
                        6.3M    /opt/iobroker/iobroker-data/states.jsonl
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        

                        Nicht wundern, habe das NodeJS Paket noch nicht installiert und weil bei Installation oracle steht,
                        meine IOB Installation ist in einer VBox seit einiger zeit.

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

                          @norp2k22

                          Gib mal den vollständigen Output davor.

                          1 Reply Last reply Reply Quote 0
                          • N
                            norp2k22 @norp2k22 last edited by

                            @thomas-braun

                            Bist du hier für die Kompatibilität vom IOB mit Arch/Manjaro zuständig ?

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

                              @norp2k22 sagte in Update funktioniert nicht mehr:

                              Bist du hier für die Kompatibilität vom IOB mit Arch/Manjaro zuständig ?

                              Nein.
                              Aber das diag skript ist von mir.
                              Und ich würde gerne mal sehen wie es sich auf 'nicht-debian' verhält.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                norp2k22 @Thomas Braun last edited by

                                @thomas-braun said in Update funktioniert nicht mehr:

                                Aber das diag skript ist von mir.
                                Und ich würde gerne mal sehen wie es sich auf 'nicht-debian' verhält.

                                Na dann installier dir doch ganz einfach VirtualBox, bau dir eine kleine VM mit Manjaro als Gast OS
                                und installiere dort den IOB.
                                Damit kannst du ausgiebig und unkompliziert testen. 🙂

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

                                  @norp2k22

                                  Ich will das aber auf einem anderen System sehen.
                                  Ich hab selber ein Manjaro auf einem Raspberry laufen, das ist für mich kein Problem.
                                  .

                                  N 1 Reply Last reply Reply Quote 0
                                  • N
                                    norp2k22 @Thomas Braun last edited by

                                    @thomas-braun said in Update funktioniert nicht mehr:

                                    Ich hab selber ein Manjaro auf einem Raspberry laufen

                                    Same here.

                                    Sei mir bitte nicht böse, aber das Script liest schon ziemlich viel, sehr tief im System aus,
                                    das gebe ich nicht raus. Weder hier, noch per PN.

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

                                      @norp2k22 sagte in Update funktioniert nicht mehr:

                                      Sei mir bitte nicht böse, aber das Script liest schon ziemlich viel, sehr tief im System aus,

                                      Eigentlich nichts, was nicht für den Betrieb von iobroker wesentlich wäre.

                                      1 Reply Last reply Reply Quote 0
                                      • Meister Mopper
                                        Meister Mopper @norp2k22 last edited by

                                        @norp2k22 sagte in Update funktioniert nicht mehr:

                                        Sei mir bitte nicht böse, aber das Script liest schon ziemlich viel, sehr tief im System aus

                                        Hast Du ein kritisches Beispiel, was eine Veröffentlichung des Skript-Ergebnisses rechtertigte?

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

                                          @meister-mopper sagte in Update funktioniert nicht mehr:

                                          @norp2k22 sagte in Update funktioniert nicht mehr:

                                          Sei mir bitte nicht böse, aber das Script liest schon ziemlich viel, sehr tief im System aus

                                          Hast Du ein kritisches Beispiel, was eine Veröffentlichung des Skript-Ergebnisses rechtertigte?

                                          das verstehe ich jetzt inhaltlich nicht

                                          Meister Mopper 1 Reply Last reply Reply Quote 0
                                          • Meister Mopper
                                            Meister Mopper @Homoran last edited by Meister Mopper

                                            @homoran

                                            Natürlich, sorry:

                                            Hast Du ein kritisches Beispiel, was eine Nichtveröffentlichung des Skript-Ergebnisses rechtertigte?

                                            Thomas Braun 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            767
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            36
                                            1703
                                            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