[Gelöst]Probleme beim backup upload via winscp

Begonnen von Kellerkind86, 21 Dezember 2020, 22:15:46

Vorheriges Thema - Nächstes Thema

Otto123

Hi,

mal in die manpage geschaut, das wäre doch die Option?
Zitat--exclude=PATTERN
exclude files, given as a PATTERN

Also sudo tar -zxvf backupdatei --exclude "./fhem.db" -C /opt/fhem/

Hinweis:  im normalen Backup von FHEM sind die Pfade relativ d.h ./
Vorher prüfen, dass es so ist - sonst muss der Dateiname geändert werden. Der muss so sein wie er im tar File drin steht!
tar -tvf backupdatei

Und BTW: winscp ist so nützlich wie ...! Windows hat schon lange ssh und damit scp on Board!

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

Kellerkind86

also, hab jetzt mal geschaut und gewartet..
wurde alles entpackt..sogar mit db

hier mal mit top

pi@raspberrypi-FHEM:~ $ top
top - 15:08:55 up  1:41,  2 users,  load average: 1,41, 2,03, 1,13
Tasks: 124 total,   2 running, 122 sleeping,   0 stopped,   0 zombie
%Cpu(s): 12,3 us,  2,4 sy,  0,0 ni, 85,2 id,  0,1 wa,  0,0 hi,  0,0 si,  0,0 st
MiB Mem :   3906,0 total,    117,4 free,    177,6 used,   3611,0 buff/cache
MiB Swap:    100,0 total,     94,5 free,      5,5 used.   3567,4 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
22449 fhem      20   0   93276  78652   9400 R  54,2   2,0   0:03.50 perl
22080 root      20   0       0      0      0 I   0,3   0,0   0:07.90 kworker/u+
22224 pi        20   0   10188   2868   2508 R   0,3   0,1   0:00.54 top
    1 root      20   0   34792   8472   6708 S   0,0   0,2   0:12.81 systemd
    2 root      20   0       0      0      0 S   0,0   0,0   0:00.01 kthreadd
    3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp
    4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp
    7 root      20   0       0      0      0 I   0,0   0,0   0:02.88 kworker/u+
    8 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu+
    9 root      20   0       0      0      0 S   0,0   0,0   0:01.24 ksoftirqd+
   10 root      20   0       0      0      0 I   0,0   0,0   0:00.69 rcu_sched
   11 root      20   0       0      0      0 I   0,0   0,0   0:00.00 rcu_bh
   12 root      rt   0       0      0      0 S   0,0   0,0   0:00.03 migration+
   13 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/0
   14 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/1
   15 root      rt   0       0      0      0 S   0,0   0,0   0:00.03 migration+
   16 root      20   0     

hab danach fhem gestartet sudo invoke-rc.d fhem start 

wollte dann im browser nachschauen..leider nicht ereichbar.
Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

MadMax-FHEM

#17
Was soll das rcd-Kommando?

Wie hast du fhem installiert?

debian.fhem.de -> "the easy way"!?

Unter Buster ist mittlerweile systemd!

Also:


sudo systemctl start fhem


oder auch


sudo service fhem start


Oder eben mit status abfragen...

Was steht im fhem-Log (sofern das mit dem komischen rcd-Kommando überhaupt gestartet wurde ;) )...

EDIT: es sollte somit auch kein Start-Script mehr unter /etc/init.d/ liegen (also keines von fhem), sondern unter /etc/systemd/system/

EDIT: ob ein fhem Prozess läuft geht auch schnell mal mit

ps -ax | grep fhem.pl | grep -v grep


Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Kellerkind86

hier mal ein status..

