Hauptmenü

Kein Update möglich

Begonnen von Tueftler1983, 19 März 2018, 10:11:44

Vorheriges Thema - Nächstes Thema

Frank_Huber

Zitat von: Tueftler1983 am 19 März 2018, 19:40:25
ja habe wirklich ein altes beckup komplett eingespielt. mit einer originalen fhem.cfg wo noch nix drin steht.
das läuft jetzt mache ich ein update und danach will ich meine fhem.cfg wieder einspielen.

Owserver habe ich nicht installiert
OK, dann ist der owserver raus.

Wenn du deine cfg wieder reinnimmst und es kracht, dann deaktiviere erstmal alle deine Geräte und aktiviere nach und nach bis du den a huldigen hast.

Mit dem Handy online, daher kurz gefasst...


Tueftler1983

#31
also mit einer originalen fhem.cfg startet fhem und man kann drauf zugreifen.

Mit meiner cfg startet fhem auch und wenn ich drauf zugreifen will kommt erst noch der Sicherheitshinweis das das Zertifikat nicht sicher ist und wenn ich dann auf "trotzdem weriter zu https://192.168.2.172:8083/fhem klicke hängt sich fhem auf und es kommt die meldung seite nicht erreichbar.

hier noch ein Log auszug vom start bis absturz:

2018.03.19 19:46:33 3: UWZ Unwetter: Run.1043 Done fetching data
2018.03.19 19:49:23 1: Including fhem.cfg
2018.03.19 19:49:23 3: telnetPort: port 7072 opened
2018.03.19 19:49:23 3: WEB: port 8083 opened
2018.03.19 19:49:23 3: WEBphone: port 8084 opened
2018.03.19 19:49:23 3: WEBtablet: port 8085 opened
2018.03.19 19:49:23 2: eventTypes: loaded 2702 events from ./log/eventTypes.txt
2018.03.19 19:49:24 3: WEBgast: port 8091 opened
2018.03.19 19:49:25 3: Opening Funken device 127.0.0.1:5000
2018.03.19 19:49:25 3: Funken device opened
2018.03.19 19:49:26 3: Pool: Defined with URL http://192.168.2.90/p2? and interval 60
2018.03.19 19:49:26 3: Pool_Pumpe: Defined with URL http://192.168.2.90/p0? and interval 15

