Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach Update läuft nichts 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

    Nach Update läuft nichts mehr!

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

      @Jan1 @SaschaS
      Ich würde da jetzt mal ganz langsam 'von unten' herangehen.

      Alles als user:

      groups
      sudo whoami
      lsb_release -a
      apt policy nodejs
      nodejs -v && node -v && npm -v
      which nodejs && which node && which npm
      
      J 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @Thomas Braun last edited by

        @Thomas-Braun
        Ja geht natürlich auch. Wobei ich mir bei der Hälfte der Abfragen schon sicher bin was raus kommt 😉
        Bei Node 8 hat er auf alle Fälle kein Buster laufen. Die Node Version hat er schon gepostet.

        Sein Fehler liegt an Node 8, wenn er nach dem Admin Update nicht mehr drauf kommt.

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

          @Jan1 Da stimmt aber auch irgendwas nicht bei npm. Das ist eigentlich zu neu für eine reine node 8. Das dürfte von irgendwosonst herkommen.

          J 1 Reply Last reply Reply Quote 0
          • S
            SaschaS last edited by

            Leute, ihr macht mich immer auf's neue fertig. Der Support in der Community ist gigantisch. Ich werde jetzt mal folgende Schritte ausführen und dann berichten.

            curl -sL https://iobroker.net/fix.sh | bash -
            oder mit: iobroker fix

            Danach ein System Update:

            sudo apt-get update && sudo apt-get upgrade

            Dann die Node nach der Doku und es sollte wieder laufen.

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

              @SaschaS Ich würde da eher nach den Gründen schauen. Siehe meine Posts oben.

              S 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @Thomas Braun last edited by

                @Thomas-Braun
                Wird er wohl auch irgendwo gelesen haben, dass man das updaten kann, wobei ich da erst mal kein Problem sehe, da nach dem Update auf Node10(12) wird das eh passen (sollte passen).

                Das rebuild sollte er nach Node Update eh machen.

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

                  @Thomas-Braun Kann ich auch gleich auswerten. Sekunde dafür.

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

                    @SaschaS Dann renn bitte nicht gleichzeitig in verschiedene Richtungen! Das macht es nicht einfacher dir zu helfen.

                    1 Reply Last reply Reply Quote 0
                    • S
                      SaschaS last edited by

                      ioBroker fix scheint kein gültiger Command (mehr) zu sein.

                      pi@raspberrypi:/opt/iobroker $ iobroker fix
                      Commands:
                      iobroker setup [--objects <host>] [--states <host>] [custom]
                      iobroker start
                      iobroker stop
                      iobroker start <adapter>
                      iobroker stop <adapter>
                      iobroker start all
                      iobroker restart
                      
                      

                      Die Alternative scheint zumindest mal etwas zu machen...

                      pi@raspberrypi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                      library: loaded
                      Library version=2020-04-12
                      
                      ==========================================================================
                      
                          Welcome to the ioBroker installation fixer!
                          Script version: 2020-04-12
                          
                          You might need to enter your password a couple of times.
                      
                      ==========================================================================
                      
                      
                      ==========================================================================
                          Installing prerequisites (1/3)
                      ==========================================================================
                      
                      OK:1 http://phoscon.de/apt/deconz stretch InRelease
                      Holen:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
                      Holen:3 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB]
                      OK:4 https://deb.nodesource.com/node_8.x stretch InRelease     
                      Holen:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11,7 MB]
                      Holen:6 http://archive.raspberrypi.org/debian stretch/main armhf Packages [201 kB]
                      Es wurden 11,9 MB in 12 s geholt (950 kB/s).                                                                                                                                                                                                      
                      Paketlisten werden gelesen... Fertig
                      Installed acl
                      Installed gcc-c++
                      
                      J Thomas Braun 2 Replies Last reply Reply Quote 0
                      • J
                        Jan1 @SaschaS last edited by

                        @SaschaS
                        "iobroker fix" wird für Deine Installation wohl zu neu sein, deshalb läuft auch das Script.

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

                          @SaschaS
                          Das ist nicht die komplette Ausgabe des Fixers.
                          Jetzt die Finger weg vom ioBroker, erstmal node aktualisieren:

                          sudo nano /etc/apt/sources.list.d/nodesource.list
                          

                          Dann dort aus

                          node_8.x
                          

                          ein

                          node_12.x
                          

                          machen.

                          sudo apt update
                          sudo apt dist-upgrade
                          

                          Dann die Ausgabe von

                          which nodejs && which node && which npm
                          
                          J S 2 Replies Last reply Reply Quote 0
                          • J
                            Jan1 @Thomas Braun last edited by

                            @Thomas-Braun
                            mutig das direkt in der sources.list zu editieren, wird laufen, aber bete, dass er da nicht was versaut 😉

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • S
                              SaschaS last edited by

                              Der Fixer läuft noch...
                              Sobald der fertig ist, melde ich den gesamten Log bevor ich mit irgendeinem Schritt weitermache. Aktuell ist der Fixer bei Schritt 2 von 3 und fixt permissions.

                              J Thomas Braun 2 Replies Last reply Reply Quote 0
                              • J
                                Jan1 @SaschaS last edited by

                                @SaschaS
                                So wie Thomas das schreibt, ist das ne sehr elegante Lösung für Node, aber bitte sofort nachfragen wenn was unklar ist.

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

                                  @SaschaS Da wird er richtig zu tun haben. Vermutlich wird da gerade die Installation von root auf sudo umgebaut. Die ist schon etwas länger nicht mehr angefasst worden, vermute ich?

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

                                    @Jan1 sagte in Nach Update läuft nichts mehr!:

                                    list zu editieren, wird laufen, aber bete, dass er da nicht was versaut

                                    Dann gibt es von apt eine Fehlermeldung. Alles nicht wild.

                                    J 1 Reply Last reply Reply Quote 0
                                    • S
                                      SaschaS @Thomas Braun last edited by

                                      @Thomas-Braun Ich hab das mal vor Jahren eingerichtet und dann lief es und ich hab mich an den Leitsatz "never change a running system" gehalten. Naja zumindest bis gestern -.- 😄

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

                                        @Thomas-Braun
                                        Sag der, der Linux zum Frühstück hat 😎

                                        @SaschaS
                                        Das ist ein blöder Leitsatz und führt früher oder später zu exakt dem Problem was Du jetzt hast 😉

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • S
                                          SaschaS last edited by

                                          Fix ohne Fehlermeldung abgeschlossen:

                                          pi@raspberrypi:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                                          library: loaded
                                          Library version=2020-04-12
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2020-04-12
                                              
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/3)
                                          ==========================================================================
                                          
                                          OK:1 http://phoscon.de/apt/deconz stretch InRelease
                                          Holen:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
                                          Holen:3 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB]
                                          OK:4 https://deb.nodesource.com/node_8.x stretch InRelease     
                                          Holen:5 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11,7 MB]
                                          Holen:6 http://archive.raspberrypi.org/debian stretch/main armhf Packages [201 kB]
                                          Es wurden 11,9 MB in 12 s geholt (950 kB/s).                                                                                                                                                                                                      
                                          Paketlisten werden gelesen... Fertig
                                          Installed acl
                                          Installed gcc-c++
                                          Installed python-dev
                                          
                                          ==========================================================================
                                              Checking ioBroker user and directory permissions (2/3)
                                          ==========================================================================
                                          
                                          Created /etc/sudoers.d/iobroker
                                          Fixing directory permissions...
                                          
                                          ==========================================================================
                                              Checking autostart (3/3)
                                          ==========================================================================
                                          
                                          Enabling autostart...
                                          Autostart enabled!
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          

                                          Soll ich jetzt den Vorschlag von @Thomas-Braun oder von @Jan1 weiter verfolgen?

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Jan1 @SaschaS last edited by Jan1

                                            @SaschaS
                                            Thomas ist der Spezi, wobei es zum Schluss auf das selbe Ergebnis raus laufen sollte.

                                            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

                                            878
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            help wanted iobroker update js controller update json npm
                                            18
                                            416
                                            53585
                                            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