Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]Hilfe InfluxDB

    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

    [gelöst]Hilfe InfluxDB

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Dominik F. last edited by

      @Dominik-F sagte in [gelöst]Hilfe InfluxDB + Grafana:

      Die Ausgabe mit Nano ist komplett leer

      seltsam

      service mal neustarten, mit

      service grafana-server restart
      
      Dominik F. 1 Reply Last reply Reply Quote 0
      • Dominik F.
        Dominik F. @crunchip last edited by Dominik F.

        @crunchip

        Jetzt bekomme ich folgendes:

        pi@raspberrypi4-io:~ $ sudo systemctl status grafana-server
        ● grafana.service - Starts and stops a single grafana instance on this system
           Loaded: loaded (/lib/systemd/system/grafana.service; enabled; vendor preset: enabled)
           Active: active (running) since Sun 2020-02-16 14:25:59 CET; 1min 9s ago
             Docs: http://docs.grafana.org
         Main PID: 17801 (grafana)
            Tasks: 7 (limit: 4915)
           Memory: 4.6M
           CGroup: /system.slice/grafana.service
                   └─17801 /usr/sbin/grafana --config=/etc/grafana/grafana.ini cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana
        
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]: Command lines overrides:
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]:   [0]: default.paths.data=/var/lib/grafana
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]:   [1]: default.paths.logs=/var/log/grafana
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]: Paths:
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]:   home: /usr/share/grafana
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]:   data: /var/lib/grafana
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]:   logs: /var/log/grafana
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]: 2020/02/16 14:25:59 [I] Database: sqlite3
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]: 2020/02/16 14:25:59 [I] Migrator: Starting DB migration
        Feb 16 14:25:59 raspberrypi4-io grafana[17801]: 2020/02/16 14:25:59 [I] Listen: http://0.0.0.0:3000
        
        

        Der Befehl mit Nano bleibt noch leer

        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Dominik F. last edited by

          @Dominik-F geht Grafana nun?

          Dominik F. 1 Reply Last reply Reply Quote 0
          • Dominik F.
            Dominik F. @crunchip last edited by

            @crunchip

            Nein, die Seite bleibt immer noch weis

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Dominik F. last edited by

              @Dominik-F hast du schon was in der grafana.ini geändert?

              Dominik F. 1 Reply Last reply Reply Quote 0
              • Dominik F.
                Dominik F. @crunchip last edited by

                @crunchip

                Nein.
                Zur Installation hab ich folgende Befehle von der Grafana Seite benutzt:

                sudo apt-get install -y apt-transport-https
                sudo apt-get install -y software-properties-common wget
                wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
                sudo apt-get update
                sudo apt-get install grafana
                sudo systemctl daemon-reload
                sudo systemctl start grafana-server
                sudo systemctl status grafana-server
                

                Danach sollte man diesen Befehl ausführen und da kommt der oben beschriebene Fehler:

                sudo systemctl enable grafana-server.service
                
                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Dominik F. last edited by

                  @Dominik-F meine Reihenfolge war

                  78  add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
                     79  wget https://dl.grafana.com/oss/release/grafana_6.5.2_amd64.deb
                     80  apt-get install -y adduser libfontconfig1
                     81  dpkg -i grafana_6.5.2_amd64.deb
                     82  systemctl daemon-reload
                     83  systemctl start grafana-server
                     84  systemctl status grafana-server
                     85  systemctl enable grafana-server.service
                     86  service grafana-server start
                     87  service grafana-server status
                     88  update-rc.d grafana-server defaults
                     89  systemctl daemon-reload
                     90  nano /etc/grafana/grafana.ini
                     91  service grafana-server restart
                     92  grafana-cli plugins update-all
                     93  service grafana-server restart
                  
                  
                  Dominik F. 1 Reply Last reply Reply Quote 0
                  • Dominik F.
                    Dominik F. @crunchip last edited by

                    @crunchip

                    beim ersten Befehl bekomme ich schon einen Fehler:

                    pi@raspberrypi4-io:~ $ sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
                    Traceback (most recent call last):
                      File "/usr/bin/add-apt-repository", line 95, in <module>
                        sp = SoftwareProperties(options=options)
                      File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
                        self.reload_sourceslist()
                      File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
                        self.distro.get_sources(self.sourceslist)
                      File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
                        (self.id, self.codename))
                    aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster
                    
                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Dominik F. last edited by

                      @Dominik-F war auch nicht dazu gedacht, das du nochmal versuchst zu installieren...du hast doch schon installiert.
                      war eher als Vergleich gedacht, das ich das .deb package und du das APT repository installiert hast.

                      mit deiner Fehlermeldung fällt mir leider nichts ein, woran es liegen könnte

                      Dominik F. 1 Reply Last reply Reply Quote 0
                      • Dominik F.
                        Dominik F. @crunchip last edited by

                        @crunchip

                        Wäre es vielleicht eine Idee Grafana zu deinstallieren und mit deinen Befehlen nochmal zu installieren?

                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Dominik F. last edited by

                          @Dominik-F macht eigentlich keinen Unterschied, ausser das mit meiner Variante eine Bestimmte Version ausgewählt wird.
                          Mit deiner, die aktuelle Version und du kannst, wenn ein Update anliegt, mit einem einfachen apt-get update dein Grafana updaten.

                          Dominik F. 1 Reply Last reply Reply Quote 0
                          • Dominik F.
                            Dominik F. @crunchip last edited by

                            @crunchip

                            Okay. Ich würde trotzdem gerne Grafana einmal löschen und neuinstallieren, kann ja nix passieren da es eh nicht läuft^^

                            Was wäre denn da der richtige Befehl?
                            Habe mehrere gefunden im Netz.

                            sudo apt-get remove grafana
                            sudo apt-get remove --auto-remove grafana
                            sudo apt-get purge grafana  
                            sudo apt-get purge --auto-remove grafana  
                            
                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Dominik F. last edited by

                              @Dominik-F hmm, welcher der Befehle am besten greift, weiss ich nicht. Lösche nie etwas, deshalb habe ich alles in einzelnen Container😁 , wenn was schief geht, backup einspielen....wo wir wieder beim Thema sind...alles in einem zu installieren😜

                              Dominik F. 1 Reply Last reply Reply Quote 0
                              • Dominik F.
                                Dominik F. @crunchip last edited by

                                @crunchip

                                Könntest du mir vielleicht etwas genauer erklären was die container sind etc? Vielleicht würde es ja sinn machen, das bei mir auch so aufzuziehen.

                                crunchip 1 Reply Last reply Reply Quote 0
                                • crunchip
                                  crunchip Forum Testing Most Active @Dominik F. last edited by

                                  @Dominik-F dazu brauchst nen "Leistungsstarken Rechner"...und dann eben Proxmox darauf...damit kannst du dir dann Virtuelle Maschinen einrichten.
                                  Google mal nach Intel NUC und Proxmox

                                  Dominik F. 1 Reply Last reply Reply Quote 0
                                  • Dominik F.
                                    Dominik F. @crunchip last edited by

                                    @crunchip

                                    Okay, da so ein Nuc um die 300€ kosten wird verschiebe ich das Thema mal auf später wenn mein PI 4 an seine Grenzen kommt.

                                    Bleibt noch das Problem mit Grafana -.- Du hast mir schon sehr geholfen und da du gerade auch nicht weiter weisst, frag ich nochmal in die Runde:

                                    Hat vielleicht noch jemand anders eine Idee woran es liegen könnte?

                                    1 Reply Last reply Reply Quote 0
                                    • Dominik F.
                                      Dominik F. last edited by

                                      ich stelle hier mal auf gelöst und mache einen neuen Thread auf, damit es übersichtlicher ist. Das Problem mit Influx wurde ja gelöst.

                                      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

                                      890
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      influxdb
                                      4
                                      62
                                      8852
                                      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