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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [gelöst]Hilfe InfluxDB

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

      @crunchip
      hab debian buster installiert und dort läuft der iobroker drauf.

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

        @Dominik-F ok, und wo genau scheitert es jetzt?

        diese Befehle hast du der reihe nach eingegeben?

        sudo systemctl unmask influxdb
        sudo systemctl enable influxdb
        sudo systemctl start influxdb
        influx
        
        Dominik F. 1 Reply Last reply Reply Quote 0
        • Dominik F.
          Dominik F. @crunchip last edited by Dominik F.

          @crunchip

          Ganz genau. Hier nochmal was der mir ausspuckt:

          pi@raspberrypi4-io:~ $ sudo systemctl unmask influxdb
          pi@raspberrypi4-io:~ $ sudo systemctl enable influxdb
          pi@raspberrypi4-io:~ $ sudo systemctl start influxdb
          pi@raspberrypi4-io:~ $ influx
          Failed to connect to http://localhost:8086: Get http://localhost:8086/ping: dial tcp [::1]:8086: connect: connection refused
          Please check your connection settings and ensure 'influxd' is running.
          pi@raspberrypi4-io:~ $ 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 01:53:14 CET; 6s ago
               Docs: https://docs.influxdata.com/influxdb/
           Main PID: 6020 (influxd)
              Tasks: 9 (limit: 4915)
             Memory: 7.6M
             CGroup: /system.slice/influxdb.service
                     └─6020 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
          
          Feb 16 01:53:14 raspberrypi4-io systemd[1]: Started InfluxDB is an open-source, distributed, time series database.
          
          

          Ich habe jetzt mal "influxs" eingegeben und dort wird mir ein Fehler in der letzten Zeile angezeigt, vielleicht ist das ja der Hinweis warum es nicht läuft. vielleicht kannst du das was mit anfangen;

          pi@raspberrypi4-io:~ $ influxd
          
           8888888           .d888 888                   8888888b.  888888b.
             888            d88P"  888                   888  "Y88b 888  "88b
             888            888    888                   888    888 888  .88P
             888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
             888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
             888   888  888 888    888 888  888   X88K   888    888 888    888
             888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
           8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
          
          2020-02-16T00:57:17.629668Z     info    InfluxDB starting       {"log_id": "0Kzsq8FG000", "version": "1.7.10", "branch": "1.7", "commit": "f46f63d4e2d9684a2dd716594ab609ccd32f0a5b"}
          2020-02-16T00:57:17.629726Z     info    Go runtime      {"log_id": "0Kzsq8FG000", "version": "go1.12.6", "maxprocs": 4}
          run: create server: open /var/lib/influxdb/meta/meta.dbtmp: permission denied
          
          
          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @Dominik F. last edited by

            @Dominik-F ich denke, dein Port wird schon belegt, gib mal ein

            netstat -tulpen
            

            und zeig mal was den port belegt

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

              @crunchip

              pi@raspberrypi4-io:~ $ sudo netstat -tulpen
              Aktive Internetverbindungen (Nur Server)
              Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name
              tcp        0      0 192.168.178.38:2010     0.0.0.0:*               LISTEN      1001       248354435  14159/io.hm-rpc.2
              tcp        0      0 127.0.0.1:6011          0.0.0.0:*               LISTEN      1000       256810951  14750/sshd: pi@pts/
              tcp        0      0 192.168.178.38:1        0.0.0.0:*               LISTEN      1001       248354958  13055/io.hm-rpc.1
              tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       248351973  12330/iobroker.js-c
              tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       248351972  12330/iobroker.js-c
              tcp        0      0 192.168.178.38:2001     0.0.0.0:*               LISTEN      1001       248351139  12403/io.hm-rpc.0
              tcp        0      0 192.168.178.38:8082     0.0.0.0:*               LISTEN      1001       248351534  12834/io.web.0
              tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          258171194  23797/sshd
              tcp6       0      0 :::8088                 :::*                    LISTEN      1001       248353262  12808/io.terminal.0
              tcp6       0      0 ::1:6011                :::*                    LISTEN      1000       256810950  14750/sshd: pi@pts/
              tcp6       0      0 :::8000                 :::*                    LISTEN      1001       248357795  13586/io.upnp.0
              tcp6       0      0 :::8081                 :::*                    LISTEN      1001       248352021  12354/io.admin.0
              tcp6       0      0 :::22                   :::*                    LISTEN      0          258171196  23797/sshd
              udp        0      0 0.0.0.0:67              0.0.0.0:*                           1001       248356409  13430/io.radar2.0
              udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14613      520/dhcpcd
              udp        0      0 0.0.0.0:33468           0.0.0.0:*                           108        13737      338/avahi-daemon: r
              udp        0      0 192.168.178.38:5353     0.0.0.0:*                           1001       248360979  14586/io.tr-064.0
              udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        13735      338/avahi-daemon: r
              udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1001       248357211  13586/io.upnp.0
              udp6       0      0 :::546                  :::*                                0          256769790  520/dhcpcd
              udp6       0      0 :::39021                :::*                                108        13738      338/avahi-daemon: r
              udp6       0      0 :::5353                 :::*                                108        13736      338/avahi-daemon: r
              
              
              crunchip 1 Reply Last reply Reply Quote 0
              • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            765
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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