Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Proxmox
  5. Proxmox / Influxdb V1 zu V2... wie?

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    980

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.3k

Proxmox / Influxdb V1 zu V2... wie?

Scheduled Pinned Locked Moved Proxmox
221 Posts 20 Posters 40.2k Views 24 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MassiveAttackM MassiveAttack

    @marc-berg

    root@d838f40c3dd2:/# influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana
    Error: failed to verify username "grafana" has no auth: 401 Unauthorized: unauthorized access
    

    funkt auch mit meinem admin user nicht

    Marc BergM Offline
    Marc BergM Offline
    Marc Berg
    Most Active
    wrote on last edited by
    #86

    @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

    @marc-berg

    funkt auch mit meinem admin user nicht

    Es sieht so aus, als ob bei Dir in der InfluxDB kein "default" Profil hinterlegt ist, deshalb fragt der Befehl bei Dir auch nach einer Org. Dann müsstest Du auch den Token mitgeben.

    influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana -t <TOKEN>
    

    Was sagt?

    influx config list 
    

    NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

    Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

    Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

    MassiveAttackM 1 Reply Last reply
    0
    • Marc BergM Marc Berg

      @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

      @marc-berg

      funkt auch mit meinem admin user nicht

      Es sieht so aus, als ob bei Dir in der InfluxDB kein "default" Profil hinterlegt ist, deshalb fragt der Befehl bei Dir auch nach einer Org. Dann müsstest Du auch den Token mitgeben.

      influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana -t <TOKEN>
      

      Was sagt?

      influx config list 
      
      MassiveAttackM Offline
      MassiveAttackM Offline
      MassiveAttack
      wrote on last edited by MassiveAttack
      #87

      @marc-berg
      wir sind einen Schritt weiter :)

      Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
      
      root@d838f40c3dd2:/# influx config list
      Active  Name    URL     Org
      
      Marc BergM 2 Replies Last reply
      0
      • MassiveAttackM MassiveAttack

        @marc-berg
        wir sind einen Schritt weiter :)

        Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
        
        root@d838f40c3dd2:/# influx config list
        Active  Name    URL     Org
        
        Marc BergM Offline
        Marc BergM Offline
        Marc Berg
        Most Active
        wrote on last edited by
        #88

        @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

        root@d838f40c3dd2:/# influx config list
        Active  Name    URL     Org
        

        Hm, kein Profil angelegt, was eigentlich beim Setup gemacht wird. Wenn Du noch keine Daten drin hast, könntest Du mal gefahrlos

        influx setup
        

        ausführen.

        NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

        Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

        Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

        MassiveAttackM 1 Reply Last reply
        0
        • Marc BergM Marc Berg

          @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

          root@d838f40c3dd2:/# influx config list
          Active  Name    URL     Org
          

          Hm, kein Profil angelegt, was eigentlich beim Setup gemacht wird. Wenn Du noch keine Daten drin hast, könntest Du mal gefahrlos

          influx setup
          

          ausführen.

          MassiveAttackM Offline
          MassiveAttackM Offline
          MassiveAttack
          wrote on last edited by
          #89

          @marc-berg

          root@d838f40c3dd2:/# influx setup
          Error: instance has already been set up
          
          1 Reply Last reply
          0
          • MassiveAttackM MassiveAttack

            @marc-berg
            wir sind einen Schritt weiter :)

            Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
            
            root@d838f40c3dd2:/# influx config list
            Active  Name    URL     Org
            
            Marc BergM Offline
            Marc BergM Offline
            Marc Berg
            Most Active
            wrote on last edited by
            #90

            @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

            Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
            

            Welcher Befehl führt zu diesem Fehler?

            NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

            Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

            Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

            MassiveAttackM 1 Reply Last reply
            0
            • Marc BergM Marc Berg

              @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

              Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
              

              Welcher Befehl führt zu diesem Fehler?

              MassiveAttackM Offline
              MassiveAttackM Offline
              MassiveAttack
              wrote on last edited by MassiveAttack
              #91

              @marc-berg

              nachdem ich den token hinzugefügt habe, musste ich 2x ein PW eingeben, danach kam diese Meldung

              root@d838f40c3dd2:/# influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana -t iuLUDd54DwIKgUl8gfJwjU92shXM8Gp1EML7bNoapea7E-bQG26LGxxZfV98i06P5U4qLGQYCHdA4K32JA1BEA==
              ? Please type your password **********
              ? Please type your password again **********
              Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
              
              Marc BergM 1 Reply Last reply
              0
              • MassiveAttackM MassiveAttack

                @marc-berg

                nachdem ich den token hinzugefügt habe, musste ich 2x ein PW eingeben, danach kam diese Meldung

                root@d838f40c3dd2:/# influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana -t iuLUDd54DwIKgUl8gfJwjU92shXM8Gp1EML7bNoapea7E-bQG26LGxxZfV98i06P5U4qLGQYCHdA4K32JA1BEA==
                ? Please type your password **********
                ? Please type your password again **********
                Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
                
                Marc BergM Offline
                Marc BergM Offline
                Marc Berg
                Most Active
                wrote on last edited by Marc Berg
                #92

                @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                @marc-berg

                nachdem ich den token hinzugefügt habe, musste ich 2x ein PW eingeben, danach kam diese Meldung

                root@d838f40c3dd2:/# influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana -t iuLUDd54DwIKgUl8gfJwjU92shXM8Gp1EML7bNoapea7E-bQG26LGxxZfV98i06P5U4qLGQYCHdA4K32JA1BEA==
                ? Please type your password **********
                ? Please type your password again **********
                Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
                

                Wenn Du die Option "--org-id" angibst, erwartet er eine ID und keinen Namen, ansonsten "--org" nutzen.

                NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                MassiveAttackM 1 Reply Last reply
                0
                • Marc BergM Marc Berg

                  @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                  @marc-berg

                  nachdem ich den token hinzugefügt habe, musste ich 2x ein PW eingeben, danach kam diese Meldung

                  root@d838f40c3dd2:/# influx v1 auth create --org-id universe --read-bucket 51f77c18f32e8b3d --username grafana -t iuLUDd54DwIKgUl8gfJwjU92shXM8Gp1EML7bNoapea7E-bQG26LGxxZfV98i06P5U4qLGQYCHdA4K32JA1BEA==
                  ? Please type your password **********
                  ? Please type your password again **********
                  Error: failed to create new authorization: 400 Bad Request: invalid json structure: id must have a length of 16 bytes
                  

                  Wenn Du die Option "--org-id" angibst, erwartet er eine ID und keinen Namen, ansonsten "--org" nutzen.

                  MassiveAttackM Offline
                  MassiveAttackM Offline
                  MassiveAttack
                  wrote on last edited by
                  #93

                  @marc-berg

                  jo, da hast du wohl recht :)

                  das ging mal durch

                  ID                      Description     Username        v2 User Name    v2 User ID              Permissions
                  0ab5bb263263b000                        grafana         Jochen          0ab57e1742211000        [read:orgs/bcc1c2a945a2c408/buckets/51f77c18f32e8b3d]
                  

                  beim nächste Schritt hatte ich wieder ein Berechtigungsproblem, mit dem token gings wieder:

                  root@d838f40c3dd2:/# influx v1 dbrp create --org-id bcc1c2a945a2c408 --db iobroker --rp autogen --bucket-id 51f77c18f32e8b3d --default -t KUArezBLNDbZWty0PcwTbD0rme4qIR2JZ0sffRAU8mcT2eXMB12jp6-aTRiH0Gtw0UsY4aEr1U3JXMiYWFTlWg==
                  ID                      Database        Bucket ID               Retention Policy        Default Organization ID
                  0ab5bc988fa3b000        iobroker        51f77c18f32e8b3d        autogen                 true    bcc1c2a945a2c408
                  

                  und jetzt funktioniert influxql?

                  Marc BergM 1 Reply Last reply
                  0
                  • MassiveAttackM MassiveAttack

                    @marc-berg

                    jo, da hast du wohl recht :)

                    das ging mal durch

                    ID                      Description     Username        v2 User Name    v2 User ID              Permissions
                    0ab5bb263263b000                        grafana         Jochen          0ab57e1742211000        [read:orgs/bcc1c2a945a2c408/buckets/51f77c18f32e8b3d]
                    

                    beim nächste Schritt hatte ich wieder ein Berechtigungsproblem, mit dem token gings wieder:

                    root@d838f40c3dd2:/# influx v1 dbrp create --org-id bcc1c2a945a2c408 --db iobroker --rp autogen --bucket-id 51f77c18f32e8b3d --default -t KUArezBLNDbZWty0PcwTbD0rme4qIR2JZ0sffRAU8mcT2eXMB12jp6-aTRiH0Gtw0UsY4aEr1U3JXMiYWFTlWg==
                    ID                      Database        Bucket ID               Retention Policy        Default Organization ID
                    0ab5bc988fa3b000        iobroker        51f77c18f32e8b3d        autogen                 true    bcc1c2a945a2c408
                    

                    und jetzt funktioniert influxql?

                    Marc BergM Offline
                    Marc BergM Offline
                    Marc Berg
                    Most Active
                    wrote on last edited by Marc Berg
                    #94

                    @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                    und jetzt funktioniert influxql?

                    Jetzt noch einen dedizierten API-Key anlegen und dann eine Grafana-Datenquelle wie in meinen Screenshots.

                    Wichtig ist der Custom HTTP Header "Authorization" mit dem Inhalt "Token <API Token>", also mit dem Wort "Token" vor dem Token...

                    Also z.B. "Token 1234ab......cdef=="

                    NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                    Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                    Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                    MassiveAttackM NegaleinN 2 Replies Last reply
                    0
                    • Marc BergM Marc Berg

                      @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                      und jetzt funktioniert influxql?

                      Jetzt noch einen dedizierten API-Key anlegen und dann eine Grafana-Datenquelle wie in meinen Screenshots.

                      Wichtig ist der Custom HTTP Header "Authorization" mit dem Inhalt "Token <API Token>", also mit dem Wort "Token" vor dem Token...

                      Also z.B. "Token 1234ab......cdef=="

                      MassiveAttackM Offline
                      MassiveAttackM Offline
                      MassiveAttack
                      wrote on last edited by
                      #95

                      @marc-berg

                      sensationell, funktioniert :) :) :)

                      Vielen Dank dafür!!
                      Werde jetzt noch versuchen, die Werte aus v1 in die v2 zu bekommen.

                      ==>
                      <<Export mit:
                      influx_inspect export -database iobroker -out /tmp/export.gz -compress -lponly
                      und Import mit:
                      influx write -b iobroker_test -f export.gz

                      evtl. müssen die Datenverzeichnisse bei Export mit angegeben werden
                      -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/>>

                      Funktioniert das damit? Wie kann ich den Pfad zum Export mitangeben?

                      Marc BergM 1 Reply Last reply
                      0
                      • MassiveAttackM MassiveAttack

                        @marc-berg

                        sensationell, funktioniert :) :) :)

                        Vielen Dank dafür!!
                        Werde jetzt noch versuchen, die Werte aus v1 in die v2 zu bekommen.

                        ==>
                        <<Export mit:
                        influx_inspect export -database iobroker -out /tmp/export.gz -compress -lponly
                        und Import mit:
                        influx write -b iobroker_test -f export.gz

                        evtl. müssen die Datenverzeichnisse bei Export mit angegeben werden
                        -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/>>

                        Funktioniert das damit? Wie kann ich den Pfad zum Export mitangeben?

                        Marc BergM Offline
                        Marc BergM Offline
                        Marc Berg
                        Most Active
                        wrote on last edited by
                        #96

                        @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                        Funktioniert das damit? Wie kann ich den Pfad zum Export mitangeben?

                        Da bin ich nicht fit und müsste selbst recherchieren. Ich habe "damals" ein Update der InfluxDB via Docker gemacht. Das ging zum Glück reibungslos.

                        NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                        Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                        Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                        MassiveAttackM 1 Reply Last reply
                        0
                        • Marc BergM Marc Berg

                          @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                          Funktioniert das damit? Wie kann ich den Pfad zum Export mitangeben?

                          Da bin ich nicht fit und müsste selbst recherchieren. Ich habe "damals" ein Update der InfluxDB via Docker gemacht. Das ging zum Glück reibungslos.

                          MassiveAttackM Offline
                          MassiveAttackM Offline
                          MassiveAttack
                          wrote on last edited by
                          #97

                          @marc-berg
                          anyway, du hast mir sehr geholfen, danke nochmals!
                          Werd mich damit weiter beschäftigen, und meine Ergebnisse dann berichten

                          1 Reply Last reply
                          0
                          • Marc BergM Marc Berg

                            @massiveattack sagte in Proxmox / Influxdb V1 zu V2... wie?:

                            und jetzt funktioniert influxql?

                            Jetzt noch einen dedizierten API-Key anlegen und dann eine Grafana-Datenquelle wie in meinen Screenshots.

                            Wichtig ist der Custom HTTP Header "Authorization" mit dem Inhalt "Token <API Token>", also mit dem Wort "Token" vor dem Token...

                            Also z.B. "Token 1234ab......cdef=="

                            NegaleinN Offline
                            NegaleinN Offline
                            Negalein
                            Global Moderator
                            wrote on last edited by
                            #98

                            @marc-berg

                            Servus Marc!

                            Sorry, wenn ich mich da kurz einklinke. :)

                            Ich hab Influx 2 frisch installiert (kein Upgrade).

                            Wenn ich influx config list eingebe, kommt

                            nega@influxdb:~$ influx config list
                            Active  Name    URL                     Org
                            *       default http://localhost:8086   daheim
                            

                            Das passt so?

                            Oder muss nun noch was erledigt werden, um mit dem Adapter zu beginnen?
                            DB wird ja dann vom Adapter angelegt?

                            ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                            ° Node.js Fixer ---> iob nodejs-update
                            ° Fixer ---> iob fix

                            Marc BergM 1 Reply Last reply
                            0
                            • NegaleinN Negalein

                              @marc-berg

                              Servus Marc!

                              Sorry, wenn ich mich da kurz einklinke. :)

                              Ich hab Influx 2 frisch installiert (kein Upgrade).

                              Wenn ich influx config list eingebe, kommt

                              nega@influxdb:~$ influx config list
                              Active  Name    URL                     Org
                              *       default http://localhost:8086   daheim
                              

                              Das passt so?

                              Oder muss nun noch was erledigt werden, um mit dem Adapter zu beginnen?
                              DB wird ja dann vom Adapter angelegt?

                              Marc BergM Offline
                              Marc BergM Offline
                              Marc Berg
                              Most Active
                              wrote on last edited by Marc Berg
                              #99

                              @negalein sagte in Proxmox / Influxdb V1 zu V2... wie?:

                              Das passt so?

                              Oder muss nun noch was erledigt werden, um mit dem Adapter zu beginnen?
                              DB wird ja dann vom Adapter angelegt?

                              Nein, das sieht gut aus. Mit diesen Einstellungen solltest Du die Org+Token weglassen können, wenn Du Kommandozeilenbefehle verwendest. Er nimmt dann immer das Active Profil, das mit einem "*" gekennzeichnet ist. Man könnte da auch mehrere Profile anlegen.

                              NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

                              Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                              Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                              1 Reply Last reply
                              1
                              • NegaleinN Negalein

                                @da_woody sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                aber ich fummel halt nicht mit docker rum

                                ich auch nicht mehr.
                                Influx war das letzte Teil im Docker.
                                Komm ja nichtmal zur influxdb.cfg
                                Geht zwar mit cd /etc/ usw.
                                Aber keine .cfg auffindbar.

                                Deshalb weg damit und mit V2 neu beginnen.

                                Denke Influx mit der Wetterstation ist nur für das Statistik-Script und Grafana nötig.
                                Awekas funktioniert auch ohne Influx. Oder @SBorg ?

                                SBorgS Offline
                                SBorgS Offline
                                SBorg
                                Forum Testing Most Active
                                wrote on last edited by
                                #100

                                @negalein sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                Aber keine .cfg auffindbar.
                                Deshalb weg damit und mit V2 neu beginnen.
                                Denke Influx mit der Wetterstation ist nur für das Statistik-Script und Grafana nötig.
                                Awekas funktioniert auch ohne Influx. Oder @SBorg ?

                                Dann haste den Docker nicht richtig konfiguriert, da gibt es sehr wohl cfg's ;)
                                Bild 003.png

                                ...und beides Ja. Influx ist im Bereich "Wetter" nur für alles zuständig was nicht aktuell als Wert vorliegt. Die Station meldet bspw. nur die aktuelle Temperatur. Am Display kann man dann zwar Min/Max etc. abfragen, aber senden tut sie das nicht. Deswegen müssen die Werte per Influx geloggt werden, dann kann ich das Tagesmaximum etc. pp ermitteln.

                                Wenn man aber bspw. für Grafana eine Statusanzeige der Datenübermittlung möchte, kommt man hier um Influx auch nicht herum (wird aber für den reinen Betrieb nicht benötigt).
                                Bild 005.png

                                Kurz gesagt: alles mit "4" braucht Influx https://github.com/SBorg2014/WLAN-Wetterstation/wiki

                                ...und für die Statusanzeige ist dann bspw. wieder der Bucket wichtig. Steht hier die RP auf "never", wird der true/false Wert der Datenübertragung bis zum Skt. Nimmerleinstag gespeichert. So etwas gehört dann in einen "Mülleimer"-Bucket (nenne nur ich jetzt so), wo nichts wichtiges drin landet und mit einer RP von bspw. 3 Tagen...
                                Bild 001.png
                                Bild 002.png

                                LG SBorg ( SBorg auf GitHub)
                                Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                NegaleinN 1 Reply Last reply
                                0
                                • SBorgS SBorg

                                  @negalein sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                  Aber keine .cfg auffindbar.
                                  Deshalb weg damit und mit V2 neu beginnen.
                                  Denke Influx mit der Wetterstation ist nur für das Statistik-Script und Grafana nötig.
                                  Awekas funktioniert auch ohne Influx. Oder @SBorg ?

                                  Dann haste den Docker nicht richtig konfiguriert, da gibt es sehr wohl cfg's ;)
                                  Bild 003.png

                                  ...und beides Ja. Influx ist im Bereich "Wetter" nur für alles zuständig was nicht aktuell als Wert vorliegt. Die Station meldet bspw. nur die aktuelle Temperatur. Am Display kann man dann zwar Min/Max etc. abfragen, aber senden tut sie das nicht. Deswegen müssen die Werte per Influx geloggt werden, dann kann ich das Tagesmaximum etc. pp ermitteln.

                                  Wenn man aber bspw. für Grafana eine Statusanzeige der Datenübermittlung möchte, kommt man hier um Influx auch nicht herum (wird aber für den reinen Betrieb nicht benötigt).
                                  Bild 005.png

                                  Kurz gesagt: alles mit "4" braucht Influx https://github.com/SBorg2014/WLAN-Wetterstation/wiki

                                  ...und für die Statusanzeige ist dann bspw. wieder der Bucket wichtig. Steht hier die RP auf "never", wird der true/false Wert der Datenübertragung bis zum Skt. Nimmerleinstag gespeichert. So etwas gehört dann in einen "Mülleimer"-Bucket (nenne nur ich jetzt so), wo nichts wichtiges drin landet und mit einer RP von bspw. 3 Tagen...
                                  Bild 001.png
                                  Bild 002.png

                                  NegaleinN Offline
                                  NegaleinN Offline
                                  Negalein
                                  Global Moderator
                                  wrote on last edited by
                                  #101

                                  @sborg sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                  Kurz gesagt: alles mit "4" braucht Influx https://github.com/SBorg2014/WLAN-Wetterstation/wiki

                                  Ok, dann lass ich mal beide paralell laufen.

                                  Aber für die Werte an Awekas & Co. ist es nicht notwendig?

                                  ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                                  ° Node.js Fixer ---> iob nodejs-update
                                  ° Fixer ---> iob fix

                                  SBorgS 1 Reply Last reply
                                  0
                                  • NegaleinN Negalein

                                    @sborg sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                    Kurz gesagt: alles mit "4" braucht Influx https://github.com/SBorg2014/WLAN-Wetterstation/wiki

                                    Ok, dann lass ich mal beide paralell laufen.

                                    Aber für die Werte an Awekas & Co. ist es nicht notwendig?

                                    SBorgS Offline
                                    SBorgS Offline
                                    SBorg
                                    Forum Testing Most Active
                                    wrote on last edited by
                                    #102

                                    @negalein sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                    Aber für die Werte an Awekas & Co. ist es nicht notwendig?

                                    Nein, die kriegen nur aktuelle Messwerte. AWEKAS würde auch nur den WU-String bekommen, mehr sendet das Display nicht.

                                    LG SBorg ( SBorg auf GitHub)
                                    Projekte: Lebensmittelwarnung.de | WLAN-Wetterstation | PimpMyStation

                                    NegaleinN 1 Reply Last reply
                                    0
                                    • SBorgS SBorg

                                      @negalein sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                      Aber für die Werte an Awekas & Co. ist es nicht notwendig?

                                      Nein, die kriegen nur aktuelle Messwerte. AWEKAS würde auch nur den WU-String bekommen, mehr sendet das Display nicht.

                                      NegaleinN Offline
                                      NegaleinN Offline
                                      Negalein
                                      Global Moderator
                                      wrote on last edited by
                                      #103

                                      @sborg sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                      Nein, die kriegen nur aktuelle Messwerte. AWEKAS würde auch nur den WU-String bekommen, mehr sendet das Display nicht.

                                      das ist perfekt! :)

                                      ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                                      ° Node.js Fixer ---> iob nodejs-update
                                      ° Fixer ---> iob fix

                                      1 Reply Last reply
                                      1
                                      • BoronsbruderB Boronsbruder

                                        Für ganze Datenbanken

                                        Export mit:
                                        influx_inspect export -database iobroker -out /tmp/export.gz -compress -lponly
                                        und Import mit:
                                        influx write -b iobroker_test -f export.gz

                                        scheint zu funktionieren.
                                        evtl. müssen die Datenverzeichnisse bei Export mit angegeben werden
                                        -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/
                                        (bei mir)

                                        ABER
                                        Die Dateien sind sehr groß (hier für 2 Jahre ca. 800MB)
                                        Das dauert...

                                        Nur der Import über die WebGUI geht anscheinend nicht...

                                        MassiveAttackM Offline
                                        MassiveAttackM Offline
                                        MassiveAttack
                                        wrote on last edited by
                                        #104

                                        @boronsbruder sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                        Für ganze Datenbanken

                                        Export mit:
                                        influx_inspect export -database iobroker -out /tmp/export.gz -compress -lponly
                                        und Import mit:
                                        influx write -b iobroker_test -f export.gz

                                        scheint zu funktionieren.
                                        evtl. müssen die Datenverzeichnisse bei Export mit angegeben werden
                                        -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/
                                        (bei mir)

                                        ABER
                                        Die Dateien sind sehr groß (hier für 2 Jahre ca. 800MB)
                                        Das dauert...

                                        Nur der Import über die WebGUI geht anscheinend nicht...

                                        Der Export hat funktioniert:

                                        influx_inspect export -database iobroker -out /tmp/export.gz -compress -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/
                                        influx write -b iobroker -f export.gz
                                        

                                        Der Import schlägt fehl:

                                        root@InfluxDB2:/backup# influx write -b iobroker -o universe -t GN_rdOseDJAA_RY5Akp5qLexrrDmolABpr0pmYrpMiRVUJk9NYwCg6I4GPM3luNvRRXfOs86kqN9IIgXCxfwPw== -f export.gz
                                        Error: failed to write data: 400 Bad Request: unable to parse 'CREATE DATABASE iobroker WITH NAME autogen': invalid field format
                                        

                                        @Boronsbruder
                                        hast du eine Idee?

                                        BoronsbruderB 1 Reply Last reply
                                        0
                                        • MassiveAttackM MassiveAttack

                                          @boronsbruder sagte in Proxmox / Influxdb V1 zu V2... wie?:

                                          Für ganze Datenbanken

                                          Export mit:
                                          influx_inspect export -database iobroker -out /tmp/export.gz -compress -lponly
                                          und Import mit:
                                          influx write -b iobroker_test -f export.gz

                                          scheint zu funktionieren.
                                          evtl. müssen die Datenverzeichnisse bei Export mit angegeben werden
                                          -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/
                                          (bei mir)

                                          ABER
                                          Die Dateien sind sehr groß (hier für 2 Jahre ca. 800MB)
                                          Das dauert...

                                          Nur der Import über die WebGUI geht anscheinend nicht...

                                          Der Export hat funktioniert:

                                          influx_inspect export -database iobroker -out /tmp/export.gz -compress -datadir /var/lib/influxdb/data/ -waldir /var/lib/influxdb/wal/
                                          influx write -b iobroker -f export.gz
                                          

                                          Der Import schlägt fehl:

                                          root@InfluxDB2:/backup# influx write -b iobroker -o universe -t GN_rdOseDJAA_RY5Akp5qLexrrDmolABpr0pmYrpMiRVUJk9NYwCg6I4GPM3luNvRRXfOs86kqN9IIgXCxfwPw== -f export.gz
                                          Error: failed to write data: 400 Bad Request: unable to parse 'CREATE DATABASE iobroker WITH NAME autogen': invalid field format
                                          

                                          @Boronsbruder
                                          hast du eine Idee?

                                          BoronsbruderB Online
                                          BoronsbruderB Online
                                          Boronsbruder
                                          wrote on last edited by Boronsbruder
                                          #105

                                          @massiveattack
                                          Versuch nochmal mit -lponly, wie ich geschrieben hab?

                                          Und warum machst gleich noch ein write?
                                          influx write -b iobroker -f export.gz gehört auf den neuen Host

                                          MassiveAttackM 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          684

                                          Online

                                          32.6k

                                          Users

                                          82.2k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe