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

                                  @aphofis

                                  Videos von meinem Lieblingskaputtfummler SpatzenForelle...
                                  Die Machwerke kannste gleich vergessen, da kommt in der Regel nur Quark bei raus.

                                  Man hält sein System via Paketmanagern wie z.B. apt einer ist auf Stand, nicht durch individuelles manuelles Installieren von Software. Das wird wohl unter Windows gerne so gehandhabt, Linuxer sind da fauler und lassen arbeiten.

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

                                    @homoran ^Scheisse! Ja das weiß ich wohl das manche anleitungen veraltet sind. siehtman ja auch oft an den versionen.
                                    ich war einfach verzweifelt.
                                    Da meine Fische alle 4 std Futter bekommen und im laufe des Tages 8-12 Liter Osmose nach pumpen und alle 3 Std ein Konzentrat von vier verschiedenen dosiert wird, wollte ich nur einfach das System wieder zum laufen bringen.
                                    Ich denke ich lasse wohl mal die Finger von Irgendwelchen Tutorials die nicht aus dem ioBroker Forum kommen.

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

                                      @thomas-braun

                                      Ne Windows nutze ich meistens nur zum zeichnen. Ansonsten bon ich auf Mac OS unterwegs

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

                                        Ich habe es jetzt soweit hinbekommen.
                                        momentan komme ich an ioBroker wieder ran aber ob es so korrekt ist weiß ich auch nicht.

                                        pi@AquaPi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                                        /usr/local/bin/nodejs
                                        /usr/local/bin/node
                                        /usr/local/bin/npm
                                        v12.20.1
                                        v12.20.1
                                        6.14.10
                                        nodejs:
                                          Installiert:           12.22.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
                                         *** 12.22.6-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                                100 /var/lib/dpkg/status
                                             10.24.0~dfsg-1~deb10u1 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        pi@AquaPi:~ $
                                        
                                        
                                        Thomas Braun 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:

                                          ob es so korrekt ist weiß ich auch nicht.

                                          Das solltest du eigentlich selber beantworten können.
                                          Kurz: Nein, ist immer noch bzw. jetzt wieder falsch

                                          Was verstehst du an dem Satz

                                          Falsch ist eine Installation in /usr/local/bin/

                                          nicht?

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

                                            @thomas-braun nur läuft das System erstmal wieder. ich bin nunmal auf die Hilfe hier im Forum angewiesen.
                                            Hätte ich paul53 nicht gehabt würde es keine meiner Aquarium Steuerungen geben.

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            894
                                            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