Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana

    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

    Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • Friedhofsblond
      Friedhofsblond @Marc Berg last edited by Friedhofsblond

      @marc-berg

      ich meine den bei der neuen Install habe ich verlegt - bzw in meiner Notitz-txt überschrieben.
      Es gibt da ein Command in cli wo man den auslesen kann.
      Irgendwas mit influx auth list [flags] oder ä,

      hier liegt er noch - unten ist mein eigener
      inflqqy.PNG

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Friedhofsblond last edited by

        @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

        Irgendwas mit influx auth list [flags] oder ä

        Du willst mich jetzt vera..., oder?

        Friedhofsblond 1 Reply Last reply Reply Quote 0
        • Friedhofsblond
          Friedhofsblond @Marc Berg last edited by Friedhofsblond

          @marc-berg
          https://docs.influxdata.com/influxdb/cloud/security/tokens/view-tokens/

          ich denke aber eher man kann sich nur die User mit Token als Liste anzeigen ....

          Marc Berg 1 Reply Last reply Reply Quote 0
          • Marc Berg
            Marc Berg Most Active @Friedhofsblond last edited by

            @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

            https://docs.influxdata.com/influxdb/cloud/security/tokens/view-tokens/

            Ich habe doch den Befehl zwei Mal 3 oder 4 Posts vorher geschrieben ....

            Friedhofsblond 1 Reply Last reply Reply Quote 0
            • Friedhofsblond
              Friedhofsblond @Marc Berg last edited by

              @marc-berg

              superuser@ioserver:/$ influx auth list -t <TOKEN> --json
              bash: TOKEN: Datei oder Verzeichnis nicht gefunden
              
              Marc Berg 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @Friedhofsblond last edited by Marc Berg

                @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                influx auth list -t <TOKEN> --json

                Du musst natürlich <TOKEN> durch einen deiner AllAccess Tokens ersetzen.

                Friedhofsblond 1 Reply Last reply Reply Quote 0
                • Friedhofsblond
                  Friedhofsblond @Marc Berg last edited by

                  @marc-berg

                  superuser@ioserver:/$ influx auth list -t <admin's Token> --json
                  > 
                  
                  Thomas Braun Marc Berg 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Friedhofsblond last edited by

                    @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                    superuser@ioserver:/$

                    Nebenfrage: Hat der superuser kein /home und wenn er eins hat, warum steht der da nicht drin sondern in / ?

                    Friedhofsblond 1 Reply Last reply Reply Quote 0
                    • Marc Berg
                      Marc Berg Most Active @Friedhofsblond last edited by

                      @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                      influx auth list -t <admin's Token> --json

                      ein Token sieht so aus:

                      a0dJHRmhp4CoAZ0ZFRKq5vHc7Nzk1fuf6tI_1_l_rd_sLEmaOM2zP-w2KlzZvbSDuZIYAFCNvN763riYBg2KuQ==
                      
                      Friedhofsblond 1 Reply Last reply Reply Quote 0
                      • Friedhofsblond
                        Friedhofsblond @Marc Berg last edited by Friedhofsblond

                        @marc-berg
                        Ja davon habe ich einen ganzen Sack voll - das ist mir schon klar - nur nicht mehr den von der Erstinstallation.
                        Ich geh nochmal einen Schritt zurück und installiere mal InfluxDB neu.

                        Ist das die richtige Vorgehensweise?:

                        # influxdata-archive_compat.key GPG fingerprint:
                        #     9D53 9D90 D332 8DC7 D6C8 D3B9 D8FF 8E1F 7DF8 B07E
                        wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                        echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                        echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                        
                        sudo apt-get update && sudo apt-get install influxdb2
                        
                        sudo systemctl start influxdb
                        sudo systemctl enable influxdb
                        sudo systemctl status influxdb
                        

                        Ich nutze meist das Terminalfenster vom Cockpit - muß man nicht extra WinSCP aufmachen oder Putty

                        Marc Berg 1 Reply Last reply Reply Quote 0
                        • Marc Berg
                          Marc Berg Most Active @Friedhofsblond last edited by

                          @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                          das ist mir schon klar.

                          Wenn dir das so sonnenklar ist, warum gibst du dann nicht den Token in den Befehl ein, sondern machst das:

                          influx auth list -t <admin's Token> --json
                          

                          Das muss so aussehen:

                          influx auth list -t a0dJHRmhp4CoAZ0ZFRKq5vHc7Nzk1fuf6tI_1_l_rd_sLEmaOM2zP-w2KlzZvbSDuZIYAFCNvN763riYBg2KuQ== --json
                          

                          Ich geh nochmal einen Schritt zurück und installiere mal InfluxDB neu.
                          Ist das die richtige Vorgehensweise?

                          Keine Ahnung.

                          Friedhofsblond 1 Reply Last reply Reply Quote 0
                          • Friedhofsblond
                            Friedhofsblond @Marc Berg last edited by

                            @marc-berg
                            du wir reden aneinander vorbei.
                            Ich habe den Token nicht mehr - und wollte den irgendwie auslesen.
                            Aber ich hole schon das Backup zurück -
                            Sorry nicht böse sein - geht für mich alten Blödi schneller ... 😊

                            Marc Berg 1 Reply Last reply Reply Quote 0
                            • Marc Berg
                              Marc Berg Most Active @Friedhofsblond last edited by Marc Berg

                              @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                              Ich habe den Token nicht mehr - und wollte den irgendwie auslesen.

                              Jaaaa, das geht mit diesem Befehl. Und für DIESEN Befehl reicht ein Token, den du dir auf der Oberfläche erstellst. (Als AllAccess Token, ich rede hier nicht vom Operator Token)

                              Friedhofsblond 1 Reply Last reply Reply Quote 0
                              • Friedhofsblond
                                Friedhofsblond @Marc Berg last edited by

                                @marc-berg
                                nach dem Befehl bleibt der Cursor aber stehen - passiert nix.

                                Marc Berg 1 Reply Last reply Reply Quote 0
                                • Marc Berg
                                  Marc Berg Most Active @Friedhofsblond last edited by

                                  @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                                  nach dem Befehl bleibt der Cursor aber stehen - passiert nix.

                                  zeigen

                                  Friedhofsblond 1 Reply Last reply Reply Quote 0
                                  • Friedhofsblond
                                    Friedhofsblond @Marc Berg last edited by

                                    @marc-berg
                                    ... schon beim Image-restore 😑

                                    Marc Berg 1 Reply Last reply Reply Quote 0
                                    • Marc Berg
                                      Marc Berg Most Active @Friedhofsblond last edited by

                                      @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                                      ... schon beim Image-restore

                                      und dann kümmere dich mal dringend um das Thema, was @Thomas-Braun geschrieben hat, sonst bekommst du noch weitere Probleme!

                                      Friedhofsblond 1 Reply Last reply Reply Quote 0
                                      • Friedhofsblond
                                        Friedhofsblond @Marc Berg last edited by

                                        @marc-berg

                                        welches von den vielen??

                                        Wegen dem Desktop? 😬
                                        Habe doch den Dell komplett neu installiert - ohne x-server !!

                                        Marc Berg 1 Reply Last reply Reply Quote 0
                                        • Marc Berg
                                          Marc Berg Most Active @Friedhofsblond last edited by

                                          @friedhofsblond sagte in Umzug auf neue Hardware mit Backup IOB, InfluxDB, Grafana:

                                          welches von den vielen??

                                          Keine Ahnung, welche Themen es sonst noch gibt, ich meinte das Thema mit dem Superuser aus diesem Thread hier.

                                          https://forum.iobroker.net/post/1074540

                                          Friedhofsblond 1 Reply Last reply Reply Quote 0
                                          • Friedhofsblond
                                            Friedhofsblond @Marc Berg last edited by

                                            @marc-berg
                                            So, fertsch

                                            Alles OK jetzt - Server läuft mit alter DB und Grafana-Dashboards.
                                            Der letzte Fallstrick war, das ich im Grafana den admin auf Viewer hatte.
                                            Mußte den User admin noch auf Admin stellen, dann funktionierte der Restore auch.
                                            Werde für Grafana wohl noch einen user als Viewer erstellen.
                                            (nach dem Image 😉 )
                                            So also Danke nochmal für die Hilfe 👍
                                            Schönen Restsonntag noch

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            441
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            backup zurückspielen
                                            3
                                            37
                                            1688
                                            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