[Gelöst] FHEM nicht mehr erreichbar bzw. not running

Begonnen von rhrawr, 08 August 2015, 00:50:17

Vorheriges Thema - Nächstes Thema

rhrawr

Sers zusammen!

Ich habe gestern das YAF-Modul installiert. Nach dem erfolgten Update und Neustart von fhem ist fhem nicht mehr über die IP erreichbar. Die IP kann ich anpingen, der RaspPi läuft, über Putty habe ich den Speicher etwas geleert (Wolfram deinstalliert). Fhem ist und bleibt "not running", also manuell gestartet und kurz gewartet, aber fhem bleibt "not running". Ich verzweifel langsam. Weiß noch jemand Rat?

Grüße
Raspberry Pi 3 als FHEM-Server (Homematic, Philips Hue, Z-Wave, Logitech Harmony)
Raspberry Pi 2 als TV-Ambilight
Fritz!Box 6490 Cable

herrmannj

Schau bitte ins fhem log und poste die Fehlermeldung.

vg
joerg

rhrawr

#2
Ab Beginn der YAF Installation. Fehlermeldung kommt auch. Aber da ich Frischling bin, kann ich nicht so ganz was damit anfangen bzw. weiß ich jetzt noch nicht genau, was zu tun ist.


2015.08.08 00:07:17 1: RMDIR: ./restoreDir/2015-08-03
2015.08.08 00:07:18 1: UPD FHEM/01_YAF.pm
2015.08.08 00:07:18 1: UPD FHEM/YAF/widgets/fs20st/fs20st.pm
2015.08.08 00:07:19 1: UPD FHEM/YAF/widgets/fht80/fht80.pm
2015.08.08 00:07:19 1: UPD FHEM/YAF/widgets/fhttk/fhttk.pm
2015.08.08 00:07:19 1: UPD FHEM/YAF/widgets/generic/generic.pm
2015.08.08 00:07:20 1: UPD FHEM/YAF/widgets/webcam/webcam.pm
2015.08.08 00:07:20 1: UPD FHEM/YAF/widgets/fs20easylamp/fs20easylamp.pm
2015.08.08 00:07:21 1: UPD FHEM/YAF/widgets/iteasylamp/iteasylamp.pm
2015.08.08 00:07:21 1: UPD FHEM/YAF/www/img/loading.gif
2015.08.08 00:07:21 1: UPD FHEM/YAF/www/img/lamp_off.png
2015.08.08 00:07:22 1: UPD FHEM/YAF/www/img/background.png
2015.08.08 00:07:22 1: UPD FHEM/YAF/www/img/lamp_on.png
2015.08.08 00:07:22 1: UPD FHEM/YAF/www/js/yaf-basics.js
2015.08.08 00:07:23 1: UPD FHEM/YAF/www/js/yaf-dialogs.js
2015.08.08 00:07:23 1: UPD FHEM/YAF/www/yaf.htm
2015.08.08 00:07:23 1: UPD FHEM/YAF/www/js/combobox.js
2015.08.08 00:07:24 1: UPD FHEM/YAF/www/js/jquery.ui.touch-punch.min.js
2015.08.08 00:07:24 1: UPD FHEM/YAF/www/js/jquery-ui-1.9.1.custom.min.js
2015.08.08 00:07:25 1: UPD FHEM/YAF/www/js/jquery-ui-1.9.1.custom.js
2015.08.08 00:07:26 1: UPD FHEM/YAF/www/js/jquery-1.8.2.js
2015.08.08 00:07:27 1: UPD FHEM/YAF/www/css/yaf.css
2015.08.08 00:07:27 1: UPD FHEM/YAF/www/css/smoothness/jquery-ui-1.9.1.custom.css
2015.08.08 00:07:28 1: UPD FHEM/YAF/www/css/smoothness/images/ui-icons_222222_256x240.png
2015.08.08 00:07:28 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
2015.08.08 00:07:29 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
2015.08.08 00:07:29 1: UPD FHEM/YAF/www/css/smoothness/images/ui-icons_888888_256x240.png
2015.08.08 00:07:29 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png
2015.08.08 00:07:30 1: UPD FHEM/YAF/www/css/smoothness/images/ui-icons_cd0a0a_256x240.png
2015.08.08 00:07:30 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
2015.08.08 00:07:30 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
2015.08.08 00:07:30 1: UPD FHEM/YAF/www/css/smoothness/images/ui-icons_454545_256x240.png
2015.08.08 00:07:31 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
2015.08.08 00:07:31 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
2015.08.08 00:07:32 1: UPD FHEM/YAF/www/css/smoothness/images/ui-icons_2e83ff_256x240.png
2015.08.08 00:07:32 1: UPD FHEM/YAF/www/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
2015.08.08 00:07:32 1: UPD FHEM/YAF/www/css/smoothness/jquery-ui-1.9.1.custom.min.css
2015.08.08 00:07:33 1: UPD FHEM/YAF/xml/xmlSchema.xsd
2015.08.08 00:07:33 1: UPD FHEM/YAF/xml/yafConfig.xml
2015.08.08 00:07:34 1: UPD FHEM/YAF/YAFConfig.pm
2015.08.08 00:07:34 1: UPD FHEM/YAF/YAFWidgets.pm
2015.08.08 00:07:34 1: UPD FHEM/YAF/libs/json/Changes
2015.08.08 00:07:35 1: UPD FHEM/YAF/libs/json/JSON.pm
2015.08.08 00:07:35 1: UPD FHEM/YAF/libs/json/MANIFEST
2015.08.08 00:07:36 1: UPD FHEM/YAF/libs/json/README
2015.08.08 00:07:36 1: UPD FHEM/YAF/libs/json/JSON/backportPP.pm
2015.08.08 00:07:37 1: UPD FHEM/YAF/libs/json/JSON/backportPP/Boolean.pm
2015.08.08 00:07:37 1: UPD FHEM/YAF/libs/json/JSON/backportPP/Compat5005.pm
2015.08.08 00:07:37 1: UPD FHEM/YAF/libs/json/JSON/backportPP/Compat5006.pm
2015.08.08 00:07:38 1:
2015.08.08 00:07:38 1: New entries in the CHANGED file:
2015.08.08 00:07:38 1: 0.45:
2015.08.08 00:07:38 1: Calling /usr/bin/perl ./contrib/commandref_join.pl, this may take a while
2015.08.08 00:08:24 0: Server shutdown
2015.08.08 00:08:30 1: Including fhem.cfg
2015.08.08 00:08:31 3: telnetPort: port 7072 opened
2015.08.08 00:08:32 3: WEB: port 8083 opened
2015.08.08 00:08:33 3: WEBphone: port 8084 opened
2015.08.08 00:08:33 3: WEBtablet: port 8085 opened
2015.08.08 00:08:34 2: eventTypes: loaded 968 events from ./log/eventTypes.txt
2015.08.08 00:08:37 3: HUEDevice6: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice3: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice7: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice9: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice2: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice8: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice1: I/O device is PhilipsHue
2015.08.08 00:08:37 3: HUEDevice4: I/O device is PhilipsHue
2015.08.08 00:08:38 3: HUEDevice5: I/O device is PhilipsHue
2015.08.08 00:08:41 3: HUEGroup1: I/O device is PhilipsHue
2015.08.08 00:08:41 3: HUEGroup3: I/O device is PhilipsHue
2015.08.08 00:08:41 3: HUEGroup2: I/O device is PhilipsHue
2015.08.08 00:08:41 3: Opening CUL_0 device /dev/ttyACM0
2015.08.08 00:08:42 3: Setting CUL_0 serial parameters to 9600,8,N,1
2015.08.08 00:08:42 3: CUL_0 device opened
2015.08.08 00:08:42 3: CUL_0: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2015.08.08 00:08:53 3: HUEGroup4: I/O device is PhilipsHue
2015.08.08 00:08:53 3: HUEGroup0: I/O device is PhilipsHue
2015.08.08 00:08:53 3: HUEGroup5: I/O device is PhilipsHue
2015.08.08 00:08:54 1: Including ./log/fhem.save
2015.08.08 00:08:57 3: Harmony: connected
2015.08.08 00:09:00 1: usb create starting
2015.08.08 00:09:03 3: Probing CUL device /dev/ttyAMA0
2015.08.08 00:09:03 3: Probing TCM_ESP3 device /dev/ttyAMA0
2015.08.08 00:09:04 3: Probing FRM device /dev/ttyAMA0
2015.08.08 00:09:09 1: usb create end
2015.08.08 00:09:09 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2015.08.08 00:09:09 0: Featurelevel: 5.6
2015.08.08 00:09:09 0: Server started with 80 defined entities (version $Id: fhem.pl 9002 2015-07-29 05:46:10Z rudolfkoenig $, os linux, user fhem, pid 18602)
2015.08.08 00:09:13 2: Harmony: disconnect
2015.08.08 00:09:13 3: Harmony: connected
2015.08.08 00:09:22 3: Harmony: new config
2015.08.08 00:13:30 1: PERL WARNING: Prototype mismatch: sub main::decode_json: none vs ($) at /usr/share/perl/5.14/Exporter.pm line 67.
2015.08.08 00:13:30 1: PERL WARNING: Prototype mismatch: sub main::to_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67.
2015.08.08 00:13:30 1: PERL WARNING: Prototype mismatch: sub main::from_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67.
JSON::XS::from_json has been renamed to decode_json, either downgrade to pre-2.0 versions of JSON::XS or rename the call at ./FHEM/30_HUEBridge.pm line 638
2015.08.07 23:17:23 1: Including fhem.cfg
2015.08.07 23:17:23 3: telnetPort: port 7072 opened
2015.08.07 23:17:25 3: WEB: port 8083 opened
2015.08.07 23:17:25 3: WEBphone: port 8084 opened
2015.08.07 23:17:25 3: WEBtablet: port 8085 opened
2015.08.07 23:17:27 2: eventTypes: loaded 968 events from ./log/eventTypes.txt
2015.08.07 23:17:30 3: HUEDevice6: I/O device is PhilipsHue
2015.08.07 23:17:30 3: HUEDevice3: I/O device is PhilipsHue
2015.08.07 23:17:30 3: HUEDevice7: I/O device is PhilipsHue
2015.08.07 23:17:30 3: HUEDevice9: I/O device is PhilipsHue
2015.08.07 23:17:30 3: HUEDevice2: I/O device is PhilipsHue
2015.08.07 23:17:30 3: HUEDevice8: I/O device is PhilipsHue
2015.08.07 23:17:31 3: HUEDevice1: I/O device is PhilipsHue
2015.08.07 23:17:31 3: HUEDevice4: I/O device is PhilipsHue
2015.08.07 23:17:31 3: HUEDevice5: I/O device is PhilipsHue
2015.08.07 23:17:34 3: HUEGroup1: I/O device is PhilipsHue
2015.08.07 23:17:34 3: HUEGroup3: I/O device is PhilipsHue
2015.08.07 23:17:34 3: HUEGroup2: I/O device is PhilipsHue
2015.08.07 23:17:34 3: Opening CUL_0 device /dev/ttyACM0
2015.08.07 23:17:35 3: Setting CUL_0 serial parameters to 9600,8,N,1
2015.08.07 23:17:35 3: CUL_0 device opened
2015.08.07 23:17:35 3: CUL_0: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2015.08.08 00:17:27 3: HUEGroup4: I/O device is PhilipsHue
2015.08.08 00:17:27 3: HUEGroup0: I/O device is PhilipsHue
2015.08.08 00:17:27 3: HUEGroup5: I/O device is PhilipsHue
Prototype mismatch: sub main::decode_json: none vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Prototype mismatch: sub main::to_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Prototype mismatch: sub main::from_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
2015.08.08 00:17:27 1: Including ./log/fhem.save
2015.08.08 00:17:30 3: Harmony: connected
JSON::XS::from_json has been renamed to decode_json, either downgrade to pre-2.0 versions of JSON::XS or rename the call at ./FHEM/30_HUEBridge.pm line 638
2015.08.08 00:18:09 1: Including fhem.cfg
2015.08.08 00:18:09 3: telnetPort: port 7072 opened
2015.08.08 00:18:11 3: WEB: port 8083 opened
2015.08.08 00:18:11 3: WEBphone: port 8084 opened
2015.08.08 00:18:11 3: WEBtablet: port 8085 opened
2015.08.08 00:18:13 2: eventTypes: loaded 968 events from ./log/eventTypes.txt
2015.08.08 00:18:17 3: HUEDevice6: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice3: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice7: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice9: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice2: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice8: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice1: I/O device is PhilipsHue
2015.08.08 00:18:17 3: HUEDevice4: I/O device is PhilipsHue
2015.08.08 00:18:18 3: HUEDevice5: I/O device is PhilipsHue
2015.08.08 00:18:20 3: HUEGroup1: I/O device is PhilipsHue
2015.08.08 00:18:20 3: HUEGroup3: I/O device is PhilipsHue
2015.08.08 00:18:20 3: HUEGroup2: I/O device is PhilipsHue
2015.08.08 00:18:20 3: Opening CUL_0 device /dev/ttyACM0
2015.08.08 00:18:21 3: Setting CUL_0 serial parameters to 9600,8,N,1
2015.08.08 00:18:21 3: CUL_0 device opened
2015.08.08 00:18:21 3: CUL_0: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2015.08.08 00:31:11 3: HUEGroup4: I/O device is PhilipsHue
2015.08.08 00:31:12 3: HUEGroup0: I/O device is PhilipsHue
2015.08.08 00:31:12 3: HUEGroup5: I/O device is PhilipsHue
Prototype mismatch: sub main::decode_json: none vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Prototype mismatch: sub main::to_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Prototype mismatch: sub main::from_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
2015.08.08 00:31:12 1: Including ./log/fhem.save
2015.08.08 00:31:15 3: Harmony: connected
JSON::XS::from_json has been renamed to decode_json, either downgrade to pre-2.0 versions of JSON::XS or rename the call at ./FHEM/30_HUEBridge.pm line 638



