FHEM startet nach update nicht mehr

Begonnen von GG33, 18 März 2015, 12:13:22

Vorheriges Thema - Nächstes Thema

GG33

Nach dem Update startet FHEM nicht mehr. Das Raspi läuft und auch über putty erreichbar.

hier die Meldungen beim uptade
Events (global only):
2015-03-18 10:46:46 Global global MKDIR restoreDir/2015-03-18
2015-03-18 10:46:46 Global global UPD ./CHANGED
2015-03-18 10:46:46 Global global UPD ./configDB.pm
2015-03-18 10:46:46 Global global UPD ./fhem.cfg.demo
2015-03-18 10:46:46 Global global UPD ./fhem.pl
2015-03-18 10:46:46 Global global UPD FHEM/00_CUL.pm
2015-03-18 10:46:46 Global global UPD FHEM/00_FBAHA.pm
2015-03-18 10:46:46 Global global UPD FHEM/00_HMLAN.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_HXB.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_KM271.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_MAXLAN.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_MQTT.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_RPII2C.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_SONOS.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_TCM.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_THZ.pm
2015-03-18 10:46:47 Global global UPD FHEM/00_ZWDongle.pm
2015-03-18 10:46:48 Global global UPD FHEM/01_FHEMWEB.pm
2015-03-18 10:46:48 Global global UPD FHEM/02_FRAMEBUFFER.pm
2015-03-18 10:46:48 Global global UPD FHEM/02_HTTPSRV.pm
2015-03-18 10:46:48 Global global UPD FHEM/02_RSS.pm
2015-03-18 10:46:48 Global global UPD FHEM/09_CUL_FHTTK.pm
2015-03-18 10:46:48 Global global UPD FHEM/10_CUL_HM.pm
2015-03-18 10:46:48 Global global UPD FHEM/10_EnOcean.pm
2015-03-18 10:46:48 Global global UPD FHEM/10_FRM.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_FS20.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_HXBDevice.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_IT.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_KOPP_FC.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_MAX.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_MQTT_BRIDGE.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_MQTT_DEVICE.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_MYSENSORS_DEVICE.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_OWServer.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_RESIDENTS.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_SOMFY.pm
2015-03-18 10:46:49 Global global UPD FHEM/10_ZWave.pm
2015-03-18 10:46:50 Global global UPD FHEM/11_FHT8V.pm
2015-03-18 10:46:50 Global global UPD FHEM/11_OWDevice.pm
2015-03-18 10:46:50 Global global UPD FHEM/14_CUL_MAX.pm
2015-03-18 10:46:50 Global global UPD FHEM/14_CUL_TCM97001.pm
2015-03-18 10:46:50 Global global UPD FHEM/17_EGPM2LAN.pm
2015-03-18 10:46:50 Global global UPD FHEM/20_FRM_ROTENC.pm
2015-03-18 10:46:50 Global global UPD FHEM/20_GUEST.pm
2015-03-18 10:46:50 Global global UPD FHEM/20_ROOMMATE.pm
2015-03-18 10:46:50 Global global UPD FHEM/21_OWCOUNT.pm
2015-03-18 10:46:50 Global global UPD FHEM/21_OWTHERM.pm
2015-03-18 10:46:50 Global global UPD FHEM/21_SONOSPLAYER.pm
2015-03-18 10:46:52 Global global UPD FHEM/23_KOSTALPIKO.pm
2015-03-18 10:46:52 Global global UPD FHEM/23_LUXTRONIK2.pm
2015-03-18 10:46:52 Global global UPD FHEM/30_HUEBridge.pm
2015-03-18 10:46:52 Global global UPD FHEM/30_LIGHTIFY.pm
2015-03-18 10:46:52 Global global UPD FHEM/30_MilightBridge.pm
2015-03-18 10:46:53 Global global UPD FHEM/31_HUEDevice.pm
2015-03-18 10:46:53 Global global UPD FHEM/31_LightScene.pm
2015-03-18 10:46:53 Global global UPD FHEM/31_MilightDevice.pm
2015-03-18 10:46:53 Global global UPD FHEM/32_SYSSTAT.pm
2015-03-18 10:46:53 Global global UPD FHEM/32_mailcheck.pm
2015-03-18 10:46:53 Global global UPD FHEM/32_withings.pm
2015-03-18 10:46:53 Global global UPD FHEM/33_readingsGroup.pm
2015-03-18 10:46:53 Global global UPD FHEM/33_readingsHistory.pm
2015-03-18 10:46:53 Global global UPD FHEM/33_readingsProxy.pm
2015-03-18 10:46:53 Global global UPD FHEM/34_SWAP.pm
2015-03-18 10:46:53 Global global UPD FHEM/34_panStamp.pm
2015-03-18 10:46:57 Global global http://fhem.de/fhemupdate/FHEM/34_panStamp.pm: Can't connect(1) to http://fhem.de:80: IO::Socket::INET: connect: timeout


Wie bringe ich das wieder zu laufen? vielen Dank!
FHEM 5.6 auf Raspi (Debian Wheezy)

