FHEM Forum

FHEM => Sonstiges => Thema gestartet von: Rohan am 02 April 2013, 22:00:35

Titel: "fheminfo send" nach ""update" und "shutdown restart" vom 01.04.13
Beitrag von: Rohan am 02 April 2013, 22:00:35
Hi,

gestern, nach einem FHEM-Update, wollte ich, da ich zwischenzeitlich etwas an meinen FHEM-Devices umgestellt habe, die neuen Statistik-Daten an fhem.de senden. Es kam eine Fehlermeldung dabei herum, die besagte, dass ich dies an w_e_b_m_a_s_t_e_r_AT_f_h_e_m_._d_e schicken sollte.

=> Die hier verwendeten (URL-/)Mail-Adressdaten bitte um die "_" bereinigen (eingefügt zur Verfremdung).

Gesagt, getan, aber ich bekam die Mail-Server-Rückmeldung:


Action: failed
Status: 5.0.0
Remote-MTA: dns; m_x_0_0_._k_u_n_d_e_n_s_e_r_v_e_r_._d_e
Diagnostic-Code: smtp; 550 <w_e_b_m_a_s_t_e_r_AT_f_h_e_m_._d_e>: invalid address


Die Mail, die ich verschicken wollte, hatte übrigens folgenden Inhalt:


... folgende Ausgabe (Update mit shutdown restart + <Enter> kurz vorher
gemacht) ...

Anmerkung (wegen der Meldung unten): Ich habe heute meinen zweiten
HM-LC-SW1-PL2 in Betrieb genommen:

"Fhem info:
  Release  : 5.3
  Branch   : DEVELOPMENT
  OS       : linux
  Arch     : armv7l-linux-thread-multi
  Perl     : v5.16.0
  uniqueID : xyzxyz

Defined modules:
  CUL        : 1
  ...
  SYSSTAT    : 1
  at         : 10
  autocreate : 1
  dummy      : 2
  notify     : 6
  telnet     : 1
  weblink    : 19

Defined models per module:
  CUL_HM     :
HM-CC-TC,HM-CC-VD,HM-LC-Dim1PWM-CV,HM-LC-SW1-FM,HM-LC-SW1-PL,HM-LC-SW1-PL2,HM-LC-Sw1PBU-FM,HM-PBI-4-FM,HM-SEC-SC,HM-SEC-WDS,HM-WDS10-TH-O,HM-WDS40-TH-I

Transmitting this information during an update:
  1 (Note: You can change this via the global attribute sendStatistics)

server response: <h1>Software error:</h1>
<pre>DBD::SQLite::db prepare failed: duplicate column name:
HM-LC-SW1-PL2 [for Statement "ALTER TABLE models ADD COLUMN
'HM-LC-SW1-PL2' INTEGER DEFAULT 0"] at
/k_u_n_d_e_n/h_o_m_e_p_a_g_e_s/3_2/XyZXyZXyZ/htdocs/fhem/stats/statistics.cgi line 669.
</pre>
<p>
For help, please send mail to the webmaster (<a
href="mailto:w_e_b_m_a_s_t_e_r_AT_f_h_e_m_._d_e">w_e_b_m_a_s_t_e_r_AT_f_h_e_m_._d_e</a>), giving this
error message
and the time and date of the error.

</p>
<!-- warning: DBD::SQLite::db prepare failed: duplicate column name:
HM�LC�SW1�PL2 [for Statement "ALTER TABLE models ADD COLUMN
'HM�LC�SW1�PL2' INTEGER DEFAULT 0"] at
/k_u_n_d_e_n/h_o_m_e_p_a_g_e_s/3_2/XyZXyZXyZ/htdocs/fhem/stats/statistics.cgi line
669. -->"


Wäre schön/nett, wenn dies bereinigt werden könnte. Hebt die Bereitschaft, seine Statistik zur Verfügung zustellen ;)

Oder: Was mache ich falsch?

Gruß
Thomas

Titel: Aw: "fheminfo send" nach ""update" und "shutdown restart" vom 01.04.13
Beitrag von: jhohn am 03 April 2013, 19:03:40
gleiches Problem bei mir gerade eben.
Ich habe kurz vor dem update meinen ersten HM-LC-Sw1-Pl-2 in Betrieb genommen.
Titel: Aw: "fheminfo send" nach ""update" und "shutdown restart" vom 01.04.13
Beitrag von: Rince am 17 Juni 2013, 08:10:57
Das Problem habe ich wohl auch.
ZitatDefined models per module: CUL_HM

PL2,HM-LC-Sw1PBU-FM,HM-PB-2-WM55,HM-RC-4-B,HM-SEC-MDIR,HM-SEC-SD,HM-Sen-MDIR-O

Transmitting this information during an update: onUpdate (Note: You can change this via the global attribute sendStatistics)

server response: <h1>Software error:</h1> <pre>DBD::SQLite::db prepare failed: duplicate column name: HM-LC-SW1-PL2 [for Statement "ALTER TABLE models ADD COLUMN 'HM-LC-SW1-PL2' INTEGER DEFAULT 0"] at /kunden/homepages/32/d84458703/htdocs/fhem/stats/statistics.cgi line 708. </pre> <p>


Ich würde gerne die Statistik unterstützen :-)
Titel: Aw: "fheminfo send" nach ""update" und "shutdown restart" vom 01.04.13
Beitrag von: rudolfkoenig am 17 Juni 2013, 15:52:52
Da Martin als Autor sich nicht gemeldet hat, habe ich es versucht zu fixen.
Koennt Ihr bitte probieren, ob ich es richtig gemacht habe?
Titel: Aw: "fheminfo send" nach ""update" und "shutdown restart" vom 01.04.13
Beitrag von: Rince am 17 Juni 2013, 17:28:31
Sieht gut aus.
Server response ==> ok
Titel: Aw: "fheminfo send" nach ""update" und "shutdown restart" vom 01.04.13
Beitrag von: Rohan am 17 Juni 2013, 17:47:48
Hallo Rudolf,

1. Versuch: "server response: 500 Internal Server Error"

Kann ja mal vorkommen, also gleich nochmal:

2. Versuch: "server response: ==> ok"

Danke.

Gruß
Thomas