2018.03.19 19:49:26 3: Carport: Defined with URL http://192.168.2.90/p4? and interval 15
2018.03.19 19:49:26 3: TelegramBot_Define FHEMBOT: called
2018.03.19 19:49:27 3: [STV] You are using a deprecated MAC detection mechanism using ifconfig.
2018.03.19 19:49:27 3: [STV] Please install Pearl Modules libnet-address-ip-local-perl and libio-interface-perl
2018.03.19 19:49:27 2: FRITZBOX FritzBox: Define.254 Modul functionality limited because of missing perl modules: Net::Telnet
2018.03.19 19:49:28 2: ESPEasy espBridge: Opening bridge port tcp/8383 (v1.38)
2018.03.19 19:49:28 3: espBridge: port 8383 opened
2018.03.19 19:49:28 3: AMADCommBridge (AMADbridge) - defined AMADCommBridge with Socketport 8190
2018.03.19 19:49:28 3: AMADbridge: port 8190 opened
2018.03.19 19:49:28 3: AMADCommBridge (AMADbridge) - Socket opened.
2018.03.19 19:49:28 3: WARNING: HolgerS5 attribute ping_count was renamed to pingCount
2018.03.19 19:49:28 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet/:
2018.03.19 19:49:28 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2018.03.19 19:49:29 1: PERL WARNING: Prototype mismatch: sub main::DISCOVERGY_Get ($@) vs ($$@) at ./FHEM/70_DISCOVERGY.pm line 191, <$fh> line 921.
2018.03.19 19:49:29 3: Discovergy: Defined with URL https://my.discovergy.com/json/Api.getLive?meterId=EASYMETER_60668641&user=holgerfranzke@gmx.net&password=&numOfSeconds=1 and interval 30
2018.03.19 19:49:29 3: Discovergy2: Defined with URL https://my.discovergy.com/json/Api.getYear?meterId=EASYMETER_60668641&user=holgerfranzke@gmx.net&password=&year=2018 and interval 40
2018.03.19 19:49:29 3: HourCounter HourCounter Initialize.220 Init Done with Version 1.0.1.2 - 24.12.2014
2018.03.19 19:49:29 0: HourCounter c_Heizung Define.228 parameters: c_Heizung HourCounter Heizungstatus text:on Heizungstatus text:offÂ
2018.03.19 19:49:29 3: AMADDevice (TabletWohnzimmer) - I/O device is AMADbridge
2018.03.19 19:49:29 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_AMADDevice.pm line 203, <$fh> line 1102.
2018.03.19 19:49:29 3: AMADDevice (TabletWohnzimmer) - defined with AMAD_ID: 1513378952374 on port
2018.03.19 19:49:29 3: AMADDevice (HolgerDooge) - I/O device is AMADbridge
2018.03.19 19:49:29 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_AMADDevice.pm line 203, <$fh> line 1116.
2018.03.19 19:49:29 3: AMADDevice (HolgerDooge) - defined with AMAD_ID: 1514365744296 on port
2018.03.19 19:49:29 3: AMADDevice (Lea_Tablet) - I/O device is AMADbridge
2018.03.19 19:49:29 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_AMADDevice.pm line 203, <$fh> line 1118.
2018.03.19 19:49:29 3: AMADDevice (Lea_Tablet) - defined with AMAD_ID: 1514555365802 on port
2018.03.19 19:49:29 1: PERL WARNING: Useless use of numeric eq (==) in void context at ./FHEM/74_StreamRadio.pm line 112, <$fh> line 1146.
2018.03.19 19:49:29 3: TABLETUI2: new ext defined infix:ftui2/: dir:./www/tablet2/:
2018.03.19 19:49:29 3: Registering HTTPSRV TABLETUI2 for URL /ftui2   and assigned link ftui2/ ...
2018.03.19 19:49:29 1: PERL WARNING: TASMOTA::DEVICE::Expand() called too early to check prototype at ./FHEM/10_TASMOTA_DEVICE.pm line 279, <$fh> line 1173.
2018.03.19 19:49:29 1: PERL WARNING: TASMOTA::DEVICE::Expand() called too early to check prototype at ./FHEM/10_TASMOTA_DEVICE.pm line 285, <$fh> line 1173.
2018.03.19 19:49:29 1: Including /media/usb/log/fhem.save
2018.03.19 19:49:30 3: No I/O device found for SonoffRF
2018.03.19 19:49:30 3: Opening Moskito device 192.168.2.172:1883
2018.03.19 19:49:30 3: Moskito device opened
2018.03.19 19:49:30 1: usb create starting
2018.03.19 19:49:30 3: Probing CUL device /dev/ttyAMA0
2018.03.19 19:49:30 3: Probing TCM_ESP3 device /dev/ttyAMA0
2018.03.19 19:49:31 3: Probing ZWDongle device /dev/ttyAMA0
2018.03.19 19:49:31 3: Probing FRM device /dev/ttyAMA0
2018.03.19 19:49:36 1: usb create end
2018.03.19 19:49:36 0: Featurelevel: 5.8
2018.03.19 19:49:36 0: Server started with 301 defined entities (fhem.pl:16442/2018-03-18 perl:5.020002 os:linux user:fhem pid:10309)
2018.03.19 19:49:36 1: PERL WARNING: Unrecognized escape \M passed through in regex; marked by <-- HERE in m/\M <-- HERE ontag/ at (eval 250) line 1.
2018.03.19 19:49:36 3: eval: { my $val = (ReadingsVal("$name","next_weekday","0"));  $val =~ s/\Montag/Mo/; $val =~ s/\Dienstag/Di/; $val =~ s/\Mittwoch/Mi/; $val =~ s/\Donnerstag/Do/; return $val;}
2018.03.19 19:49:36 1: PERL WARNING: Unrecognized escape \M passed through in regex; marked by <-- HERE in m/\M <-- HERE ittwoch/ at (eval 250) line 1.
2018.03.19 19:49:36 3: eval: { my $val = (ReadingsVal("$name","next_weekday","0"));  $val =~ s/\Montag/Mo/; $val =~ s/\Dienstag/Di/; $val =~ s/\Mittwoch/Mi/; $val =~ s/\Donnerstag/Do/; return $val;}
2018.03.19 19:49:37 3: DbLog logdb - Creating Push-Handle to database SQLite:dbname=/media/usb/log/fhem.db with user
2018.03.19 19:49:37 3: DbLog logdb - Push-Handle to db SQLite:dbname=/media/usb/log/fhem.db created
2018.03.19 19:49:37 1: PERL WARNING: Argument "" isn't numeric in numeric lt (<) at (eval 258) line 1.
2018.03.19 19:49:37 3: eval: di_Bodenfeuchte_Text: warning in condition c01
2018.03.19 19:49:37 1: 192.168.2.30:55000 reappeared (Wohnzimmer_TV)
2018.03.19 19:49:37 1: 192.168.2.173:9090 reappeared (Media2)
2018.03.19 19:49:37 3: ESPEasy: set ESP4_RGB rgb
2018.03.19 19:49:37 2: ESPEasy ESP4_RGB: Missing argument: 'set ESP4_RGB rgb '
2018.03.19 19:49:37 2: di_ESP4_RGB_REON: set  ESP4_RGB rgb : Missing argument: rgb needs at least 1 parameter(s)
Usage: 'set ESP4_RGB rgb <rrggbb> [fadetime] [delay +/-ms]'
2018.03.19 19:49:41 1: FHEMWEB SSL/HTTPS error:  SSL accept attempt failed error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number (peer: 192.168.2.172)
2018.03.19 19:49:41 3: UWZ Unwetter: Run.1043 Done fetching data
2018.03.19 19:49:41 1: PERL WARNING: Unrecognized escape \M passed through in regex; marked by <-- HERE in m/\M <-- HERE ontag/ at (eval 409) line 1.
2018.03.19 19:49:41 3: eval: { my $val = (ReadingsVal("$name","next_weekday","0"));  $val =~ s/\Montag/Mo/; $val =~ s/\Dienstag/Di/; $val =~ s/\Mittwoch/Mi/; $val =~ s/\Donnerstag/Do/; return $val;}
2018.03.19 19:49:41 1: PERL WARNING: Unrecognized escape \M passed through in regex; marked by <-- HERE in m/\M <-- HERE ittwoch/ at (eval 409) line 1.
2018.03.19 19:49:41 3: eval: { my $val = (ReadingsVal("$name","next_weekday","0"));  $val =~ s/\Montag/Mo/; $val =~ s/\Dienstag/Di/; $val =~ s/\Mittwoch/Mi/; $val =~ s/\Donnerstag/Do/; return $val;}
2018.03.19 19:49:44 0: HourCounter c_Heizung Run.598 first run done countsOverall:0
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/74_AMADDevice.pm line 380.
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/73_AMADCommBridge.pm line 290.
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/73_AMADCommBridge.pm line 291.
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in pattern match (m//) at FHEM/HttpUtils.pm line 116.
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at FHEM/HttpUtils.pm line 304.
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in pattern match (m//) at FHEM/HttpUtils.pm line 306.
2018.03.19 19:49:44 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at FHEM/HttpUtils.pm line 313.
Can't use an undefined value as a subroutine reference at FHEM/HttpUtils.pm line 869.

frank

ich würde mal stacktrace einschalten, um zu sehen, wer httputils_nonblockingget benutzt (zeile 869).
benutzt amad das vielleicht?
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html

Tueftler1983

Was ist stacktrace und wo kann ich das einschalten

CoolTux

AMAD benutzt httputils_nonblockingget
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Tueftler1983

kann ich die AMAD Device in der cfg auskommentieren wie es z.b. bei arduino im editor mit # davor möglich ist?? Oder muss ich das define Löschen??

CoolTux

Sicher die cfg.
Ich hoffe Du weißt was Du tust, dann kannst Du die Bridge und die Devices samt Attribute auskommentieren.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Tueftler1983

Die habe ich schon gesichert.

Weiß nur nicht was ich sonst noch machen kann, wie gesagt ist FHEM mittlerweile fast neu nur meine alte cfg ist drin und die lief bis gestern ja auch ohne Probleme außer das ich kein update machen konnte.

Tueftler1983

so habe alle 3 AMAD Device auskommentiert und was soll ich sagen.... FHEM läuft wieder.

Jetzt stellt sich nur die frage was ist da los das AMAD solche fehler verursacht??

Wernieman

Ist Euch folgendes aufgefallen:
Zitat2018.03.19 19:49:27 3: [STV] Please install Pearl Modules libnet-address-ip-local-perl and libio-interface-perl
Wenn in einem Logfile schon etwas von Fehlenden Perl-Modulen steht, sollte man diese nicht nachinstallieren?
apt-get install libnet-address-ip-local-perl libio-interface-perl
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

CoolTux

Ist mir gar nicht aufgefallen. Liegt wohl am kleinen Handybildschirm. Dann sollte man in der Tat das erstmal gerade ziehen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Wernieman

Wobei ich nicht glaiube, das es die Lösung, aber kleine Schritte führen auch zum Ziel...

Für den Threadersteller:
Kann bitte mal das "Gelöst" wieder entfernt werden?
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

nils_

@Tueftler1983:
editier mal bitte deine logauszüge!
deine passwörter solltest du rausnehmen, und DRINGEND ändern!!! (auch für alle anderen accounts)
viele Wege in FHEM es gibt!

Tueftler1983

Shit hatte nicht dran gedacht das die im Klartext da stehen... Jetzt erstmal Passwörter ändern. Das Pearl Modul werde ich jetzt noch installieren. Und dann mal schauen was passiert wenn ich AMAD wieder mit rein nehme.

frank

stacktrace schaltet man über "attr global stacktrace 1" an.
ich würde vor der wiederinbetriebnahme von amad erst einmal alle sonstigen fehlermeldungen bearbeiten.
FHEM: 6.0(SVN) => Pi3(buster)
IO: CUL433|CUL868|HMLAN|HMUSB2|HMUART
CUL_HM: CC-TC|CC-VD|SEC-SD|SEC-SC|SEC-RHS|Sw1PBU-FM|Sw1-FM|Dim1TPBU-FM|Dim1T-FM|ES-PMSw1-Pl
IT: ITZ500|ITT1500|ITR1500|GRR3500
WebUI [HMdeviceTools.js (hm.js)]: https://forum.fhem.de/index.php/topic,106959.0.html