Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. Brauche Hilfe bei restore von influxDB

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Brauche Hilfe bei restore von influxDB

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      saeft_2003 Most Active @MichMein last edited by

      @michmein

      Das ist eine gute Frage, da habe ich ehrlich gesagt noch gar nicht darüber nachgedacht 🤔

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

        @saeft_2003 sagte in Brauche Hilfe bei restore von influxDB:

        Active: activating (start)

        lief denn der Service nach der Einrichtung, also bevor du die Daten eingespielt hattest?

        S 1 Reply Last reply Reply Quote 0
        • S
          saeft_2003 Most Active @crunchip last edited by saeft_2003

          @crunchip

          ja vorher lief er ich hatte auch vor dem restore die DB in grafana hinzugefügt. läuft jetzt wieder ich bin mit einem snapshot zurück.

          ● influxdb.service - InfluxDB is an open-source, distributed, time series datab>
               Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor pres>
               Active: active (running) since Tue 2021-12-28 17:18:55 CET; 3h 23min ago
                 Docs: https://docs.influxdata.com/influxdb/
              Process: 330 ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh (>
             Main PID: 344 (influxd)
                Tasks: 8 (limit: 1104)
               Memory: 69.5M
                  CPU: 4.798s
               CGroup: /system.slice/influxdb.service
                       └─344 /usr/bin/influxd -config /etc/influxdb/influxdb.conf
          
          
          crunchip 2 Replies Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @saeft_2003 last edited by

            @saeft_2003 hm, ich habe noch nie ein restore gemacht, daher kann ich dazu nichts sagen
            üblichen Fragen, hast du nach dem restore, den service neu gestartet, oder nur einfach den status abgefragt?

            S 1 Reply Last reply Reply Quote 0
            • S
              saeft_2003 Most Active @crunchip last edited by

              @crunchip

              ich hatte einfach einen normalen reboot gemacht, sollte ja den gleichen Effekt haben... Ich probiere jetzt noch ein restore vielleicht muss man doch länger warten bis der Status auf running geht?!

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

                @saeft_2003 du hast beide male die oss version?

                S 2 Replies Last reply Reply Quote 0
                • S
                  saeft_2003 Most Active @crunchip last edited by

                  @crunchip

                  Die neue ist OSS bei der alten bin ich mir leider nicht sicher denke aber auch OSS. Kann man das irgendwo nachschauen?

                  crunchip 1 Reply Last reply Reply Quote 0
                  • S
                    saeft_2003 Most Active @crunchip last edited by

                    @crunchip

                    ich habe jetzt wieder einen restore gemacht und bin wieder im "activating". Was mir jetzt auffällt ist das InfluxDB API unavailable after 32 attempts...

                    ● influxdb.service - InfluxDB is an open-source, distributed, time series database
                         Loaded: loaded (/lib/systemd/system/influxdb.service; enabled; vendor preset: enabled)
                         Active: activating (start) since Tue 2021-12-28 22:29:16 CET; 43s ago
                           Docs: https://docs.influxdata.com/influxdb/
                    Cntrl PID: 334 (influxd-systemd)
                          Tasks: 2 (limit: 1104)
                         Memory: 37.9M
                            CPU: 417ms
                         CGroup: /system.slice/influxdb.service
                                 ├─334 /bin/bash -e /usr/lib/influxdb/scripts/influxd-systemd-start.sh
                                 └─553 sleep 1
                    
                    Dez 28 22:29:49 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 32 attempts...
                    Dez 28 22:29:50 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 33 attempts...
                    Dez 28 22:29:51 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 34 attempts...
                    Dez 28 22:29:52 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 35 attempts...
                    Dez 28 22:29:53 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 36 attempts...
                    Dez 28 22:29:54 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 37 attempts...
                    Dez 28 22:29:55 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 38 attempts...
                    Dez 28 22:29:56 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 39 attempts...
                    Dez 28 22:29:57 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 40 attempts...
                    Dez 28 22:29:58 influxDB influxd-systemd-start.sh[334]: InfluxDB API unavailable after 41 attempts...
                    ~
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @saeft_2003 last edited by

                      @saeft_2003 sagte in Brauche Hilfe bei restore von influxDB:

                      Das backup der alten habe ich wie folgt gemacht:

                      fehlt da nicht noch was?
                      sichern des metastore
                      und
                      sichern der Datenbank

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        saeft_2003 Most Active @crunchip last edited by

                        @crunchip

                        da muss ich mal googlen... Das war meine "anleitung"

                        https://forum.iobroker.net/topic/17803/umzug-von-einem-raspi-auf-einen-anderen/2?_=1640722545161

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

                          @saeft_2003 sagte in Brauche Hilfe bei restore von influxDB:

                          Kann man das irgendwo nachschauen

                          apt policy influxdb
                          

                          falls nicht oss, taucht da enterprise auf in der source.list

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            saeft_2003 Most Active @crunchip last edited by

                            @crunchip sagte in Brauche Hilfe bei restore von influxDB:

                            apt policy influxdb

                            influxdb:
                              Installiert:           1.8.3-1
                              Installationskandidat: 1.8.3-1
                              Versionstabelle:
                             *** 1.8.3-1 100
                                    100 /var/lib/dpkg/status
                                 1.1.1+dfsg1-4+deb9u1 500
                                    500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
                                 1.0.2+dfsg1-1+b2 500
                                    500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @saeft_2003 last edited by

                              @saeft_2003 sagte in Brauche Hilfe bei restore von influxDB:

                              ich hatte auch vor dem restore die DB in grafana hinzugefügt

                              also hattest du schon die Datenbank(iobroker) angelegt und danach ein restore gemacht?
                              die Datenbank darf vorher aber nicht existieren, wenn du ein restore machst

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

                                @saeft_2003 sagte in Brauche Hilfe bei restore von influxDB:

                                Das war meine "anleitung"

                                ich habs Hier nochmal gefunden

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  saeft_2003 Most Active @crunchip last edited by

                                  @crunchip

                                  Alles klar muss ich mir morgen mal anschauen heute komm ich nicht mehr weiter. ich melde mich, schon mal vielen dank soweit...

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

                                    @saeft_2003 zumindest fehlt dir auf jedenfall

                                    sudo chown -R influxdb:influxdb /var/lib/influxdb
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @saeft_2003 last edited by

                                      @saeft_2003

                                      influxdb:
                                        Installiert:           1.8.3-1
                                        Installationskandidat: 1.8.3-1
                                        Versionstabelle:
                                       *** 1.8.3-1 100
                                              100 /var/lib/dpkg/status
                                      

                                      Da hast du aber influx 'aus dem luftleeren Raum' gezaubert. Leg da ein Repo sauber an. Wobei das bei Stretch aka oldoldstable aka EOL aka Das Ding ist tot schwierig sein könnte.

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

                                        @thomas-braun

                                        Ok mach ich, ja das mit stretch weiß ich deswegen bin ich jetzt überall am umsteigen auf bullseye, das ist der hauptgrund warum ich hier das ganze mache.

                                        @crunchip

                                        Der restore hat nach deiner anleitung funktioniert!!! Influxdb läuft und alle daten sind da, aber mit dem rest gehts morgen weiter...

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          saeft_2003 Most Active @crunchip last edited by

                                          @crunchip

                                          bin zwar nochmal kurz in schwitzen gekommen weil ich die iframes in der grafana.ini freigeben musste, aber jetzt geht alles 👍

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

                                            @saeft_2003 also läuft nun alles?
                                            dann hast ja nun wieder 2 Baustellen weniger

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            768
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            29
                                            1948
                                            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