Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @bitwicht last edited by

      @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

      Ist das Update einfach über die Shell zu machen oder ?

      sudo apt update
      apt policy influxdb*
      

      sagt dazu? Grundsätzlich werden Softwarepakete unter 'Linux' immer über den Paketmanager installiert. Da gibt es nur ganz wenige Ausnahmen da anders vorzugehen. Und das machen auch besser nur 'Profis' am vorgesehen Weg vorbei.

      1 Reply Last reply Reply Quote 1
      • B
        bitwicht last edited by

        @Marc-Berg

        Das ist ein Problem. Ich hatte da Hilfe und so weit ich mich erinnere wurde entweder iobroker oder die influx nicht über den Paketmanager installiert.

        Kann ich das irgendwie sehen wie das installiert wurde ?

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

          @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

          Kann ich das irgendwie sehen wie das installiert wurde ?

          Siehe vorstehende Antwort.

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

            @Thomas-Braun

            beim update eine Warnung:

            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.grafana.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Failed to fetch https://apt.grafana.com/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
            W: Some index files failed to download. They have been ignored, or old ones used instead.
            

            und dann:

            pi@raspberrypi:~ $ apt policy influxdb*
            N: Unable to locate package influxdb2-2.5.1-arm64.deb
            N: Couldn't find any package by glob 'influxdb2-2.5.1-arm64.deb'
            N: Unable to locate package influxdb2-client-2.5.0-linux-arm64
            N: Couldn't find any package by glob 'influxdb2-client-2.5.0-linux-arm64'
            N: Unable to locate package influxdb2-client-2.5.0-linux-arm64.tar.gz
            N: Couldn't find any package by glob 'influxdb2-client-2.5.0-linux-arm64.tar.gz'
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @bitwicht last edited by

              @bitwicht

              rm influxdb*
              

              Zu grafana:

              sudo rm /etc/apt/sources.list.d/graf*
              sudo apt-get install -y apt-transport-https
              sudo apt-get install -y software-properties-common wget
              sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
              echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
              

              Dann nochmal

              sudo apt update
              apt policy influx*
              
              1 Reply Last reply Reply Quote 0
              • B
                bitwicht last edited by

                @Thomas-Braun

                das geht schon nicht

                pi@raspberrypi:~ $ rm influxdb*
                rm: cannot remove 'influxdb2-client-2.5.0-linux-arm64': Is a directory
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @bitwicht last edited by

                  @bitwicht

                  Dann musst du die grobe Drahtbürste verwenden.

                  rm -rf influxdb*
                  
                  1 Reply Last reply Reply Quote 0
                  • B
                    bitwicht last edited by bitwicht

                    das ging

                    pi@raspberrypi:~ $ rm -rf influxdb*
                    
                    pi@raspberrypi:~ $ apt policy influx*
                    influxdb2-cli:
                      Installed: (none)
                      Candidate: (none)
                      Version table:
                    influxdb-client:
                      Installed: (none)
                      Candidate: 1.6.7~rc0-1+b5
                      Version table:
                         1.6.7~rc0-1+b5 500
                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                    influxdb-dev:
                      Installed: (none)
                      Candidate: (none)
                      Version table:
                    influxdb:
                      Installed: (none)
                      Candidate: 1.6.7~rc0-1+b5
                      Version table:
                         1.6.7~rc0-1+b5 500
                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                            100 /var/lib/dpkg/status
                    influxdb2:
                      Installed: 2.5.1-1
                      Candidate: 2.5.1-1
                      Version table:
                     *** 2.5.1-1 100
                            100 /var/lib/dpkg/status
                    
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @bitwicht last edited by

                      @bitwicht

                      Bitte auch den abschließenden, neuen Prompt zeigen. Dann sehe ich auch das die ganze Sache durchgelaufen ist.

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

                        da kam sonst nix

                        pi@raspberrypi:~ $ rm -rf influxdb*
                        pi@raspberrypi:~ $ 
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @bitwicht last edited by

                          @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

                          da kam sonst nix

                          Die Info ist wichtig.

                          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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                          echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                          rm influxdata-archive_compat.key
                          

                          Grafana hast du berichtigt? Siehe oben.

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

                            Entschuldige, ich dachte wir machen erst influx

                            hier bitte:

                            pi@raspberrypi:~ $ sudo rm /etc/apt/sources.list.d/graf*
                            pi@raspberrypi:~ $ sudo apt-get install -y apt-transport-https
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            apt-transport-https is already the newest version (2.2.4).
                            0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
                            pi@raspberrypi:~ $ sudo apt-get install -y software-properties-common wget
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            software-properties-common is already the newest version (0.96.20.2-2.1).
                            wget is already the newest version (1.21-1+deb11u1).
                            0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
                            pi@raspberrypi:~ $ sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                            pi@raspberrypi:~ $ sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                            echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                            deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                            pi@raspberrypi:~ $
                            
                            
                            pi@raspberrypi:~ $ sudo apt update
                            apt policy influx*
                            Hit:1 http://deb.debian.org/debian bullseye InRelease
                            Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                            Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                            Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                            Get:5 https://apt.grafana.com stable InRelease [5,983 B]
                            Get:6 https://deb.nodesource.com/node_16.x bullseye InRelease [4,586 B]
                            Get:7 https://dl.cloudsmith.io/public/evcc/stable/deb/debian bullseye InRelease [5,127 B]
                            Get:8 https://apt.grafana.com stable/main armhf Packages [114 kB]
                            Get:9 https://apt.grafana.com stable/main arm64 Packages [147 kB]
                            Fetched 272 kB in 2s (127 kB/s)
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            40 packages can be upgraded. Run 'apt list --upgradable' to see them.
                            influxdb2-cli:
                              Installed: (none)
                              Candidate: (none)
                              Version table:
                            influxdb-client:
                              Installed: (none)
                              Candidate: 1.6.7~rc0-1+b5
                              Version table:
                                 1.6.7~rc0-1+b5 500
                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                            influxdb-dev:
                              Installed: (none)
                              Candidate: (none)
                              Version table:
                            influxdb:
                              Installed: (none)
                              Candidate: 1.6.7~rc0-1+b5
                              Version table:
                                 1.6.7~rc0-1+b5 500
                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                    100 /var/lib/dpkg/status
                            influxdb2:
                              Installed: 2.5.1-1
                              Candidate: 2.5.1-1
                              Version table:
                             *** 2.5.1-1 100
                                    100 /var/lib/dpkg/status
                            pi@raspberrypi:~ $
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @bitwicht last edited by

                              @bitwicht

                              iob nodejs-update
                              
                              1 Reply Last reply Reply Quote 0
                              • B
                                bitwicht last edited by

                                pi@raspberrypi:~ $ iob nodejs-update
                                curl: no URL specified!
                                curl: try 'curl --help' or 'curl --manual' for more information
                                pi@raspberrypi:~ $

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

                                  @bitwicht

                                  iob stop
                                  iob fix
                                  iob start
                                  
                                  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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                                  echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                  rm influxdata-archive_compat.key
                                  
                                  iobroker nodejs-update
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bitwicht last edited by

                                    ich habe das gemacht aber kann nicht mehr alles kopieren
                                    es kommt:

                                    Nothing to do - Your installation is using the correct paths.
                                    You are running nodejs v16.18.1. Do you want to install recommended version 18.19.0?
                                    Press <y> to continue or any other key to quit

                                    alles mit y bestätigen ?

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

                                      @bitwicht

                                      Ja, du willst nodejs@18 haben.

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

                                        @Thomas-Braun

                                        schaut gut aus

                                        We tried our best to update or fix your nodejs. Please run iob diag again to verify.
                                        
                                        *** RESTARTING ioBroker NOW! ***
                                         Please refresh or restart your browser in a few moments.
                                        
                                        This system needs to be REBOOTED NOW!
                                        
                                        

                                        reboot oder erst noch was anderes ?

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

                                          @bitwicht

                                          sudo reboot
                                          

                                          Und dann nochmal

                                          sudo apt update
                                          apt policy influxdb*
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            bitwicht last edited by bitwicht

                                            @Thomas-Braun

                                            pi@raspberrypi:~ $ sudo apt update
                                            Hit:1 http://deb.debian.org/debian bullseye InRelease
                                            Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                                            Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                            Hit:4 https://repos.influxdata.com/debian stable InRelease
                                            Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
                                            Hit:6 https://apt.grafana.com stable InRelease
                                            Hit:7 http://archive.raspberrypi.org/debian bullseye InRelease
                                            Get:8 https://dl.cloudsmith.io/public/evcc/stable/deb/debian bullseye InRelease [5,127 B]
                                            Fetched 5,127 B in 2s (2,799 B/s)
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                            pi@raspberrypi:~ $
                                            

                                            und

                                            pi@raspberrypi:~ $ apt policy influxdb*
                                            influxdb2-cli:
                                              Installed: (none)
                                              Candidate: 2.7.3-1
                                              Version table:
                                                 2.7.3-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.7.1-2 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.6.1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.6.0 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.5.0 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.4.0 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.3.0 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                            influxdb-client:
                                              Installed: (none)
                                              Candidate: 1.6.7~rc0-1+b5
                                              Version table:
                                                 1.6.7~rc0-1+b5 500
                                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                            influxdb-dev:
                                              Installed: (none)
                                              Candidate: (none)
                                              Version table:
                                            influxdb2-client:
                                              Installed: (none)
                                              Candidate: 2.7.1-1
                                              Version table:
                                                 2.7.1-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                            influxdb:
                                              Installed: (none)
                                              Candidate: 1.8.10-1
                                              Version table:
                                                 1.8.10-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 1.6.7~rc0-1+b5 500
                                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                                    100 /var/lib/dpkg/status
                                            influxdb2:
                                              Installed: 2.7.4-1
                                              Candidate: 2.7.4-1
                                              Version table:
                                             *** 2.7.4-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                    100 /var/lib/dpkg/status
                                                 2.7.3-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.7.1-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.7.0-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.6.1-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.6.0-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.5.1-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.4.0-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.3.0-1 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                                 2.2.0 500
                                                    500 https://repos.influxdata.com/debian stable/main arm64 Packages
                                            pi@raspberrypi:~ $
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            903
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            190
                                            12855
                                            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