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

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

      @stefan-io
      Dann stell den Verwahrort in den Einstellungen auf 'default / stable' zurück.

      Wie mache ich das?

      Homoran 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:

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

        @stefan-io
        Dann stell den Verwahrort in den Einstellungen auf 'default / stable' zurück.

        Wie mache ich das?

        https://www.iobroker.net/#de/documentation/admin/settings.md

        Ich gehe aber mittlerweile davon aus, dass du die admin 3.2.1 manuell installiert hast, sonst wärst du da längst auf einer stabileren 3.2.13

        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:

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

          @stefan-io
          Dann stell den Verwahrort in den Einstellungen auf 'default / stable' zurück.

          Wie mache ich das?

          https://www.iobroker.net/#de/documentation/admin/settings.md

          Ich gehe aber mittlerweile davon aus, dass du die admin 3.2.1 manuell installiert hast, sonst wärst du da längst auf einer stabileren 3.2.13

          Ich komme doch gar nicht erst ab die Oberfläche von iobroker...
          Was kann ich jetzt aus der Konsole heraus machen, damit ich den Verwahrort ändern kann?
          Sorry, aber ich bin absoluter Neuling auf diesem Gebiet...

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

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

            sudo apt update
            sudo apt dist-upgrade
            sudo reboot
            
            S 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:

              Was kann ich jetzt aus der Konsole heraus machen, damit ich den Verwahrort ändern kann?

              keine Ahnung.

              Also müssen wir deinen admin wieder auf eine laufende Version bringen, wenn es daran liegt.
              Wie (und warum) hast du diese Version installiert?

              1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            455
                                            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