Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Problem mit Adapter-Updates

    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

    Problem mit Adapter-Updates

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser @kekz last edited by Glasfaser

      @kekz sagte in Problem mit Adapter-Updates:

      root@deb-iobroker:/home/andre# iobroker upgrade hs100

      Warum root !?

      Mache das ... dann sieht man mehr .. am ende mit --debug

      iobroker upgrade hs100 --debug
      

      Dann kommt ein angemekertes Verzeichniss mit rename ...

      https://forum.iobroker.net/topic/57238/error-25-npm-err-code-enotempty/4?_=1661080052009

      K 1 Reply Last reply Reply Quote 0
      • K
        kekz @Glasfaser last edited by

        @glasfaser

        andre@deb-iobroker:~$ sudo iobroker upgrade hs100 --debug
        [sudo] Passwort für andre:
        
        This upgrade of "hs100" will introduce the following changes:
        ==========================================================================
        -> 2.1.2:
        js-sontroller 4.x ledstate
        ==========================================================================
        
        Would you like to upgrade hs100 from @2.0.7 to @2.1.2 now? [(y)es, (n)o]: y
        Update hs100 from @2.0.7 to @2.1.2
        NPM version: 8.15.0
        Installing iobroker.hs100@2.1.2... (System call)
        npm ERR! code E404
        npm ERR! 404 Not Found - GET https://codeload.github.com/homeinstalator/mikronode-ng/tar.gz/v1.0.11
        npm ERR! 404
        npm ERR! 404  'mikronode-ng@https://github.com/homeinstalator/mikronode-ng/archive/v1.0.11.tar.gz' is not in this registry.
        npm ERR! 404
        npm ERR! 404 Note that you can also install from a
        npm ERR! 404 tarball, folder, http url, or git url.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-08-21T11_38_16_065Z-debug-0.log
        upload [5] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/admin.d.ts admin.d.ts video/mp2t
        upload [4] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/hs100.png hs100.png image/png
        upload [3] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index.html index.html text/html
        upload [2] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index_m.html index_m.html text/html
        upload [1] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/style.css style.css text/css
        upload [0] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/words.js words.js application/javascript
        andre@deb-iobroker:~$
        
        
        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @kekz last edited by

          @kekz sagte in Problem mit Adapter-Updates:

          andre@deb-iobroker:~$ sudo

          Was hast du jetzt gemacht !

          User ist OK..

          Aber vor iobroker Befehle gehört kein sudo .. . nie machen

          iobroker fix
          
          K 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser last edited by Glasfaser

            @kekz sagte in Problem mit Adapter-Updates:

            npm ERR! code E404

            Verweist auf eine falsche URL

            Wo hast du die 2.0.7 her laut Github finde ich nur 2.0.6 dann 2.1.0 !?

            K 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser last edited by

              @kekz

              iobroker stop
              rm -rf  /opt/iobroker/package.json 
              iobroker start
              iobroker upgrade hs100@2.1.2
              
              1 Reply Last reply Reply Quote 0
              • K
                kekz @Glasfaser last edited by

                @glasfaser

                Danke für den Hinweis!

                andre@deb-iobroker:~$ iobroker fix
                library: loaded
                Library version=2022-06-15
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2022-06-03
                
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/3)
                ==========================================================================
                
                OK:1 http://security.debian.org stretch/updates InRelease
                OK:2 http://security.debian.org/debian-security stretch/updates InRelease
                OK:3 http://ftp.de.debian.org/debian stable InRelease
                Ign:4 http://ftp.be.debian.org/debian stretch InRelease
                OK:5 http://ftp.be.debian.org/debian stretch Release
                OK:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                Ign:8 http://ftp.au.debian.org/debian stretch InRelease
                OK:9 http://ftp.au.debian.org/debian stretch Release
                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!
                
                ==========================================================================
                
                andre@deb-iobroker:~$
                
                
                andre@deb-iobroker:~$ iobroker upgrade hs100 --debug
                
                This upgrade of "hs100" will introduce the following changes:
                ==========================================================================
                -> 2.1.2:
                js-sontroller 4.x ledstate
                ==========================================================================
                
                Would you like to upgrade hs100 from @2.0.7 to @2.1.2 now? [(y)es, (n)o]: y
                Update hs100 from @2.0.7 to @2.1.2
                NPM version: 8.15.0
                Installing iobroker.hs100@2.1.2... (System call)
                npm ERR! code E404
                npm ERR! 404 Not Found - GET https://codeload.github.com/homeinstalator/mikronode-ng/tar.gz/v1.0.11
                npm ERR! 404
                npm ERR! 404  'mikronode-ng@https://github.com/homeinstalator/mikronode-ng/archive/v1.0.11.tar.gz' is not in this registry.
                npm ERR! 404
                npm ERR! 404 Note that you can also install from a
                npm ERR! 404 tarball, folder, http url, or git url.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-08-21T11_53_54_537Z-debug-0.log
                upload [5] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/admin.d.ts admin.d.ts video/mp2t
                upload [4] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/hs100.png hs100.png image/png
                upload [3] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index.html index.html text/html
                upload [2] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index_m.html index_m.html text/html
                upload [1] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/style.css style.css text/css
                upload [0] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/words.js words.js application/javascript
                andre@deb-iobroker:~$
                
                

                Ich habe mal dieses mikronode-ng nachinstalliert.

                andre@deb-iobroker:~$ npm install mikronode-ng
                npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                npm WARN cleanup Failed to remove some directories [
                npm WARN cleanup   [
                npm WARN cleanup     '/home/andre/node_modules/.diskusage-NoLfal0G',
                npm WARN cleanup     [Error: EACCES: permission denied, unlink '/home/andre/node_modules/.diskusage-NoLfal0G/build/Makefile'] {
                npm WARN cleanup       errno: -13,
                npm WARN cleanup       code: 'EACCES',
                npm WARN cleanup       syscall: 'unlink',
                npm WARN cleanup       path: '/home/andre/node_modules/.diskusage-NoLfal0G/build/Makefile'
                npm WARN cleanup     }
                npm WARN cleanup   ],
                npm WARN cleanup   [
                npm WARN cleanup     '/home/andre/node_modules/.unix-dgram-NMvJvOpB',
                npm WARN cleanup     [Error: EACCES: permission denied, unlink '/home/andre/node_modules/.unix-dgram-NMvJvOpB/build/Makefile'] {
                npm WARN cleanup       errno: -13,
                npm WARN cleanup       code: 'EACCES',
                npm WARN cleanup       syscall: 'unlink',
                npm WARN cleanup       path: '/home/andre/node_modules/.unix-dgram-NMvJvOpB/build/Makefile'
                npm WARN cleanup     }
                npm WARN cleanup   ]
                npm WARN cleanup ]
                
                added 21 packages, removed 66 packages, changed 192 packages, and audited 247 packages in 17s
                
                14 packages are looking for funding
                  run `npm fund` for details
                
                4 vulnerabilities (3 moderate, 1 high)
                
                To address all issues (including breaking changes), run:
                  npm audit fix --force
                
                Run `npm audit` for details.
                npm notice
                npm notice New minor version of npm available! 8.15.0 -> 8.18.0
                npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.18.0
                npm notice Run npm install -g npm@8.18.0 to update!
                npm notice
                
                

                Das, in Verbindung mit iobroker fix, brachte leider keine Veränderung

                andre@deb-iobroker:~$ iobroker upgrade hs100 --debug
                
                This upgrade of "hs100" will introduce the following changes:
                ==========================================================================
                -> 2.1.2:
                js-sontroller 4.x ledstate
                ==========================================================================
                
                Would you like to upgrade hs100 from @2.0.7 to @2.1.2 now? [(y)es, (n)o]: y
                Update hs100 from @2.0.7 to @2.1.2
                NPM version: 8.15.0
                Installing iobroker.hs100@2.1.2... (System call)
                npm ERR! code E404
                npm ERR! 404 Not Found - GET https://codeload.github.com/homeinstalator/mikronode-ng/tar.gz/v1.0.11
                npm ERR! 404
                npm ERR! 404  'mikronode-ng@https://github.com/homeinstalator/mikronode-ng/archive/v1.0.11.tar.gz' is not in this registry.
                npm ERR! 404
                npm ERR! 404 Note that you can also install from a
                npm ERR! 404 tarball, folder, http url, or git url.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2022-08-21T11_59_48_295Z-debug-0.log
                upload [5] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/admin.d.ts admin.d.ts video/mp2t
                upload [4] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/hs100.png hs100.png image/png
                upload [3] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index.html index.html text/html
                upload [2] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/index_m.html index_m.html text/html
                upload [1] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/style.css style.css text/css
                upload [0] hs100.admin /opt/iobroker/node_modules/iobroker.hs100/admin/words.js words.js application/javascript
                andre@deb-iobroker:~$
                
                
                mikeal created this issue in request/request

                open Request’s Past, Present and Future #3142

                Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @kekz last edited by Glasfaser

                  @kekz sagte in Problem mit Adapter-Updates:

                  Ich habe mal dieses mikronode-ng nachinstalliert.

                  Habe ich nicht geschrieben, das du das machen sollst !!!

                  siehe oben !!!!

                  Da kannst du unendlich was machen , denn

                  npm ERR! code E404

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    kekz @Glasfaser last edited by

                    @glasfaser said in Problem mit Adapter-Updates:

                    @kekz sagte in Problem mit Adapter-Updates:

                    npm ERR! code E404

                    Verweist auf eine falsche URL

                    Wo hast du die 2.0.7 her laut Github finde ich nur 2.0.6 dann 2.1.0 !?

                    Das wird sicher einmal über die Adapter-Updates installiert worden sein.
                    Andere Quellen nutze ich nicht.

                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @kekz last edited by Glasfaser

                      @kekz

                      so jetzt die eingaben die ich oben gepostet habe durchführen !!

                      @glasfaser sagte in Problem mit Adapter-Updates:

                      @kekz

                      iobroker stop
                      rm -rf  /opt/iobroker/package.json 
                      iobroker start
                      iobroker upgrade hs100@2.1.2
                      
                      1 Reply Last reply Reply Quote 0
                      • K
                        kekz @Glasfaser last edited by

                        @glasfaser said in Problem mit Adapter-Updates:

                        @kekz sagte in Problem mit Adapter-Updates:

                        Ich habe mal dieses mikronode-ng nachinstalliert.

                        Habe ich nicht geschrieben, das du das machen sollst !!!

                        siehe oben !!!!

                        Da kannst du unendlich was machen , denn

                        npm ERR! code E404

                        Ist ja in Ordnung. Du brauchst nicht schreien.
                        Ich habe den Hinweis in der Ausgabe als eine fehlende dependency interpretiert.
                        Darüber hinaus kann ich auch selbst probieren, also immer schön ruhig bleiben.

                        iobroker stop
                        rm -rf  /opt/iobroker/package.json 
                        iobroker start
                        iobroker upgrade hs100@2.1.2
                        
                        andre@deb-iobroker:~$ iobroker upgrade hs100@2.1.2 --debug
                        
                        This upgrade of "hs100" will introduce the following changes:
                        ==========================================================================
                        -> 2.1.2:
                        js-sontroller 4.x ledstate
                        ==========================================================================
                        
                        Would you like to upgrade hs100 from @2.0.7 to @2.1.2 now? [(y)es, (n)o]: y
                        Update hs100 from @2.0.7 to @2.1.2
                        NPM version: 8.15.0
                        Installing iobroker.hs100@2.1.2... (System call)
                        
                        added 1 package, removed 4552 packages, and changed 15 packages in 8s
                        
                        1 package is looking for funding
                          run `npm fund` for details
                        Update "system.adapter.hs100.0"
                        Cannot upgrade: Cannot find module 'mime'
                        Require stack:
                        - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js
                        - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js
                        - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                        - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                        andre@deb-iobroker:~$ iobroker start
                        andre@deb-iobroker:~$
                        
                        
                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @kekz last edited by Glasfaser

                          @kekz sagte in Problem mit Adapter-Updates:

                          Darüber hinaus kann ich auch selbst probieren, also immer schön ruhig bleiben.

                          Ich bin ruhig ...

                          nur du möchstest hier Hilfe und machst etwas noch zwischendurch

                          Kannst du ja gerne machen ich halte dich nicht auf ,

                          aber wer schon mit root unterwegs ist ... ich weise darauf hin ..
                          du änderst es ..

                          dann machst du Befehle mit sudo vorraus ....

                          Was soll ich noch dazu weiter sagen !?

                          K 1 Reply Last reply Reply Quote 0
                          • K
                            kekz @Glasfaser last edited by

                            @glasfaser said in Problem mit Adapter-Updates:

                            @kekz sagte in Problem mit Adapter-Updates:

                            Darüber hinaus kann ich auch selbst probieren, also immer schön ruhig bleiben.

                            Ich bin ruhig ...

                            nur du möchstest hier Hilfe und machst etwas noch zwischendurch

                            Kannst du ja geren machen ich halte dich nicht auf ,

                            aber wer schon mit root unterwegs bist ... ich weise daruf hin ..
                            du änderst es ..

                            dann machst du Befehle mit sudo vorraus ....

                            Was soll ich noch dazu weiter sagen !?

                            Du bist sicher vieles, aber ruhig nicht.
                            Wenn mir jemand Postings im Befehlston entgegenknallt, versehen mit zahlreichen Ausrufezeichen, dann kann ich das nicht als "ruhig" empfinden.
                            Mag sein, dass das dein normaler Umgangston ist. Meiner nicht.
                            Deinen stark abwertenden Subtext mal ganz außen vor...

                            Dennoch danke für deine Hilfe.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kekz last edited by kekz

                              andre@deb-iobroker:~$ iobroker stop
                              [sudo] Passwort für andre:
                              andre@deb-iobroker:~$ rm -rf  /opt/iobroker/package.json
                              andre@deb-iobroker:~$ iobroker start
                              andre@deb-iobroker:~$ iobroker upgrade hs100@2.1.2
                              
                              This upgrade of "hs100" will introduce the following changes:
                              ==========================================================================
                              -> 2.1.2:
                              js-sontroller 4.x ledstate
                              ==========================================================================
                              
                              Would you like to upgrade hs100 from @2.0.7 to @2.1.2 now? [(y)es, (n)o]: y
                              Update hs100 from @2.0.7 to @2.1.2
                              NPM version: 8.15.0
                              Installing iobroker.hs100@2.1.2... (System call)
                              
                              added 1 package, removed 4552 packages, and changed 15 packages in 10s
                              
                              1 package is looking for funding
                                run `npm fund` for details
                              Update "system.adapter.hs100.0"
                              Cannot upgrade: Cannot find module 'mime'
                              Require stack:
                              - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js
                              - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js
                              - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                              - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                              andre@deb-iobroker:~$
                              

                              Das Update des Adapters läuft durch. Ich sehe kurz im iobroker Admin, dass Version 2.1.2 installiert ist.
                              Danach crasht der iobroker Admin sofort.

                              andre@deb-iobroker:~$ iobroker stop
                              andre@deb-iobroker:~$ iobroker fix
                              library: loaded
                              Library version=2022-06-15
                              ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                              andre@deb-iobroker:~$ curl -sL https://iobroker.net/fix.sh | bash -
                              library: loaded
                              Library version=2022-06-15
                              ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                              
                              

                              Letzteres kann ich mir nun nicht erklären

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

                                @kekz sagte in Problem mit Adapter-Updates:

                                Ich habe mal dieses mikronode-ng nachinstalliert.

                                Im falschen Ordner. Darüber hinaus fährst du das längst tote Stretch, hast aber Quellen für Buster/Bullseye drin. Von root abgesehen. Da läuft so einiges falsch.

                                K 1 Reply Last reply Reply Quote 1
                                • K
                                  kekz @Thomas Braun last edited by

                                  @thomas-braun

                                  Schlägst Du eine Neuinstallation vor?

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

                                    @kekz

                                    Ich schlage vor erstmal dein System geradezurücken und ordentlich damit umzugehen.

                                    Das tote Stretch-Pferd kannst du aber aufhören zu reiten. Installier ein Bullseye.

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      kekz @Thomas Braun last edited by kekz

                                      @thomas-braun said in Problem mit Adapter-Updates:

                                      @kekz

                                      Ich schlage vor erstmal dein System geradezurücken und ordentlich damit umzugehen.

                                      Aha.

                                      Das tote Stretch-Pferd kannst du aber aufhören zu reiten. Installier ein Bullseye.

                                      Ok, gut. Mache ich 🙂

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

                                        @kekz

                                        Und lass den root in Ruhe im neuen System.

                                        K 1 Reply Last reply Reply Quote 0
                                        • K
                                          kekz @Thomas Braun last edited by kekz

                                          @thomas-braun
                                          Verstanden 🙂
                                          Danke!

                                          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

                                          736
                                          Online

                                          31.9k
                                          Users

                                          80.2k
                                          Topics

                                          1.3m
                                          Posts

                                          adapter aktualisieren
                                          3
                                          20
                                          852
                                          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