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.
    • 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
        • P
          Pupsimupsi @crunchip last edited by Pupsimupsi

          @crunchip

          ls -la /usr/lib/influxdb/scripts
          insgesamt 24
          drwxr-xr-x 2 influxdb influxdb 4096 Aug  6 09:49 .
          drwxr-xr-x 3 influxdb influxdb 4096 Jan 13  2021 ..
          -rw-r--r-- 1 influxdb influxdb  533 Aug  5 00:50 influxdb.service
          -rwxr-xr-x 1 influxdb influxdb 1116 Aug  5 00:50 influxd-systemd-start.sh
          -rw-r--r-- 1 influxdb influxdb 5702 Aug  5 00:50 init.sh
          

          Kenn mich leider null aus damit, es lief einfach...

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

            Was noch war:

            Vor ein paar Tagen ging nach einem Update von Influx auch nichts mehr.

            Da hab ich gegooglet und diese Lösung gefunden:

            sudo chmod +x /usr/lib/influxdb/scripts/influxd-systemd-start.sh
            sudo systemctl restart influxdb.service
            
            

            Danach lief es wieder.
            Das hilft jetzt aber leider nicht... 😞

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

              @pupsimupsi sagte in Influx DB abgelehnt:

              -rwxr-xr-x 1 influxdb influxdb 1116 Aug 5 00:50 influxd-systemd-start.sh

              ja das ist das Problem
              aber da bin ich auch nicht so fit mit den Rechtevergaben

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

                @crunchip

                Vielen lieben Dank übrigens für deine "nächtliche Hilfe"

                Ich könnt heulen...habe Angst das die ganze Datenbank verloren ist.
                hab zwar nen Backup mit Backit-Up auf FTP gemacht, weiß aber nicht wie ich das eingespielt bekomme
                im Falle einer Neuinstallation und hoffe ich kann das retten..!? 😬

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

                  @pupsimupsi wie oben schon im Link gezeigt, wäre das eine Möglichkeit

                  I had the same issue just yesterday. It seems they changed something in the startup script in version v1.8.9, the same one we had to +x on version 1.8.7.
                  Turns out my DB is too big and it takes longer to start than the 10 seconds influxdb expects to take and so the start script aborts the process
                  Workaround:
                  Open /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                  either comment out line 34 (exit 1) – < this is a bad idea in the long run but will allow you to test if it works
                  or set the sleep command in line 29 to 10 seconds (depending on how long does it take your influx to start, for me 10 cycles (line 25) of 10 seconds was enough)
                  
                  P A 2 Replies Last reply Reply Quote 0
                  • P
                    Pupsimupsi @crunchip last edited by

                    @crunchip sagte in Influx DB abgelehnt:

                    @pupsimupsi wie oben schon im Link gezeigt, wäre das eine Möglichkeit

                    I had the same issue just yesterday. It seems they changed something in the startup script in version v1.8.9, the same one we had to +x on version 1.8.7.
                    Turns out my DB is too big and it takes longer to start than the 10 seconds influxdb expects to take and so the start script aborts the process
                    Workaround:
                    Open /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                    either comment out line 34 (exit 1) – < this is a bad idea in the long run but will allow you to test if it works
                    or set the sleep command in line 29 to 10 seconds (depending on how long does it take your influx to start, for me 10 cycles (line 25) of 10 seconds was enough)
                    

                    Das hab ich auch schon gesehen, bin aber wohl zu dumm dazu das anzupassen...???
                    Zeile 34 auskommentieren? Wo ist das?

                    bei mir öffnet sich sowas:

                    8888888           .d888 888                   8888888b.  888888b.
                      888            d88P"  888                   888  "Y88b 888  "88b
                      888            888    888                   888    888 888  .88P
                      888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
                      888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
                      888   888  888 888    888 888  888   X88K   888    888 888    888
                      888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
                    8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
                    

                    mit nem paar Zeilen darunter, mehr nicht...ich hab keinen Plan was ich da wo machen könnte...

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

                      @pupsimupsi sagte in Influx DB abgelehnt:

                      /usr/lib/influxdb/scripts/influxd-systemd-start.sh

                      nano /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                      
                      P 2 Replies Last reply Reply Quote 0
                      • P
                        Pupsimupsi @crunchip last edited by

                        @crunchip sagte in Influx DB abgelehnt:

                        @pupsimupsi sagte in Influx DB abgelehnt:

                        /usr/lib/influxdb/scripts/influxd-systemd-start.sh

                        nano /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                        

                        Ahh, mit dem Nano-Editor!
                        Schande über mein Haupt, da hätte ich auch drauf kommen können.
                        Danke dir, probiere ich morgen früh mal aus!

                        Ich glaube aber nicht das es an den Rechten liegt!?
                        Ich habe zufällig ein 2-Tage altes Image meiner SSD.
                        Dort lief Influx noch ohne Probleme (Wie gesagt, nach dem Anpassen der Rechte vor ein paar Tagen).
                        Das habe ich gerade mal auf ne Ersatzplatte geschoben, aktiviert und alles was wir hier gemacht haben miteinander verglichen.
                        Ist identisch aber läuft!?

                        Dennoch werde ich morgen mal mit meiner Haupt-SSD ausprobieren und mich wieder melden.
                        Vielen Dank nochmal! 👍

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

                          @crunchip

                          Nach einem reboot habe ich das gleiche Problem auch auf meinem 2 Tage alten SSD-Image!
                          D.h. sobald ein Neustart stattgefunden hat, startet Influx nicht mehr...

                          Habe nun beide Varianten aus deinem Link probiert:
                          Line 34 auskommentieren hat leider nicht geholfen...

                          Sleep in Line 29 von 1 auf 10 zu setzen hingegen schon! 👍
                          Also falls jemand das gleiche Problem haben sollte, probiert es aus!

                          Dennoch interessiert mich, was genau das Problem ist?
                          Doch die Rechte?
                          Die Größe der Datenbank (wie in dem Link vermutet) glaube ich nicht...(380MB)

                          Weiß jemand mehr?

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

                            @pupsimupsi wenn ichs richtig gelesen habe, hat sich ab

                            • v 1.8.7 das Rechte Problem eingeschlichen, da das startscript verlagert wurde in den Ordner /usr/lib/influxdb/scripts/
                            • v 1.8.9 wurde scheinbar das startscript angepasst(Abfrage zeit wurde eingebaut), so das es zu diesem Problem kam, das man es anpassen muss

                            denke das sind alles "Vorbereitungen auf v2.x" die es ja auch schon gibt, aber iobroker noch nicht ganz kompatibel (wird aktuell daran gearbeitet) und zum anderen, das nicht alle Dashboards( wenn man vorgefertigte geladen hat) damit klar kommen.
                            schön das es nun funktioniert

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

                              @crunchip

                              Danke für die Info und vor Allem nochmals für deine Hilfe! 👍

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

                                @pupsimupsi

                                Hy, das war die Lösung

                                Sleep in Line 29 von 1 auf 10 zu setzen hingegen schon! 😀

                                Jetzt läufts bei mir auch wieder.

                                Danke

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

                                  @crunchip
                                  Hy, das war die Lösung

                                  Sleep in Line 29 von 1 auf 10 zu setzen hingegen schon! 😀

                                  Jetzt läufts bei mir auch wieder.

                                  Danke

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

                                    @albi_63

                                    Freut mich! 👍

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

                                      @crunchip

                                      Vielen Dank, das hat mir nach 2 Stunden auch endlich die Lösung gebracht (1 > 10)!

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        arnold last edited by arnold

                                        @crunchip said in Influx DB abgelehnt:

                                        ls -la /usr/lib/influxdb/scripts

                                        das gleiche Problem auch bei mir .Habe hier die Anweisungen gefolgt und jetzt läuft wieder.
                                        Was ich nur in Protokoll nicht gelesen habe - PASSWORT erneu eingeben im Adapter
                                        das hat mich auch einige Zeit gekostet.

                                        XxJooO 1 Reply Last reply Reply Quote 0
                                        • XxJooO
                                          XxJooO @arnold last edited by

                                          @arnold und alle Anderen,

                                          auf der Suche nach Lösungen zu dem gleichen Problem bin ich hier gelandet.
                                          Nach dem Update des Adapters auf 2.1.1 wurde keine Verbindung mehr zur Datenbank angezeigt. Meine Lösung war dann aber einfach nur das erneute Eingeben des Passwortes. Obwohl das in der Anzeige der Einstellungen des Adapters als mit Punkten eingegeben angezeigt wurde. Das find ich schon deutlich grenzwertig... Zumal im Protokoll nichts auf ein fehlendes Passwort hinwies.

                                          Kann das Jemand nachvollziehen?

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

                                            @xxjooo sagte in Influx DB abgelehnt:

                                            auf der Suche nach Lösungen zu dem gleichen Problem bin ich hier gelandet.
                                            Nach dem Update des Adapters auf 2.1.1

                                            oder man verfolgt den eigentlichen Thread, dann wüsste man, dass das Passwort erneut vergeben werden muss

                                            XxJooO 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

                                            841
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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