Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Fehler - HM-RPC läuft plötzlich nicht mehr

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Fehler - HM-RPC läuft plötzlich nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • foxriver76
      foxriver76 Developer last edited by

      Node passt. Ist das Logfile oben mit Rega 2.1.6 entstanden?

      1 Reply Last reply Reply Quote 0
      • S
        skorpil last edited by

        Ja

        1 Reply Last reply Reply Quote 0
        • foxriver76
          foxriver76 Developer last edited by

          Hm okay, damit lässt sich leider nix anfangen, in der Zeile steht ne normal Zuweisung. 😐

          1 Reply Last reply Reply Quote 0
          • S
            skorpil last edited by

             host.raspberrypi	2019-01-21 14:33:05.669	info	Restart adapter system.adapter.hm-rega.0 because enabled
            host.raspberrypi	2019-01-21 14:33:05.669	error	instance system.adapter.hm-rega.0 terminated with code 1 ()
            host.raspberrypi	2019-01-21 14:33:05.669	error	Caught by controller[0]: at bootstrap_node.js:625:3
            host.raspberrypi	2019-01-21 14:33:05.669	error	Caught by controller[0]: at startup (bootstrap_node.js:204:16)
            host.raspberrypi	2019-01-21 14:33:05.669	error	Caught by controller[0]: at Function.Module.runMain (module.js:694:10)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at Function.Module._load (module.js:498:3)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at tryModuleLoad (module.js:506:12)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at Module.load (module.js:566:32)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at Module._compile (module.js:617:28)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at Object.runInThisContext (vm.js:139:10)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: at createScript (vm.js:80:10)
            host.raspberrypi	2019-01-21 14:33:05.668	error	Caught by controller[0]: SyntaxError: Invalid or unexpected token
            host.raspberrypi	2019-01-21 14:33:05.667	error	Caught by controller[0]:
            host.raspberrypi	2019-01-21 14:33:05.667	error	Caught by controller[0]: ����{`��k�LU�����C�a)���t2���d�ݕ�C�H�=J�l��F�s��E�`<��W��7^�A,sNp:0ˬ�B�>����\�S��m&�6�,�;�O�K���y7����˚��_{�S#���!�ل���l�@@�Dz�|�~��RQ�y�P�'�㜜.V�����
            host.raspberrypi	2019-01-21 14:33:05.667	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.hm-rega/hm-rega.js:258
            host.raspberrypi	2019-01-21 14:33:05.334	info	instance system.adapter.hm-rega.0 started with pid 1932
            host.raspberrypi	2019-01-21 14:32:35.331	info	Restart adapter system.adapter.hm-rega.0 because enabled
            host.raspberrypi	2019-01-21 14:32:35.331	error	instance system.adapter.hm-rega.0 terminated with code 1 ()
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at bootstrap_node.js:625:3
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at startup (bootstrap_node.js:204:16)
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at Function.Module.runMain (module.js:694:10)
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at Function.Module._load (module.js:498:3)
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at tryModuleLoad (module.js:506:12)
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at Module.load (module.js:566:32)
            host.raspberrypi	2019-01-21 14:32:35.330	error	Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
            host.raspberrypi	2019-01-21 14:32:35.329	error	Caught by controller[0]: at Module._compile (module.js:617:28)
            host.raspberrypi	2019-01-21 14:32:35.329	error	Caught by controller[0]: at Object.runInThisContext (vm.js:139:10)
            host.raspberrypi	2019-01-21 14:32:35.329	error	Caught by controller[0]: at createScript (vm.js:80:10)
            host.raspberrypi	2019-01-21 14:32:35.329	error	Caught by controller[0]: SyntaxError: Invalid or unexpected token
            host.raspberrypi	2019-01-21 14:32:35.329	error	Caught by controller[0]:
            host.raspberrypi	2019-01-21 14:32:35.328	error	Caught by controller[0]: ����{`��k�LU�����C�a)���t2���d�ݕ�C�H�=J�l��F�s��E�`<��W��7^�A,sNp:0ˬ�B�>����\�S��m&�6�,�;�O�K���y7����˚��_{�S#���!�ل���l�@@�Dz�|�~��RQ�y�P�'�㜜.V�����
            host.raspberrypi	2019-01-21 14:32:35.322	error	Caught by controller[0]: /opt/iobroker/node_modules/iobroker.hm-rega/hm-rega.js:258
            host.raspberrypi	2019-01-21 14:32:34.991	info	instance system.adapter.hm-rega.0 started with pid 1926
            

            Hier noch einmal ganz aktuell

            1 Reply Last reply Reply Quote 0
            • S
              skorpil last edited by

              Normale Zuweisung? Verstehe ich nicht.

              Was musst Du wissen, um helfen zu können? Ich liefere…

              1 Reply Last reply Reply Quote 0
              • paul53
                paul53 last edited by

                Ich tippe auf eine sich verabschiedende SD Card.

                1 Reply Last reply Reply Quote 0
                • S
                  skorpil last edited by

                  Daran hatte ich auch schon gedacht. Kann ich das unter Linux irgendwie testen? Unter Win gibt es ja chkdsk…

                  1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer last edited by

                    @paul53:

                    Ich tippe auf eine sich verabschiedende SD Card. `

                    An ein korruptes File System habe ich auch schon gedacht. Allerdings kenne ich mich da leider nicht aus.

                    @skorpil:

                    Normale Zuweisung? Verstehe ich nicht.

                    Was musst Du wissen, um helfen zu können? Ich liefere… `

                    Hier scheint der Fehler seinen Urpsrung zu haben: https://github.com/ioBroker/ioBroker.hm … ga.js#L258 und das macht für mich keinen Sinn

                    1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 last edited by

                      @skorpil:

                      Kann ich das unter Linux irgendwie testen? `
                      Da kenne ich mich leider auch nicht aus.

                      Ich würde die Datei /opt/iobroker/node_modules/iobroker.hm-rega/hm-rega.js mit WinSCP auf den PC kopieren, mit Notepad++ öffnen und das Umfeld von Zeile 258 ansehen.

                      1 Reply Last reply Reply Quote 0
                      • S
                        skorpil last edited by

                        So, jetzt der Hammer: auch das Backup macht den gleichen Fehler.

                        ! host.raspberrypi 2019-01-21 15:04:11.670 info Restart adapter system.adapter.hm-rpc.0 because enabled
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error instance system.adapter.hm-rpc.0 terminated with code 1 ()
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error Caught by controller[0]: at bootstrap_node.js:625:3
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error Caught by controller[0]: at startup (bootstrap_node.js:204:16)
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error Caught by controller[0]: at Function.Module.runMain (module.js:694:10)
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error Caught by controller[0]: at Function.Module._load (module.js:498:3)
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error Caught by controller[0]: at tryModuleLoad (module.js:506:12)
                        ! host.raspberrypi 2019-01-21 15:04:11.669 error Caught by controller[0]: at Module.load (module.js:566:32)
                        ! host.raspberrypi 2019-01-21 15:04:11.668 error Caught by controller[0]: at Object.Module._extensions..js (module.js:664:10)
                        ! host.raspberrypi 2019-01-21 15:04:11.668 error Caught by controller[0]: at Module._compile (module.js:653:30)
                        ! host.raspberrypi 2019-01-21 15:04:11.668 error Caught by controller[0]: at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.hm-rpc/hm-rpc.js:1634:5)
                        ! host.raspberrypi 2019-01-21 15:04:11.668 error Caught by controller[0]: at startAdapter (/opt/iobroker/node_modules/iobroker.hm-rpc/hm-rpc.js:606:15)
                        ! host.raspberrypi 2019-01-21 15:04:11.668 error Caught by controller[0]: TypeError: utils.Adapter is not a constructor
                        ! host.raspberrypi 2019-01-21 15:04:11.667 error Caught by controller[0]: ^
                        ! host.raspberrypi 2019-01-21 15:04:11.667 error Caught by controller[0]: adapter = new utils.Adapter(options);
                        ! host.raspberrypi 2019-01-21 15:04:11.664 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.hm-rpc/hm-rpc.js:606
                        ! host.raspberrypi 2019-01-21 15:04:11.305 info instance system.adapter.hm-rpc.0 started with pid 1408</anonymous>

                        Ich verstehe gerade die Welt nicht mehr…

                        1 Reply Last reply Reply Quote 0
                        • paul53
                          paul53 last edited by

                          @skorpil:

                          auch das Backup macht den gleichen Fehler. `
                          hm-rpc ist nicht hm-rega.

                          1 Reply Last reply Reply Quote 0
                          • S
                            skorpil last edited by

                            Das stimmt.

                            Also, zur Klarheit: RPC läuft nicht. Warum ich eben und auch im Titel über rega gesprochen habe… ich bin verwirrt. Sorry

                            1 Reply Last reply Reply Quote 0
                            • S
                              skorpil last edited by

                              ich habe unter windows und virtual dub noch eine iobroker Installation, die ich gelegentlich zum Testen nutze. Die habe ich gerade gestartet. Und, hier läuft die rpc Instanz. Damit kann ich nun mindestens ausschließen, dass das Problem nicht in der CCU liegt

                              1 Reply Last reply Reply Quote 0
                              • paul53
                                paul53 last edited by

                                @skorpil:

                                Warum ich eben und auch im Titel über rega gesprochen habe… ich bin verwirrt. `
                                Weil die Fehlermeldung sich auf die Datei /opt/iobroker/node_modules/iobroker.hm-rega/hm-rega.js bezog.@skorpil:

                                host.raspberrypi 2019-01-21 14:33:05.667 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.hm-rega/hm-rega.js:258
                                ```` ` 
                                1 Reply Last reply Reply Quote 0
                                • foxriver76
                                  foxriver76 Developer last edited by

                                  Jetzt ist es ja hm-rpc. Installier den mal neu.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    skorpil last edited by

                                    so, jetzt kann ich mindestens das Missverständnis aufklären (ich dachte schon, ich spinne):

                                    • in der aktuellen Version funktioniert REGA nicht

                                    • im backup läuft RPC nicht

                                    Ich verzweifele

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      skorpil last edited by

                                      @foxriver

                                      den mal neu heißt löschen und neu installieren???????

                                      1 Reply Last reply Reply Quote 0
                                      • foxriver76
                                        foxriver76 Developer last edited by

                                        Sorry Post gerade war auf Rega bezogen deshalb gelöscht.

                                        Mach mal````
                                        npm i iobroker.rpc --production --prefix /opt/iobroker/

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          skorpil last edited by

                                          Ich habe

                                          > npm i iobroker.rpc –production --prefix /opt/iobroker/
                                          im Terminal gestartet und bekomme:

                                          Jetzt bekomme ich diese Fehler,eldung

                                          ! SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/are-we-there-yet/package.json: Unexpected token # in JSON at position 4
                                          ! at JSON.parse (<anonymous>)
                                          ! at readPackage (module.js:126:52)
                                          ! at tryPackage (module.js:136:13)
                                          ! at Function.Module._findPath (module.js:218:20)
                                          ! at Function.Module._resolveFilename (module.js:546:25)
                                          ! at Function.Module._load (module.js:475:25)
                                          ! at Module.require (module.js:597:17)
                                          ! at require (internal/module.js:11:18)
                                          ! at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/npmlog/log.js:2:16)
                                          ! at Module._compile (module.js:653:30)</anonymous></anonymous>

                                          1 Reply Last reply Reply Quote 0
                                          • paul53
                                            paul53 last edited by

                                            @skorpil:

                                            Ich habe

                                            npm i iobroker.rpc –production --prefix /opt/iobroker/

                                            im Terminal gestartet und bekomme: `
                                            Versuche es mal mit

                                            npm i iobroker.hm-rpc --production --prefix /opt/iobroker/
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            638
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            40
                                            1463
                                            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