Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Admin funktioniert seit update auf 5.1.10 nicht mehr

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Admin funktioniert seit update auf 5.1.10 nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      myssv @Jan1 last edited by

      @jan1 sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

      @myssv
      Am einfachsten ist es die Node Installationen (Du hast zwei davon drauf) zu deinstallieren und dann Node 12 oder 14 zu installieren. So wird NPM gleich passen mit installiert. Wichtig ist aber dass bevor Du Node neu installiert, darf der Befehl von oben nichts mehr finden.

      Wie mache ich das?

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

        @myssv Anleitung lesen, umsetzen, fertig.

        M 1 Reply Last reply Reply Quote 0
        • M
          myssv @Thomas Braun last edited by

          @thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

          @myssv Anleitung lesen, umsetzen, fertig.

          root@iobroker:/opt/iobroker# sudo apt remove node*
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.       
          Statusinformationen werden eingelesen.... Fertig
          E: Paket node_modules kann nicht gefunden werden.
          

          Ich habe scheinbar schon einiges kaputt gemacht ...

          J 1 Reply Last reply Reply Quote 0
          • J
            Jan1 @myssv last edited by

            @myssv
            Jetzt wirst gleich gesteinigt 😉

            M 1 Reply Last reply Reply Quote 0
            • M
              myssv @Jan1 last edited by

              @jan1 sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

              @myssv
              Jetzt wirst gleich gesteinigt 😉

              Das befürchte ich auch schon, aber ich stehe aktuell echt total auf dem Schlauch ....

              Habe von Linux 0 Ahnung, wobei man das sicher schon an den Kommentaren gemerkt hat. Bin halt eher der Mausschubser ...

              J Thomas Braun 2 Replies Last reply Reply Quote 0
              • J
                Jan1 @myssv last edited by

                @myssv
                root User, ok habe da was gelesen dass das im Docker nötig wäre (oder auch nicht), aber sudo beim root User ist wirklich ein Beweis, dass Du Linux nicht verstanden hast.
                So jetzt bitte zur Steinigung 🙂

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

                  @myssv Als root wird nicht per sudo gearbeitet.
                  Bist ja schon root.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    myssv @Thomas Braun last edited by

                    @thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

                    @myssv Als root wird nicht per sudo gearbeitet.
                    Bist ja schon root.

                    Ich habe den Befehl so aus Deiner Anleitung genommen ... und ja, ich habe davon keine Ahnung

                    Auch ohne sudo bekomme ich den Fehler.

                    root@iobroker:/opt/iobroker# apt remove node*
                    Paketlisten werden gelesen... Fertig
                    Abhängigkeitsbaum wird aufgebaut.       
                    Statusinformationen werden eingelesen.... Fertig
                    E: Paket node_modules kann nicht gefunden werden.
                    
                    Thomas Braun 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @myssv last edited by

                      @myssv Dann weiter in der Anleitung.

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

                        @myssv sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

                        Ich habe den Befehl so aus Deiner Anleitung genommen

                        Ich gehe ja in meiner Anleitung davon aus daß man eben nicht root ist. Auf 'gescheiten' Systemen ist das auch so. Nur bei Docker auf Synology geht das nicht, weil das OS der Synology das nicht kann.

                        1 Reply Last reply Reply Quote 0
                        • M
                          myssv @Thomas Braun last edited by myssv

                          @thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

                          @myssv Dann weiter in der Anleitung.

                          Die RM-Befehle habe ich ausgeführt und die Node-Version heruntergeladen.

                          Nun geht gar nichts mehr ... 😞

                          
                          ------------------------------------------------------------
                          
                          ---------------     2021-07-10 11:27:32      ---------------
                          
                          ------------------------------------------------------------
                          
                           
                          
                          ------------------------------------------------------------
                          
                          -----       Welcome to your ioBroker-container!        -----
                          
                          -----          Startupscript is now running.           -----
                          
                          -----                Please be patient!                -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          ------------------------------------------------------------
                          
                          -----              Debugging information               -----
                          
                          -----                                                  -----
                          
                          -----                      System                      -----
                          
                          -----               arch:      x86_64                  -----
                          
                          -----                                                  -----
                          
                          -----                     Versions                     -----
                          
                          -----               image:     v5.1.0                  -----
                          
                          /opt/scripts/iobroker_startup.sh: Zeile 45: /usr/local/bin/node: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei
                          
                          -----               node:                              -----
                          
                          /usr/local/bin/node: 1: /usr/local/bin/node: Syntax error: word unexpected (expecting ")")
                          
                          -----               npm:                               -----
                          
                          -----                                                  -----
                          
                          -----                       ENV                        -----
                          
                          -----               AVAHI:     false                   -----
                          
                          -----               PACKAGES:  nano                    -----
                          
                          -----               SETGID:    1000                    -----
                          
                          -----               SETUID:    1000                    -----
                          
                          -----               USBDEVICES: none                    -----
                          
                          -----               ZWAVE:     false                   -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          ------------------------------------------------------------
                          
                          -----         Step 1 of 5: Preparing container         -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          Installing additional packages is set by ENV.
                          
                          The following packages will be installed: nano...
                          
                          Done.
                          
                           
                          
                          ------------------------------------------------------------
                          
                          -----   Step 2 of 5: Detecting ioBroker installation   -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          Existing installation of ioBroker detected in /opt/iobroker.
                          
                           
                          
                          ------------------------------------------------------------
                          
                          -----   Step 3 of 5: Checking ioBroker installation    -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          (Re)Setting folder permissions (This might take a while! Please be patient!)...
                          
                          Done.
                          
                           
                          
                          Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
                          
                          Done.
                          
                           
                          
                          error: exec failed: exec format error
                          
                          /opt/scripts/iobroker_startup.sh: Zeile 197: [: !=: Einstelliger (unärer) Operator erwartet.
                          
                          ------------------------------------------------------------
                          
                          -----      Step 4 of 5: Applying special settings      -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                          
                          For more information take a look at readme.md on Github!
                          
                           
                          
                          ------------------------------------------------------------
                          
                          -----          Step 5 of 5: ioBroker startup           -----
                          
                          ------------------------------------------------------------
                          
                           
                          
                          Starting ioBroker...
                          
                           
                           
                          
                          error: exec failed: exec format error
                          
                              
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @myssv last edited by

                            @myssv Der Container linkt noch nach
                            /usr/local/bin/node

                            Da ich keine Ahnung von den Dingern hab muss das jemand anders gerade biegen.

                            1 Reply Last reply Reply Quote 0
                            • M
                              myssv last edited by

                              root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                              /usr/local/bin/nodejs
                              /usr/local/bin/node
                              /usr/local/bin/npm
                              bash: /usr/local/bin/nodejs: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei
                              root@iobroker:/opt/iobroker# 
                              
                              1 Reply Last reply Reply Quote 0
                              • M
                                myssv last edited by

                                Ich habe zwar keine Ahnung von Linux, aber manchmal ganz gute Ideen.

                                Ich habe einen aktuellen iobroker Container heruntergeladen und diesen neu gestartet:

                                root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                /usr/bin/nodejs
                                /usr/bin/node
                                /usr/bin/npm
                                v12.22.2
                                v12.22.2
                                6.14.13
                                nodejs:
                                  Installiert:           12.22.2-1nodesource1
                                  Installationskandidat: 12.22.2-1nodesource1
                                  Versionstabelle:
                                 *** 12.22.2-1nodesource1 100
                                        100 /var/lib/dpkg/status
                                root@iobroker:/opt/iobroker# 
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @myssv last edited by

                                  @myssv Da fehlt nur noch das Nodesource-Repo.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    myssv @Thomas Braun last edited by

                                    @thomas-braun sagte in Admin funktioniert seit update auf 5.1.10 nicht mehr:

                                    @myssv Da fehlt nur noch das Nodesource-Repo.

                                    So?

                                    root@iobroker:/opt/iobroker# which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    v12.22.2
                                    v12.22.2
                                    6.14.13
                                    nodejs:
                                      Installiert:           12.22.2-1nodesource1
                                      Installationskandidat: 12.22.2-1nodesource1
                                      Versionstabelle:
                                     *** 12.22.2-1nodesource1 500
                                            500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         10.24.0~dfsg-1~deb10u1 500
                                            500 http://deb.debian.org/debian buster/main amd64 Packages
                                            500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                    

                                    Der Update Fehler beim Admin ist geblieben:

                                    root@iobroker:/opt/iobroker# iobroker upgrade
                                    
                                    This upgrade of "admin" will introduce the following changes:
                                    ==========================================================================
                                    -> 5.1.10:
                                    Corrected some GUI errors
                                    ==========================================================================
                                    
                                    Would you like to upgrade admin from @5.1.9 to @5.1.10 now? [(y)es, (n)o]: y
                                    Update admin from @5.1.9 to @5.1.10
                                    host.iobroker Adapter "system.adapter.admin.0" is stopped.
                                    NPM version: 6.14.13
                                    npm install iobroker.admin@5.1.10 --loglevel error --prefix "/opt/iobroker" (System call)
                                    npm ERR! code EINTEGRITY
                                    npm ERR! Verification failed while extracting iobroker.openligadb@https://github.com/oweitman/ioBroker.openligadb/tarball/master:
                                    npm ERR! Verification failed while extracting iobroker.openligadb@https://github.com/oweitman/ioBroker.openligadb/tarball/master:
                                    npm ERR! sha512-pB22Fvp08/amIRWYLQfhozpKkRAiM2LUDrNZrEnHDhERBwidYFYWOFFJ80N54pVh9yz6Y3gbJ3VWK4/VmPl77A== integrity checksum failed when using sha512: wanted sha512-pB22Fvp08/amIRWYLQfhozpKkRAiM2LUDrNZrEnHDhERBwidYFYWOFFJ80N54pVh9yz6Y3gbJ3VWK4/VmPl77A== but got sha512-WLFcOaoHfNIu5uGyi6Q/iQ/UB+ITNjsAYShVYAUsWoefc/3RrqZzWl7odAxoQaRDmnkYP9+/s2/sE2mrAJPakQ==. (252178 bytes)
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /opt/iobroker/.npm/_logs/2021-07-10T09_59_43_420Z-debug.log
                                    upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                                    upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json jsonConfig.json application/json
                                    upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                                    upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                                    upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                                    Adapter "admin" updated
                                    host.iobroker Adapter "system.adapter.admin.0" is started
                                    root@iobroker:/opt/iobroker#
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @myssv last edited by

                                      @myssv

                                      Der Download von Openliga ist immer noch kaputt.

                                      M J 2 Replies Last reply Reply Quote 0
                                      • M
                                        myssv @Thomas Braun last edited by

                                        @thomas-braun

                                        
                                        cd /opt/iobroker
                                        npm cache clear --force
                                        
                                        

                                        Hatte ich ausgeführt. Kann es an der Version bei github liegen?

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jan1 @Thomas Braun last edited by

                                          @thomas-braun
                                          Der läuft bei mir im Browser.

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

                                            @myssv

                                            npm cache verify
                                            
                                            M 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

                                            912
                                            Online

                                            32.0k
                                            Users

                                            80.6k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            60
                                            1416
                                            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