Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. InfluxDB läuft nicht mehr

    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

    InfluxDB läuft nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PrinzEisenherz1 last edited by

      Ich hab ähnlichen Fehler nach m update mit influxdb

      Hier Auszug aus m Log

      raspberrypi	24 19:22:21.829	info	host.raspberrypi Restart adapter system.adapter.influxdb.0 because enabled
      raspberrypi	24 19:22:21.827	error	host.raspberrypi instance system.adapter.influxdb.0 terminated with code 0 (OK)
      raspberrypi	24 19:22:21.812	info	host.raspberrypi Restart adapter system.adapter.influxdb.0 because enabled
      raspberrypi	24 19:22:21.810	error	host.raspberrypi instance system.adapter.influxdb.0 terminated with code 0 (OK)
      influxdb.0	24 19:22:21.263	warn	influxdb.0 Exception: TypeError: this._createKeyValueString is not a function
      influxdb.0	24 19:22:21.262	error	TypeError: this._createKeyValueString is not a function at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:284:28 at arrayEach (/opt/iobroker/node_modules/iobroker.influx
      influxdb.0	24 19:22:21.260	error	uncaught exception: this._createKeyValueString is not a function
      influxdb.0	24 19:21:58.728	info	influxdb.0 enabled logging of hm-rega.0.24379
      influxdb.0	24 19:21:58.724	info	influxdb.0 enabled logging of hm-rega.0.23766
      influxdb.0	24 19:21:58.621	info	influxdb.0 Connecting http://192.168.178.28:8086 ...
      influxdb.0	24 19:21:58.619	info	influxdb.0 starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.influxdb
      raspberrypi	24 19:21:52.340	info	host.raspberrypi instance system.adapter.influxdb.0 started with pid 5604
      raspberrypi	24 19:21:52.338	info	host.raspberrypi instance system.adapter.influxdb.0 started with pid 5604
      raspberrypi	24 19:21:22.431	info	host.raspberrypi Restart adapter system.adapter.influxdb.0 because enabled
      raspberrypi	24 19:21:22.429	error	host.raspberrypi instance system.adapter.influxdb.0 terminated with code 6 (uncaught exception)
      raspberrypi	24 19:21:22.296	info	host.raspberrypi Restart adapter system.adapter.influxdb.0 because enabled
      raspberrypi	24 19:21:22.293	error	host.raspberrypi instance system.adapter.influxdb.0 terminated with code 6 (uncaught exception)
      influxdb.0	24 19:21:21.151	error	uncaught exception: this._createKeyValueString is not a function
      influxdb.0	24 19:20:58.350	info	influxdb.0 enabled logging of hm-rega.0.24379
      influxdb.0	24 19:20:58.348	info	influxdb.0 enabled logging of hm-rega.0.23766
      influxdb.0	24 19:20:58.247	info	influxdb.0 Connecting http://192.168.178.28:8086 ...
      influxdb.0	24 19:20:58.244	info	influxdb.0 starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.influxdb
      raspberrypi	24 19:20:51.744	info	host.raspberrypi instance system.adapter.influxdb.0 started with pid 5401
      raspberrypi	24 19:20:51.741	info	host.raspberrypi instance system.adapter.influxdb.0 started with pid 5401
      host-raspberrypi	24 19:20:21.662	info	Restart adapter system.adapter.influxdb.0 because enabled
      host-raspberrypi	24 19:20:21.658	error	instance system.adapter.influxdb.0 terminated with code 0 (OK)
      influxdb-0	24 19:20:21.621	info	terminating
      influxdb-0	24 19:20:21.302	warn	Exception: TypeError: this._createKeyValueString is not a function
      TypeError:	24 19:20:21.300	error	at InfluxDB.writeSeries (/opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:322:16)
      TypeError:	24 19:20:21.300	error	at InfluxDB._prepareValues (/opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:271:5)
      TypeError:	24 19:20:21.300	error	at Function.forEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:8634:14)
      TypeError:	24 19:20:21.300	error	at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:4380:18
      TypeError:	24 19:20:21.300	error	at baseForOwn (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:2654:24)
      TypeError:	24 19:20:21.300	error	at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:4411:15
      TypeError:	24 19:20:21.300	error	at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:272:7
      TypeError:	24 19:20:21.300	error	at Function.forEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:8634:14)
      TypeError:	24 19:20:21.300	error	at arrayEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:451:11)
      TypeError:	24 19:20:21.300	error	at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:284:28
      TypeError:	24 19:20:21.300	error	this._createKeyValueString is not a function
      uncaught	24 19:20:21.296	error	exception: this._createKeyValueString is not a function
      influxdb-0	24 19:20:21.106	warn	Exception: TypeError: this._createKeyValueString is not a function
      TypeError:	24 19:20:21.100	error	at InfluxDB.writeSeries (/opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:322:16)
      TypeError:	24 19:20:21.100	error	at InfluxDB._prepareValues (/opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:271:5)
      TypeError:	24 19:20:21.100	error	at Function.forEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:8634:14)
      TypeError:	24 19:20:21.100	error	at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:4380:18
      TypeError:	24 19:20:21.100	error	at baseForOwn (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:2654:24)
      TypeError:	24 19:20:21.100	error	at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:4411:15
      TypeError:	24 19:20:21.100	error	at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:272:7
      TypeError:	24 19:20:21.100	error	at Function.forEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:8634:14)
      TypeError:	24 19:20:21.100	error	at arrayEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:451:11)
      TypeError:	24 19:20:21.100	error	at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:284:28
      TypeError:	24 19:20:21.100	error	this._createKeyValueString is not a function
      
      

      Gibts da vielleicht schon ne Lösung?

      Gruß

      Johnny

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Ich habe mir das bei mir nochmal näher angesehen:

        ! ````
        host-Test-Pi3 24 21:12:39.371 error instance system.adapter.influxdb.0 terminated with code 0 (OK)
        influxdb-0 24 21:12:39.350 info terminating
        influxdb-0 24 21:12:38.841 warn Exception: TypeError: this._createKeyValueString is not a function
        TypeError: 24 21:12:38.837 error at InfluxDB.writeSeries (/opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:322:16)
        TypeError: 24 21:12:38.837 error at InfluxDB._prepareValues (/opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:271:5)
        TypeError: 24 21:12:38.837 error at Function.forEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:8617:14)
        TypeError: 24 21:12:38.837 error at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:4380:18
        TypeError: 24 21:12:38.837 error at baseForOwn (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:2654:24)
        TypeError: 24 21:12:38.837 error at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:4411:15
        TypeError: 24 21:12:38.837 error at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:272:7
        TypeError: 24 21:12:38.837 error at Function.forEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:8617:14)
        TypeError: 24 21:12:38.837 error at arrayEach (/opt/iobroker/node_modules/iobroker.influxdb/node_modules/lodash/lodash.js:451:11)
        TypeError: 24 21:12:38.837 error at /opt/iobroker/node_modules/iobroker.influxdb/lib/node-influx/index.js:284:28
        TypeError: 24 21:12:38.837 error this._createKeyValueString is not a function
        uncaught 24 21:12:38.808 error exception: this._createKeyValueString is not a function
        inMem 24 21:12:28.769 debug message hm-rega.1.12885 hm-rega.1.12885 val=0, ack=true, ts=1464117148762, q=0, from=system.adapter.hm-rega.1, lc=1464116968710
        influxdb-0 24 21:12:11.650 error Error: retention policy already exists

        
        Der wahrscheinliche Übeltäter ist eine Systemvariable vom Typ Zahl.
        
        Er scheint irgendwie als String erkannt zu werden.
        
        @Bluefox: Es kann sein, dass das die gleiche Ursache für die bisherige Meldung ist, die in etwa lautete Ein Datenpunkt vom Typ String/Value kann nicht angelegt werden, da er bereits als Typ Value/String existiert. Ich hatte dir das in Kassel bereits erzählt.
        
        Hoffe das hilft etwas bei der Suche
        
        Gruß
        
        Rainer
        1 Reply Last reply Reply Quote 0
        • P
          PrinzEisenherz1 last edited by

          Gibt's schon irgend ne Lösung für das Problem?

          Gruß

          Johnny

          1 Reply Last reply Reply Quote 0
          • P
            PrinzEisenherz1 last edited by

            Hi Bluefox, hast du vielleicht schon herausgefunden warum influxdb nicht mehr läuft?

            Gruß Johnny

            1 Reply Last reply Reply Quote 0
            • Bluefox
              Bluefox last edited by

              Bei mir mit influxdDb 0.13 läuft.. Aber man muss vom git installieren.

              Bitte berichten.

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                Bei mir hat es nicht geholfen:

                Test-Pi3	05 21:02:26.426	info	host.Test-Pi3 Restart adapter system.adapter.influxdb.0 because enabled
                Test-Pi3	05 21:02:26.425	error	host.Test-Pi3 instance system.adapter.influxdb.0 terminated with code 0 (OK)
                influxdb.0	05 21:02:25.888	warn	influxdb.0 Exception: TypeError: err.indexOf is not a function
                influxdb.0	05 21:02:25.888	error	TypeError: err.indexOf is not a function at /opt/iobroker/node_modules/iobroker.influxdb/main.js:70:36 at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/influx/index.js:384:14 a
                influxdb.0	05 21:02:25.887	error	uncaught exception: err.indexOf is not a function
                influxdb.0	05 21:02:25.845	info	influxdb.0 Connected!
                

                EDIT:

                kommt der Fehler von der Änderung:

                hm-rega-1	05 21:03:33.811	error	runScriptFile Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.hm-rega/lib/../regascripts/alarms.fn'
                

                Sorry

                Rainer

                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  Aktuelle Version auf dem git sollte laufen (auch bei Reiner sollte die besser laufen :lol: )

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    @Bluefox:

                    (auch bei Reiner sollte die besser laufen :lol: ) `

                    leider Nein:

                    Test-Pi3	2016-06-07 09:23:05.460	error	host.Test-Pi3 instance system.adapter.influxdb.0 terminated with code 0 (OK)
                    influxdb.0	2016-06-07 09:23:04.929	warn	influxdb.0 Exception: TypeError: err.indexOf is not a function
                    influxdb.0	2016-06-07 09:23:04.929	error	TypeError: err.indexOf is not a function at /opt/iobroker/node_modules/iobroker.influxdb/main.js:70:36 at /opt/iobroker/node_modules/iobroker.influxdb/node_modules/influx/index.js:384:14 a
                    influxdb.0	2016-06-07 09:23:04.928	error	uncaught exception: err.indexOf is not a function
                    
                    1 Reply Last reply Reply Quote 0
                    • Bluefox
                      Bluefox last edited by

                      Irgendwie sind die Änderungen weg gewesen.

                      Noch mal ausprobieren.

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        @Bluefox:

                        Irgendwie sind die Änderungen weg gewesen. `
                        so sah es für mich auch aus,.

                        War wieder so wie es war, bevor deine Testversion eingespielt hatte 😞

                        Installation ist durchgelaufen und jetzt seit 5 Minuten keine Meldung mehr.

                        Vorsichtigfreu 🙂

                        Gruß

                        Rainer

                        1 Reply Last reply Reply Quote 0
                        • Z
                          Zeebo last edited by

                          Ich habe leider auch dieses Problem, aber keine Ahnung wie ich die Version von Git installieren soll.

                          Da ich das auf meinem Raspberry Pi 3B teste, habe ich hier ein fertiges Package der ARM-Version für Debian genommen:

                          https://dl.influxdata.com/influxdb/rele … _armhf.deb

                          Kann mir hier eventuell jemand weiterhelfen?

                          Vielen Dank schon mal!

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators last edited by

                            Leider beschreibst du nicht genau was du gemacht hast und wie dein Fehler aussieht.

                            Redest du von der influxDB oder von dem Adapter?

                            Installieren von influxDB mit apt-get install influxdb

                            Installieren des Adapters ganz normal, die damalige GitHub Version ist inzwischen im normalen Repository.

                            Gruß

                            Rainer

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            701
                            Online

                            31.8k
                            Users

                            80.0k
                            Topics

                            1.3m
                            Posts

                            4
                            15
                            1677
                            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