Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    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

    [How-to] Node.js für ioBroker richtig updaten

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

      @saeft_2003
      Sorry, mein Fehler:

      adduser DEIN_USER
      usermod -aG sudo DEIN_USER
      usermod -aG iobroker DEIN_USER
      
      1 Reply Last reply Reply Quote 0
      • S
        saeft_2003 Most Active @Thomas Braun last edited by

        @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

        @saeft_2003

        Als user, nicht als root:

        iobroker update
        iobroker upgrade
        

        hab ich jetzt gemacht jetzt installiert er ein paar updates, was hat das mit meinem Problem zu tun?

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

          @saeft_2003 Weiß ich noch nicht. Startet der Kram nun?

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

            @Thomas-Braun

            nein problem ist immer noch da

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

              @saeft_2003

              Hast du mein Post oben nicht gesehen !?

              S 1 Reply Last reply Reply Quote 0
              • S
                saeft_2003 Most Active @Glasfaser last edited by

                @Glasfaser sagte in [How-to] Node.js für ioBroker richtig updaten:

                @saeft_2003

                Hast du mein Post oben nicht gesehen !?

                doch ich komm grad nur mit dem schreiben nicht nach, ich habe jetzt schon zwei reboots gemacht und der fehler bleibt

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

                  @saeft_2003

                  und nach dem Reboot ein Rebuild !?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    saeft_2003 Most Active @Glasfaser last edited by

                    @Glasfaser sagte in [How-to] Node.js für ioBroker richtig updaten:

                    @saeft_2003

                    und nach dem Reboot ein Rebuild !?

                    ja dann kommt auch wieder am schluss der oben genannte fehler. jetzt wollte ich den js-controller updaten. ein update wird mir auch angezeigt unter host. aber dann kommt das

                    pi@raspberrypi:~ $ iobroker upgrade self
                    Host    "raspberrypi"    is up to date.
                    
                    
                    Glasfaser 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @saeft_2003 last edited by

                      @saeft_2003

                      Installiere den Zigbee über die Katze neu und dann ein upload

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        saeft_2003 Most Active @Glasfaser last edited by

                        @Glasfaser sagte in [How-to] Node.js für ioBroker richtig updaten:

                        @saeft_2003

                        Installiere den Zigbee über die Katze neu und dann ein upload

                        Hab ich gemacht bringt, aber nichts.. mal zigbee löschen und neuinstallieren?

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

                          @saeft_2003

                          Wenn du ein Backup hast ... dann ja !

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            saeft_2003 Most Active @Glasfaser last edited by

                            @Glasfaser

                            Wie ein zigbee backup? Die Geräte sind auf dem stick und wenn die einstellungen wieder passen sollte doch alles wieder gehen, oder?

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

                              @saeft_2003 sagte in [How-to] Node.js für ioBroker richtig updaten:

                              Die Geräte sind auf dem stick

                              Der Stick ist nur ein Sende/Empfangs Bauteil .. er hat keine Daten von den einzelnen Aktoren gespeichert !

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                saeft_2003 Most Active @Glasfaser last edited by

                                @Glasfaser sagte in [How-to] Node.js für ioBroker richtig updaten:

                                @saeft_2003 sagte in [How-to] Node.js für ioBroker richtig updaten:

                                Die Geräte sind auf dem stick

                                Der Stick ist nur ein Sende/Empfangs Bauteil .. er hat keine Daten von den einzelnen Aktoren gespichert !

                                ahh so ein mist aber auch... dann habe ich falsch gedacht. Für mich stellt sich die frage ob schon der fehler beim npm rebuild schuld ist? wenn ich die kommandos für das reinstall skript eingebe passiert rein gar nichts...

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

                                  @saeft_2003 sagte in [How-to] Node.js für ioBroker richtig updaten:

                                  wenn ich die kommandos für das reinstall skript eingebe

                                  Was für Kommandos?

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

                                    @Thomas-Braun

                                    c) reinstall-Skript
                                    Sollte das nicht klappen, beinhaltet der js-Controller ein reinstall-Skript ("reinstall.sh" bzw. ab js-controller 1.5.x "reinstall.js"). Dieses Skript erkennt alle installierten ioBroker-Adapter, löscht diese dann aus dem node_modules-Verzeichnis und installiert sie neu. Dieser Ansatz ist etwas aufwändiger als "npm rebuild", erfüllt aber den gleichen Zweck. Das funktioniert generell gut, man sollte den Prozess aber nicht abbrechen. Falls es doch passiert oder es Probleme beim Starten nach dieser Prozedur gibt, dann am besten den Weg im nächsten Punkt wählen.
                                    Das reinstall.sh-Skript welches im js-controller 1.4 mitgeliefert wurde hat ein Formatierungsproblem und muss vorher noch für Linux mit den Befehlen

                                    cd /opt/iobroker

                                    sudo mv reinstall.sh reinstall.dos

                                    sudo tr -d '\r' < reinstall.dos > reinstall.sh

                                    sudo chmod +x reinstall.sh

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

                                      @saeft_2003 Du meinst die letzten drei Kommandos?
                                      Das ist klar, die Datei heißt mit Sicherheit auf deinem System auch
                                      reinstall.js

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

                                        @Thomas-Braun

                                        ja die mein ich das muss man erstmal wissen, soll ich das ausführen?

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

                                          @saeft_2003
                                          Ich würde erstmal die Optionen a) und b) versuchen.

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

                                            @Thomas-Braun sagte in [How-to] Node.js für ioBroker richtig updaten:

                                            @saeft_2003
                                            Ich würde erstmal die Optionen a) und b) versuchen.

                                            a würde ich gerne aber wenn ich updaten will auf js controller 3.x dann kommt das obwohl es mir in der host übersicht angezeigt wird

                                            pi@raspberrypi:~ $ iobroker upgrade self
                                            
                                            Host    "raspberrypi"    is up to date.
                                            
                                             
                                            
                                            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

                                            421
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            676751
                                            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