Update YAHM+ Update CCU2 + Pi updates = (CCU2) tot | gelöst

Einrichtung, Nutzung und Hilfe zu YAHM

Moderator: Co-Administratoren

Antworten
nort
Beiträge: 14
Registriert: 10.01.2018, 17:15

Update YAHM+ Update CCU2 + Pi updates = (CCU2) tot | gelöst

Beitrag von nort » 07.02.2018, 12:05

Hallo Leute,

in meinem unendlichen glauben das alles gut ist habe ich es gewagt bei YAHM und der CCU2 Firmware und Raspberry PI updates einzuspielen na ja und das wars denn auch wieder.

reste von der ausgabe

Code: Alles auswählen

Downloading CCU Firmware
Extracting firmware
Extract ubi image
Writing to: /var/lib/lxc/yahm/root
Cleanup CCU2 source
Applying patch
Applying scripts
Creating SD card
Clean Up
Creating lxc config file
Container version 2.31.25 is created, please use 'yahm-ctl -n yahm start' to start and 'yahm-ctl -n yahm join' for console access
For network configuration see yahm-network script
Restoring old LXC config
Trying to restore old CCU2 backup, calling 'yahm-backup data_restore'
Clean up TMP directory
Extracting CCU2 backup
WARNING: /usr/local folder with all settings inside yahm container will be removed. You have 5 seconds to cancel this operation...
... to late ;)
Extracting Backup Data
STATUS: Backup version 2.31.23 was successfully restored into yahm container version 2.31.25
Please start yahm container with 'sudo yahm-ctl -n yahm start' manually
Starting yahm LXC container
root@jarvis01:/home/pi# apt update && apt dist-upgrade
Get:1 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Hit:3 https://deb.nodesource.com/node_9.x stretch InRelease
Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [139 kB]
Fetched 180 kB in 2s (62.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  pi-bluetooth
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,782 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.raspberrypi.org/debian stretch/main armhf pi-bluetooth all 0.1.7 [3,782 B]
Fetched 3,782 B in 0s (21.1 kB/s)
Reading changelogs... Done
(Reading database ... 41245 files and directories currently installed.)
Preparing to unpack .../pi-bluetooth_0.1.7_all.deb ...
Unpacking pi-bluetooth (0.1.7) over (0.1.6) ...
Setting up pi-bluetooth (0.1.7) ...
root@jarvis01:/home/pi# ping jarvis-ccu2
PING jarvis-ccu2.fritz.box (192.168.178.84) 56(84) bytes of data.
From jarvis01.fritz.box (192.168.178.83) icmp_seq=1 Destination Host Unreachable
From jarvis01.fritz.box (192.168.178.83) icmp_seq=2 Destination Host Unreachable
From jarvis01.fritz.box (192.168.178.83) icmp_seq=3 Destination Host Unreachable
From jarvis01.fritz.box (192.168.178.83) icmp_seq=4 Destination Host Unreachable
From jarvis01.fritz.box (192.168.178.83) icmp_seq=5 Destination Host Unreachable
From jarvis01.fritz.box (192.168.178.83) icmp_seq=6 Destination Host Unreachable
^C
--- jarvis-ccu2.fritz.box ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6212ms
neustart und so brachte auch nichts. LXC startet nicht habs nochmal händisch versucht.

Code: Alles auswählen

root@jarvis01:/var/lib/lxc/yahm/root/usr/local/etc# yahm-ctl -v start
Starting yahm LXC container in debug mode
lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
lxc-start: tools/lxc_start.c: main: 368 To get more details, run the container in foreground mode.
lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
root@jarvis01:/var/lib/lxc/yahm/root/usr/local/etc#

Code: Alles auswählen

root@jarvis01:/var/run# yahm-ctl join
yahm container is stopped, please start it first
root@jarvis01:/var/run# yahm-ctl stop
yahm container is already stopped
root@jarvis01:/var/run# yahm-ctl stop
yahm container is already stopped
root@jarvis01:/var/run# yahm-ctl start
Starting yahm LXC container
root@jarvis01:/var/run# yahm-ctl join
yahm container is stopped, please start it first
root@jarvis01:/var/run# yahm-ctl info
YAHM Version: 1.9
CCU2 Version: 2.31.25

LXC container information
Name:           yahm
State:          STOPPED
root@jarvis01:/var/run#
auch nichts.

/dev/raw-uart ist vorhanden.

Code: Alles auswählen

root@jarvis01:/var/run# lsmod
Module                  Size  Used by
cmac                    3239  1
bnep                   12051  2
hci_uart               20020  1
btbcm                   7916  1 hci_uart
bluetooth             365780  24 hci_uart,bnep,btbcm
fuse                   99603  3
iptable_filter          2197  0
bridge                108705  0
stp                     2430  1 bridge
llc                     5903  2 bridge,stp
brcmfmac              292632  0
brcmutil                9863  1 brcmfmac
cfg80211              544545  1 brcmfmac
rfkill                 20851  4 bluetooth,cfg80211
snd_bcm2835            24427  0
snd_pcm                98501  1 snd_bcm2835
snd_timer              23968  1 snd_pcm
snd                    70032  3 snd_timer,snd_bcm2835,snd_pcm
bcm2835_gpiomem         3940  0
pl011_raw_uart          4584  0
generic_raw_uart       10230  1 pl011_raw_uart
fixed                   3285  0
uio_pdrv_genirq         3923  0
uio                    10204  1 uio_pdrv_genirq
plat_eq3ccu2            1819  0
eq3_char_loop           9744  0
ip_tables              13161  1 iptable_filter
x_tables               20578  2 ip_tables,iptable_filter
ipv6                  408900  25 bridge
noch ein versuch den container zu starten

Code: Alles auswählen

root@jarvis01:/boot# lxc-start -n yahm -F
sh: 1: /var/lib/yahm/pre-start.sh: not found
lxc-start: conf.c: run_buffer: 405 Script exited with status 127.
lxc-start: start.c: lxc_init: 450 Failed to run lxc.hook.pre-start for container "yahm".
lxc-start: start.c: __lxc_start: 1302 Failed to initialize container "yahm".
lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
root@jarvis01:/boot# cd /root/
root@jarvis01:~# lxc-start -n yahm -F --logfile log
sh: 1: /var/lib/yahm/pre-start.sh: not found
lxc-start: conf.c: run_buffer: 405 Script exited with status 127.
lxc-start: start.c: lxc_init: 450 Failed to run lxc.hook.pre-start for container "yahm".
lxc-start: start.c: __lxc_start: 1302 Failed to initialize container "yahm".
lxc-start: tools/lxc_start.c: main: 366 The container failed to start.
lxc-start: tools/lxc_start.c: main: 370 Additional information can be obtained by setting the --logfile and --logpriority options.
root@jarvis01:~#



Weiß nicht weiter was kann ich noch machen ? :'-(

grüße
Alex
Zuletzt geändert von nort am 07.02.2018, 14:46, insgesamt 1-mal geändert.

Benutzeravatar
deimos
Beiträge: 5383
Registriert: 20.06.2017, 10:38
System: Alternative CCU (auf Basis OCCU)
Wohnort: Leimersheim
Hat sich bedankt: 121 Mal
Danksagung erhalten: 949 Mal
Kontaktdaten:

Re: Update YAHM+ Update CCU2 + Pi updates = (CCU2) tot

Beitrag von deimos » 07.02.2018, 12:55

Hi,

wie sieht deine /etc/network/interfaces aus?

Viele Grüße
Alex

nort
Beiträge: 14
Registriert: 10.01.2018, 17:15

Re: Update YAHM+ Update CCU2 + Pi updates = (CCU2) tot

Beitrag von nort » 07.02.2018, 13:33

Hallo,


hier die interfaces datei

Code: Alles auswählen

root@jarvis01:/var/lib/yahm# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback

iface eth0 inet manual



auto yahmbr0
iface yahmbr0 inet dhcp
    bridge_ports eth0
grüße
Alex

nort
Beiträge: 14
Registriert: 10.01.2018, 17:15

Re: Update YAHM+ Update CCU2 + Pi updates = (CCU2) tot

Beitrag von nort » 07.02.2018, 14:41

Hey Leute,

habs selber hinbekommen.

Code: Alles auswählen

root@jarvis01:~# yahm-module installed
Installed modules:
root@jarvis01:~# yahm-module available
Available modules:
        ccuhistorian        Installiert CCU Historian auf dem Host PI
        check_mk            (Inoffical) check_mk agent 1.3 for Yahm
        cuxd                CuxD Installer for YAHM
        hmip_deactivator    Deactivate Homematic IP Support (install old hmserver.jar)
        hm-lan-fake-gw      HM-MOD-RPI-PCB as HM LAN Gateway inside host
        hm-mod-rpi-pcb      GPIO Funkmodul für Raspberry Pi2/3 (deprecated)
        homebridge          Installiert Homebridge zur Anbindung von Apple HomeKit an die CCU
        homematic-ip        Homematic IP Support for Raspberry Pi (deprecated, use pivccu-driver)
        LICENSE
        meinhomematic       Unterstützung für Mein Homematic
        openhab             Openhab2 installer (experimental)
        pivccu-driver       Driver for HM-MOD-RPI-PCB with Homematic-IP for Raspbian and Armbian
        printprograms       Installiert das Programme Drucken Plugin
        README.md
        regahss-beta        Installiert aktelle Beta Version von ReGaHss für die CCU2 FW
        rfdwatchdog         RFD Interface Watchdog
root@jarvis01:~# yahm-module -m pivccu-driver enable
Executing pivccu-driver module_install()
Found hardware: Raspberry Pi 3
Found OS: raspbian
Found kernel:   4.9.59
Trying to disable bluetooth on Raspberry Pi 3 to use HM-MOD-RPI-PCB
Trying to disable serial console
Serial already disabled
Installing/Setup overlay file
Creating Overlay files
pivccu-bcm2835.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
pivccu-sun8i-h3.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
Setup Kernel Scheduler
kernel.sched_rt_runtime_us = -1
Preparing modification rfd.conf...
[Interface 0] block found in rfd.conf checking it...
Modification rfd.conf done.
Changing multimacd files
Changing lxc config
Copy startup files
PIVCCU was installed successfully, please restart your system to apply changes
STATUS: Module pivccu-driver was successfully installed
root@jarvis01:~# yahm-module installed
Installed modules:
        pivccu-driver       Driver for HM-MOD-RPI-PCB with Homematic-IP for Raspbian and Armbian
root@jarvis01:~# 
root@jarvis01:~# yahm-ctl stop
yahm container is already stopped
root@jarvis01:~# yahm-ctl start
Starting yahm LXC container
root@jarvis01:~# yahm-ctl join
Joining LXC container, you are now inside yahm
/ # Leaving LXC container, your are now on your host system
root@jarvis01:~#
der pivccu-driver war beim update geflogen.

grüße
Alex

leonsio
Beiträge: 1107
Registriert: 07.01.2012, 14:06
Danksagung erhalten: 6 Mal

Re: Update YAHM+ Update CCU2 + Pi updates = (CCU2) tot | gel

Beitrag von leonsio » 08.02.2018, 06:28

ja das Problem ist häufig :(
ich kann es leider nicht reproduzieren

Antworten

Zurück zu „YAHM“