Ist dies denn wirklich die Ursache für den verhinderten fhem-Start?
Prototype mismatch: sub main::decode_json: none vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Prototype mismatch: sub main::to_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Prototype mismatch: sub main::from_json ($@) vs ($) at /usr/share/perl/5.14/Exporter.pm line 67, <$fh> line 457.
at (eval 96) line 1
Raspberry Pi 3 als FHEM-Server (Homematic, Philips Hue, Z-Wave, Logitech Harmony)
Raspberry Pi 2 als TV-Ambilight
Fritz!Box 6490 Cable

herrmannj

Hi,

vmtl hier
JSON::XS::from_json has been renamed to decode_json, either downgrade to pre-2.0 versions of JSON::XS or rename the call at ./FHEM/30_HUEBridge.pm line 638


YAF bindet JSON "anders" ein und es kommt zu Beeinflussungen. Mal schauen ob Justme einen Tip hat.

vg
joerg

justme1968

änder mal im yaf modul das use JSON:XS in use JSON und schau ob es dann geht.

gruß
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

rhrawr

Hallo Andre,

verzeih mir die vielleicht blöde Frage, aber wie?
Ich weiß leider nicht, wie/wo ich auf das YAF Modul zugreifen soll/kann.
Wie gesagt, bin überhaupt erst seit einer guten Woche an der Thematik fhem und Co. dran.

