Fhem nach Umzug nicht erreichbar

Begonnen von xeenon, 19 Juli 2023, 15:20:01

Vorheriges Thema - Nächstes Thema

xeenon

Hallo Zusammen,

Meine Fhem Instanz hat sich durch die Jahre von einem Testsystem zum Produktivsystem gemausert. Leider hat das dahinter liegende OS (Raspbian Buster) eine Becker. Es fehlen Abhängigkeiten, Paketmanager geht nicht mehr usw. usf.

Ich habe mich dazu entschlossen ein Backup von Fhem anzulegen und dieses auf ein frisches, aktualisiertes OS aufzuspielen.

Leider scheint irgendwo der Hund drinnen zu sein. Die frische Fhem Installation ist einwandfrei erreichbar. Spiele ich das Backup auf, ist Fhem nicht mehr erreichbar. Es steckt anscheinend in einer Art Bootloop fest.

Das Fhem-Log zeigt periodisch wiederholt den Start des Servers.

2023.07.19 08:44:03 1: Including fhem.cfg
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/00_SIGNALduino.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/10_FS10.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/10_SD_GT.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_FLAMINGO.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_Hideki.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_BELL.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_UT.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS07.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS09.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS_Maverick.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/41_OREGON.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:04 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/90_SIGNALduino_un.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.19 08:44:06 2: DbLog logdb - Subprocess >1382< initialized ... ready for non-blocking operation
2023.07.19 08:44:06 3: telnetPort: port 7072 opened
2023.07.19 08:44:06 3: WEB: port 8083 opened
2023.07.19 08:44:06 3: WEBphone: port 8084 opened
2023.07.19 08:44:06 3: WEBtablet: port 8085 opened
2023.07.19 08:44:07 2: eventTypes: loaded 9972 lines from /opt/fhem/log/eventTypes.txt
2023.07.19 08:44:07 3: Opening nanoCUL_868_HM device /dev/serial/by-path/platform-3f980000.usb-usb-0:1.2:1.0-port0
2023.07.19 08:44:07 3: Setting nanoCUL_868_HM serial parameters to 38400,8,N,1
2023.07.19 08:44:10 3: nanoCUL_868_HM: Possible commands: ABCEeFfGhiKklMmRTtUVWXxYZz
2023.07.19 08:44:10 3: nanoCUL_868_HM device opened
2023.07.19 08:44:10 2: Switched nanoCUL_868_HM rfmode to HomeMatic
2023.07.19 08:44:11 3: HUEGroup1: I/O device is Hue
2023.07.19 08:44:11 3: HUEGroup0: I/O device is Hue
2023.07.19 08:44:11 3: 10_HueGroup_Licht: I/O device is Hue
2023.07.19 08:44:11 3: AMADCommBridge (AMADBridge) - defined AMADCommBridge with Socketport 8090
2023.07.19 08:44:11 3: AMADBridge: port 8090 opened
2023.07.19 08:44:11 3: AMADCommBridge (AMADBridge) - Socket opened.
2023.07.19 08:44:12 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet/:
2023.07.19 08:44:12 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2023.07.19 08:44:12 3: myBroker: port 1883 opened
2023.07.19 08:44:12 3: Opening nanoCUL_868 device /dev/serial/by-path/platform-3f980000.usb-usb-0:1.4:1.0-port0
2023.07.19 08:44:12 3: Setting nanoCUL_868 serial parameters to 38400,8,N,1
2023.07.19 08:44:15 3: nanoCUL_868: Possible commands: ABCEeFfGiKklMNRTtUVWXxYZ
2023.07.19 08:44:15 3: nanoCUL_868 device opened
2023.07.19 08:44:15 3: AMADDevice (02_Tablet) - I/O device is AMADBridge
2023.07.19 08:44:15 3: AMADDevice (02_Tablet) - set remoteServer to Automagic
2023.07.19 08:44:15 3: AMADDevice (02_Tablet) - defined with AMAD_ID: 1573572046829 on port 8090
2023.07.19 08:44:15 3: AMADDevice (02_Tablet) - set remoteServer to Automagic
2023.07.19 08:44:15 1: reload: Error:Modul 88_HMCCU deactivated:
 Can't locate RPC/XML/Client.pm in @INC (you may need to install the RPC::XML::Client module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/arm-linux-gnueabihf/perl5/5.32 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl-base /usr/lib/arm-linux-gnueabihf/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 36, <$fh> line 366.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 36, <$fh> line 366.

2023.07.19 08:44:15 0: Can't locate RPC/XML/Client.pm in @INC (you may need to install the RPC::XML::Client module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/arm-linux-gnueabihf/perl5/5.32 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl-base /usr/lib/arm-linux-gnueabihf/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 36, <$fh> line 366.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 36, <$fh> line 366.

Undefined subroutine &main::HMCCU_FindIODevice called at ./FHEM/88_HMCCUDEV.pm line 136, <$fh> line 385.

Ich sehe zwar einige Dinge die nicht passen, oder fehlen (z.b. rpc Client) aber ich sehe keinen Grund warum Fhem nicht erreichbar ist.

Auch weiß ich nicht direkt wie ich mit dem Fehler umgehen soll:

ERROR: FHEM/00_SIGNALduino.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino

Wernieman

Löse bitte erstmal die fehlenden Abhängigkeiten
Hinweis: AM besten per Lib der Distri und NICHT per CPAN.

Ich denke er beendet sich wegen eines Fehlenden Perl-Moduls ...
- 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

xeenon

Hab's hinbekommen, danke.

Fürs nächste Mal, oder wenn jemand das gleiche Problem hat. Folgendes Paket musste ich nachinstallieren damit Fhem wieder lief:

librpc-xml-perl

Außerdem fehlte mir für logdb noch:

libdbd-mysql libdbd-mysql-perl


Nach einem Neustart habe ich noch diese Einträge. Da hab ich noch keine Lösung gefunden. Angeblich kann man's ignorieren. Merkwürdig ist nur, dass ich's vorher nicht hatte:

2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/00_SIGNALduino.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/10_FS10.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/10_SD_GT.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_FLAMINGO.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_Hideki.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_BELL.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_UT.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS07.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS09.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/14_SD_WS_Maverick.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/41_OREGON.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino
2023.07.20 17:45:59 1: FHEM::Meta::__GetUpdatedata: ERROR: FHEM/90_SIGNALduino_un.pm belongs to source repository "fhem". Ignoring identical file name from source repository signalduino


RalfRog

FHEM auf Raspi 2B mit nanoCUL, HM-MOD-RPI-PCB und über LAN MAX!Cube mit a-culFW (Stack 868 + 433)
HM- Fensterkontakte, UP-Schalter, Bewegungsmelder und ein Rauchmelder