pi@raspberrypi-FHEM:~ $  sudo systemctl status fhem
● fhem.service - FHEM Home Automation
   Loaded: loaded (/etc/systemd/system/fhem.service; enabled; vendor preset: ena
   Active: active (running) since Tue 2020-12-22 15:16:50 CET; 2s ago
  Process: 24305 ExecStart=/usr/bin/perl fhem.pl fhem.cfg (code=exited, status=0
Main PID: 24307 (perl)
    Tasks: 1 (limit: 4915)
   Memory: 43.8M
   CGroup: /system.slice/fhem.service
           └─24307 /usr/bin/perl fhem.pl fhem.cfg

Dez 22 15:16:50 raspberrypi-FHEM systemd[1]: Starting FHEM Home Automation...
Dez 22 15:16:50 raspberrypi-FHEM systemd[1]: Started FHEM Home Automation.
Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

Kellerkind86

Zitat von: MadMax-FHEM am 22 Dezember 2020, 15:15:48
Was soll das rcd-Kommando?

das hab ich von deiner homebage
http://heinz-otto.blogspot.com/2015/12/backup-und-restore-von-fhem.html

Zitat von: MadMax-FHEM am 22 Dezember 2020, 15:15:48

Wie hast du fhem installiert?
debian.fhem.de -> "the easy way"!?
hatte noch von matthias (haus-automatisierung.com)
diesen befehl
sudo wget http://fhem.de/fhem-5.9.deb && sudo dpkg -i fhem-5.9.deb

okay, wenn das der falsche befehl war..dann hab ich wahrscheinlich fhem nicht beendet..aber das kann auch nicht sein...,da fhem da schon nicht mehr ereichbar war..dann hab ich so weiter gemacht.

sudo tar -xvzf /home/pi/FHEM-20201220_213513.tar.gz -C /opt/fhem/ 
..
dann liegt wohl da der fehler ?

oh man..sorry für anfängerfragen hier.. :-\
Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

MadMax-FHEM

#20
1. das ist nicht meine Seite ;) Sondern von Ott123 ;) (will mich nicht mit fremden Federn schmücken ;)  )

2. warum gehst du nach "externen" Quellen (hausautomatisierung.com / die Videos kann man sich schon mal anschauen aber sonst...) statt auf "fhem Quellen" zurückzugreifen!? Weil die sind (versuchsweise) aktuell. Andere "empfehlen" immer noch fhem 5.9 zu nehmen... Aktuell sind wir bei Feature-Level 6.0 ;)

3. auch auf der verlinkten Seite steht mit Jessie (und aufwärst ;)  ) ist es eben systemd und somit eben systemctl ;)

EDIT: bleibt nur zu hoffen, dass du wenigstens ein Buster LITE genommen hast! (weil auch das bei besagter Seite anders "vorgeschlagen" wurde, wenn nicht korrigiert)

Läuft fhem?

Siehe "grep" Befehl...

Und wenn ja: was steht im fhem Log?

cat /opt/fhem/log/fhem-2020-12.log

(glaube ich)

Und, wo ist nun die Startdatei von fhem?

/etc/init.d/ oder doch schon /etc/systemd/system/ ?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Wernieman

@MadMax
Eine Optimierung bezüglich des ps | grep Befehls:
ps aux | grep {f]hem

Erklärung
durch das [] sucht er alle Buchhstaben in den Klammern, was in diesem Fahlle nur "f" ist. Dadurch ist aber das grep in der ps Auflistung so, das er sich nicht mehr selber findet ....
- 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

MadMax-FHEM

#22
Ok, merke ich mir ;)

Aber dann muss es auch ps -ax | grep [f]hem heißen und die geschweifte Klammer ist falsch, oder?

EDIT: bzw. würde ich aber bei fhem.pl bzw. [f]hem.pl bleiben, sonst kommt bei mir z.B. eben auch alexa-fhem ;)

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

MadMax-FHEM

@Kellerkind86: der "nacheditierte" Status sieht so aus als würde fhem ja schon mal laufen...

Dann: was steht im fhem Log?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

MadMax-FHEM

#24
Es reicht doch das nach dem Start zu posten...

Du kannst statt 'cat' (was ALLES ausgibt) auch 'tail' nutzen...

Evtl.:


tail -100 /opt/fhem/log/fhem-2020-12.log


EDIT: gibt die letzten 100 Zeilen aus. Wenn das zu viel ist dann eben eine Zahl kleiner 100 und wenn es nicht reicht eben größer ;)

