Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Reparatur einer defekten Grundinstallation

    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

    Reparatur einer defekten Grundinstallation

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @mb78 last edited by Homoran

      @mb78 gut so - weiter!

      lediglich:

      @mb78 sagte in Reparatur einer defekten Grundinstallation:

      Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

      hattest du beim Speichern einen Fehler?
      das muss @Thomas-Braun gleich mit dir wieder wegputzen

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

        @mb78
        Die Datei darf nicht auf save.1 enden sondern muss nodesource.list heißen.
        Bei dem Rückschritt auf node12 muss auch noch die genaue Versionsnummer reingezogen werden, bei einem upgrade auf node14 wäre das nicht erforderlich (deswegen hatte ich dir node14 parat gelegt).

        1 Reply Last reply Reply Quote 0
        • M
          mb78 last edited by

          soll ich es denn auf 14 ändern?

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

            @mb78 Nee, lass das jetzt so. Ich glaube eh, du hast das irgendwie schon richtig gemacht.

            apt policy nodejs
            

            liefert?

            1 Reply Last reply Reply Quote 0
            • M
              mb78 last edited by

              pi@raspberrypi:~ $ apt policy nodejs
              nodejs:
                Installed: 13.14.0-1nodesource1
                Candidate: 13.14.0-1nodesource1
                Version table:
               *** 13.14.0-1nodesource1 100
                      100 /var/lib/dpkg/status
                   12.20.1-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                   10.23.1~dfsg-1~deb10u1 500
                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
              N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @mb78 last edited by Thomas Braun

                @mb78

                sudo rm /etc/apt/sources.list.d/nodesource.list.save.1
                sudo apt install nodejs=12.20.1-1nodesource1
                sudo apt update
                sudo apt dist-upgrade
                sudo reboot
                
                1 Reply Last reply Reply Quote 0
                • M
                  mb78 last edited by

                  ok, alles durchgelaufen.

                  Was jetzt ?

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

                    @mb78
                    Erfolgskontrolle:

                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && sudo apt update
                    
                    1 Reply Last reply Reply Quote 0
                    • M
                      mb78 last edited by

                      @thomas-braun said in Reparatur einer defekten Grundinstallation:

                      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && sudo apt update

                      Ergebnis:

                       which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && sudo apt update
                      /usr/bin/nodejs
                      v12.20.1
                      /usr/bin/node
                      v12.20.1
                      /usr/bin/npm
                      6.14.10
                      nodejs:
                        Installed: 12.20.1-1nodesource1
                        Candidate: 12.20.1-1nodesource1
                        Version table:
                       *** 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
                               run-level 5  2021-01-18 15:35
                      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                      Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                      Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                      Reading package lists... Done
                      Building dependency tree
                      Reading state information... Done
                      All packages are up to date.
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @mb78 last edited by Thomas Braun

                        @mb78
                        Ja, das passt jetzt. Wenn du ganz 'mutig' bist stellst du den Server auf den richtigen RunLevel (3) ein. Dann wird der komplette Grafik-Stack nicht unnötigerweise mitgeladen. Das setzt allerdings vorraus, dass da kein Display z. B. für eine Visualisierung dran hängt, der Server also 'headless' läuft.
                        Zugang per ssh/puTTY ist ja jetzt bekannt.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mb78 last edited by

                          bin ich nicht.
                          soll ich jetzt mal zigbee neu starten? der steht jetzt nämlich auf komlett rot

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

                            @mb78
                            Hängt denn da überhaupt ein Display dran?

                            Jedenfalls kannst du dich jetzt um zigbee kümmern.
                            Vielleicht den angeknabberten Thread mit @Asgothian wieder aufleben lassen.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mb78 last edited by

                              Weiß ich nicht.
                              Ich starte den Adapter mal neu unr rechne mit dem schlimmsten.

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

                                @mb78 sagte in Reparatur einer defekten Grundinstallation:

                                Weiß ich nicht.

                                ? Du wirst doch wissen, ob an dem Pi ein Monitor/TV oder sowas hängt.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mb78 last edited by

                                  Achso, nein...

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

                                    @mb78
                                    Dann würde ich die Kiste auf RunLevel3 umstellen.
                                    Spart ein paar Körner auf den kleinen Dingern.
                                    Jetzt funkt die Kiste eine graphische Oberfläche ins Schwarze.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mb78 last edited by

                                      Bei zigbee tut sich leider nichts :-(((

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

                                        @mb78 Dann bitte im entsprechenden Thread posten.
                                        Die reparatur-einer-defekten-grundinstallation ist erledigt.

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        926
                                        Online

                                        31.9k
                                        Users

                                        80.2k
                                        Topics

                                        1.3m
                                        Posts

                                        6
                                        88
                                        2147
                                        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