Hallo nochmal,
Ich habe das ganze jetzt über die Komplettanleitung von Hand installiert und nun funktioniert es. Ich habe keine Idee warum das Image bei mir nicht lief. Falls es jemandem also ähnlich geht, kann ich die Variante von Hand als alternative empfehlen.
Ankündigung
Einklappen
Keine Ankündigung bisher.
Raspberry Image Version 2.2 mit SmarthomeNG 1.5.1
Einklappen
Dieses Thema ist geschlossen.
X
X
-
Hallo,
Irgendwie komme ich mit dem Image nicht weiter. Bei mit steigt Smarthome immer nach einer Minute aus. Anbei meine Plugin.Cfg und der Fehlerlog. Irgenjemand eine Idee? Danke
PS: Modell ist ein Rpi Model 2B.
PHP-Code:2016-09-28 12:11:52 WARNING Main -------------------- Init smarthomeNG 1.3.736.dev -------------------- 2016-09-28 12:11:52 INFO Main Init Scheduler 2016-09-28 12:11:52 DEBUG Scheduler creating 5 workers 2016-09-28 12:11:52 INFO Main Init Plugins 2016-09-28 12:11:52 WARNING Main CLI: You should set a password for this plugin. 2016-09-28 12:11:52 INFO Main Init UZSU 2016-09-28 12:11:52 INFO Main Init Items 2016-09-28 12:11:53 INFO Main Items: 45 2016-09-28 12:11:53 INFO Main Start Logics 2016-09-28 12:11:53 DEBUG Main env_daily next time: 2016-09-29 06:00:00+02:00 2016-09-28 12:11:53 DEBUG Main env_stat next time: 2016-09-28 12:12:06+02:00 2016-09-28 12:11:53 INFO Main Start Plugins 2016-09-28 12:11:53 WARNING smartvisu Installing widgets into smartVISU 2016-09-28 12:11:53 INFO smartvisu install_widgets: Installing from '/usr/smarthome' to '/var/www/smartvisu' 2016-09-28 12:11:53 INFO smartvisu install_widgets: Creating directory for widgets 2016-09-28 12:11:53 INFO smartvisu install_widgets: Removing old dynamic widget files 2016-09-28 12:11:53 INFO smartvisu Adding import statements to root.html 2016-09-28 12:11:53 WARNING smartvisu Generating pages for smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'widgetblock_blk_noh.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'roomslite.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'rooms.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'roomlite.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'index.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'widgetblock2_blk_std.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'widgetblock_blk_std.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'widgetblock2_std_std.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'room.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'widgetblock_std_std.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'heading.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'navi_sep.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'category_page.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'category.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'navigation.html' from plugin to smartVISU 2016-09-28 12:11:53 INFO smartvisu copy_templates: Copying template 'navi.html' from plugin to smartVISU 2016-09-28 12:11:58 DEBUG Scheduler env_loc next time: 2016-09-28 12:41:58+02:00 2016-09-28 12:11:58 DEBUG Scheduler sh.gc next time: 2016-09-29 02:04:00+02:00 2016-09-28 12:12:06 DEBUG Scheduler env_stat next time: 2016-09-28 12:17:06+02:00 2016-09-28 12:13:20 INFO Main Number of Threads: 7 2016-09-28 12:13:20 INFO Main Stop Plugins 2016-09-28 12:13:21 INFO Main SmartHome.py stopped 2016-09-28 12:13:21 ERROR Main Connection polling failed: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/smarthome/var/run/smarthome.pid' Traceback (most recent call last): File "/usr/smarthome/bin/smarthome.py", line 330, in start self.connections.poll() File "/usr/smarthome/lib/connection.py", line 101, in poll for fileno, event in self._epoll.poll(timeout=1): File "/usr/smarthome/bin/smarthome.py", line 362, in stop os.remove(self._pidfile) FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/usr/smarthome/var/run/smarthome.pid'PHP-Code:[knx] class_name = KNX class_path = plugins.knx #send_time = 600 # update date/time every 600 seconds, default none #time_ga = 4/4/11 # default none #date_ga = 4/4/12 # default none [websocket] class_name = WebSocket class_path = plugins.visu_websocket # ip = 0.0.0.0 # port = 2424 # tls = no # wsproto = 4 acl = rw [smartvisu] class_name = SmartVisu class_path = plugins.visu_smartvisu smartvisu_dir = /var/www/smartvisu # generate_pages = True # handle_widgets = True # overwrite_templates = Yes # visu_style = blk [cli] class_name = CLI class_path = plugins.cli # ip = 127.0.0.1 # port = 2323 # update = false #[sql] # class_name = SQL # class_path = plugins.sqlite #[ow] # class_name = OneWire # class_path = plugins.onewire # host = 127.0.0.1 # port = 4304 [uzsu] class_name = UZSU class_path = plugins.uzsu [BackendServer] class_name = BackendServer class_path = plugins.backend #ip = xxx.xxx.xxx.xxx port = 8383 updates_allowed = True threads = 8 user = admin password = xxxx language = de
Einen Kommentar schreiben:
-
Hi,
das VPN script von Fipbox läuft soweit durch. Soweit ich gesehen habe ist das aber eher etwas was nicht schon im image sein sollte. Da am Schluss der Installation Kryto-Keys erzeugt werden. Ich denke das ist etwas was ein user selbst nachinstallieren muss.
VG
Jürgen
Einen Kommentar schreiben:
-
Kannst du im ersten Beitrag einen Link auf das Image setzen?
Einen Kommentar schreiben:
-
ok danke. Das hat geholfen. Logcheck läuft jetzt durch und ich bekomme auch eine Email. Allerdings durchläuft logcheck immer noch einen ganzen Haufen systemdienste obwohl ich in der logcheck.logfiles alles auskommentiert habe, bis auf smarthome....
Edit:
Halt mein Fehler. Das sind keine Systemmeldungen sondern die zusätzlichen Angaben in der smarthome Konfigurationsdatei. Macht also jetzt genau was es soll. Danke fürs Helfen.Zuletzt geändert von firefox; 25.09.2016, 19:07.
- Likes 1
Einen Kommentar schreiben:
-
Hmmmm.. Wie könnten wir die Rechteproblematik vereinfachen? Ich glaube, sobald man über git pull updatet, ändern sich die Rechte auch wieder.. irgendwie ein bisschen mühsam. Man müsste dann halt immer nach dem Update auch gleich ein sudo chmod 777 /usr/smarthome -R ausführen. Dann sollte auch mit WinSCP alles klappen.
Einen Kommentar schreiben:
-
Hallo Onkelandy,
ich komme hier mit Logcheck nicht weiter. Die Emails kommen immer mit einem Fehler an:
Ich hab logcheck entsprechend deiner Doku manuell gestartet und erhalte folgende Fehlermeldungen. Hab google befragt, komme aber dem Problem nicht wirklich auf die sprünge. Hast du eine Idee?Code:Warning: If you are seeing this message, your log files may not have been checked! Details: Could not run logtail or save output Check temporary directory: /tmp/logcheck.lUAmCS Also verify that the logcheck user can read all files referenced in /etc/logcheck/logcheck.logfiles! declare -x DISPLAY="localhost:12.0" declare -x HOME="/var/lib/logcheck" declare -x LOGNAME="logcheck" declare -xWarning: If you are seeing this message, your log files may not have been checked! Details: Could not run logtail or save output Check temporary directory: /tmp/logcheck.lUAmCS Also verify that the logcheck user can read all files referenced in /etc/logcheck/logcheck.logfiles! declare -x DISPLAY="localhost:12.0" declare -x HOME="/var/lib/logcheck" declare -x LOGNAME="logcheck" declare -x
Danke und GrußCode:... D: [1474823693] logoutput called with file: /var/log/messages D: [1474823693] Running /usr/sbin/logtail2 on /var/log/messages D: [1474823693] logoutput called with file: /var/log/auth.log D: [1474823693] Running /usr/sbin/logtail2 on /var/log/auth.log D: [1474823693] logoutput called with file: /var/log/dpkg.log D: [1474823693] Running /usr/sbin/logtail2 on /var/log/dpkg.log D: [1474823693] logoutput called with file: /var/log/syslog D: [1474823693] Running /usr/sbin/logtail2 on /var/log/syslog D: [1474823693] logoutput called with file: /var/log/lirc.log D: [1474823693] Running /usr/sbin/logtail2 on /var/log/lirc.log D: [1474823693] logoutput called with file: /var/log/monit.log D: [1474823693] Running /usr/sbin/logtail2 on /var/log/monit.log D: [1474823693] error: Killing lockfile-touch - 794 D: [1474823693] error: Removing lockfile: /run/lock/logcheck/logcheck.lock D: [1474823693] Error: Could not run logtail or save output D: [1474823693] cleanup: Removing - /tmp/logcheck.9gc90U
Einen Kommentar schreiben:
-
Hi Arnix, das hab ich ja gemacht, bzw. die sshD_config musste ich gar nicht bearbeiten... ich glaube hier ging es eher darum warum man unbedingt ein root passwort will wenn doch alles mit Zertifikaten auch geht - das hab ich aber mit WinSCP nicht hinbekommen...
Einen Kommentar schreiben:
-
Als normaler User in Putty anmelden und...
dort hinter dem Eintrag:Code:sudo nano /etc/ssh/sshd_config
PermitRootLogin
ein "yes"
also...
PermitRootLogin yes
Dann das System rebooten.
Wieder als normaler User in Putty anmelden und über
dem root ein neues Passwort geben. Dann kannst Du dich mit diesem Passwort als root auch in WinSCP anmelden.Code:sudo passwd
Einen Kommentar schreiben:
-
Hi Andy, wenn man mit Putty arbeitet dann ja, aber unter WinSCP geht nun mal der sudo nicht... und dort kann man wunderbar Dateien Editieren oder Rechte ändern - das hab ich nur hinbekommen wenn man sich mit root unter WinSCP anmeldet...
DMX läuft, hatte für die Conf das falsche Verzeichnis erwischt - dann gehts nun an Modbus.. (-:
UweZuletzt geändert von boardman; 25.09.2016, 15:09.
Einen Kommentar schreiben:
-
Das mit dem Root-Zugang sollte kein Problem sein. Direkt nach dem Login al pi User kann man via
sudo -i
und Passwort "raspberry" praktisch alles machen ohne Rechteprobleme..
Einen Kommentar schreiben:
-
Ja, bei der von mir beschriebenen Variante musst Du die SD-Karte drin lassen, denn der Raspi braucht ja die cmdline.txtZitat von manu241 Beitrag anzeigen
Hallo Arnix, lässt du dann die SD-Karte in dem Raspberry ?
Gruß Manuel
Grüße
Arne
Einen Kommentar schreiben:


Done.
Einen Kommentar schreiben: