Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influx DB abgelehnt

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Influx DB abgelehnt

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

      @pupsimupsi ff606148-2041-4b80-b26b-73921a566f4d-image.png

      Hi!

      Ich stehe vor dem gleichen Problem, leider habe ich keinen Schreibzugriff auf die Datei.

      Kannst du oder kann mir da jemand helfen?

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

        @florian84z

        sudo nano /pfad/zur/datei
        
        F 1 Reply Last reply Reply Quote 0
        • F
          florian84z @Thomas Braun last edited by

          @thomas-braun sagte in Influx DB abgelehnt:

          s

          wow, das ging schnell.... nun läuft Influx & Grafana wieder! vielen Dank👏 👍

          1 Reply Last reply Reply Quote 0
          • T
            therock27 last edited by therock27

            habe auch das problem nur ist die datei nicht zu finden. influxdb läuft bei mir auf einer debian vm. wo find ich die datei? ```
            root@debian:/opt# systemctl status influxdb.service
            ● influxdb.service - InfluxDB is an open-source, distributed, time series databa
            Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset:
            Active: active (running) since Tue 2021-08-31 19:56:42 CEST; 24min ago
            Docs: man:influxd(1)
            Main PID: 25081 (influxd)
            Tasks: 12 (limit: 4689)
            Memory: 185.3M
            CGroup: /system.slice/influxdb.service
            └─25081 /usr/bin/influxd -config /etc/influxdb/influxdb.conf

            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.202368Z lvl=info m
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.202404Z lvl=info m
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.202425Z lvl=info m
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.205758Z lvl=info m
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.205867Z lvl=info m
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.207063Z lvl=info m
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.207063Z lvl=info m
            Aug 31 19:59:50 debian influxd[25081]: ts=2021-08-31T17:59:50.187463Z lvl=info m
            Aug 31 19:59:53 debian influxd[25081]: ts=2021-08-31T17:59:53.299354Z lvl=info m
            Aug 31 19:59:53 debian influxd[25081]: ts=2021-08-31T17:59:53.301136Z lvl=info m
            lines 1-20/20 (END)
            ● 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 Tue 2021-08-31 19:56:42 CEST; 24min ago
            Docs: man:influxd(1)
            Main PID: 25081 (influxd)
            Tasks: 12 (limit: 4689)
            Memory: 185.3M
            CGroup: /system.slice/influxdb.service
            └─25081 /usr/bin/influxd -config /etc/influxdb/influxdb.conf

            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.202368Z lvl=info msg="Starting continuous query service" log_id=0WJLYD
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.202404Z lvl=info msg="Starting HTTP service" log_id=0WJLYDKl000 servic
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.202425Z lvl=info msg="opened HTTP access log" log_id=0WJLYDKl000 servi
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.205758Z lvl=info msg="Listening on HTTP" log_id=0WJLYDKl000 service=ht
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.205867Z lvl=info msg="Starting retention policy enforcement service" l
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.207063Z lvl=info msg="Listening for signals" log_id=0WJLYDKl000
            Aug 31 19:57:46 debian influxd[25081]: ts=2021-08-31T17:57:46.207063Z lvl=info msg="Storing statistics" log_id=0WJLYDKl000 service=m
            Aug 31 19:59:50 debian influxd[25081]: ts=2021-08-31T17:59:50.187463Z lvl=info msg="Cache snapshot (start)" log_id=0WJLYDKl000 engin
            Aug 31 19:59:53 debian influxd[25081]: ts=2021-08-31T17:59:53.299354Z lvl=info msg="Snapshot for path written" log_id=0WJLYDKl000 en
            Aug 31 19:59:53 debian influxd[25081]: ts=2021-08-31T17:59:53.301136Z lvl=info msg="Cache snapshot (end)" log_id=0WJLYDKl000 engine=
            ~
            ~
            ~

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

              @therock27 sagte in Influx DB abgelehnt:

              habe auch das problem

              Nein hast du nicht, deine influx läuft
              Hast du ein Update des Adapters gemacht, dann Passwort einnal neu eintragen

              T 1 Reply Last reply Reply Quote 0
              • C
                canim last edited by

                selbe problem bei mir auch, habe die Zeile Sleep 1 auf 10 geändert und es läuft

                1 Reply Last reply Reply Quote 0
                • T
                  therock27 @crunchip last edited by

                  @crunchip besten dank läuft wieder.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sushibomba last edited by Sushibomba

                    Habe aktuell das Problem das sich bei mir meine InfluxDB Seite nicht mehr öffnet.
                    Habe die Einstellungen schon von 1 auf 10 gestellt in Zeile 29 aber keine Änderung.
                    Der InfluxDB Adpter ist aber komischerweise auf grün.

                    Jemand eine Idee, warum ich per Browser nicht mehr drauf zugreifen kann? Es steht dort nur in klein oben links gechrieben: 404 page not found

                    apt policy influxdb
                    
                    pi@Pi4ioBroker128GB:~ $ apt policy influxdb
                    influxdb:
                      Installed: 1.8.10-1
                      Candidate: 1.8.10-1
                      Version table:
                     *** 1.8.10-1 500
                            500 https://repos.influxdata.com/debian stable/main armhf Packages
                            100 /var/lib/dpkg/status
                         1.6.7~rc0-1 500
                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                    
                    sudo systemctl status influxdb.service
                    
                    pi@Pi4ioBroker128GB:~ $ sudo systemctl status influxdb.service
                    ● influxdb.service - InfluxDB is an open-source, distributed, time series datab>
                         Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor pres>
                         Active: active (running) since Sat 2023-05-06 12:30:25 CEST; 18min ago
                           Docs: https://docs.influxdata.com/influxdb/
                        Process: 18144 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh>
                       Main PID: 18146 (influxd)
                          Tasks: 14 (limit: 3932)
                            CPU: 51.497s
                         CGroup: /system.slice/influxdb.service
                                 └─18146 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                    
                    May 06 12:48:27 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:29 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:30 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:30 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:30 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:34 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:34 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:39 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:40 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    May 06 12:48:44 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0>
                    lines 1-21/21 (END)...skipping...
                    ● 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 Sat 2023-05-06 12:30:25 CEST; 18min ago
                           Docs: https://docs.influxdata.com/influxdb/
                        Process: 18144 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (code=exited, status=0/SUCCESS)
                       Main PID: 18146 (influxd)
                          Tasks: 14 (limit: 3932)
                            CPU: 51.497s
                         CGroup: /system.slice/influxdb.service
                                 └─18146 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                    
                    May 06 12:48:27 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:27 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:29 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:29 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:30 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:30 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:30 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:30 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:30 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:30 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:34 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:34 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:34 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:34 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:39 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:39 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:40 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:40 +0200] "POST /write?database=iobroker&db>
                    May 06 12:48:44 Pi4ioBroker128GB influxd-systemd-start.sh[18146]: [httpd] 127.0.0.1 - admin [06/May/2023:12:48:44 +0200] "POST /write?database=iobroker&db>
                    
                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Sushibomba last edited by crunchip

                      @sushibomba sagte in Influx DB abgelehnt:

                      Habe aktuell das Problem das sich bei mir meine InfluxDB Seite nicht mehr öffnet.

                      @sushibomba sagte in Influx DB abgelehnt:

                      Installed: 1.8.10-1

                      da gibt es gar keine Seite die sich öffnen könnte, das gibt es erst in v2.x
                      bzw in einer früheren steinalten Version gab es mal die Möglichkeit, denke aber nicht das deine Installation so alt ist

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Sushibomba @crunchip last edited by Sushibomba

                        @crunchip

                        Ahhhhhh und ich dachte schon ich wäre zu dumm.
                        Kurz zum Hintergrund. Wollte meine IoBroker Installation umziehen auf einen Proxmox Server und wollte gestern die Backups einspielen nachdem ich Grafana und InfluxDB auf dem neuen System installiert hatte. Und da hatte ich eine InfluxDB Oberfläche und da die alte InfluxDB Installation auf meinem Pi schon zu lange her war, wusste ich nicht mehr, dass es dafür gar keine Web-Oberfläche gab.

                        Das mit dem einspielen der Backups hat allerdings bei Grafana und InfluxDB nicht funktioniert und jetzt habe ich nach Lösungen gesucht.
                        Weißt du zufällig wie ich vorgehen muss um meine Daten aus der aktuellen iobroker Pi4 Nutzung auf den Server zu bekommen und das das mit dem einspielen des Backups vom Backitup Adapter auch funktioniert?

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

                          @sushibomba sagte in Influx DB abgelehnt:

                          nachdem ich Grafana und InfluxDB auf dem neuen System installiert hatte. Und da hatte ich eine InfluxDB Oberfläche

                          dann hast du nicht influxdb sondern influxdb2 installiert

                          @sushibomba sagte in Influx DB abgelehnt:

                          das das mit dem einspielen des Backups vom Backitup Adapter auch funktioniert

                          man kann die Daten direkt migrieren von v1 nach v2, irgendwo hier im Forum wurde es mal beschrieben

                          S Marc Berg 2 Replies Last reply Reply Quote 0
                          • S
                            Sushibomba @crunchip last edited by

                            @crunchip sagte in Influx DB abgelehnt:

                            @sushibomba sagte in Influx DB abgelehnt:

                            nachdem ich Grafana und InfluxDB auf dem neuen System installiert hatte. Und da hatte ich eine InfluxDB Oberfläche

                            dann hast du nicht influxdb sondern influxdb2 installiert

                            Ja genau das ist mir dank deinem Hinweis auch jetzt klar 🙂

                            @sushibomba sagte in Influx DB abgelehnt:

                            das das mit dem einspielen des Backups vom Backitup Adapter auch funktioniert

                            man kann die Daten direkt migrieren von v1 nach v2, irgendwo hier im Forum wurde es mal beschrieben

                            Den Link hast du aber nicht zufällig oder? über die suche finde ich es net.

                            ? 1 Reply Last reply Reply Quote 0
                            • Marc Berg
                              Marc Berg Most Active @crunchip last edited by Marc Berg

                              @crunchip sagte in Influx DB abgelehnt:

                              man kann die Daten direkt migrieren von v1 nach v2, irgendwo hier im Forum wurde es mal beschrieben

                              Das ist eigentlich ganz easy:

                              1. Auf der Influxdb 1.8 (ggf. datadir, waldir, database anpassen):
                              influx_inspect export -datadir /var/lib/influxdb/data -waldir /var/lib/influxdb/wal -database iobroker -compress -lponly -out ~/iobroker1_export.lp
                              
                              1. auf der Influxdb 2.x:
                              • Bucket (z.B. über Oberfläche) anlegen
                              • Daten importieren (ggf. bucketname anpassen):
                              influx write --bucket iobroker --file ~/iobroker1_export.lp --compression gzip
                              
                              1 Reply Last reply Reply Quote 1
                              • ?
                                A Former User @Sushibomba last edited by A Former User

                                @sushibomba sagte in Influx DB abgelehnt:

                                Den Link hast du aber nicht zufällig oder? über die suche finde ich es net.

                                Moin,

                                passt nicht wie die Faust aufs Auge, aber ich hab da mal vor Wochen etwas zusammengeschrieben, ging um den Export einer lokalen V 1.8 hin zu einer influxDB Cloud

                                https://forum.iobroker.net/topic/62735/influxdb-cloud-daten-importieren/28

                                VG
                                Bernd

                                S 1 Reply Last reply Reply Quote 1
                                • S
                                  Sushibomba @Guest last edited by

                                  @dp20eic
                                  @Marc-Berg

                                  Dankeschön 👍🏻 Werde ich mir die Tage anschauen damit beim Umzug nichts verkehrt läuft.

                                  Noch ne Kleinigkeit... Welche Daten müssen denn sowohl bei der alten InfluxDB mit 1.x und der neuen Installation auf dem Proxmox vor der Einspielung des Backups identisch sein? Hat das was mit den Buckets zu tun oder so? Finde mich da noch nicht so zurecht.

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @Sushibomba last edited by A Former User

                                    @sushibomba sagte in Influx DB abgelehnt:

                                    Welche Daten müssen denn sowohl bei der alten InfluxDB mit 1.x und der neuen Installation auf dem Proxmox vor der Einspielung des Backups identisch sein? Hat das was mit den Buckets zu tun oder so? Finde mich da noch nicht so zurecht.

                                    Moin,

                                    wenn ich Deine Frage richtig verstehe, dann kannst Du die V1.8 so lassen wie sie ist, und Dir eine neue influxDB Instanz V2.7 unter Proxmox aufbauen. Du musst nur sicherstellen, dass irgendwo, entweder unter der V1.8 oder der V 2.7, die Kommandozeilen Tools influxdb2-cli installiert sind und ein gültiges Environment existiert, damit Du sowohl auf die alte V 1.8 als auch auf die V 2.7 zugreifen kannst.

                                    In dem von mir verlinkten Post steht aber soweit alles drin, Du musst nur die influxDB Cloud durch Deine neue V 2.7 ersetzen.

                                    Und es ist wichtig, dass Du evtl. schon einmal die Daten parallel in beide influxDBs schreiben lässt. Dann kannst Du am Stichtag die Protokollierung in die V 1.8 abschalten und die alten Daten aus der V 1.8 in die neue V 2.7 schieben.
                                    Keine Angst, Daten, die vom Zeitstempel schon in der neuen sind, werden nicht doppelt geschrieben, sondern bekommen nur ein Update oder werden übersprungen.

                                    VG
                                    Bernd

                                    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

                                    954
                                    Online

                                    31.6k
                                    Users

                                    79.5k
                                    Topics

                                    1.3m
                                    Posts

                                    influxdb
                                    15
                                    79
                                    9330
                                    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