Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler bei Update diverser Adapter.

    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

    Fehler bei Update diverser Adapter.

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

      @Landmilch

      npm install iobroker.js-controller
      
      L 1 Reply Last reply Reply Quote 0
      • L
        Landmilch @Glasfaser last edited by

        @Glasfaser said in Fehler bei Update diverser Adapter.:

        npm install iobroker.js-controller

        Besser, aber leider am Ende auch mit Fehlermeldungen.

        pi@iobroker:/opt/iobroker $ npm install js-controller
        npm ERR! code E404
        npm ERR! 404 Not Found - GET https://registry.npmjs.org/js-controller - Not found
        npm ERR! 404 
        npm ERR! 404  'js-controller@latest' is not in the npm registry.
        npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
        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/2020-05-06T21_59_22_132Z-debug.log
        pi@iobroker:/opt/iobroker $ start iobroker
        -bash: start: Kommando nicht gefunden.
        pi@iobroker:/opt/iobroker $ iobroker start
        pi@iobroker:/opt/iobroker $ npm install iobroker.js-controller
        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
        
        > node-aead-crypto@2.2.0 preinstall /opt/iobroker/node_modules/node-aead-crypto
        > node lib/preinstall.js
        
        node-aead-crypto not needed on this system, since all ciphers are natively supported
        
        > iobroker.js-controller@3.0.20 preinstall /opt/iobroker/node_modules/iobroker.js-controller
        > node lib/preinstallCheck.js
        
        NPM version: 6.14.4
        
        > iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker
        > node lib/checkVersions.js
        
        NPM version: 6.14.4
        
        > iobroker.js-controller@3.0.20 install /opt/iobroker/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
        object system.certificates updated
        
        > iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
        > node lib/install.js
        
        
        
        ╭─────────────────────────────────────────────────────────╮
        │                                                         │
        │ Manual installation of ioBroker is no longer supported  │
        │ on Linux, OSX and FreeBSD!                              │
        │ Please refer to the documentation on how to install it! │
        │ https://github.com/ioBroker/ioBroker/wiki/Installation  │
        │                                                         │
        ╰─────────────────────────────────────────────────────────╯
        
        
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 (node_modules/node-aead-crypto):
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@2.2.0 preinstall: `node lib/preinstall.js`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        
        npm ERR! code ELIFECYCLE
        npm ERR! errno 100
        npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js`
        npm ERR! Exit status 100
        npm ERR! 
        npm ERR! Failed at the iobroker@2.0.3 postinstall script.
        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2020-05-06T22_03_45_381Z-debug.log```
        mikeal created this issue in request/request

        open Request’s Past, Present and Future #3142

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

          @Landmilch

          iobroker upgrade self
          

          Aber den hatten wir glaube ich schon versucht.

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

            @Thomas-Braun said in Fehler bei Update diverser Adapter.:

            iobroker upgrade self

            pi@iobroker:/opt/iobroker $ iobroker upgrade self
            Host    "iobroker"       is up to date.
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Thomas Braun last edited by Glasfaser

              @Thomas-Braun

              Ich will hier nicht reingrätschen ...

              Vielleicht lief der npm rebuild nicht sauber durch !?

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

                @Glasfaser said in Fehler bei Update diverser Adapter.:

                @Thomas-Braun

                Ich will hier nicht reingrätschen ...

                Vielleicht lief der npm rebulid nicht sauber durch !?

                Soll ich den noch einmal durchlaufen lassen?
                Wenn ja, wie?

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

                  @Landmilch

                  iobroker rebuild self --install
                  
                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Landmilch @Thomas Braun last edited by

                    @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                    @Landmilch

                    iobroker rebuild self --install
                    

                    Hab iobroker gestoppt. Dann rebuild ausgeführt. Danach iobroker wieder gestartet.
                    Das ist das Ergebnis

                    npm install iobroker.history@1.9.6 --loglevel error --prefix "/opt/iobroker" (System call)
                    node-aead-crypto not needed on this system, since all ciphers are natively supported
                    
                    
                    ╭─────────────────────────────────────────────────────────╮
                    │                                                         │
                    │ Manual installation of ioBroker is no longer supported  │
                    │ on Linux, OSX and FreeBSD!                              │
                    │ Please refer to the documentation on how to install it! │
                    │ https://github.com/ioBroker/ioBroker/wiki/Installation  │
                    │                                                         │
                    ╰─────────────────────────────────────────────────────────╯
                    
                    
                    npm ERR! code ELIFECYCLE
                    npm ERR! errno 100
                    npm ERR! iobroker@2.0.3 postinstall: `node lib/install.js`
                    npm ERR! Exit status 100
                    npm ERR! 
                    npm ERR! Failed at the iobroker@2.0.3 postinstall script.
                    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2020-05-06T22_16_24_745Z-debug.log
                    host.iobroker Cannot install iobroker.history@1.9.6: 100
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Landmilch last edited by

                      @Landmilch Keine Ahnung dann.

                      which iobroker
                      
                      L 2 Replies Last reply Reply Quote 0
                      • L
                        Landmilch @Thomas Braun last edited by

                        @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                        which iobroker

                        pi@iobroker:/opt/iobroker $ which iobroker
                        /usr/bin/iobroker
                        pi@iobroker:/opt/iobroker $ 
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Landmilch last edited by

                          @Landmilch

                          ls -la /usr/bin/iobroker
                          
                          L 1 Reply Last reply Reply Quote 0
                          • L
                            Landmilch @Thomas Braun last edited by

                            @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                            @Landmilch Keine Ahnung dann.

                            which iobroker
                            

                            @Thomas-Braun @Glasfaser @paul53
                            Danke für euren Einsatz. Ich bin für heute raus. Muss jetzt erst mal schlafen. Morgen noch mal ausgeschlafen ran.

                            1 Reply Last reply Reply Quote 0
                            • L
                              Landmilch @Thomas Braun last edited by

                              @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                              ls -la /usr/bin/iobroker
                              Voila

                              pi@iobroker:/opt/iobroker $ ls -la /usr/bin/iobroker
                              lrwxrwxrwx 1 root root 22 Mai  6 23:22 /usr/bin/iobroker -> /opt/iobroker/iobroker
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Landmilch last edited by

                                @Landmilch
                                Nicht dass dein hostname 'iobroker' da für Trouble sorgt...

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

                                  @Thomas-Braun

                                  Bei jeder Fehlermeldung ist im Log ein Link :

                                  https://github.com/ioBroker/ioBroker/wiki/Installation
                                  

                                  als würde das System denken es hat eine alte Version installiert .

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

                                    @Glasfaser said in Fehler bei Update diverser Adapter.:

                                    https://github.com/ioBroker/ioBroker/wiki/Installation

                                    Oder zwei Installationen.

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

                                      @Glasfaser said in Fehler bei Update diverser Adapter.:

                                      @Thomas-Braun

                                      Bei jeder Fehlermeldung ist im Log ein Link :

                                      https://github.com/ioBroker/ioBroker/wiki/Installation
                                      

                                      als würde das System denken es hat eine alte Version installiert .

                                      Kann ich das System umbenennen?

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • L
                                        Landmilch @Thomas Braun last edited by

                                        @Thomas-Braun said in Fehler bei Update diverser Adapter.:

                                        @Glasfaser said in Fehler bei Update diverser Adapter.:

                                        https://github.com/ioBroker/ioBroker/wiki/Installation

                                        Oder zwei Installationen.

                                        Wenn das so ist, wie kann ich das prüfen?

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

                                          @Landmilch
                                          Kannst du hier ändern:

                                          sudo nano /etc/hostname
                                          sudo nano /etc/hosts
                                          

                                          Danach einmal rebooten, am besten.

                                          1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer last edited by AlCalzone

                                            @Landmilch
                                            iobroker@2.0.3 ist das Kern-Paket, dass beim Installieren benötigt wird. Deine Installation denkt wohl, dass das fehlt und bricht daraufhin alle npm-Installationen ab. Eigentlich sollte es auch gar nicht installiert sein, sondern enthält nur die Dateien, die zur Installation benötigt werden. Aus deiner Post-Historie vermute ich, dass du es ausversehen installiert hast, weil du Befehle nicht richtig abgetippt hast.

                                            Bitte genau lesen, nicht wie oben immer mal wieder Teile übersehen! Und bitte meine Antwort abwarten, nicht draus irgendwelchen Handlungsbedarf ableiten.

                                            1. Ist im Ordner /opt/iobroker eine Datei package-lock.json?
                                            2. Ist im Ordner /opt/iobroker/node_modules ein Ordner iobroker ohne führendes @?
                                            3. Zeige bitte den Inhalt der Datei /opt/iobroker/package.json.
                                            L 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

                                            792
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            install adapter update
                                            5
                                            71
                                            3902
                                            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