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.
    • A
      albi_63 @crunchip last edited by

      @crunchip
      Könnte aber ein Rechteproblem sein nur bringt mir auch dieser Befehl nichts:

      sudo chown -R influxdb:influxdb /usr/lib/influxdb/*
      

      Wenn ich im IoBroker auf Verbindung testen gehe erhalte ich:

      Error: connect ECONNREFUSED 127.0.0.1:8086
      
      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @albi_63 last edited by crunchip

        @albi_63 hab eins drüber nen link gepostet, da steht es wurde an der v 1.8.9 etwas am startscript geändert, les das mal durch und probier

        A 1 Reply Last reply Reply Quote 0
        • A
          albi_63 @crunchip last edited by

          Habe jetzt mal einen Downgrade auf 1.8.8 gemacht mit dem gleichen Ergebnis😕
          Für heute habe ich genug. Ich danke euch allen für eure Tips.
          Ich muss mal eine oder zwei Nächte drüber schlafen......
          Danke

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

            @albi_63 wenn dann zurück auf die 1.8.6, oder das startscript anpassen, denn in der status abfrage hast du da sowas stehn

            └─6881 sleep 1
            

            das gehört ebenfalls nicht dahin

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

              @crunchip Ich würde wohl die Version direkt aus dem Debian-Repo nehmen. Auch wenn das Debian-Philosophie bedingt nicht top aktuell ist. Aber da wird es dir so gut wie nie passieren, das da am Startskript herumgedoktort wird

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

                @thomas-braun dem link zu urteilen gibt es da ja schon seit v1.8.7 Probleme, wundert mich, das nicht noch mehr hier Probleme haben

                wenn ich aus dem ersten Post zitiere

                "Ich habe heute mein Raspi 4 aktualisiert mit Admin 5 und js-controller 3.3."

                vermute ich, das influx mit aktualisiert wurde

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

                  @crunchip
                  Wobei influxdb ja nicht notwendigerweise bei einem Upgrade von iobroker mit kommt. apt ist ja eine andere Baustelle. Gut, wenn man den 'ich-update-einmal-im-Jahr-alles'-Kurs fährt... 😀

                  1 Reply Last reply Reply Quote 0
                  • B
                    bloop last edited by

                    Hallo,
                    Hatte gestern exact das selbe problem. Hab alles versucht und konnte den Fehler nicht finden.
                    Auch eine einfache neu Installation hat nichts gebracht.
                    Am ende hab ich den Ordner var/lib/influxdb umbenannt/gelöscht und anschließend neu installiert und konfiguriert. Jetzt funktioniert wieder alles.
                    Leider sind natürlich sämtliche Daten weg da ich von Influx zu dem Zeitpunkt noch kein Backup gemacht habe. Lief aber e erst gut eine Woche.

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

                      @bloop sagte in Influx DB abgelehnt:

                      Am ende hab ich den Ordner var/lib/influxdb umbenannt/gelöscht und anschließend neu installiert und konfiguriert.

                      Das ist wenig Linux, mehr Windows-Style. Und funktioniert in der Regel auch nicht unter Linux

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bloop @Thomas Braun last edited by bloop

                        @thomas-braun
                        Zumindest war es mir so möglich das Problem zu finden...
                        Nachdem ich über zwei Stunden gesucht und diverse Foren durchwälzt habe, sah ich dies als meinen einzigen Ausweg. (Es sind nicht alles Experten im Umgang mit Linux ). Zumindest hats geklappt und ich hab was draus gelernt 😉

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

                          @bloop
                          Das nützt dir halt nix, wenn die config (wie sonst üblich) unter /etc liegt. Da kannst du binairies löschen bis du lila wirst. Influxdb macht das offenbar dann anders.

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

                            Hallo,

                            ich habe aktuell das gleiche Problem...

                            Influx läuft auf mit iobroker zusammen auf dem gleichen System.

                            Seit ein paar Stunden bekommen ich keine Verbindung mehr...

                            Rechte anpassen usw. alles schon probiert.
                            Hatte kurz zurvor in der influx config die bind-adresse für RCP auf 127.0.0.1:8088 geändert und einkommentiert.
                            Seitdem geht nichts mehr. Kann das damit zurun haben?

                            pi@raspberrypi:~ $ sudo systemctl stop influxdb
                            pi@raspberrypi:~ $ sudo systemctl daemon-reload
                            pi@raspberrypi:~ $ sudo systemctl unmask influxdb.service
                            pi@raspberrypi:~ $ sudo systemctl enable influxdb
                            pi@raspberrypi:~ $ sudo systemctl start influxdb
                            Job for influxdb.service failed because the control process exited with error code.
                            See "systemctl status influxdb.service" and "journalctl -xe" for details.
                            pi@raspberrypi:~ $ sudo systemctl status influxdb
                            ● influxdb.service - InfluxDB is an open-source, distributed, time series databa
                               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset:
                               Active: activating (start) since Mon 2021-08-09 22:45:20 CEST; 10s ago
                                 Docs: https://docs.influxdata.com/influxdb/
                            Cntrl PID: 6629 (influxd-systemd)
                                Tasks: 15 (limit: 4915)
                               CGroup: /system.slice/influxdb.service
                                       ├─6629 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.s
                                       ├─6631 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                                       └─6790 sleep 1
                            
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            Aug 09 22:45:30 raspberrypi influxd-systemd-start.sh[6629]: ts=2021-08-09T20:45:
                            lines 1-21/21 (END)
                            
                            

                            iobroker wirft:

                            influxdb.0
                            	2021-08-09 22:51:02.184	error	Error: connect ECONNREFUSED 192.168.178.161:8086
                            
                            crunchip 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @Pupsimupsi last edited by

                              @pupsimupsi sagte in Influx DB abgelehnt:

                              bind-adresse für RCP auf 127.0.0.1:8088

                              mach mal ein 0.0.0.0:8088

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                Pupsimupsi @crunchip last edited by Pupsimupsi

                                @crunchip

                                Hab ich gemacht.

                                Nach Startversuch weiterhin:

                                pi@raspberrypi:~ $ sudo nano /etc/influxdb/influxdb.conf
                                pi@raspberrypi:~ $ sudo systemctl restart influxdb
                                Job for influxdb.service failed because the control process exited with error code.
                                See "systemctl status influxdb.service" and "journalctl -xe" for details.
                                pi@raspberrypi:~ $ 
                                

                                Auch nochmals alle Befehle der Reihe nach abarbeiten bring das gleiche Fehlerbild.
                                Bin echt am verzweifeln... 😞

                                Das lief doch bis ich das an der bind-adresse gefummelt habe...nur ein dummer Zufall oder hab ich da noch was verbögt?

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

                                  @pupsimupsi sagte in Influx DB abgelehnt:

                                  sudo systemctl status influxdb.service

                                  bzw welche version läuft bei dir?

                                  apt policy influxd
                                  

                                  warum Rechte anpassen, wo und wie?
                                  sonst noch irgend etwas gemacht?

                                  P 2 Replies Last reply Reply Quote 0
                                  • P
                                    Pupsimupsi @crunchip last edited by

                                    @crunchip sagte in Influx DB abgelehnt:

                                    sudo systemctl status influxdb.service

                                     sudo 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: activating (start) since Mon 2021-08-09 23:25:44 CEST; 246ms ago
                                         Docs: https://docs.influxdata.com/influxdb/
                                    Cntrl PID: 17565 (influxd-systemd)
                                        Tasks: 19 (limit: 4915)
                                       CGroup: /system.slice/influxdb.service
                                               ├─17565 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.
                                               ├─17566 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
                                               ├─17584 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.
                                               ├─17585 [influxd]
                                               ├─17586 grep https-enabled = true
                                               └─17587 cut -d   -f5
                                    
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    Aug 09 23:25:44 raspberrypi influxd-systemd-start.sh[17565]: ts=2021-08-09T21:25
                                    lines 1-23
                                    
                                    
                                    influxd version
                                    InfluxDB v1.8.9 (git: 1.8 d9b56321d579)
                                    

                                    Bin echt am verzweifeln... 😞

                                    Das lief doch bis ich das an der bind-adresse gefummelt habe...nur ein dummer Zufall oder hab ich da noch was verbögt?

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      Pupsimupsi @crunchip last edited by

                                      @crunchip sagte in Influx DB abgelehnt:

                                      apt policy influxd

                                      apt policy influxd
                                      N: Paket influxd kann nicht gefunden werden.
                                      

                                      Nein, sonst nichts gemacht! I🤞 ich schwöre

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

                                        @pupsimupsi sorry buchstaben vergessen

                                        apt policy influxdb
                                        
                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          Pupsimupsi @crunchip last edited by

                                          @crunchip sagte in Influx DB abgelehnt:

                                          apt policy influxdb

                                          apt policy influxdb
                                          influxdb:
                                            Installiert:           1.8.9-1
                                            Installationskandidat: 1.8.9-1
                                            Versionstabelle:
                                           *** 1.8.9-1 500
                                                  500 https://repos.influxdata.com/debian buster/stable armhf Packages
                                                  100 /var/lib/dpkg/status
                                               1.6.4-1+deb10u1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                          pi@raspberrypi:~ $ 
                                          
                                          
                                          crunchip 1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active @Pupsimupsi last edited by

                                            @pupsimupsi liegt bei dir das startscript nun auch in dem Ordner?

                                            ls -la /usr/lib/influxdb/scripts
                                            
                                            P 2 Replies 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

                                            731
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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