So und ohne code-Tags kann ICH das nicht lesen (auf dem.Handy)...

EDIT: vielleicht hilft das ja schon https://wiki.fhem.de/wiki/Hilfe!_Mein_FHEM_funktioniert_nicht! bzw. https://wiki.fhem.de/wiki/FHEM_startet_nicht_-_Tipps_zur_Fehlersuche

EDIT: jetzt hätte ich mein Notebook parat gehabt aber du hast ja das Log rausgelöscht... ;) Ich warte einfach bis es wieder kommt ;) Bzw. vielleicht helfen ja auch die Links...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Kellerkind86

sorry, hab nur gesehen dass ich vergessen hab den code text zu nutzen..und da meine kleine (5Monate)geschrien hat, dachte ich..okay, lösch nochmal lieber :D

pi@raspberrypi-FHEM:~ $ tail -100 /opt/fhem/log/fhem-2020-12.log
Can't continue after import errors at ./FHEM/10_MQTT_DEVICE.pm line 74.
BEGIN failed--compilation aborted at ./FHEM/10_MQTT_DEVICE.pm line 88, <$fh> line 325.

2020.12.22 16:22:54 0: Can't continue after import errors at ./FHEM/10_MQTT_DEVICE.pm line 74.
BEGIN failed--compilation aborted at ./FHEM/10_MQTT_DEVICE.pm line 88, <$fh> line 325.

2020.12.22 16:22:54 1: [Shelly_Attr] setting the maxtime attribute only works for model=shelly2/2.5 and mode=roller
2020.12.22 16:22:54 1: [Shelly_Attr] setting the mode attribute only works for model=shelly2|shelly2.5|shellyrgbw
2020.12.22 16:22:54 1: [Shelly_Attr] setting the mode attribute only works for model=shelly2|shelly2.5|shellyrgbw
2020.12.22 16:22:54 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.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.

2020.12.22 16:22:54 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.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.

Undefined subroutine &main::HMCCU_FindIODevice called at ./FHEM/88_HMCCUDEV.pm line 125, <$fh> line 594.
2020.12.22 16:22:55 1: Including fhem.cfg
2020.12.22 16:22:55 3: WEB: port 8083 opened
2020.12.22 16:22:55 2: eventTypes: loaded 2697 events from ./log/eventTypes.txt
2020.12.22 16:22:55 1: reload: Error:Modul 00_MQTT deactivated:
Can't locate Module/Pluggable.pm in @INC (you may need to install the Module::Pluggable module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
BEGIN failed--compilation aborted at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
Compilation failed in require at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.
BEGIN failed--compilation aborted at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.

2020.12.22 16:22:55 0: Can't locate Module/Pluggable.pm in @INC (you may need to install the Module::Pluggable module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
BEGIN failed--compilation aborted at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
Compilation failed in require at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.
BEGIN failed--compilation aborted at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.

