Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. mariaDB installiert nicht

    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

    mariaDB installiert nicht

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

      @thomas-braun said in mariaDB installiert nicht:

      date && date -u

      Die Systemzeit ist krumm: ich habe den Befehl heute (13.2. um ca 8 Uhr deutscher Zeit ausgeführt...

      androidin@raspberrypi-iob:~ $ sudo apt update
      [sudo] Passwort für androidin:
      Holen:1 http://archive.raspberrypi.org/debian buster InRelease [32,8 kB]
      OK:2 https://deb.nodesource.com/node_14.x buster InRelease
      Fehl:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Temporärer Fehlschlag beim Auflösen von »raspbian.raspberrypi.org«
      Paketlisten werden gelesen... Fertig
      E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 14 h 43 min 47 s). Updates for this repository will not be applied.
      androidin@raspberrypi-iob:~ $ date && date -u
      Do 11. Feb 05:16:55 CET 2021
      Do 11. Feb 04:16:55 UTC 2021
      

      Das apt update scheint nicht mehr zu funktionieren. Ebenso das Updaten der ioBroker Instanzen nicht mehr. Z. B.:

      Update admin from @4.1.11 to @4.2.1
      host.raspberrypi-iob Adapter "system.adapter.admin.0" is stopped.
      NPM version: 6.14.11
      npm install iobroker.admin@4.2.1 --loglevel error --prefix "/opt/iobroker" (System call)
      npm ERR! code EAI_AGAIN
      npm ERR! errno EAI_AGAIN
      npm ERR! request to https://registry.npmjs.org/iobroker.admin failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2021-02-11T04_06_04_734Z-debug.log
      upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
      upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
      upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
      upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
      

      Jetzt blicke ich gar nicht mehr durch. Kann das Löschen der list files dazu geführt haben?

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

        @iobrokerin
        Nein, die list-Files haben mit npm / dem Update von ioBroker nichts zu tun. Das ist ein eigener Mechanismus.

        Eine möglichst exakte Uhrzeit ist für diverse Vorgänge enorm wichtig. Sieht man eigentlich auch selten so weit abweichend, weil es da mit ntpd einen Dienst gibt, der die Zeit synchron hält. Was ist denn das da für Hardware?

        I 1 Reply Last reply Reply Quote 0
        • I
          iobrokerin @Thomas Braun last edited by iobrokerin

          @thomas-braun
          Raspi 4, 8GB

          Wie kriege ich die Uhrzeit wieder synchron?

          androidin@raspberrypi-iob:~ $ systemctl status systemd-timesyncd
          Warning: The unit file, source configuration file or drop-ins of systemd-timesyn
          ● systemd-timesyncd.service - Network Time Synchronization
             Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendo
            Drop-In: /lib/systemd/system/systemd-timesyncd.service.d
                     └─disable-with-time-daemon.conf
             Active: active (running) since Wed 2021-02-10 17:45:15 CET; 11h ago
               Docs: man:systemd-timesyncd.service(8)
           Main PID: 308 (systemd-timesyn)
             Status: "Idle."
              Tasks: 2 (limit: 4915)
             CGroup: /system.slice/systemd-timesyncd.service
                     └─308 /lib/systemd/systemd-timesyncd
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @iobrokerin last edited by Thomas Braun

            @iobrokerin Der zieht sich eigentlich von alleine die richtige Zeit aus dem Netz.

            timedatectl status
            

            Ist die Kiste während des bootens noch nicht ins Internet verbunden?

            I 2 Replies Last reply Reply Quote 0
            • I
              iobrokerin @Thomas Braun last edited by

              @thomas-braun said in mariaDB installiert nicht:

              timedatectl status

              androidin@raspberrypi-iob:~ $ timedatectl status
                             Local time: Do 2021-02-11 16:24:30 CET
                         Universal time: Do 2021-02-11 15:24:30 UTC
                               RTC time: n/a
                              Time zone: Europe/Berlin (CET, +0100)
              System clock synchronized: no
                            NTP service: active
                        RTC in local TZ: no
              
              1 Reply Last reply Reply Quote 0
              • I
                iobrokerin @Thomas Braun last edited by iobrokerin

                @thomas-braun

                Schwer zu sagen, ob eine Internetverbindung während des Bootens besteht, denn es läuft ja piHole. Das Kabel hängt dran. Aber ob die DNS Adresse aufgelöst wird, weiss ich nicht.

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

                  @iobrokerin

                  sudo timedatectl set-ntp true
                  
                  I 1 Reply Last reply Reply Quote 0
                  • I
                    iobrokerin @Thomas Braun last edited by iobrokerin

                    @thomas-braun said in mariaDB installiert nicht:

                    sudo timedatectl set-ntp true

                    Das hatte ich gestern auch recherchiert. Es setzt die Uhrzeit trotzdem nicht:

                    androidin@raspberrypi-iob:~ $ sudo timedatectl set-ntp true
                    [sudo] Passwort für bernd:
                    androidin@raspberrypi-iob:~ $ timedatectl status
                                   Local time: Do 2021-02-11 16:29:37 CET
                               Universal time: Do 2021-02-11 15:29:37 UTC
                                     RTC time: n/a
                                    Time zone: Europe/Berlin (CET, +0100)
                    System clock synchronized: no
                                  NTP service: active
                              RTC in local TZ: no
                    

                    Ich bin am Verzeifeln. Ich hatte heute auch massive Probleme, manche DNS im Home Office aufzulösen.

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

                      @iobrokerin Dann kommt der Server wohl nicht raus. Ich hab aber keine Ahnung wie man ggf. pihole gescheit konfigurieren muss.

                      Ich bin am Verzeifeln. Ich hatte heute auch massive Probleme, manche DNS im Home Office aufzulösen

                      Dann nimm den pihole da wieder raus aus dem Spiel, dann siehst du ja auch ob der da reinspuckt.

                      Hier übrigens mehr Informationen zum Thema:

                      http://human-injection.de/articles/timesyncd

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        iobrokerin @Thomas Braun last edited by iobrokerin

                        @thomas-braun

                        Ich glaube, ich habe es hinbekommen. Das System läuft erstmal wieder. Im piHole Protokoll habe ich gesehen, dass viele Anfragen auf SERVFAIL stehen. Dann ist der Groschen gefallen: Die outbound Installation funktioniert nicht mehr. Ich habe im piHole Webinterface umgeschalten auf Quad9 DNS server und jetzt läuft das System wieder. Jetzt weiss ich wenigstens, wonach ich suchen muss.

                        Die Uhrzeiten konnte ich wieder synchronisieren, allerdings steht immer noch:

                        System clock synchronized: no
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @iobrokerin last edited by

                          @iobrokerin
                          Starte mal durch. Ich meine das wird während des bootens synchronisiert.

                          I 1 Reply Last reply Reply Quote 1
                          • I
                            iobrokerin @Thomas Braun last edited by

                            @thomas-braun
                            Jetzt scteht synchronized: yes

                            OK, nun muss ich nur noch die Outbound Installation wieder hinbekommen.

                            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

                            861
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            4
                            40
                            1344
                            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