Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker startet nach nodejs-update nicht mehr

    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

    iobroker startet nach nodejs-update nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stefan-io @Thomas Braun last edited by Stefan-io

      @thomas-braun said in iobroker startet nach nodejs-update nicht mehr:

      @stefan-io node12 hast du installiert?
      Und dann gleich mal das System mit aktualisieren:

      sudo apt update
      sudo apt dist-upgrade
      sudo reboot
      

      Alles erledigt, hat auch eine weile gedauert, bis alles installiert war.

      Aber leider komme ich noch immer nicht auf die Oberfläche 😞

       which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v12.20.1
      /usr/bin/node
      v12.20.1
      /usr/bin/npm
      6.14.10
      nodejs:
        Installiert:           12.20.1-1nodesource1
        Installationskandidat: 12.20.1-1nodesource1
        Versionstabelle:
       *** 12.20.1-1nodesource1 500
              500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.23.1~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      wendy2702 1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 @Stefan-io last edited by

        @stefan-io in der Konsole:

        iobroker list instances
        

        Ergebnis hier posten.

        S 1 Reply Last reply Reply Quote 0
        • S
          Stefan-io @wendy2702 last edited by

          @wendy2702 said in iobroker startet nach nodejs-update nicht mehr:

          @stefan-io in der Konsole:

          iobroker list instances
          

          Ergebnis hier posten.

          iobroker list instances
           Cannot read system.config: null (OK when migrating or restoring)
           Cannot find view "system" for search "host"
          
          
          + instance is alive
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Stefan-io last edited by

            @stefan-io

            iobroker stop
            cd /opt/iobroker 
            sudo -H -u iobroker npm install iobroker.js-controller
            iobroker start
            
            Homoran S 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Thomas Braun last edited by

              @thomas-braun sagte in iobroker startet nach nodejs-update nicht mehr:

              sudo -H -u iobroker npm install iobroker.js-controller

              ich habe noch keine Antwort warum er 3.2.1 installiert hat!!

              Je nachdem muss er dort noch eine Version angeben

              1 Reply Last reply Reply Quote 0
              • S
                Stefan-io @Thomas Braun last edited by

                @thomas-braun said in iobroker startet nach nodejs-update nicht mehr:

                @stefan-io

                iobroker stop
                cd /opt/iobroker 
                sudo -H -u iobroker npm install iobroker.js-controller
                iobroker start
                
                iobroker list instances
                
                
                + instance is alive
                
                

                Oberfläche aber weiterhin nicht erreichbar 😞

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

                  @stefan-io sagte in iobroker startet nach nodejs-update nicht mehr:

                  Oberfläche aber weiterhin nicht erreichbar

                  wieso aber?

                  Da ist ja auch gar keine einzige Instanz mehr

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

                    @stefan-io
                    Zumindest ist die Meldung weg.

                    iobroker -v
                    iobroker list adapters
                    iobroker update 
                    iobroker upgrade
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Stefan-io @Thomas Braun last edited by

                      @thomas-braun said in iobroker startet nach nodejs-update nicht mehr:

                      @stefan-io
                      Zumindest ist die Meldung weg.

                      iobroker -v
                      iobroker list adapters
                      iobroker update 
                      iobroker upgrade
                      
                       iobroker -v
                      3.2.14
                      pi@raspberrypi4-iob:~ $ iobroker list adapters
                      pi@raspberrypi4-iob:~ $
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Stefan-io last edited by

                        @stefan-io

                        Versuch mal

                        iobroker add admin
                        iobroker add web
                        iobroker restart
                        
                        Homoran S 2 Replies Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                          @thomas-braun sagte in iobroker startet nach nodejs-update nicht mehr:

                          Versuch mal

                          ich hätte jetzt gefragt ob die Karte überhaupt noch beschrieben wird.
                          Zur Zeit ist zumindest die 3.2.14 drauf geblieben, hat aber noch keinen reboot gegeben.

                          Aber dass überhaupt nichts mehr funktioniert ist schon seltsam.
                          Aber vielleicht liegt es wirklich am repo, wenn da die Einstellung komplett weg sind

                          @stefan-io sagte in iobroker startet nach nodejs-update nicht mehr:

                          Cannot read system.config: null (OK when migrating or restoring) Cannot find view "system" for search "host"

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

                            @homoran Die Karte ist schreibbar, sonst wäre da nicht node12 draufgeblieben. Da gab es ja einen reboot dazwischen.

                            1 Reply Last reply Reply Quote 1
                            • S
                              Stefan-io @Thomas Braun last edited by Stefan-io

                              @thomas-braun said in iobroker startet nach nodejs-update nicht mehr:

                              @stefan-io

                              Versuch mal

                              iobroker add admin
                              iobroker add web
                              iobroker restart
                              

                              Es hat tatsächlich geklappt und ich bin auf der Oberfläche - Vielen Dank 😁
                              Leider sind nun alle Adapter verschwunden, quasi wie eine Neuinstallation.

                              Aktueller Stand:

                              Node.js v12.20.1
                              NPM 6.14.10
                              admin 4.2.1

                              Gibt es jetzt noch etwas zu tun, bevor ich versuche mit Backitup ein Backup wiederherzustellen?

                              Dann muss ich nochmal aufbereiten, was beim Update falsch gelaufen ist und wie ich zukünftig vorgehen muss.

                              Ich bin also auch für alle weiteren Tipps sehr dankbar...

                              P.S.: Unter Hosts steht bei js-controller übrigens
                              verfügbar: 3.1.6
                              installiert: 3.2.14 -> Hier wurde mir auch das Update empfohlen und damit haben die Probleme begonnen!

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

                                @stefan-io Das sind die erwarteten Versionen.
                                Sollte ja nur die 'Not'-Wiederherstellung sein.
                                Stell aber in den Einstellungen jetzt Stable/Default ein. Die Versionslücke schließt sich dann mit der Zeit.

                                S 2 Replies Last reply Reply Quote 0
                                • S
                                  Stefan-io @Thomas Braun last edited by

                                  @thomas-braun

                                  Habe eben nach dem Backup nochmal ein Update machen wollen:

                                  iobroker upgrade self
                                  Update js-controller from @3.2.14 to @3.2.16
                                  NPM version: 6.14.10
                                  npm install iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                  

                                  Was ist da denn bloß los? Zum Glück konnte ich neu starten und es ist bei 3.2.14 geblieben.
                                  Wie sollte ich denn zukünftig js updaten? Wie aktualisiere ich die Adapter am besten?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Stefan-io @Thomas Braun last edited by

                                    @thomas-braun said in iobroker startet nach nodejs-update nicht mehr:

                                    @stefan-io Das sind die erwarteten Versionen.
                                    Sollte ja nur die 'Not'-Wiederherstellung sein.
                                    Stell aber in den Einstellungen jetzt Stanley/Default ein. Die Versionslücke schließt sich dann mit der Zeit.

                                    Verwahrungsort habe ich nur noch stable: http://download.iobroker.net/sources-dist.json

                                    Die Beta/ Latest habe ich gelöscht!

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

                                      @stefan-io Stable aktiv haben, dann halt mit

                                      iobroker update
                                      iobroker upgrade
                                      

                                      die Adapter aktuell halten. Ein upgrade von js-controller kommt ja seltener vor.

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Stefan-io last edited by

                                        @stefan-io sagte in iobroker startet nach nodejs-update nicht mehr:

                                        installiert: 3.2.14 -> Hier wurde mir auch das Update empfohlen und damit haben die Probleme begonnen!

                                        Never!

                                        Unter installiert steht das was du selber installiert hast! Keine Empfehlung o.ä.
                                        Wenn du das Repo auf stable hast wird dir unter verfügbar auch nur die 3.1.6 angeboten.

                                        1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Stefan-io last edited by

                                          @stefan-io sagte in iobroker startet nach nodejs-update nicht mehr:

                                          Verwahrungsort habe ich nur noch stable: http://download.iobroker.net/sources-dist.json
                                          Die Beta/ Latest habe ich gelöscht!

                                          Was tust du?
                                          wo bist du da?

                                          In dem Reiter "Haupteinstellungen" wird im Pulldown "Aktiver Verwahrungsort" ein Repo ausgewählt. Üblichewrweise stable/default
                                          Im Reiter "Verwahrungsorte" stehen die möglichen Repos mit ihren verschiedenen Pfaden drin. Das muss auch so bleiben

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Stefan-io @Homoran last edited by

                                            @homoran said in iobroker startet nach nodejs-update nicht mehr:

                                            @stefan-io sagte in iobroker startet nach nodejs-update nicht mehr:

                                            Verwahrungsort habe ich nur noch stable: http://download.iobroker.net/sources-dist.json
                                            Die Beta/ Latest habe ich gelöscht!

                                            Was tust du?
                                            wo bist du da?

                                            In dem Reiter "Haupteinstellungen" wird im Pulldown "Aktiver Verwahrungsort" ein Repo ausgewählt. Üblichewrweise stable/default
                                            Im Reiter "Verwahrungsorte" stehen die möglichen Repos mit ihren verschiedenen Pfaden drin. Das muss auch so bleiben

                                            Ok, jetzt habe ich es verstanden. Stand auch auf Stable...
                                            Vermutlich war es vorher auf latest, weshalb ich alle Betas drauf hatte.

                                            Kann ich auf der js 3.2.16 bleiben, oder besser ein downgrade auf die 3.1.6?

                                            Wie mache ich am sichersten zukünftige Updates von js, node.js, npm etc. ?

                                            Vielen Dank für Eure Hilfe 🙂

                                            Homoran 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

                                            713
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            38
                                            1973
                                            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