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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Influx DB abgelehnt

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            739
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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