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 crunchip

      @Dominik-F das ist Problem 1

      run: create server: open /var/lib/influxdb/meta/meta.dbtmp: permission denied
      

      Problem 2

      tcp6       0      0 :::8088                 :::*                    LISTEN      1001       248353262  12808/io.terminal.0
      

      geb mal ein

      sudo systemctl status influxdb
      
      Dominik F. 1 Reply Last reply Reply Quote 0
      • Dominik F.
        Dominik F. @crunchip last edited by

        @crunchip

        pi@raspberrypi4-io:~ $ sudo systemctl status influxdb
        ● influxdb.service - InfluxDB is an open-source, distributed, time series database
           Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
           Active: active (running) since Sun 2020-02-16 02:15:04 CET; 726ms ago
             Docs: https://docs.influxdata.com/influxdb/
         Main PID: 4947 (influxd)
            Tasks: 8 (limit: 4915)
           Memory: 5.8M
           CGroup: /system.slice/influxdb.service
                   └─4947 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
        
        Feb 16 02:15:04 raspberrypi4-io systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
        
        
        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Dominik F. last edited by crunchip

          @Dominik-F
          also Problem 1 kannst du lösen, indm du im iobroker deine Instanz Terminal.0 im IoBroker aufrufst und den Port z.b. auf 8090 änderst.
          Problem 2 ist ein Rechte Problem, muss ich noch überlegen, wie wir das lösen

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

            @crunchip

            So, den Port hab ich geändert.

            und siehe da, es scheint zu funktionieren 🙂

            pi@raspberrypi4-io:~ $ influx
            Connected to http://localhost:8086 version 1.7.10
            InfluxDB shell version: 1.7.10
            
            
            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Dominik F. last edited by

              @Dominik-F kein Rechteproblem mehr?
              na dann kannst ja nun weiter machen 👍

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

                @crunchip

                das scheint es gewesen zu sein. Dann werde ich jetzt erst mal ins Bett gehen und mich dann mit dem Rest auseinander setzen 🙂

                Vielen Dank für deine Hilfe.

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

                  @crunchip

                  Ich bin jetzt dabei grafana zu installieren und natürlich kommt wieder ein Fehler -.-
                  Grafana scheint zu laufen :

                  pi@raspberrypi4-io:~ $ sudo service grafana-server status
                  ● 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 13:24:11 CET; 22min ago
                       Docs: http://docs.grafana.org
                   Main PID: 27113 (grafana)
                      Tasks: 10 (limit: 4915)
                     Memory: 7.7M
                     CGroup: /system.slice/grafana.service
                             └─27113 /usr/sbin/grafana --config=/etc/grafana/grafana.ini cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/li
                  
                  Feb 16 13:24:15 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:15 [I] Migrator: exec migration id: alter dashboard_snapshot to mediumtext v
                  Feb 16 13:24:15 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:15 [I] Migrator: exec migration id: create quota table v1
                  Feb 16 13:24:15 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:15 [I] Migrator: exec migration id: create index UQE_quota_org_id_user_id_ta
                  Feb 16 13:24:16 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:16 [I] Created default admin user: admin
                  Feb 16 13:24:16 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:16 [I] Listen: http://0.0.0.0:3000
                  Feb 16 13:25:57 raspberrypi4-io grafana[27113]: 2020/02/16 13:25:57 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 118
                  Feb 16 13:26:48 raspberrypi4-io grafana[27113]: 2020/02/16 13:26:48 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 209
                  Feb 16 13:29:04 raspberrypi4-io grafana[27113]: 2020/02/16 13:29:04 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 960
                  Feb 16 13:30:14 raspberrypi4-io grafana[27113]: 2020/02/16 13:30:14 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 210
                  Feb 16 13:35:28 raspberrypi4-io grafana[27113]: 2020/02/16 13:35:28 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 205
                  lines 1-20/20 (END)
                  
                  

                  Jedoch, wenn ich folgendes eingebe kommt der Fehler:

                  pi@raspberrypi4-io:~ $ sudo systemctl enable grafana-server.service
                  Failed to enable unit: Too many levels of symbolic links
                  
                  

                  Wenn ich im Browser auf Grafana zugreifen möchte, bleibt die Seite einfach Weis

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

                    @Dominik-F wäre ja zu schön gewesen😊
                    da bin ich gerade etwas überfragt
                    eventuell noch ne fehlende Einstellung in /etc/grafana/grafana.ini

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

                      @crunchip

                      kannst du mich da vielleicht auch wieder schritt für schritt durchführen ? Vielleicht finden wir ja so wieder den Fehler

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

                        @Dominik-F geb mal ein und zeig die ganze breite, also nicht abgeschnitten

                         sudo systemctl status grafana-server
                        

                        und zeig mal die Ausgabe von

                        nano /etc/default/grafana-server
                        
                        Dominik F. 1 Reply Last reply Reply Quote 0
                        • Dominik F.
                          Dominik F. @crunchip last edited by

                          @crunchip

                          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 13:24:11 CET; 56min ago
                               Docs: http://docs.grafana.org
                           Main PID: 27113 (grafana)
                              Tasks: 10 (limit: 4915)
                             Memory: 7.0M
                             CGroup: /system.slice/grafana.service
                                     └─27113 /usr/sbin/grafana --config=/etc/grafana/grafana.ini cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana
                          
                          Feb 16 13:24:15 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:15 [I] Migrator: exec migration id: create quota table v1
                          Feb 16 13:24:15 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:15 [I] Migrator: exec migration id: create index UQE_quota_org_id_user_id_target - v1
                          Feb 16 13:24:16 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:16 [I] Created default admin user: admin
                          Feb 16 13:24:16 raspberrypi4-io grafana[27113]: 2020/02/16 13:24:16 [I] Listen: http://0.0.0.0:3000
                          Feb 16 13:25:57 raspberrypi4-io grafana[27113]: 2020/02/16 13:25:57 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 1181us
                          Feb 16 13:26:48 raspberrypi4-io grafana[27113]: 2020/02/16 13:26:48 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 2099us
                          Feb 16 13:29:04 raspberrypi4-io grafana[27113]: 2020/02/16 13:29:04 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 960us
                          Feb 16 13:30:14 raspberrypi4-io grafana[27113]: 2020/02/16 13:30:14 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 2104us
                          Feb 16 13:35:28 raspberrypi4-io grafana[27113]: 2020/02/16 13:35:28 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 2050us
                          Feb 16 14:17:21 raspberrypi4-io grafana[27113]: 2020/02/16 14:17:21 [I] Completed 192.168.178.20 - "GET / HTTP/1.1" 302 Found 29 bytes in 1151us
                          
                          

                          Die Ausgabe mit Nano ist komplett leer

                          crunchip 1 Reply Last reply Reply Quote 0
                          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            448
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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