Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Growatt exception: Error: {"result":3}

    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

    Growatt exception: Error: {"result":3}

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

      @thomas-braun
      Komme leider nicht weiter. Ich habe das Upgrade nach der Anleitung https://schroederdennis.de/tutorial-howto/debian-10-buster-auf-debian-11-bullseye-linux-updaten-anleitung/) gemacht, das neue os will sich aber nicht einstellen.

      Meine Datei sources.list sieht so aus:

      #deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
      # Uncomment line below then 'apt-get update' to enable 'apt-get source'
      #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
      deb http://deb.debian.org/debian/ bullseye main contrib non-free
      deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
      deb http://security.debian.org/debian-security bullseye-security main
      deb-src http://security.debian.org/debian-security bullseye-security main
      deb http://ftp.debian.org/debian bullseye-backports main contrib non-free
      

      Auch nach einem

      reboot
      

      erscheint nach

      apt update
      apt full-upgrade
      cat /etc/os-release
      

      die Buster-Version 10

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

        @nobbiman

        Ich weiß ja nicht was der Schröder Dennis da treibt, ich mache es immer so:
        https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

        N 1 Reply Last reply Reply Quote 0
        • N
          nobbiman @Thomas Braun last edited by nobbiman

          @thomas-braun
          Als Einsteiger bin ich doch hiermit ziemlich gefordert. Deinem Tipp bin ich gerne gefolgt, hänge aber leider fest:

          pi@iobroker-pi:~ $ sudo apt update
          Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
          Hit:2 http://deb.debian.org/debian bullseye InRelease
          Hit:3 http://ftp.debian.org/debian bullseye-backports InRelease
          Hit:4 http://archive.raspberrypi.org/debian buster InRelease
          Hit:5 http://deb.debian.org/debian bullseye-updates InRelease
          Hit:6 https://deb.nodesource.com/node_16.x buster InRelease
          Hit:7 https://www.debmatic.de/debmatic stable InRelease
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          323 packages can be upgraded. Run 'apt list --upgradable' to see them.
          
          

          Also zunächst ein

          pi@iobroker-pi:~ $ sudo apt full-upgrade
          E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
          E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
          
          

          ... und da ist Ende! Ich denke ich muss die Pakete zuerst upgraden oder?

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

            @nobbiman

            Nein, irgendein anderer Prozess greift noch auf die dpkg-Datenbank zu.
            Ist da eine Desktop-Oberfläche mit im Spiel? Deren Benachrichtigungen können z. B. dazu führen. Oder du stehst in einem anderen Terminal noch drauf.

            N 1 Reply Last reply Reply Quote 0
            • N
              nobbiman @Thomas Braun last edited by nobbiman

              @thomas-braun
              Ja, an deiner Diagnose war was dran. Ich hatte noch ein putty-Fenster geöffnet, da ich ehrlich gesagt mit dem copy&paste beim nano für die Codes nicht hinkomme.
              Nun ist alles upgedated, bullseye ist installiert, alle Paket sind up to date!

              Alleine der Fehler ist nicht weg 😖 :

              growatt.0
              	2023-01-31 16:06:05.389	error	Growatt exception: Error: {"result":3}
              growatt.0
              	2023-01-31 16:06:04.190	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.growatt, node: v16.19.0, js-controller: 4.0.24
              growatt.0
              	2023-01-31 16:06:00.030	info	Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
              growatt.0
              	2023-01-31 16:06:00.027	info	terminating
              growatt.0
              	2023-01-31 16:06:00.016	info	Scheduled restart.
              

              Solltest du weiter helfen wollen, brauchst du noch neue Statusinformationen?
              Bin aber heute Abend unterwegs!

              Nachtrag: ich stelle gerade fest, dass bei Aktualisieren der logs, der Zeitstempel 45 Min. hinter meinem PC her hinkt. Aber das dürfte ja keine Relevanz haben, oder?

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @nobbiman last edited by

                @nobbiman sagte in Growatt exception: Error: {"result":3}:

                Growatt exception: Error: {"result":3}

                Kannst du jetzt wo alles aktuell ist die Instanz und den Adapter mal komplett loeschen, Server neu starten und dann Adapter wieder installieren.

                Log von der Installation dann auch hier posten.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nobbiman @wendy2702 last edited by nobbiman

                  @wendy2702
                  So, alles wie beschrieben erledigt:

                  $ iobroker add growatt auto --host iobroker-pi --debug
                  
                  NPM version: 8.19.3
                  
                  Installing iobroker.growatt@2.0.0... (System call)
                  
                  npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                  
                  88 packages are looking for funding run `npm fund` for details
                  
                  host.iobroker-pi install adapter growatt
                  
                  upload [4] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/glogo.png glogo.png image/png
                  
                  upload [3] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/growatt.png growatt.png image/png
                  
                  upload [2] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/index_m.html index_m.html text/html
                  
                  upload [1] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/style.css style.css text/css
                  
                  upload [0] growatt.admin /opt/iobroker/node_modules/iobroker.growatt/admin/words.js words.js application/javascript
                  
                  host.iobroker-pi object system.adapter.growatt created/updated
                  
                  host.iobroker-pi create instance growatt
                  
                  host.iobroker-pi object system.adapter.growatt.0.alive created
                  
                  host.iobroker-pi object system.adapter.growatt.0.connected created
                  
                  host.iobroker-pi object system.adapter.growatt.0.compactMode created
                  
                  host.iobroker-pi object system.adapter.growatt.0.cpu created
                  
                  host.iobroker-pi object system.adapter.growatt.0.cputime created
                  
                  host.iobroker-pi object system.adapter.growatt.0.memHeapUsed created
                  
                  host.iobroker-pi object system.adapter.growatt.0.memHeapTotal created
                  
                  host.iobroker-pi object system.adapter.growatt.0.memRss created
                  
                  host.iobroker-pi object system.adapter.growatt.0.uptime created
                  
                  host.iobroker-pi object system.adapter.growatt.0.inputCount created
                  
                  host.iobroker-pi object system.adapter.growatt.0.outputCount created
                  
                  host.iobroker-pi object system.adapter.growatt.0.eventLoopLag created
                  
                  host.iobroker-pi object system.adapter.growatt.0.sigKill created
                  
                  host.iobroker-pi object system.adapter.growatt.0.logLevel created
                  
                  host.iobroker-pi object growatt.0.info created
                  
                  host.iobroker-pi object growatt.0.info.connection created
                  
                  host.iobroker-pi Set default value of growatt.0.info.connection: false
                  
                  host.iobroker-pi object system.adapter.growatt.0 created
                  
                  Process exited with code 0
                  

                  Die Warnmeldung sehe ich, weiß aber nicht, wie ich damit umgehen soll?
                  Die installierte npm-Version ist die 8.19.3. Wie installiere ich die 88 Paket nach?
                  Im Log erscheint

                  growatt.0
                  	2023-02-01 13:42:05.660	error	Growatt exception: Error: {"result":3}
                  growatt.0
                  	2023-02-01 13:40:04.972	error	Growatt exception: Error: {"result":3}
                  growatt.0
                  	2023-02-01 13:38:03.714	error	Growatt exception: Error: {"result":3}
                  growatt.0
                  	2023-02-01 13:38:02.753	info	starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.growatt, node: v16.19.0, js-controller: 4.0.24
                  growatt.0
                  	2023-02-01 13:37:57.299	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  growatt.0
                  	2023-02-01 13:37:57.297	info	terminating
                  growatt.0
                  	2023-02-01 13:37:57.293	info	Got terminate signal TERMINATE_YOURSELF
                  growatt.0
                  	2023-02-01 13:37:25.968	info	not connected
                  growatt.0
                  	2023-02-01 13:37:25.965	warn	Login:{}
                  

                  Mich irritiert auch immer noch der Zeitunterschied der Fehlermeldungen mit der Systemzeit des RasPi und meinem PC (richtige Zeit), obwohl am RasPi die korrekte Zeitzone eingestellt ist

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

                    @nobbiman sagte in Growatt exception: Error: {"result":3}:

                    Die Warnmeldung sehe ich, weiß aber nicht, wie ich damit umgehen soll?

                    Gar nicht.

                    Die installierte npm-Version ist die 8.19.3. Wie installiere ich die 88 Paket nach?

                    Auch gar nicht. Das sind 88 Pakete, die gerne finanziell unterstützt werden wollen, keine fehlenden Module auf deiner Installation.

                    obwohl am RasPi die korrekte Zeitzone eingestellt ist

                    date && date -u && cat /etc/timezone && timedatectl
                    

                    prüfen.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      nobbiman @Thomas Braun last edited by

                      @thomas-braun said in Growatt exception: Error: {"result":3}:

                      date && date -u && cat /etc/timezone && timedatectl

                      pi@iobroker-pi:~ $ date && date -u && cat /etc/timezone && timedatectl
                      Wed  1 Feb 14:42:09 CET 2023
                      Wed  1 Feb 13:42:09 UTC 2023
                      Europe/Berlin
                                     Local time: Wed 2023-02-01 14:42:09 CET
                                 Universal time: Wed 2023-02-01 13:42:09 UTC
                                       RTC time: n/a
                                      Time zone: Europe/Berlin (CET, +0100)
                      System clock synchronized: no
                                    NTP service: n/a
                                RTC in local TZ: no
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @nobbiman last edited by Thomas Braun

                        @nobbiman sagte in Growatt exception: Error: {"result":3}:

                        Universal time: Wed 2023-02-01 13:42:09 UTC

                        Die ist falsch. Müsste 14:42:09 UTC sein.

                        Das ist auch falsch:

                        System clock synchronized: no
                        NTP service: n/a

                        Schalte den NTP service wieder ein, dann passt auch nach einem Reboot die Zeit.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          nobbiman @Thomas Braun last edited by

                          @thomas-braun

                          service npt start
                          ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
                          Authentication is required to start 'npt.service'.
                          Authenticating as: ,,, (pi)
                          Password:
                          ==== AUTHENTICATION COMPLETE ===
                          Failed to start npt.service: Unit npt.service not found.
                          

                          Falscher Befehl?

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

                            @nobbiman

                            Falscher Befehl?

                            Gleich mehrfach falsch.

                            Lies hier:

                            https://blog.doenselmann.com/uhrzeit-ueber-systemd-timesyncd-synchronisieren/

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              nobbiman @Thomas Braun last edited by

                              @thomas-braun
                              Damit komme ich nicht klar:

                              pi@iobroker-pi:~ $ sudo nano /etc/systemd/timesyncd.conf
                              pi@iobroker-pi:~ $ sudo timedatectl set-ntp true
                              Failed to set ntp: NTP not supported
                              pi@iobroker-pi:~ $ systemctl status systemd-timesyncd
                              Unit systemd-timesyncd.service could not be found.
                              pi@iobroker-pi:~ $
                              

                              In die Datei timesyncd.conf werden, wenn ich es richtig verstehe, einfach die Zeitserver gem. Beispiel hineinkopiert, oder?

                              Thomas Braun 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @nobbiman last edited by Thomas Braun

                                @nobbiman
                                Ja, bei mir ist die allerdings leer.
                                Warum läuft denn bei dir der Service nicht?
                                Sollte eigentlich so aussehen:

                                Last login: Wed Feb  1 15:51:10 2023 from 100.75.198.95
                                echad@chet:~ $ systemctl status systemd-timesyncd.service
                                ● systemd-timesyncd.service - Network Time Synchronization
                                     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.ser>     Active: active (running) since Thu 2023-01-26 19:00:34 CE>       Docs: man:systemd-timesyncd.service(8)
                                   Main PID: 362 (systemd-timesyn)
                                     Status: "Initial synchronization to time server [2a03:400>      Tasks: 2 (limit: 9037)
                                        CPU: 1.605s
                                     CGroup: /system.slice/systemd-timesyncd.service
                                             └─362 /lib/systemd/systemd-timesyncd
                                
                                Jan 26 19:00:34 chet systemd[1]: Starting Network Time Synchro>Jan 26 19:00:34 chet systemd[1]: Started Network Time Synchron>Jan 26 19:01:19 chet systemd-timesyncd[362]: Initial synchroni>lines 1-14/14 (END)
                                
                                N 1 Reply Last reply Reply Quote 0
                                • N
                                  nobbiman @Thomas Braun last edited by

                                  @thomas-braun Wenn ich das wüsste, muss mich aber für heute aus dem Forum ausklinken - morgen mehr! Danke bis hier hin!

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

                                    @nobbiman

                                    sudo apt update
                                    

                                    sagt?

                                    N 2 Replies Last reply Reply Quote 0
                                    • N
                                      nobbiman @Thomas Braun last edited by

                                      @thomas-braun

                                      sudo apt update
                                      Hit:1 http://deb.debian.org/debian bullseye InRelease
                                      Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                                      Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
                                      Get:4 http://ftp.debian.org/debian bullseye-backports InRelease [49.0 kB]
                                      Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                                      Hit:7 https://www.debmatic.de/debmatic stable InRelease
                                      Reading package lists... Done
                                      E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 2min 50s). Updates for this repository will not be applied.
                                      E: Release file for http://ftp.debian.org/debian/dists/bullseye-backports/InRelease is not valid yet (invalid for another 2min 50s). Updates for this repository will not be applied.
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        nobbiman @Thomas Braun last edited by

                                        @thomas-braun

                                        pi@iobroker-pi:~ $ sudo systemctl enable systemd-timesyncd.service
                                        Failed to enable unit: Unit file systemd-timesyncd.service does not exist.
                                        

                                        Könnte diese Meldung auf die Spur führen? In welches Verzeichnis gehört die Datei und welchen Inhalt hat sie, bzw kann sie automatisch installiert werden?

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

                                          @nobbiman sagte in Growatt exception: Error: {"result":3}:
                                          Ist das entsprechende Paket nicht installiert?
                                          Das ist eigentlich immer vorinstalliert.

                                          sudo apt update
                                          apt policy systemd-timesyncd
                                          
                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            nobbiman @Thomas Braun last edited by

                                            @thomas-braun said in Growatt exception: Error: {"result":3}:

                                            apt policy systemd-timesyncd

                                            pi@iobroker-pi:~ $ sudo apt update
                                            Hit:1 http://deb.debian.org/debian bullseye InRelease
                                            Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
                                            Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48               .4 kB]
                                            Get:4 http://ftp.debian.org/debian bullseye-backports InRelease [49.0 kB]
                                            Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
                                            Hit:6 http://archive.raspberrypi.org/debian bullseye InRelease
                                            Hit:7 https://www.debmatic.de/debmatic stable InRelease
                                            Get:8 http://security.debian.org/debian-security bullseye-security/main Sources                [183 kB]
                                            Get:9 http://security.debian.org/debian-security bullseye-security/main armhf Pa               ckages [217 kB]
                                            Get:10 http://security.debian.org/debian-security bullseye-security/main Transla               tion-en [145 kB]
                                            Get:11 http://ftp.debian.org/debian bullseye-backports/main armhf Packages [379                kB]
                                            Get:12 http://ftp.debian.org/debian bullseye-backports/main Translation-en [322                kB]
                                            Fetched 1,388 kB in 2s (601 kB/s)
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            All packages are up to date.
                                            pi@iobroker-pi:~ $ apt policy systemd-timesyncd
                                            systemd-timesyncd:
                                              Installed: (none)
                                              Candidate: 247.3-7+deb11u1
                                              Version table:
                                                 252.4-1~bpo11+1 100
                                                    100 http://ftp.debian.org/debian bullseye-backports/main armhf Packages
                                                 247.3-7+deb11u1 500
                                                    500 http://deb.debian.org/debian bullseye/main armhf Packages
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            962
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            81
                                            3803
                                            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