Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst] Fehler - HM-RPC läuft plötzlich nicht mehr

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.1k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

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

Geplant Angeheftet Gesperrt Verschoben Error/Bug
40 Beiträge 3 Kommentatoren 1.6k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • foxriver76F Offline
    foxriver76F Offline
    foxriver76
    Developer
    schrieb am zuletzt editiert von
    #25

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

    Videotutorials & mehr

    Hier könnt ihr mich unterstützen.

    1 Antwort Letzte Antwort
    0
    • S Offline
      S Offline
      skorpil
      schrieb am zuletzt editiert von
      #26

      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 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        skorpil
        schrieb am zuletzt editiert von
        #27

        @foxriver

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

        1 Antwort Letzte Antwort
        0
        • foxriver76F Offline
          foxriver76F Offline
          foxriver76
          Developer
          schrieb am zuletzt editiert von
          #28

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

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

          Videotutorials & mehr

          Hier könnt ihr mich unterstützen.

          1 Antwort Letzte Antwort
          0
          • S Offline
            S Offline
            skorpil
            schrieb am zuletzt editiert von
            #29

            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 Antwort Letzte Antwort
            0
            • paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von
              #30

              @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/
              

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              1 Antwort Letzte Antwort
              0
              • S Offline
                S Offline
                skorpil
                schrieb am zuletzt editiert von
                #31

                done!

                wieder Fehlermeldung

                ! module.js:130
                ! throw e;
                ! ^
                ! 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 Antwort Letzte Antwort
                0
                • paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von
                  #32

                  Mit der NPM-Installation scheint etwas nicht zu stimmen.

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  1 Antwort Letzte Antwort
                  0
                  • S Offline
                    S Offline
                    skorpil
                    schrieb am zuletzt editiert von
                    #33

                    @paul

                    Was könnte ich tun, um das zu reparieren?

                    1 Antwort Letzte Antwort
                    0
                    • paul53P Offline
                      paul53P Offline
                      paul53
                      schrieb am zuletzt editiert von
                      #34

                      Vielleicht auch die Auswirkung eines korrupten File Systems ? Hast Du die SD Card getauscht oder nur ein Restore eines ioBroker-Backups gemacht ?

                      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                      1 Antwort Letzte Antwort
                      0
                      • S Offline
                        S Offline
                        skorpil
                        schrieb am zuletzt editiert von
                        #35

                        Ich hatte mir mittels "SD Card Kopier" ein backup auf eine andere SD Karte erstellt.

                        Status aktuell:

                        1. das backup habe ich wieder zum Laufen bekommen: RPC Adapter neu installiert. Dann gings

                        2. auf der Produktiv SD Karte läuft der rega adapter noch immer nicht. Löschen des Adapters funktioniert scheinbar auch nicht richtig.

                        host.raspberrypi	2019-01-21 17:55:54.047	error	Cannot write files: /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/files/hm-rega.admin/_data.json: ENOENT: no such file or directory, open '/opt/iobroker/node
                        iobroker	2019-01-21 17:55:53.688	info	exit 0
                        iobroker	2019-01-21 17:55:53.670	info	at Module._compile (module.js:653:30)
                        iobroker	2019-01-21 17:55:53.670	info	at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/npmlog/log.js:2:16)
                        iobroker	2019-01-21 17:55:53.670	info	at require (internal/module.js:11:18)
                        iobroker	2019-01-21 17:55:53.670	info	at Module.require (module.js:597:17)
                        iobroker	2019-01-21 17:55:53.670	info	at Function.Module._load (module.js:475:25)
                        iobroker	2019-01-21 17:55:53.670	info	at Function.Module._resolveFilename (module.js:546:25)
                        iobroker	2019-01-21 17:55:53.670	info	at Function.Module._findPath (module.js:218:20)
                        iobroker	2019-01-21 17:55:53.670	info	at tryPackage (module.js:136:13)
                        iobroker	2019-01-21 17:55:53.670	info	at readPackage (module.js:126:52)
                        iobroker	2019-01-21 17:55:53.670	info	at JSON.parse (<anonymous>)
                        iobroker	2019-01-21 17:55:53.670	info	SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/are-we-there-yet/package.json: Unexpected token # in JSON at position 4
                        iobroker	2019-01-21 17:55:53.670	info	^
                        iobroker	2019-01-21 17:55:53.670	info	module.js:130 throw e;
                        iobroker	2019-01-21 17:55:53.316	info	npm uninstall iobroker.hm-rega --silent --save --prefix "/opt/iobroker" (System call)
                        iobroker	2019-01-21 17:55:52.905	info	host.raspberrypi Deleting 3 state(s).
                        host.raspberrypi	2019-01-21 17:55:52.901	info	object deleted system.adapter.hm-rega.0
                        host.raspberrypi	2019-01-21 17:55:52.900	info	object change system.adapter.hm-rega.0
                        iobroker	2019-01-21 17:55:52.792	info	host.raspberrypi Deleting 15 object(s).
                        iobroker	2019-01-21 17:55:52.768	info	host.raspberrypi Counted 3 states (system.adapter.hm-rega.*) from states
                        iobroker	2019-01-21 17:55:52.748	info	host.raspberrypi Counted 12 states of hm-rega
                        iobroker	2019-01-21 17:55:52.333	info	host.raspberrypi Counted 1 channels of hm-rega
                        iobroker	2019-01-21 17:55:52.192	info	host.raspberrypi Counted 1 adapters for hm-rega
                        iobroker	2019-01-21 17:55:52.143	info	host.raspberrypi Counted 1 instances of hm-rega
                        iobroker	2019-01-21 17:55:52.085	info	Delete adapter "hm-rega"</anonymous></anonymous>
                        
                        1 Antwort Letzte Antwort
                        0
                        • paul53P Offline
                          paul53P Offline
                          paul53
                          schrieb am zuletzt editiert von
                          #36

                          @skorpil:

                          Ich hatte mir mittels "SD Card Kopier" ein backup auf eine andere SD Karte erstellt. `
                          Wenn zu dem Zeitpunkt das FS schon korrupt war, dann ist es auch auf der Kopie korrupt (physische 1:1 Kopie).

                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                          1 Antwort Letzte Antwort
                          0
                          • S Offline
                            S Offline
                            skorpil
                            schrieb am zuletzt editiert von
                            #37

                            @paul

                            Du hattest den richtigen Riecher. NPM war kaputt. Warum auch immer.

                            Ich habe mit NPM -v nur noch Fehlermeldungen erhalten. Daraufhin bin ich wie hier

                            http://www.iobroker.net/docu/?page_id=8323&lang=de

                            vorgegangen:
                            ` > Die alten node & node.js Versionen deinstallieren

                            sudo apt-get –purge remove node

                            sudo apt-get --purge remove nodejs

                            sudo apt-get autoremove

                            sudo reboot `

                            dann
                            ` > Node.js neu installieren für Linux und Raspberry 2/3

                            curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

                            sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs

                            sudo reboot `

                            danach zeigte NPM -v wieder vernünftige Werte an, die Fehlermeldung war weg.

                            dann habe ich hm-rega und hm-rpc komplett unter iobroker deinstalliert und dann neu installiert. Dann gings

                            Bleibt die Frage noch: ist die SD Karte defekt? Ich weiß es nicht. Gibt es ein Toll zum Prüfen? Ich lege mir jedenfalls mit SD Card Copier noch ein frisches Image auf einer neuen SD Karte an.

                            Vilen Dank Euch allen!

                            1 Antwort Letzte Antwort
                            0
                            • paul53P Offline
                              paul53P Offline
                              paul53
                              schrieb am zuletzt editiert von
                              #38

                              @skorpil:

                              Ich lege mir jedenfalls mit SD Card Copier noch ein frisches Image auf einer neuen SD Karte an. `
                              Falls die SD Card schon FS Fehler enthält, werden diese mit kopiert. Vorher besser die SD Card mit https://www.pcwelt.de/ratgeber/Defekte_Linux_Server_reparieren-10085903.html checken.

                              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                              1 Antwort Letzte Antwort
                              0
                              • S Offline
                                S Offline
                                skorpil
                                schrieb am zuletzt editiert von
                                #39

                                Paul,

                                da ich KEIN Linux Spezialist bin:

                                fsck bringt bei mir folgenden Fehler:

                                ` > root@raspberrypi:~# fsck

                                fsck from util-linux 2.25.2

                                e2fsck 1.43.3 (04-Sep-2016)

                                /dev/mmcblk0p2 ist eingehängt.

                                e2fsck: Fortsetzung nicht möglich, wird abgebrochen. `

                                Was muß ich tun?

                                1 Antwort Letzte Antwort
                                0
                                • paul53P Offline
                                  paul53P Offline
                                  paul53
                                  schrieb am zuletzt editiert von
                                  #40

                                  @skorpil:

                                  da ich KEIN Linux Spezialist bin: `
                                  Ich auch nicht, habe aber https://wiki.ubuntuusers.de/Dateisystemcheck/ gefunden:

                                  Eingehängte Partitionen können nicht mit fsck geprüft werden. Stattdessen kann man dies beim nächsten Bootvorgang erzwingen.
                                  ` > Prüfung beim Systemstart

                                  Um alle ext3-/ext4-Partitionen beim nächstem Start zu prüfen, hilft folgender Befehl:

                                  sudo touch /forcefsck 
                                  

                                  Nach dem Start wird /forcefsck gelöscht, sodass die Überprüfung nur einmal stattfindet und der "mount count" wieder zurückgesetzt wird. `

                                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                  1 Antwort Letzte Antwort
                                  0
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  665

                                  Online

                                  32.5k

                                  Benutzer

                                  81.6k

                                  Themen

                                  1.3m

                                  Beiträge
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                  ioBroker Community 2014-2025
                                  logo
                                  • Anmelden

                                  • Du hast noch kein Konto? Registrieren

                                  • Anmelden oder registrieren, um zu suchen
                                  • Erster Beitrag
                                    Letzter Beitrag
                                  0
                                  • Home
                                  • Aktuell
                                  • Tags
                                  • Ungelesen 0
                                  • Kategorien
                                  • Unreplied
                                  • Beliebt
                                  • GitHub
                                  • Docu
                                  • Hilfe