Homematic HMLAN
4 x HM-ES-PMSw1-Pl / HM-WDS40-TH-I-2 / HM-SEC-SCo
LUXTRONIK2 / SolarView

bsl02

Hallo,

auf dem RPi kann ein Update schon einmal länger dauern, je nachdem wie lange das letzte Update her ist.
Dein Problem scheint aber woanders zu liegen:
Zitat2015-03-18 10:46:57 Global global http://fhem.de/fhemupdate/FHEM/34_panStamp.pm: Can't connect(1) to http://fhem.de:80: IO::Socket::INET: connect: timeout

Du könntest folgendes versuchen, siehe dort:
Zitathttp://forum.fhem.de/index.php/topic,33155.msg255133.html#msg255133

Gruß und Erfolg,
Stefan
RPi3 (FHEM) / CUL V3 868 (FS20) / nanoCUL868 (HM) / RFXtrx433 (IT & ELRO) / MAX!Cube (Thermostate, Fenster) / Bluetooth (presence Handy) / Sonoff mit Tasmota // Audio: RPi3 mit "max2play"-Image (Squeezeserver+Player) / Video: Synology-NAS mit TVheadend, Triax TSS400 Sat-IP Converter

betateilchen

oder einfach so lange probieren, bis das update durchläuft...
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

suero

#3
Hallo,
auch bei mir startet FHEM nach einen Update nicht mehr.
Ist vollständig durchgelaufen.
Läuft auf OSX 10.10.2
Scheint Probleme mit Perl zu geben ....

Habe vom TimeCapsule eine Rücksicherung des Ordners fhem vorgenommen.
Damit ging es wieder.
Nicht funktioniert hat das Rücksichern aus dem Ordner restoreDir.


GG33

Ich komme igendwie nicht weiter.
Ich habe jetzt die Berechtigungen für die Logfiles angepasst, diese Fehlermeldungen sind nun auch weg. Aber FHEM läuft immer noch nicht wieder.
Hier das Logfile nach einem Start
2015.03.18 22:34:45 1: Including fhem.cfg
2015.03.18 22:34:46 3: telnetPort: port 7072 opened
2015.03.18 22:34:47 3: WEB: port 8083 opened
2015.03.18 22:34:47 3: WEBphone: port 8084 opened
2015.03.18 22:34:47 3: WEBtablet: port 8085 opened
2015.03.18 22:34:47 2: eventTypes: loaded 170 events from ./log/eventTypes.txt
2015.03.18 22:34:50 2: PVGG33 will read from solarview at 192.168.0.17:15000 every 60 seconds
2015.03.18 22:34:50 2: E350 will read from solarview at 192.168.0.17:15000 every 60 seconds
2015.03.18 22:34:51 3: [wt_Stromtarif] invalid device, <Stromtarif> not found
2015.03.18 22:34:51 1: Including ./log/fhem.save
2015.03.18 22:34:51 1: usb create starting
2015.03.18 22:34:53 3: Probing CUL device /dev/ttyAMA0
2015.03.18 22:34:53 3: Probing TCM_ESP3 device /dev/ttyAMA0
2015.03.18 22:34:53 3: Probing FRM device /dev/ttyAMA0
2015.03.18 22:34:59 1: usb create end
2015.03.18 22:34:59 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.03.18 22:34:59 0: Server started with 23 defined entities (version $Id: fhem.pl 8207 2015-03-14 13:01:30Z rudolfkoenig $, os linux, user pi, pid 2222)
2015.03.18 22:34:59 2: LUXTRONIK2 Heizung: UpdateDone.972 Alert: Host uses untested Firmware 'V1.73'. Please inform FHEM comunity about compatibility.


Sobald ich aber FHEM über den Browser aufrufe erscheint im Terminal folgende Meldung
Undefined subroutine &main::TcpServer_WriteBlocking called at ./FHEM/01_FHEMWEB.pm line 1533.
FHEM 5.6 auf Raspi (Debian Wheezy)

Homematic HMLAN
4 x HM-ES-PMSw1-Pl / HM-WDS40-TH-I-2 / HM-SEC-SCo
LUXTRONIK2 / SolarView

GG33

#5
Hallo, ich habe jetzt auf meinem Rapberry Pi alles neu aufgesetzt.
zuerst das Raspian, dann alle updates.
und danach fhem mit diesem skript von betateilchen
//[code]http://forum.fhem.de/index.php/topic,15848.msg103268.html#msg103268[/code]

das FHEM hat dann einmalig gestartet. nach "shutdown restart" geht nichts mehr und die Datei in fehm in /etc/init.d ist nicht vorhanden. ich weiss echt nicht mehr weiter....
FHEM 5.6 auf Raspi (Debian Wheezy)

Homematic HMLAN
4 x HM-ES-PMSw1-Pl / HM-WDS40-TH-I-2 / HM-SEC-SCo
LUXTRONIK2 / SolarView

GG33

Hilfe! ;-()

