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 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
              • Aphofis
                Aphofis @Thomas Braun last edited by Aphofis

                @thomas-braun
                keine Ahnung ich habe die Anleitung Teil 2 abgearbeitet dann war es npm 7

                Ich habe das ausgeführt:

                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 reboot
                
                Meister Mopper Thomas Braun 2 Replies Last reply Reply Quote 0
                • Meister Mopper
                  Meister Mopper @Aphofis last edited by

                  @aphofis sagte in JS-Controller update problem:

                  https://unofficial-builds.nodejs.org

                  Hierzu auf github:

                  This project is experimental: its output is not guaranteed to remain consistent and its existence is not guaranteed into the future.

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

                    @aphofis sagte in JS-Controller update problem:

                    Ich habe das ausgeführt:

                    WARUM?
                    Nochmal in aller Deutlichkeit: Das ist FALSCH.
                    Das steht auch nicht so in der Anleitung für 08/15-Debian-Installationen drin. Das wird nur bei superexotischen Setups so gemacht. Und du hast kein exotisches Setup.

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

                      @thomas-braun
                      Ja hat geklappt!
                      Ich bin nicht der Mega Crack was linux befehle angeht.
                      Leider ist jetzt nodejs futsch!

                      / $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      pi@AquaPi:/ $
                      
                      / $ node -v
                      v14.17.6
                      pi@AquaPi:/ $ nodejs -v
                      -bash: nodejs: Kommando nicht gefunden.
                      pi@AquaPi:/ $ npm -v
                      6.14.15
                      
                      

                      Es wäre spitze, wenn du mir helfen könntest wie ich nodejs 14.17.6 installiert bekomme.
                      Hatte auch schon dieses versucht.

                      iobroker stop
                      cd /opt/iobroker
                      sudo npm cache verify
                      sudo chown -R iobroker /opt/iobroker
                      sudo apt update -y && sudo apt upgrade -y
                      sudo apt-get purge nodejs -y && sudo apt-get autoremove -y && sudo apt-get autoclean -y
                      sudo curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
                      sudo apt-get install -y nodejs
                      sudo chown -R iobroker /opt/iobroker
                      iobroker stop
                      curl -sL https://iobroker.net/fix.sh | bash -
                      npm install -y iobroker.js-controller --unsafe-perm --production --save --prefix
                      npm rebuild
                      iobroker update
                      iobroker upgrade self
                      iobroker upgrade
                      iobroker start
                      

                      Hat leider auch nicht zum erfolg geholfen.

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

                        @aphofis

                        Du knallst da wild irgendwas in die Konsole. Das hat vorne und hinten kein Hand und Fuß.

                        nodejs kann man verlinken. Steht auch im HowTo drin.

                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Aphofis last edited by

                          @aphofis sagte in JS-Controller update problem:

                          Hat leider auch nicht zum erfolg geholfen.

                          wo hast du diese ominösen Befehle alle her?
                          (Auch die in früheren Posts)

                          sind nicht richtig und stehen deswegen auch nicht im HowTo!

                          @aphofis sagte in JS-Controller update problem:

                          Leider ist jetzt nodejs futsch!

                          Nutzst du Ubuntu?

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

                            @homoran
                            Ich denke bei mir ist Raspbian Buster drauf

                            
                            PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                            NAME="Raspbian GNU/Linux"
                            VERSION_ID="10"
                            VERSION="10 (buster)"
                            VERSION_CODENAME=buster
                            ID=raspbian
                            ID_LIKE=debian
                            HOME_URL="http://www.raspbian.org/"
                            SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                            BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                            
                            

                            Ich haue nichts durcheinander aber ich muss das System wieder zum laufen bringen. Ich bin etwas verzweifelt.
                            Ansonsten muss ich ein Voll Backup aufspielen
                            Da das System heute wieder laufen muss. Habe schon einiges von Hand dosiert aber das ist keine Lösung.

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Aphofis last edited by

                              @aphofis sagte in JS-Controller update problem:

                              ch haue nichts durcheinander

                              dann beantworte bitte die Frage:

                              @homoran sagte in JS-Controller update problem:

                              wo hast du diese ominösen Befehle alle her?
                              (Auch die in früheren Posts)

                              Diese Befehle stehen nicht auf der verlinkten Seite

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

                                @homoran
                                Ich habe die Punkte Teil 1 und 2 von Thomas Braun abgearbeitet. Teil 1 und 2

                                Node richtig installieren:

                                Geh doch nicht so hart mit mir ins Gericht ! Ich musste das alles während der arbeit alles vom Handy aus machen.
                                Ich bin einfach verzweifelt!!!!
                                möglich das ich den ein oder anderen Fehler gemacht habe.
                                Nur meckern, bringt mich nicht weiter.
                                Also wäre eine Hilfe sehr nett.
                                copy paste kann ich und die meisten dinge die man per ssh eingibt, verstehe ich auch aber genau wissen was iwe wo abläuft keine Ahnung. Bisher also seid 3 Jahren hat es immer geklappt node nodejs npm und js-controller up zu daten.

                                Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @Aphofis last edited by Homoran

                                  @aphofis sagte in JS-Controller update problem:

                                  ch habe die Punkte Teil 1 und 2 von Thomas Braun abgearbeitet.

                                  das kann sein, aber zusätzlich hast du auch anderes gemacht.

                                  @aphofis sagte in JS-Controller update problem:

                                  Geh doch nicht so hart mit mir ins Gericht

                                  darum geht es nicht.
                                  Wir müssen wissen, wo solche ominösen Anleitungen herkommen, die ggf. alles verschlimmbessern

                                  @aphofis sagte in JS-Controller update problem:

                                  Bisher also seid 3 Jahren hat es immer geklappt

                                  das war aber nur scheinbar so! unter der Haube war ja alles Quer. Das ist halt eine Zeitbombe, die irgendwann knallt (wenn man es gar nicht gebrauchen kann)

                                  @aphofis sagte in JS-Controller update problem:

                                  Nur meckern, bringt mich nicht weiter.
                                  Also wäre eine Hilfe sehr nett.

                                  das geht jetzt aber zu weit!

                                  wir wollen helfen und fragen nach Hintergrundinformationen

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

                                    @aphofis

                                    Das heißt du aktualisiert seit drei Jahren immer am Paketmanager vorbei per Hand?

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

                                      @thomas-braun

                                      Die andere Anleitung hatte ich hier her:
                                      youtube Tutorial

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

                                        @thomas-braun
                                        Nicht mal das weiß ich, wie du das meinst.

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

                                          @homoran
                                          Ich beantworte auch alles nur bitte nicht böse sein! Ich hab das alles heute mehr oder minder neben der arbeit vom handy aus gemacht.

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Aphofis last edited by

                                            @aphofis sagte in JS-Controller update problem:

                                            @thomas-braun

                                            Die andere Anleitung hatte ich hier her:
                                            youtube Tutorial

                                            Das ist einer von denen, vor deren "Tutorials" wir immer wieder warnen, weil damit sooft einiges komplett falsch aufgestezt wird, dass es nur noch mit sehr viel Mühe zu retten ist, wenn überhaupt.

                                            Allgemein gibt es auf der YT-Akademie sehr viel Halbwissen, und vor allem veralttete Informationen, die dann heut nicht mehr (richtig) funktionieren.
                                            Die Folge sind dann solche Zeitbomben

                                            Aphofis 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            845
                                            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