2020.12.22 16:22:56 3: TelegramBot_Define WEB_TelegramBot: called
2020.12.22 16:22:57 2: TelegramBot_DoUrlCommand WEB_TelegramBot: FAILED http access returned error :https://api.telegram.org/bot1002944013:AAGZGB4_tluOctmZyIFYk9AHEesVBsWi-m8/getMe: Can't connect(2) to https://api.telegram.org:443:  SSL wants a read first:
2020.12.22 16:22:59 2: ONKYO_AVR TX_NR545: Registering ONKYO_AVR for webhook URI ?/ONKYO_AVR ...
2020.12.22 16:22:59 3: Opening TX_NR545 device 192.168.178.43:60128
2020.12.22 16:22:59 3: OUT_TankenWestfalen: Defined with URL https://creativecommons.tankerkoenig.de/json/prices.php?ids=a3e1990e-2b70-4e0f-ac7b-6b810c116437&apikey=c59c0304-ec87-06a9-d645-573e8f8ad1d4 and interval 1800 featurelevel 6
2020.12.22 16:22:59 3: OUT_TankenAral: Defined with URL https://creativecommons.tankerkoenig.de/json/prices.php?ids=5f7af8d1-1112-439a-a68e-7b2d3331f9f1&apikey=c59c0304-ec87-06a9-d645-573e8f8ad1d4 and interval 1800 featurelevel 6
2020.12.22 16:23:00 3: Opening CUL868 device /dev/serial/by-id/usb-SHK_NANO_CUL_868-if00-port0
2020.12.22 16:23:00 1: CUL868: Can't open /dev/serial/by-id/usb-SHK_NANO_CUL_868-if00-port0: No such file or directory
2020.12.22 16:23:00 1: PERL WARNING: "all" is not defined in %MQTT::EXPORT_TAGS at ./FHEM/10_MQTT_DEVICE.pm line 88.
2020.12.22 16:23:00 1: reload: Error:Modul 10_MQTT_DEVICE deactivated:
Can't continue after import errors at ./FHEM/10_MQTT_DEVICE.pm line 74.
BEGIN failed--compilation aborted at ./FHEM/10_MQTT_DEVICE.pm line 88, <$fh> line 325.

2020.12.22 16:23:00 0: Can't continue after import errors at ./FHEM/10_MQTT_DEVICE.pm line 74.
BEGIN failed--compilation aborted at ./FHEM/10_MQTT_DEVICE.pm line 88, <$fh> line 325.

2020.12.22 16:23:01 1: [Shelly_Attr] setting the maxtime attribute only works for model=shelly2/2.5 and mode=roller
2020.12.22 16:23:01 1: [Shelly_Attr] setting the mode attribute only works for model=shelly2|shelly2.5|shellyrgbw
2020.12.22 16:23:01 1: [Shelly_Attr] setting the mode attribute only works for model=shelly2|shelly2.5|shellyrgbw
2020.12.22 16:23:01 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.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.

2020.12.22 16:23:01 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.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.

Undefined subroutine &main::HMCCU_FindIODevice called at ./FHEM/88_HMCCUDEV.pm line 125, <$fh> line 594.
2020.12.22 16:23:02 1: Including fhem.cfg
2020.12.22 16:23:02 3: WEB: port 8083 opened
2020.12.22 16:23:02 2: eventTypes: loaded 2697 events from ./log/eventTypes.txt
2020.12.22 16:23:02 1: reload: Error:Modul 00_MQTT deactivated:
Can't locate Module/Pluggable.pm in @INC (you may need to install the Module::Pluggable module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
BEGIN failed--compilation aborted at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
Compilation failed in require at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.
BEGIN failed--compilation aborted at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.

2020.12.22 16:23:02 0: Can't locate Module/Pluggable.pm in @INC (you may need to install the Module::Pluggable module) (@INC contains: ./lib ./FHEM . /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
BEGIN failed--compilation aborted at FHEM/lib/Net/MQTT/Message.pm line 9, <$fh> line 60.
Compilation failed in require at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.
BEGIN failed--compilation aborted at ./FHEM/00_MQTT.pm line 80, <$fh> line 60.

