Update erfolgt nicht, steht bei "Events:"

Begonnen von Meins, 27 August 2014, 17:28:12

Vorheriges Thema - Nächstes Thema

Meins

Hallo zusammen,

ich habe das Problem, dass FHEM auf meinem Raspi kein Update mehr macht. Gesucht habe ich hier im Forum und in einer großen Suchmaschine aber leider keine Lösung gefunden....

Das letzte Update erfolgte am 08.08.2014 um 10:54 Uhr, das lief ohne Probleme durch.

Update Check -> funktioniert, neue Dateien werden angezeigt

Update -> es erscheint lediglich "Events:" mehr passiert nicht.
Update force-> s.o.

In der LOG steht folgendes:

2014.08.27 17:04:48 3: Update get http://fhem.de/fhemupdate4/svn/controls_fhem.txt

Am 18.08.2014 stand das gleiche in der Log und es passierte auch nichts...


Sonst läuft alles einwandfrei, aber ich weiß nicht weiter. Den Raspi habe ich auch schon gecheckt, aber da scheint alles ok zu sein.
Neustarts von FHEM oder dem Raspi haben auch nicht geholfen  :(
Da ich bisher wenig mit FHEM oder dem Raspi gemacht habe, weiß ich nicht weiter.

Kann mir jemand weiterhelfen?

Ich kann erst morgen antworten, da ich nun erst einmal nicht am Rechner sitze.

Danke schon einmal für Vorschläge!

Gruß
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

rudolfkoenig

Update habe ich neu geschrieben, siehe
  http://forum.fhem.de/index.php/topic,26311.0.html
  http://forum.fhem.de/index.php/topic,26329.0.html

Da dein letzter Update am 8.8 erfolgt ist, verwendest du noch das alte Modul, das neue koenntest du hier direkt herunterladen:
http://sourceforge.net/p/fhem/code/HEAD/tree/trunk/fhem/FHEM/98_update.pm?format=raw
und damit erneut testen. Es wuerde mich freuen, wenn ich das alte Modul nicht weiter debuggen muesste.


Meins

Danke Dir für die Antwort!

Ich werde es heute Abend oder morgen Früh mal mit dem neuen Modul testen und Dir eine Rückmeldung geben.
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

Meins

Hallo Rudolf!

So, nach fast einer Stunde habe ich es geschafft das Update zu machen....

Ich habe die Update.pm von deinem Link per WINSCP als root- user übertragen.
nach einem "shutdown restart" habe ich "update check" gemacht und die "update.pm" stand immer noch als neu zu ladende Datei drin.
Ein "update" endete wieder wie am Anfang..... "Events:" :(

Also nochmal per WINSCP die Datei kopiert....
Wieder nichts....
Im Netz gesucht, ob ich was falsch mache beim kopieren, war aber nicht so.

Ein "update force" hat es nun aber getan! ;)


2014.08.28 23:09:14 1: update finished, "shutdown restart" is needed to activate the changes.
2014.08.28 23:21:26 0: Server shutdown


Danke nochmal für die Hilfe!!!

Gruß
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

Meins

#4
Also irgendwas stimmt da glaube ich immer noch nicht....

es funktioniert nur Update force.......

Was kann ich noch tun?

Letztes Update am 31.08.2014 mit update force durchgeführt.

ein Update check ergibt folgendes:

List of new / modified files since last update:
UPD ./CHANGED
UPD ./configDB.pm
UPD ./fhem.pl
UPD FHEM/00_CUL.pm
UPD FHEM/00_TCM.pm
UPD FHEM/01_FHEMWEB.pm
UPD FHEM/02_RSS.pm
UPD FHEM/10_CUL_HM.pm
UPD FHEM/10_EnOcean.pm
UPD FHEM/10_MAX.pm
UPD FHEM/10_OWServer.pm
UPD FHEM/10_UNIRoll.pm
UPD FHEM/14_CUL_TX.pm
UPD FHEM/31_HUEDevice.pm
UPD FHEM/35_SWAP_0000002200000003.pm
UPD FHEM/36_EC3000.pm
UPD FHEM/36_EMT7110.pm
UPD FHEM/36_JeeLink.pm
UPD FHEM/36_LaCrosse.pm
UPD FHEM/36_PCA301.pm
UPD FHEM/36_WMBUS.pm
UPD FHEM/38_netatmo.pm
UPD FHEM/42_SYSMON.pm
UPD FHEM/51_RPI_GPIO.pm
UPD FHEM/55_GDS.pm
UPD FHEM/57_Calendar.pm
UPD FHEM/66_ECMD.pm
UPD FHEM/67_ECMDDevice.pm
UPD FHEM/70_ENIGMA2.pm
UPD FHEM/71_YAMAHA_AVR.pm
UPD FHEM/72_FB_CALLMONITOR.pm
UPD FHEM/91_sequence.pm
UPD FHEM/98_CustomReadings.pm
UPD FHEM/98_DOIF.pm
UPD FHEM/98_HMinfo.pm
UPD FHEM/98_IF.pm
UPD FHEM/98_RandomTimer.pm
UPD FHEM/98_SVG.pm
UPD FHEM/98_THRESHOLD.pm
UPD FHEM/98_Text2Speech.pm
UPD FHEM/98_autocreate.pm
UPD FHEM/98_statistics.pm
UPD FHEM/98_telnet.pm
UPD FHEM/Blocking.pm
UPD FHEM/HMConfig.pm
UPD FHEM/WMBus.pm
UPD FHEM/firmware/JeeLink_LaCrosse.hex
UPD FHEM/firmware/JeeLink_PCA301.hex
UPD docs/commandref.html
UPD docs/commandref_DE.html
UPD www/gplot/hm-rt.gplot
UPD www/images/fhemSVG/light_exclamation.svg
UPD www/pgm2/fhemweb_multiple.js


Bei "update" steht wieder nur Events und es passiert nichts  :(
Im Log steht das:

2014.09.01 08:35:11 1: RMDIR: ./restoreDir/2014-08-28
2014.09.01 08:35:12 1: nothing to do...
2014.09.03 10:50:15 1: RMDIR: ./restoreDir/2014-08-29
2014.09.03 10:50:15 1: nothing to do...
2014.09.19 13:48:22 1: RMDIR: ./restoreDir/2014-08-31
2014.09.19 13:48:24 1: nothing to do...


Danke!
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

rudolfkoenig

Vielleicht hilft ein Blick in das fhem.log oder in die JavaScript Konsole.

Meins

#6
Hallo Rudolf,

das log habe ich wohl zeitgleich zu deiner Antwort oben hinzugefügt.

Javascript Konsole zeigt bei Update:

Console is opening

Gruß
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

rudolfkoenig

Welcher Browser?
Und den fhem.log haette ich gerne mit "attr global verbose 5" und update.

Meins

Ok, Chrome Version 37.0.2062.120 m

log:

2014.09.01 08:35:11 1: RMDIR: ./restoreDir/2014-08-28
2014.09.01 08:35:12 1: nothing to do...
2014.09.03 10:50:15 1: RMDIR: ./restoreDir/2014-08-29
2014.09.03 10:50:15 1: nothing to do...
2014.09.19 13:48:22 1: RMDIR: ./restoreDir/2014-08-31
2014.09.19 13:48:24 1: nothing to do...
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:49189 GET /fhem
2014.09.19 16:28:25 4: /fhem / RL:1049 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2014.09.19 16:28:25 4: Connection closed for FHEMWEB:87.139.206.232:53466
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:49189 GET /fhem/pgm2/style.css
2014.09.19 16:28:25 4: Connection accepted from FHEMWEB:87.139.206.232:51819
2014.09.19 16:28:25 4: Connection accepted from FHEMWEB:87.139.206.232:51821
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51819 GET /fhem/pgm2/svg.js
2014.09.19 16:28:25 4: Connection accepted from FHEMWEB:87.139.206.232:51822
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:49189 GET /fhem/pgm2/fhemweb_readingsHistory.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51821 GET /fhem/pgm2/fhemweb.js
2014.09.19 16:28:25 4: Connection accepted from FHEMWEB:87.139.206.232:51824
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51822 GET /fhem/pgm2/fhemweb_colorpicker.js
2014.09.19 16:28:25 4: Connection accepted from FHEMWEB:87.139.206.232:51827
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51824 GET /fhem/pgm2/fhemweb_multiple.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51819 GET /fhem/pgm2/darkCommon.css
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51827 GET /fhem/pgm2/fhemweb_noArg.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:49189 GET /fhem/pgm2/fhemweb_slider.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51821 GET /fhem/pgm2/fhemweb_svg.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51822 GET /fhem/pgm2/fhemweb_textField.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51824 GET /fhem/pgm2/fhemweb_time.js
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51819 GET /fhem/pgm2/dashboard_darkstyle.css
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51827 GET /fhem/images/default/icoEverything.png
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51819 GET /fhem/images/default/fhemicon_dark.png
2014.09.19 16:28:25 4: HTTP FHEMWEB:87.139.206.232:51819 GET /fhem?XHR=1&inform=type=status;filter=×tamp=1411136906974
2014.09.19 16:29:20 4: HTTP FHEMWEB:87.139.206.232:51827 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2014-09.log


Hab die Konsole nochmal im Firefox 32.0.2 auf gemacht, bei Update:

"Console is opening" fhemweb.js:14
Mutations-Ereignisse sollten nicht mehr verwendet werden. Verwenden Sie MutationObserver stattdessen.


Hoffe das hilft?

Kann erst spät nochmal ins Forum schauen.

Danke erst einmal!!
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

rudolfkoenig

Im log sollte als erstes sowas wie
Zitat2014.09.19 18:15:04 4: HTTP FHEMWEB:127.0.0.1:51666 GET /fhem&cmd=update
2014.09.19 18:15:04 5: Cmd: >update<
stehen, sonst hast du kein update ausgefuehrt.

Meins

#10
Das ist ja das Problem  ;)

Wenn ich Update check eingebe, werden die neuen Dateien angezeigt, bei Update springt die Seite auf "Events:" und es passiert nichts weiter.

Ich habe es die letzten Male dann mit Update force gemacht und dann ist alles durchgelaufen.....

Den log von August bekomme ich hiere nicht rein, damit sprenge ich den Beitrag.....

An nem Firefox 31 steht folgendes bei Update:

"Connecting..." fhemweb.js:14
"Longpoll: "
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+

Puschel74

Hallo,

leider kann ich nicht direkt weiter helfen ausser ...

grad an meinem Cubietruck und einem meiner FHEM-RasPi ein update gemacht und das lief einwandfrei durch.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

rudolfkoenig

Ich formuliere mal anders. Die von mir gezeigten Meldungen in FHEM-Log sind so grundlegend, dass wenn diese bei einem update und attr global verbose 5 nicht erscheinen, dann duerfte bei dir nichts funktionieren: kein Schalten, kein Attribut setzen, kein save, etc. "Update check" erst recht nicht.

Meins

#13
Hm, echt komisch....
Verstehe es auch nicht....

Was könnte ich noch listen, damit du einen Anhaltspunkt bekommst? Ist vielleicht die Update Datei nicht in Ordnung? Hatte Sie ja damals manuell installiert.

Sonst werde ich wohl mal alles komplett neu aufsetzen müssen denke ich...

Hier mal der log von gestern Abend:


(...)
2014.09.19 22:35:01 4: HTTP FHEMWEB:192.168.xxx.xxx:55387 GET /fhem&cmd=update
2014.09.19 22:35:01 5: Cmd: >update<
2014.09.19 22:35:01 4: /fhem&cmd=update / RL:932 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2014.09.19 22:35:02 4: HTTP FHEMWEB:192.168.xxx.xxx:55387 GET /fhem?XHR=1&inform=type=raw;filter=.*×tamp=1411158905073
2014.09.19 22:35:03 4: HttpUtils url=http://fhem.de/fhemupdate/controls_fhem.txt
2014.09.19 22:35:03 4: http://fhem.de/fhemupdate/controls_fhem.txt: HTTP response code 200
2014.09.19 22:35:03 4: HttpUtils http://fhem.de/fhemupdate/controls_fhem.txt: Got data, length: 86665
2014.09.19 22:35:16 4: Connection closed for FHEMWEB:192.168.xxx.xxx:55387
2014.09.19 22:35:16 4: Connection accepted from FHEMWEB:192.168.xxx.xxx:55388
2014.09.19 22:35:16 4: HTTP FHEMWEB:192.168.xxx.xxx:55388 GET /fhem&cmd=shutdown+restart
2014.09.19 22:35:16 5: Cmd: >shutdown restart<
2014.09.19 22:35:16 5: Triggering global (1 changes)
2014.09.19 22:35:16 5: Notify loop for global SHUTDOWN
2014.09.19 22:35:16 0: Server shutdown
2014.09.19 22:35:16 5: SW: X00
2014.09.19 22:35:21 1: Including fhem.cfg
2014.09.19 22:35:21 3: telnetPort: port 7072 opened
2014.09.19 22:35:23 3: WEB: port 8083 opened
2014.09.19 22:35:23 3: WEBphone: port 8084 opened
2014.09.19 22:35:23 3: WEBtablet: port 8085 opened
2014.09.19 22:35:23 2: eventTypes: loaded 16 events from ./log/eventTypes.txt
2014.09.19 22:35:24 3: Opening CUL_0 device /dev/ttyACM0
2014.09.19 22:35:25 3: Setting CUL_0 baudrate to 9600
2014.09.19 22:35:25 3: CUL_0 device opened
2014.09.19 22:35:25 3: CUL_0: Possible commands: BCFiAZEGMKRTVWXefmltux
2014.09.19 22:35:25 1: Including ./log/fhem.save
2014.09.19 22:35:26 1: usb create starting
2014.09.19 22:35:28 3: Probing CUL device /dev/ttyAMA0
2014.09.19 22:35:28 3: Probing TCM_ESP3 device /dev/ttyAMA0
2014.09.19 22:35:29 3: Probing FRM device /dev/ttyAMA0
2014.09.19 22:35:34 1: usb create end
2014.09.19 22:35:34 2: SecurityCheck:  WEB,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.
2014.09.19 22:35:34 0: Server started with 19 defined entities (version $Id: fhem.pl 6425 2014-08-19 20:55:00Z rudolfkoenig $, os linux, user fhem, pid 25937)
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.
Can't use an undefined value as a symbol reference at FHEM/Blocking.pm line 131.


Die "Can`t use an...." Zeile kommt mit jedem "Update" hab es nochmal probiert und jetzt steht es sieben mal im log.
FHEM 5.8 auf RasPI 3 mit CUL 868MHz
RaspberryMAtic auf Raspi B+