Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter lassen sich nicht aktualisieren (npm Error)

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Adapter lassen sich nicht aktualisieren (npm Error)

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

      @Manuel001 sagte in Adapter lassen sich nicht aktualisieren (npm Error):

      Ich habe auch noch Wechselrichter, Heizungssteuerung und Videoüberwachung mit fixen IPs im Netzwerk hängen. Da funktioniert alles.

      Das Problem tritt ja auch nur bei Klarnamen statt IPs auf.

      Hast du den Router als DNS-Server in deinen Geräten eingestellt?

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

        @Manuel001 Du musst einen gescheiten alternativen DNS-Server im Router hinterlegen. Wenn wir da temporär per tee den von Google reinknallen geht es ja.

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Thomas Braun last edited by

          @Thomas-Braun Außer 😉

          die DNS-Server des providers existieren ja und werden verbunden, aber kennen die IPs zu den benötigten Adressen nicht 😂

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

            @Homoran

            Die waren doch auch per Ping nicht zu erreichen.

            M 1 Reply Last reply Reply Quote 0
            • UncleSam
              UncleSam Developer last edited by UncleSam

              Sorry, aber irgendwelche Diskussionen um die Einstellungen auf dem Router bringen hier nichts.

              @Manuel001 hast eine fixe IP eingestellt, damit gibt es kein DHCP. Somit muss er zumindest seinen Router in die resolv.conf eintragen.

              Nun ist das Problem, dass die Datei immer wieder überschrieben wird. Die Frage also: von wem? Antwort: resolvconf. Somit muss resolvconf korrekt konfiguriert werden.

              Zwei Fragen:

              • gibt es ein Verzeichnis /etc/resolv.conf.d?
              • was hast du für ein OS drauf? Solche Probleme hatte ich mit Ubuntu, aber nicht mit Raspberry OS / Raspbian.
              1 Reply Last reply Reply Quote 0
              • M
                Manuel001 @Thomas Braun last edited by

                Der neue DNS Server: 10.122.8.126 (vom anderen Netzbetreiber)
                Hier mal die Routereinstellungen.
                Routereinstellung.jpg
                Offensichtlich ziehen die DNS Server Einstellungen aber nicht.
                Blöde Frage, aber wo kann ich nachschauen welches Betriebssystem drauf ist. Ich habe es laut der Anleitung von der IO-Broker Homepage gemacht. (manuelle Installation)
                Ich gehe also stark von Raspberry OS aus. Wenn ich mich mit SSH verbinde steht:
                The programs included with the Debian GNU/Linux system are free software;
                Und noch blödere Frage: Wie finde ich heraus, ob es dieses Verzeichnis gibt?
                Sollte ja auch über SSH gehen? ls bewirkt irgendwie nichts.

                UncleSam 1 Reply Last reply Reply Quote 0
                • UncleSam
                  UncleSam Developer @Manuel001 last edited by

                  @Manuel001 sagte in Adapter lassen sich nicht aktualisieren (npm Error):

                  Wenn ich mich mit SSH verbinde steht:
                  The programs included with the Debian GNU/Linux system are free software;

                  Dann ist es wohl Raspbian.

                  Und noch blödere Frage: Wie finde ich heraus, ob es dieses Verzeichnis gibt?

                  ls -la /etc/resolv.conf.d

                  Sollte ja auch über SSH gehen?

                  Ja, klar.

                  Gibt der Befehl which resolvconf etwas aus?

                  1 Reply Last reply Reply Quote 0
                  • UncleSam
                    UncleSam Developer last edited by

                    Und wo hast du die fixe IP auf dem Raspi eingestellt?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Manuel001 @UncleSam last edited by

                      pi@iobroker:~ $ ls -la /etc/resolv.conf.d
                      ls: Zugriff auf '/etc/resolv.conf.d' nicht möglich: Datei oder Verzeichnis nicht                                                                                                                                                              gefunden
                      pi@iobroker:~ $ which resolvconf
                      /sbin/resolvconf
                      

                      Und wo hast du die fixe IP auf dem Raspi eingestellt?

                      sudo nano /etc/dhcpcd.conf
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Manuel001 last edited by

                        @Manuel001
                        Und was steht in der dhcpcd.conf nun drin?

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Manuel001 @Thomas Braun last edited by

                          @Thomas-Braun

                          # A sample configuration for dhcpcd.
                          # See dhcpcd.conf(5) for details.
                          
                          # Allow users of this group to interact with dhcpcd via the control socket.
                          #controlgroup wheel
                          
                          # Inform the DHCP server of our hostname for DDNS.
                          hostname
                          
                          # Use the hardware address of the interface for the Client ID.
                          clientid
                          # or
                          # Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
                          # Some non-RFC compliant DHCP servers do not reply with this set.
                          # In this case, comment out duid and enable clientid above.
                          #duid
                          
                          # Persist interface configuration when dhcpcd exits.
                          persistent
                          
                          # Rapid commit support.
                          # Safe to enable by default because it requires the equivalent option set
                          # on the server to actually work.
                          option rapid_commit
                          
                          # A list of options to request from the DHCP server.
                          option domain_name_servers, domain_name, domain_search, host_name
                          option classless_static_routes
                          # Respect the network MTU. This is applied to DHCP routes.
                          option interface_mtu
                          
                          # Most distributions have NTP support.
                          #option ntp_servers
                          
                          # A ServerID is required by RFC2131.
                          require dhcp_server_identifier
                          
                          # Generate SLAAC address using the Hardware Address of the interface
                          #slaac hwaddr
                          # OR generate Stable Private IPv6 Addresses based from the DUID
                          slaac private
                          
                          # Example static IP configuration:
                          interface eth0
                          static ip_address=192.168.1.104
                          #static ip6_address=fd51:42f8:caae:d92e::ff/64
                          static routers=192.168.1.1
                          #static domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1
                          
                          # It is possible to fall back to a static IP if DHCP fails:
                          # define static profile
                          #profile static_eth0
                          #static ip_address=192.168.1.23/24
                          #static routers=192.168.1.1
                          #static domain_name_servers=192.168.1.1
                          
                          # fallback to static profile on eth0
                          #interface eth0
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Manuel001 last edited by

                            @Manuel001 sagte in Adapter lassen sich nicht aktualisieren (npm Error):
                            static ip_address=192.168.1.104

                            müsste soweit ich sehe
                            static ip_address=192.168.1.104/24
                            lauten.

                            static domain_name_servers=192.168.1.1
                            muss einkommentiert werden.

                            M 1 Reply Last reply Reply Quote 1
                            • M
                              Manuel001 @Thomas Braun last edited by

                              @Thomas-Braun
                              Bei "static domain_name_servers=192.168.1.1" hinten auch 8.8.8.8 fd51:42f8:caae:d92e::1 anhängen?`

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

                                @Manuel001 Muss auch einfach funktionieren. Wenn du 192.168.1.1 nicht erreichen kannst hast du eh ein Problem.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  Manuel001 @Thomas Braun last edited by

                                  @Thomas-Braun
                                  Jetzt funktioniert es. Vielen Dank!
                                  Das habe ich also schon ganz am Anfang bei der Installation verbockt.
                                  Offensichtlich war das dem alten Router egal.

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

                                    @Manuel001
                                    Hast du mal die Kiste neugestartet und geschaut ob das auch dann noch stimmt?

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Manuel001 @Thomas Braun last edited by

                                      @Thomas-Braun
                                      Ja ich habe jetzt 2x neu gebootet. Bzw. hat es überhaupt erst nach einem Reboot funktioniert.

                                      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

                                      900
                                      Online

                                      32.1k
                                      Users

                                      80.6k
                                      Topics

                                      1.3m
                                      Posts

                                      adapter update fehler
                                      4
                                      41
                                      2094
                                      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