Also nun habe ich nochmals alles neu aufgesetzt, jetzt nach dieser Metode: https://debian.fhem.de/

Läuft so weit, aber das Problem beim Update bleit das selbe! Was kann ich noch machen? habe jetzt schon sicher 10 mal versucht.
Events (global only):
2015-03-22 10:11:23 Global global UPD ./CHANGED
2015-03-22 10:11:23 Global global UPD ./configDB.pm
2015-03-22 10:11:27 Global global http://fhem.de/fhemupdate/./configDB.pm: Can't connect(1) to http://fhem.de:80: IO::Socket::INET: connect: timeout
FHEM 5.6 auf Raspi (Debian Wheezy)

Homematic HMLAN
4 x HM-ES-PMSw1-Pl / HM-WDS40-TH-I-2 / HM-SEC-SCo
LUXTRONIK2 / SolarView

bsl02

#7
Hallo,

Was ich schon einmal hatte waren lose sitzende USB-Kontakte zu Transceiver-Kabeln (RFXtrx); die ließen das System nicht richtig booten.
Das scheint aber bei Dir nicht der Fall zu sein - wenn das System vor dem Update einwandfrei läuft.

Fragen am Rande; eine wirkliche Idee fehlt mir zu Deinem Problem:

  • Schon probiert, mit der Demo-Config zu starten und die Updates durchzuführen? (siehe meinen Link)
  • Welche Geräte sind am RPi angeschlossen (RFXtrx, CUL866/433, ...)? Notiz: Diese Infos werden gern auch in die Forum-Signatur dargestellt (Forum Profil > Signatur)
  • Ist der Raspberry Pi evtl. per WLan angebunden?
  • Schon einmal mit einer anderen Speicherkarte auf dem RPi versucht?

Gruß und Erfolg,
Stefan

/Edit: Habe gerade einmal testweise auf einem frischen System FHEM instaliert (Odroid U3 mit Max2Play-Image, http://www.max2play.com/), 
"Update" durchgeführt und ähnliche Probleme:
Zitat
...
2015-03-24 01:05:47 Global global UPD www/images/fhemSVG/sani_heating_level_0.svg
2015-03-24 01:05:47 Global global UPD www/images/fhemSVG/sani_heating_level_10.svg
2015-03-24 01:05:48 Global global UPD www/images/fhemSVG/sani_heating_level_100.svg
2015-03-24 01:05:48 Global global http://fhem.de/fhemupdate/www/images/fhemSVG/sani_heating_level_100.svg: Can't connect(1) to http://fhem.de:80: IO::Socket::INET: connect: Connection refused

/Edit-2:
Wiederholt "update" ausführen könnte helfen:
Zitat...
2015-03-24 01:15:53 Global global UPD www/pgm2/smallscreenstyle.css
2015-03-24 01:15:53 Global global UPD www/pgm2/svg.js
2015-03-24 01:15:53 Global global UPD www/pgm2/svg_style.css
2015-03-24 01:15:53 Global global
2015-03-24 01:15:53 Global global update finished, "shutdown restart" is needed to activate the changes.
2015-03-24 01:15:53 Global global
2015-03-24 01:15:53 Global global Please consider using the global attribute sendStatistics

"update check" anschließend:
Zitatnothing to do...

jetzt natürlich noch "shutdown restart" ;-)
RPi3 (FHEM) / CUL V3 868 (FS20) / nanoCUL868 (HM) / RFXtrx433 (IT & ELRO) / MAX!Cube (Thermostate, Fenster) / Bluetooth (presence Handy) / Sonoff mit Tasmota // Audio: RPi3 mit "max2play"-Image (Squeezeserver+Player) / Video: Synology-NAS mit TVheadend, Triax TSS400 Sat-IP Converter

GG33

Hallo zusammen, ich habe das ganze System auf dem Raspi nochmals neu aufgesetzt. Aber beim Update habe ich noch immer das selbe Problem:
Zitat.....Can't connect(1) to http://fhem.de:80: IO::Socket::INET: connect: timeout
Habe auch das Update schon mehrfach ausgeführt. Immer das selbe, aber nicht an der selben Stelle beim Update!?

Ich installiere FHEM so: (mache ich da etwas falsch?)
root passwort setzen -> sudo passwd
#über Konsole als root anmelden
----------------
sudo apt-get install apt-transport-https

wget --no-check-certificate -qO - https://debian.fhem.de/archive.key | apt-key add -

/etc/apt/sources.list ergänzen: deb https://debian.fhem.de/stable ./ -> sudo nano /etc/apt/sources.list
#Speichern können wir diese Änderung in dem Editor nano mittels STRG + X, Y und Enter.

echo 'Acquire::https::debian.fhem.de::Verify-Peer "false";' > /etc/apt/apt.conf.d/30nohttps

apt-get update

apt-get install fhem
FHEM 5.6 auf Raspi (Debian Wheezy)

Homematic HMLAN
4 x HM-ES-PMSw1-Pl / HM-WDS40-TH-I-2 / HM-SEC-SCo
LUXTRONIK2 / SolarView