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.
    • Thomas Braun
      Thomas Braun Most Active @iobrokerin last edited by

      @iobrokerin

      cat /etc/apt/sources.list
      lsb_releases -a
      
      1 Reply Last reply Reply Quote 0
      • I
        iobrokerin @Thomas Braun last edited by

        @thomas-braun said in mariaDB installiert nicht:

        nd was hat das jetzt mit der Maria zu tun?
        Da ist immer noch in einer *.list die falsche Referenz auf Bullseye drin.

        In dem von mir geposteten Link sind es lauter Einzelschritte zur Installation von nextcloud. Bis zur MariaDB bin ich gekommen. Jetzt ist doch nicht mehr die falsche Referenz drin, denn ich habe eine Sicherung eingespielt.

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

          @iobrokerin Ausgaben posten...

          Die verlinkte Anleitung scheint brauchbar zu sein, passt aber nur leider nicht zu den von dir verwendeten System.

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

            @thomas-braun
            welche Ausgaben willst du sehen?

            mariadb.list ist nicht mehr auf dem System:

            androidin@raspberrypi-iob:/etc/apt/sources.list.d $ ls -al
            insgesamt 28
            drwxr-xr-x 2 root root 4096 Jan 29 06:21 .
            drwxr-xr-x 7 root root 4096 Dez 27 18:17 ..
            -rw-r--r-- 1 root root   78 Dez 27 18:16 debian-backports.list
            -rw-r--r-- 1 root root  110 Sep  1 14:32 nodesource.list
            -rw-r--r-- 1 root root   60 Sep 12 21:45 pivpn-bullseye.list
            -rw-r--r-- 1 root root  187 Aug 20 12:32 raspi.list
            -rw-r--r-- 1 root root  203 Jan 29 06:21 vscode.list
            androidin@raspberrypi-iob:/etc/apt/sources.list.d $ pwd
            /etc/apt/sources.list.d
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @iobrokerin last edited by Thomas Braun

              @iobrokerin
              debian-backports.list
              pivpn-bullseye.list
              vscode.list

              löschen.
              Ausgaben der beiden obigen Befehle noch posten.

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

                @thomas-braun
                ok, ich werde die Dateien löschen.

                Die Ausgabe obiger Befehle ist:

                androidin@raspberrypi-iob:/etc/apt/sources.list.d $ cat /etc/apt/sources.list
                deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                androidin@raspberrypi-iob:/etc/apt/sources.list.d $ lsb_releases -a
                -bash: lsb_releases: Kommando nicht gefunden.
                
                Thomas Braun 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @iobrokerin last edited by

                  @iobrokerin

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

                    @thomas-braun
                    sorry, hätte ich auch merken müssen:

                    androidin@raspberrypi-iob:/etc/apt/sources.list.d $ lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Raspbian
                    Description:    Raspbian GNU/Linux 10 (buster)
                    Release:        10
                    Codename:       buster
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @iobrokerin last edited by

                      @iobrokerin

                      sudo apt update
                      apt policy mariadb-server
                      
                      I 1 Reply Last reply Reply Quote 0
                      • I
                        iobrokerin @Thomas Braun last edited by

                        @thomas-braun

                        Das update sieht nun nicht mehr so gut aus....

                        androidin@raspberrypi-iob:/etc/apt/sources.list.d $ sudo apt update
                        OK:1 https://deb.nodesource.com/node_14.x buster InRelease
                        Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,8 kB]
                        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 1 d 1 h 29 min 16 s). Updates for this repository will not be applied.
                        androidin@raspberrypi-iob:/etc/apt/sources.list.d $ apt policy mariadb-server
                        mariadb-server:
                          Installiert:           1:10.3.27-0+deb10u1
                          Installationskandidat: 1:10.3.27-0+deb10u1
                          Versionstabelle:
                         *** 1:10.3.27-0+deb10u1 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                100 /var/lib/dpkg/status
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @iobrokerin last edited by

                          @iobrokerin Hast du die nodesource.list jetzt auch gelöscht? Die fehlt beim update.

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

                            @thomas-braun

                            Nö, die Datei ist noch da.

                            androidin@raspberrypi-iob:/etc/apt/sources.list.d $ ls -al
                            insgesamt 16
                            drwxr-xr-x 2 root root 4096 Feb 10 18:28 .
                            drwxr-xr-x 7 root root 4096 Dez 27 18:17 ..
                            -rw-r--r-- 1 root root  110 Sep  1 14:32 nodesource.list
                            -rw-r--r-- 1 root root  187 Aug 20 12:32 raspi.list
                            androidin@raspberrypi-iob:/etc/apt/sources.list.d $ cat nodesource.list
                            deb https://deb.nodesource.com/node_14.x buster main
                            deb-src https://deb.nodesource.com/node_14.x buster main
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @iobrokerin last edited by Thomas Braun

                              @iobrokerin

                              sudo apt update
                              

                              Systemzeit richtig?

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

                                            Support us

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

                                            916
                                            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