Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedMatic 1.6.0 startet nicht auf RaspberryMatic #69

Closed
stan23 opened this issue Oct 7, 2018 · 6 comments · May be fixed by Hypnos3/RedMatic#5
Closed

RedMatic 1.6.0 startet nicht auf RaspberryMatic #69

stan23 opened this issue Oct 7, 2018 · 6 comments · May be fixed by Hypnos3/RedMatic#5

Comments

@stan23
Copy link

stan23 commented Oct 7, 2018

RedMatic 1.6.0 erstmals auf RaspberryMatic 3.37.8.20180929 installiert.

https://homematic-raspi.f17a/addons/redmatic/settings.cgi zeigt stopped.

Nach einem erzwungenen Reboot zeigt /var/log/messages bei jedem Versuch, RedMatic zu starten folgendes:

Oct  7 12:55:59 homematic-raspi user.info redmatic: RedMatic v1.6.0 (c) Sebastian Raff https://github.com/hobbyquaker/RedMatic
Oct  7 12:55:59 homematic-raspi user.info redmatic: Started Node-RED
Oct  7 12:56:01 homematic-raspi daemon.err node-red: module.js:550
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     throw err;
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     ^
Oct  7 12:56:01 homematic-raspi daemon.err node-red: Error: Cannot find module '/usr/local/addons/redmatic/lib/node_modules/node-red/red.js'
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     at Function.Module._resolveFilename (module.js:548:15)
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     at Function.Module._load (module.js:475:25)
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     at Function.Module.runMain (module.js:694:10)
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     at startup (bootstrap_node.js:204:16)
Oct  7 12:56:01 homematic-raspi daemon.err node-red:     at bootstrap_node.js:625:3

Die Datei existiert nicht:

la /usr/local/addons/redmatic/lib/node_modules/node-red/
LICENSE node_modules

@hobbyquaker hobbyquaker added the 🐛bug Something isn't working label Oct 7, 2018
@hobbyquaker
Copy link
Member

Hmm... Das ist seltsam, da scheinen bei der Installation einfach Dateien "verloren gegangen" zu sein, kann ich mir nicht erklären. Ich installiere grade mal RaspberryMatic und versuch das zu reproduzieren. Als Workaround könntest Du versuchen das addon .tar.gz auszupacken und händisch das redmatic Verzeichnis nach /usr/local/addons kopieren.

@hobbyquaker
Copy link
Member

hobbyquaker commented Oct 7, 2018

Was mich auch stutzig macht ist ein Teil der Fehlermeldung

Oct 7 12:56:01 homematic-raspi daemon.err node-red: Error: Cannot find module '/usr/local/addons> /redmatic/lib/node_modules/node-red/red.js'

Ich frag mich woher das > und das Leerzeichen in dem Pfad kommt.

Spekulativ aber nicht unwahrscheinlich: ich befürchte dass deine SD-Karte fehlerhaft bzw. das Dateisystem darauf korrupt sein könnte.

@stan23
Copy link
Author

stan23 commented Oct 7, 2018

Das Leerzeichen kam von mir, ich habe mit der Zitierfunktion gekämpft. Ist oben korrigiert.

@hobbyquaker
Copy link
Member

ah alles klar :) Ich würde empfehlen für Log Auszüge mit den ``` Tags zu arbeiten (müssen in einer eigenen Zeile stehen)

@stan23
Copy link
Author

stan23 commented Oct 7, 2018

Ich habe die Installation offenbar vorzeitig abgebrochen, weil ich zu ungeduldig war :(
Hätte nicht gedacht dass der Raspi jemals so langsam sein könnte bei der Installation.

Nachdem ich das Addon drüberinstalliert habe, geht es.

Sorry für die Verwirrung°

@stan23 stan23 closed this as completed Oct 7, 2018
@hobbyquaker hobbyquaker removed 🐛bug Something isn't working 🤔to be clarified labels Oct 7, 2018
@hobbyquaker
Copy link
Member

hobbyquaker commented Oct 7, 2018

Alles klar. Ja das kann sehr lange dauern, hab für Testzwecke hier ein uralten Raspberry Pi 1b, auf dem zieht sich das locker über ne viertel Stunde. Auf der CCU3 mit ihrem Pi 3b dauert es auch gefühlte 10 Minuten. Liegt wohl daran dass das auspacken des .tar.gz sehr rechenintensiv ist und wegen der Natur der Node-Module im Fall von RedMatic tausende Dateien enthält...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants