Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Massive Probleme nach JS-Controller update

    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

    [gelöst] Massive Probleme nach JS-Controller update

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

      @aphofis
      nodeJS nicht richtig installiert. Schau in meiner Signatur wie es korrekt gemacht wird.

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

        @thomas-braun
        Ich hab deine Anleitung Teil 1 komplett abgearbeitet
        Ausgabe ist jetzt:

        pi@AquaPi:~ $ node -v
        v14.17.5
        pi@AquaPi:~ $ nodejs -v
        v14.17.6
        pi@AquaPi:~ $ npm -v
        6.14.14
        

        Nur bekomme ich vom System Fehler auf der Webseite
        6281AF80-16E5-4F70-9894-C232A9F9FC97.jpeg
        16280004-B8AF-4AA1-95E7-E0536B8FEC5B.jpeg

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

          @aphofis

          Immer noch falsch.

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

            @thomas-braun
            Ich arbeite gerade Teil 2 ab!

            1 Reply Last reply Reply Quote 0
            • Aphofis
              Aphofis @Aphofis last edited by

              Teil 2 beendet Versionen sehen jetzt so aus

              pi@AquaPi:~ $ node -v
              v14.17.6
              pi@AquaPi:~ $ nodejs -v
              v14.17.6
              pi@AquaPi:~ $ npm -v
              6.14.15
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Aphofis last edited by

                @aphofis

                Wie sieht die vollständige Ausgabe von

                which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                

                aus?

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

                  @thomas-braun
                  Immer noch Probleme
                  B99F3D77-4A4C-488F-AEFD-7E665C05E1DA.jpeg

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

                    @thomas-braun sagte in JS-Controller update problem:

                    @aphofis

                    Wie sieht die vollständige Ausgabe von

                    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                    

                    aus?

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

                      @thomas-braun
                      Ausgabe:

                      
                      /usr/local/bin/nodejs
                      /usr/local/bin/node
                      /usr/local/bin/npm
                      v14.17.6
                      v14.17.6
                      6.14.15
                      OK:1 http://archive.raspberrypi.org/debian buster InRelease
                      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      OK:3 http://archive.raspbian.org/raspbian buster InRelease
                      OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                      OK:5 https://repos.influxdata.com/debian buster InRelease
                      OK:6 https://deb.nodesource.com/node_14.x buster InRelease
                      Paketlisten werden gelesen... Fertig                   
                      Abhängigkeitsbaum wird aufgebaut.       
                      Statusinformationen werden eingelesen.... Fertig
                      Alle Pakete sind aktuell.
                      OK:1 http://archive.raspbian.org/raspbian buster InRelease
                      OK:2 http://archive.raspberrypi.org/debian buster InRelease
                      OK:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                      OK:5 https://repos.influxdata.com/debian buster InRelease
                      OK:6 https://deb.nodesource.com/node_14.x buster InRelease
                      Paketlisten werden gelesen... Fertig                   
                      Abhängigkeitsbaum wird aufgebaut.       
                      Statusinformationen werden eingelesen.... Fertig
                      Alle Pakete sind aktuell.
                      nodejs:
                        Installiert:           14.17.6-deb-1nodesource1
                        Installationskandidat: 14.17.6-deb-1nodesource1
                        Versionstabelle:
                       *** 14.17.6-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                              100 /var/lib/dpkg/status
                           12.22.6-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Aphofis last edited by

                        @aphofis
                        Immer noch falsch.
                        Das darf alles nicht in
                        /usr/local/bin
                        liegen.

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

                          @thomas-braun
                          Also Teil 2 noch mal durch gehen !?
                          Beim letzten Teil muss ich doch eigentlich arm v7 benutzen oder !?

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

                            @aphofis

                            Ja. Den Krempel aus /usr/local/bin rauskratzen.
                            Wie hast du das überhaupt da rein bekommen?
                            Weiter oben war es vermutlich z. T. schon richtig.

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

                              @thomas-braun
                              Du stellst fragen ! Das Weiss ich doch jetzt nicht mehr aber deine Anleitung ist top!!!!

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

                                @aphofis sagte in JS-Controller update problem:

                                deine Anleitung ist top!!!!

                                Wenn du dich auch noch dran halten würdest wäre der Kram jetzt nicht in Gänze in /usr/local/bin gelandet.

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

                                  @thomas-braun
                                  So jetzt aber

                                  /usr/bin/nodejs
                                  /usr/local/bin/node
                                  /usr/local/bin/npm
                                  v14.17.6
                                  v14.17.6
                                  6.14.15
                                  nodejs:
                                    Installiert:           14.17.6-deb-1nodesource1
                                    Installationskandidat: 14.17.6-deb-1nodesource1
                                    Versionstabelle:
                                   *** 14.17.6-deb-1nodesource1 500
                                          500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                          100 /var/lib/dpkg/status
                                       12.22.6-deb-1nodesource1 500
                                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                       10.24.0~dfsg-1~deb10u1 500
                                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                  

                                  Ist es so korrekt ?
                                  Ich hab mich an die Anleitung gehalten alles aus den falschen Ordnern gelöscht und in /usr/bin/ installiert warum jetzt immer noch /usr/local/bin/ auftaucht keine Ahnung

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

                                    @aphofis sagte in JS-Controller update problem:

                                    Ist es so korrekt ?

                                    Nein.

                                    Aphofis 1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis @Aphofis last edited by

                                      Ist es so nicht korrekt?

                                      wget https://unofficial-builds.nodejs.org/download/release/v14.17.6/node-v14.17.6-linux-armv6l.tar.xz	
                                      	tar -xvf node-v14.17.6-linux-armv6l.tar.xz
                                      	cd node-v14.17.6-linux-armv6l/
                                      	sudo cp -R * /usr/bin/
                                      	sudo ln -s /usr/bin/node /usr/bin/nodejs
                                      	sudo reboo
                                      

                                      Ich mach das jetzt noch mal

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

                                        @aphofis
                                        NEIN!

                                        Man knallt das nicht direkt manuell in das System.
                                        Mann nutzt seinen Paketmanager dafür.

                                        Wo kommst du an den Befehl das aus den unofficial-builds zu ziehen?

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

                                          @thomas-braun

                                          So noch mal alles ausgeführt
                                          Ist es so korrekt ?

                                          /usr/bin/nodejs
                                          /usr/bin/node
                                          /usr/bin/npm
                                          v14.17.6
                                          v14.17.6
                                          7.24.0
                                          nodejs:
                                            Installiert:           14.17.6-deb-1nodesource1
                                            Installationskandidat: 14.17.6-deb-1nodesource1
                                            Versionstabelle:
                                           *** 14.17.6-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               12.22.6-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                               10.24.0~dfsg-1~deb10u1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Aphofis last edited by

                                            @aphofis

                                            Und wo kommt jetzt npm@7 her?
                                            Wenn sich da nicht kürzlich bei nodesource was geändert hat kommt nodeJS 14 mit npm@6 daher.

                                            Per

                                            sudo rm /usr/bin/npm
                                            

                                            löschen und nochmal per apt sauber installieren:

                                            sudo apt update
                                            sudo apt install nodejs --reinstall
                                            
                                            Aphofis 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            909
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            error error restart js.controller
                                            4
                                            62
                                            1745
                                            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