2020.12.22 16:23:03 3: TelegramBot_Define WEB_TelegramBot: called
2020.12.22 16:23:03 2: TelegramBot_DoUrlCommand WEB_TelegramBot: FAILED Telegram returned error: Unauthorized
2020.12.22 16:23:06 2: ONKYO_AVR TX_NR545: Registering ONKYO_AVR for webhook URI ?/ONKYO_AVR ...
2020.12.22 16:23:06 3: Opening TX_NR545 device 192.168.178.43:60128
2020.12.22 16:23:06 3: OUT_TankenWestfalen: Defined with URL https://creativecommons.tankerkoenig.de/json/prices.php?ids=a3e1990e-2b70-4e0f-ac7b-6b810c116437&apikey=c59c0304-ec87-06a9-d645-573e8f8ad1d4 and interval 1800 featurelevel 6
2020.12.22 16:23:06 3: OUT_TankenAral: Defined with URL https://creativecommons.tankerkoenig.de/json/prices.php?ids=5f7af8d1-1112-439a-a68e-7b2d3331f9f1&apikey=c59c0304-ec87-06a9-d645-573e8f8ad1d4 and interval 1800 featurelevel 6
2020.12.22 16:23:07 3: Opening CUL868 device /dev/serial/by-id/usb-SHK_NANO_CUL_868-if00-port0
2020.12.22 16:23:07 1: CUL868: Can't open /dev/serial/by-id/usb-SHK_NANO_CUL_868-if00-port0: No such file or directory
2020.12.22 16:23:07 1: PERL WARNING: "all" is not defined in %MQTT::EXPORT_TAGS at ./FHEM/10_MQTT_DEVICE.pm line 88.
2020.12.22 16:23:07 1: reload: Error:Modul 10_MQTT_DEVICE deactivated:
Can't continue after import errors at ./FHEM/10_MQTT_DEVICE.pm line 74.
BEGIN failed--compilation aborted at ./FHEM/10_MQTT_DEVICE.pm line 88, <$fh> line 325.

2020.12.22 16:23:07 0: Can't continue after import errors at ./FHEM/10_MQTT_DEVICE.pm line 74.
BEGIN failed--compilation aborted at ./FHEM/10_MQTT_DEVICE.pm line 88, <$fh> line 325.

2020.12.22 16:23:07 1: [Shelly_Attr] setting the maxtime attribute only works for model=shelly2/2.5 and mode=roller
2020.12.22 16:23:07 1: [Shelly_Attr] setting the mode attribute only works for model=shelly2|shelly2.5|shellyrgbw
2020.12.22 16:23:07 1: [Shelly_Attr] setting the mode attribute only works for model=shelly2|shelly2.5|shellyrgbw
2020.12.22 16:23:08 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.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.

2020.12.22 16:23:08 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.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base ./FHEM/lib) at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.
BEGIN failed--compilation aborted at ./FHEM/88_HMCCU.pm line 38, <$fh> line 583.

Undefined subroutine &main::HMCCU_FindIODevice called at ./FHEM/88_HMCCUDEV.pm line 125, <$fh> line 594.
2020.12.22 16:23:08 1: Including fhem.cfg


hoffe das hilft.

leider ist fhem nicht ereichbar wie normalerweise..

Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

Otto123

#26
Was sagt uns das? Backup ist nicht schlecht, aber für ein System neu hochziehen braucht man auch ne Doku was man alles gemacht hat.

Das Log klingt nach Arbeit...

Und der Betreff hat mit dem eigentlichen Problem nicht viel zu tun ;D

Im Log steht eine Zeile you May need to Install
Hmccu und mqtt brauchen Vorraussetzungen: Doku schauen und wie dort beschrieben erstmal installieren!
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

MadMax-FHEM

Jep, ist einiges was da "angemosert" wird...

So wie es aussieht startet fhem eben dadurch immer wieder (verm. durch systemd autom.) und ist somit (bzw. wirkt es für dich so) nicht erreichbar...

Da musst du jetzt halt Fehler für Fehler durchgehen.

Angefangen mit einigen Perl-Modulen die wohl für MQTT fehlen usw.

Und spät. jetzt: mitnotieren! ;)

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

Kellerkind86

jap..
aber ich glaube ich mache wie schon geschrieben alles neu... ich bedanke mich wirklich recht herzlich für die mühen..
ich werde das aktuelle fhem suchen und installieren und dann alles schritt für schritt neu machen.. das bringt für mich auch wieder übung..

Danke für alles... Thema ist sowieso schon offtopic... :D



Hardware in Nutzung: Fritzbox7490,RP4,nanoCUL868,sonoff(mini),shelly(2.5)

Otto123

Dann mach es bitte wie hier beschrieben:

Deine Module solltest Du trotzdem identifizieren und nicht vergessen: die jeweilige Doku (Commandref) dazu beachten und die Vorrausetzungen installieren.
MQTT solltest Du überlegen durch MQTT2 zu ersetzen.
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