Gruß
Dennis
Raspberry Pi 3 als FHEM-Server (Homematic, Philips Hue, Z-Wave, Logitech Harmony)
Raspberry Pi 2 als TV-Ambilight
Fritz!Box 6490 Cable

justme1968

in deiner fhem installation im file FHEM/01_YAF.pm

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

herrmannj

vielleicht macht, wenn Du "neu" bist und ohnehin noch nicht viel eingerichtet hast, nochmal ein Neustart, evtl ohne YAF, Sinn ?

vg
joerg

rhrawr

#8
Ich guck mal, ob ich damit was anfangen kann, Andre. Danke...

@Jörg
Naja, neu ja. Aber wenig eingestellt bzw. eingerichtet kann man nicht gerade sagen. Hab direkt mit mehreren Wandtaster, Rollläden, Fensterkontakten, HUE's, Funksteckdosen voll losgelegt.  ;D Vielleicht an dieser Stelle die Frage: Wenn ich mir die fhem.cfg kopiere, alles neu aufsetze und die Config dort einfüge, sollten doch alle vorgenommen Einstellungen wieder vorhanden sein? Das YAF Modul installiere ich dann erstmal nicht wieder. Wäre aber für mich der letzte Ausweg. Eventuell bekomme ich bzw. wir es ja so wieder hin.
Raspberry Pi 3 als FHEM-Server (Homematic, Philips Hue, Z-Wave, Logitech Harmony)
Raspberry Pi 2 als TV-Ambilight
Fritz!Box 6490 Cable

