[erledigt] FHEM startet nach Update nicht mehr

Begonnen von chunter1, 15 März 2022, 12:00:09

Vorheriges Thema - Nächstes Thema

chunter1

Nach einem FHEM "update" startet mein Server nicht mehr richtig.
Ich habe daraufhin testweise die fhem.cfg.demo gestartet und bekomme folgende Fehlermeldungen:
Zitatroot@raspberrypi:/opt/fhem# sudo perl fhem.pl fhem.cfg.demo
2022.03.15 11:56:01.898 1: Including fhem.cfg.demo
2022.03.15 11:56:01.946 1: reload: Error:Modul 98_telnet deactivated:
Bareword "Socket::IPV6_JOIN_GROUP" not allowed while "strict subs" in use at FHEM/TcpServerUtils.pm line 136, <$fh> line 16.
BEGIN not safe after errors--compilation aborted at FHEM/TcpServerUtils.pm line 535, <$fh> line 16.
Compilation failed in require at ./FHEM/98_telnet.pm line 10, <$fh> line 16.
BEGIN failed--compilation aborted at ./FHEM/98_telnet.pm line 10, <$fh> line 16.

2022.03.15 11:56:01.947 0: Bareword "Socket::IPV6_JOIN_GROUP" not allowed while "strict subs" in use at FHEM/TcpServerUtils.pm line 136, <$fh> line 16.
BEGIN not safe after errors--compilation aborted at FHEM/TcpServerUtils.pm line 535, <$fh> line 16.
Compilation failed in require at ./FHEM/98_telnet.pm line 10, <$fh> line 16.
BEGIN failed--compilation aborted at ./FHEM/98_telnet.pm line 10, <$fh> line 16.

2022.03.15 11:56:01.949 1: reload: Error:Modul 01_FHEMWEB deactivated:
Attempt to reload TcpServerUtils.pm aborted.
Compilation failed in require at ./FHEM/01_FHEMWEB.pm line 7, <$fh> line 18.
BEGIN failed--compilation aborted at ./FHEM/01_FHEMWEB.pm line 7, <$fh> line 18.

2022.03.15 11:56:01.949 0: Attempt to reload TcpServerUtils.pm aborted.
Compilation failed in require at ./FHEM/01_FHEMWEB.pm line 7, <$fh> line 18.
BEGIN failed--compilation aborted at ./FHEM/01_FHEMWEB.pm line 7, <$fh> line 18.

2022.03.15 11:56:02.196 2: eventTypes: loaded 109 lines from demolog/eventTypes.txt
2022.03.15 11:56:02.252 1: CUL_0 device is none, commands will be echoed only
2022.03.15 11:56:02.838 1: reload: Error:Modul 31_LightScene deactivated:
Global symbol "%FW_visibleDeviceHash" requires explicit package name at ./FHEM/31_LightScene.pm line 261, <$fh> line 524.

2022.03.15 11:56:02.838 0: Global symbol "%FW_visibleDeviceHash" requires explicit package name at ./FHEM/31_LightScene.pm line 261, <$fh> line 524.


Ich nehme an, dass das ursächliche Problem im Modul 98_telnet liegt?
Sieht hier jemand den Fehler und kann mir bitte helfen FHEM wieder zum Laufen zu bekommen?

Otto123

Hi,

2 Ideen:
1. Rechte verbogen deswegen jetzt irgendeinen gemischten Stand der FHEM Module
2. Dateisystem kaputt
Hast Du ein Backup?
Kannst Du die Rechte mal wieder herstellen?
sudo chown -R fhem: /opt/fhem

sieht so aus als startet die demo? Du kannst dann in der laufenden Demo nochmal ein update machen.

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

frank

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

Beta-User

Zitat von: frank am 15 März 2022, 13:02:05
oder die neue TcpServerUtils.pm?
wurde gestern updated: https://forum.fhem.de/index.php/topic,126290.msg1213370.html#msg1213370
Denkbar, allerdings laufen sowohl mein Test- wie das Produktivsystem mit dem update soweit stressfrei. Sind aber beide auf IP-V4.

@chunter1: Falls die von Otto123 genannten checks nichts liefern, wäre ggf. interessant, wie deine Umgebung (OS/Perl/IP-V6?) aussieht. Wenn die Infos da sind, kann ich gerne einen Link aus dem anderen Post hierher setzen.
Server: HP-elitedesk@Debian 12, aktuelles FHEM@ConfigDB | CUL_HM (VCCU) | MQTT2: ZigBee2mqtt, MiLight@ESP-GW, BT@OpenMQTTGw | ZWave | SIGNALduino | MapleCUN | RHASSPY
svn: u.a Weekday-&RandomTimer, Twilight,  div. attrTemplate-files, MySensors

chunter1

Vielen Dank für eure Hilfe!
Da das OS schon sehr alt ist (Wheezy) und ich schnell wieder zu einem lauffähigen System kommen musste, habe ich kurzerhand eine zweite SD-card mit aktuellem OS erstellt.
Bin grade bei der Installation von FHEM und hoffe, dass ich dann die alte, defekte Installation hinter mir lassen kann.
Ich denke, dass der Fehler mit dem uralten Wheezy zu tun hatte.