Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein js-controller und Adapter update möglich!

    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

    Kein js-controller und Adapter update möglich!

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      relu77 last edited by Negalein

      Hallo!

      Habe das Problem das ich alle Adapter mit Aktualisierungen und den js.-contoller (1.5.14) nicht updaten kann.
      Gehe nach der Anleitung im IoBroker Info vor.

      Bekomme immer diese Fehlermeldung:

      npm ERR! code MODULE_NOT_FOUND
      npm ERR! Cannot find module 'fs-vacuum'
      

      admin 3.6.4
      node 10.16.3
      nodejs 10.17.0
      npm 6.9.0 kann ich auch nicht ändern, gleiche Fehlermeldung!

      Putty ausgabe:

      pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop
      pi@ioBroker-RasPi:/opt/iobroker $ iobroker upgrade self
      Update js-controller from @1.5.14 to @2.1.1
      NPM version: 6.9.0
      npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      npm ERR! code MODULE_NOT_FOUND
      npm ERR! Cannot find module 'fs-vacuum'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2019-12-05T22_19_07_028Z-debug.log
      Host "ioBroker-RasPi" (linux) updated
      Execute: chmod -R 777 /opt/iobroker
      

      Ich hoffe ihr könnt mir helfen!
      Danke im Voraus!

      LG Relu

      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
      Hier gehts zur Hilfe.

      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @relu77 last edited by

        @relu77 machmal

        cd /opt/iobroker
        npm install ioBroker/ioBroker.js-controller
        
        1 Reply Last reply Reply Quote 0
        • R
          relu77 last edited by

          @arteck said in Kein js-controller und Adapter update möglich!:

          npm install ioBroker/ioBroker.js-controller

          gleiche Fehlermeldung!

          arteck 1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active @relu77 last edited by

            @relu77 sagte in Kein js-controller und Adapter update möglich!:

            npm install fs-vacuum
            
            1 Reply Last reply Reply Quote 0
            • R
              relu77 last edited by

              @relu77 said in Kein js-controller und Adapter update möglich!:

              gleiche Fehlermeldung!

              gleiche Fehlermeldung!

              1 Reply Last reply Reply Quote 0
              • R
                relu77 last edited by

                Hallo, hat das was mit den mihome-vacuum adapter zu tun?

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

                  @relu77
                  Du hast 2 unterschiedliche Node Versionen laufen, das wird so nix.

                  1 Reply Last reply Reply Quote 0
                  • R
                    relu77 last edited by

                    wie bekomme ich die gleich?

                    Homoran J 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @relu77 last edited by

                      @relu77
                      Die sollst du nicht gleich bekommen!
                      Du darfst nur eine haben

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

                        @relu77
                        Da gibts mehr als genug Threads und Anleitungen dazu hier im Forum. Such mal nach Nodes Update.

                        1 Reply Last reply Reply Quote 0
                        • R
                          relu77 last edited by

                          bekomme node nicht deinstalliert!
                          nodejs und npm sind deinstalliert

                          pi@ioBroker-RasPi:/opt/iobroker $ sudo apt-get purge -y nodejs npm nodejs-legacyPaketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Paket »nodejs-legacy« ist nicht installiert, wird also auch nicht entfernt.
                          Paket »npm« ist nicht installiert, wird also auch nicht entfernt.
                          Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt.
                          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                          pi@ioBroker-RasPi:/opt/iobroker $ nodejs -v
                          -bash: nodejs: Kommando nicht gefunden.
                          pi@ioBroker-RasPi:/opt/iobroker $ npm -v
                          -bash: npm: Kommando nicht gefunden.
                          pi@ioBroker-RasPi:/opt/iobroker $ node -v
                          v10.16.3
                          pi@ioBroker-RasPi:/opt/iobroker $

                          1 Reply Last reply Reply Quote 0
                          • R
                            RappiRN Most Active last edited by

                            Da du ganz am Anfang zwei unterschiedliche Versionen node und nodejs hattest, musst du vielleicht mal ins root-Verzeichnis wechseln und nochmal deinstallieren.

                            Enrico

                            1 Reply Last reply Reply Quote 0
                            • R
                              relu77 last edited by relu77

                              ist das root?
                              cd /opt/iobroker
                              befehle mit sudo

                              1 Reply Last reply Reply Quote 0
                              • R
                                RappiRN Most Active last edited by

                                Nee, ich glaube mit cd kommst du wieder zurück, dahin, wo du nach der Anmeldung bist.
                                Da dann wieder deine Deinstallation starten.

                                Enrico

                                1 Reply Last reply Reply Quote 0
                                • R
                                  relu77 last edited by relu77

                                  hab ich schon gemacht. bekomme node -v nicht weg

                                  login as: pi
                                  pi@192.168.1.112's password:
                                  Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

                                  The programs included with the Debian GNU/Linux system are free software;
                                  the exact distribution terms for each program are described in the
                                  individual files in /usr/share/doc/*/copyright.

                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Sat Dec 7 22:20:45 2019 from 192.168.1.2
                                  pi@ioBroker-RasPi:~ $ sudo apt-get --purge remove node
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  Paket »node« ist nicht installiert, wird also auch nicht entfernt.
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                  pi@ioBroker-RasPi:~ $ sudo apt-get --purge remove nodejs
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt.
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                  pi@ioBroker-RasPi:~ $ sudo apt-get autoremove
                                  Paketlisten werden gelesen... Fertig
                                  Abhängigkeitsbaum wird aufgebaut.
                                  Statusinformationen werden eingelesen.... Fertig
                                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                  pi@ioBroker-RasPi:~ $ ^C
                                  pi@ioBroker-RasPi:~ $ sudo reboot

                                  login as: pi
                                  pi@192.168.1.112's password:
                                  Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

                                  The programs included with the Debian GNU/Linux system are free software;
                                  the exact distribution terms for each program are described in the
                                  individual files in /usr/share/doc/*/copyright.

                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Sat Dec 7 22:37:15 2019 from 192.168.1.2
                                  pi@ioBroker-RasPi:~ $ node -v
                                  v10.16.3
                                  pi@ioBroker-RasPi:~ $ nodejs -v
                                  -bash: nodejs: Kommando nicht gefunden.
                                  pi@ioBroker-RasPi:~ $ npm -v
                                  -bash: npm: Kommando nicht gefunden.
                                  pi@ioBroker-RasPi:~ $

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    relu77 last edited by

                                    wWie weis ich ob ich root bin?

                                    pi@ioBroker-RasPi:~ $ sudo apt update && apt upgrade -y
                                    OK:1 http://archive.raspberrypi.org/debian stretch InRelease
                                    OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
                                    OK:3 https://deb.nodesource.com/node_10.x stretch InRelease
                                    Paketlisten werden gelesen... Fertig
                                    Abhängigkeitsbaum wird aufgebaut.
                                    Statusinformationen werden eingelesen.... Fertig
                                    Alle Pakete sind aktuell.
                                    E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                                    E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
                                    pi@ioBroker-RasPi:~ $

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

                                      @relu77
                                      Im root ist was anderes wie User root und das bist nicht, steht ja auch schon da Pi... Somit bist als User Pi angemeldet.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        relu77 last edited by

                                        wie komme ich in root?

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

                                          @relu77
                                          Wenn dich einloggst bist im root. Das ist die unterste Verzeichnisebene. Oder von irgendwo mit cd

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            relu77 last edited by relu77

                                            Bei mir ist das die unterste Ebene.

                                            login as: pi
                                            pi@192.168.1.112's password:
                                            Linux ioBroker-RasPi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l

                                            The programs included with the Debian GNU/Linux system are free software;
                                            the exact distribution terms for each program are described in the
                                            individual files in /usr/share/doc/*/copyright.

                                            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                            permitted by applicable law.
                                            Last login: Sat Dec 7 23:10:20 2019 from 192.168.1.2
                                            pi@ioBroker-RasPi:~ $ cd
                                            pi@ioBroker-RasPi:~ $

                                            J 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

                                            674
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            controller npm error
                                            5
                                            26
                                            1404
                                            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