Prof. Dr. Peter Henning

Das ist doch ein Teil des Problems: Neuling, aber gleich mit vielen Teilen gestartet. Klarer Tipp: Erst einmal mit dem Standardinterface ein paar Wochen lang Erfahrung sammeln, dann etwas Perl lernen, dann solche Dinge wie YAF angehen. Das Ziel bei unserer Entwicklung von YAF war nicht, dass unerfahrene Benutzer gleich damit zu Recht kommen.

Außerdem ist der YAF-Kern etwas in die Jahre gekommen. Mal sehen, ob ich wieder ein paar studentische Ressourcen finden kann, um das etwas zu modernisieren.

LG

pah

rhrawr

Die Einrichtung der Hardware und Konfiguration der ganzen Materie hat bisher auch dank vielen Foreneinträge hier, bisher auch wunderbar geklappt. Denke nicht, dass dies das ursächliche Problem darstellt. Ich gebe dir allerdings Recht damit, dass YAF ein Schnellschuss von mir war und etwas zu früh kam.

Gruß
Dennis
Raspberry Pi 3 als FHEM-Server (Homematic, Philips Hue, Z-Wave, Logitech Harmony)
Raspberry Pi 2 als TV-Ambilight
Fritz!Box 6490 Cable

rhrawr

Zitat von: justme1968 am 08 August 2015, 12:24:53
änder mal im yaf modul das use JSON:XS in use JSON und schau ob es dann geht.

gruß
  andre

Hat funktioniert! Besten Dank!!!
Raspberry Pi 3 als FHEM-Server (Homematic, Philips Hue, Z-Wave, Logitech Harmony)
Raspberry Pi 2 als TV-Ambilight
Fritz!Box 6490 Cable