-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update des Containers nicht möglich #159
Comments
hi es scheinen bei dir einige Submodule zu fehlen für patches falls der Ordner fehlt mach folgendes
und so wie es aussieht fehlen auch die aktuellen Module
Falls es zu Problemen kommt, poste den Output hier |
Danke für die schnelle Antwort. Leider hat es nicht funktioniert. Oder habe ich noch einen Schritt vergessen?! Bekomme das hier: ` pi@raspberrypi_dev:/opt/YAHM/share $ sudo rm -rf firmware pi@raspberrypi_dev:/opt/YAHM/share $ sudo rm -rf modules pi@raspberrypi_dev:/opt/YAHM/share $ sudo yahm-ctl update
pi@raspberrypi_dev:/opt/YAHM/share $ sudo yahm-lxc update Installed version: 2.25.15 ERROR: Can not find any patches for 2.31.25, please call 'yahm-ctl update' and try again |
kein Problem
Das gleiche dann mit Modulen
es wird YAHM neu installiert. Die Bestehende Konfiguration und CCU Installation bleibt bestehen. (Achtung kein quickinstall, sondern nur den Link oben) |
Da ich gestehen muss, dass ich nicht wusste, wie der Befehl "git submodule update --recursive --rem" für die modules aussehen muss und "sudo git submodule modules --recursive --remote" nicht ging, habe ich die knallharte Variante gewählt:
Danach lief alles erst mal: `pi@raspberrypi_dev:/ $ sudo yahm-ctl info LXC container information Dann Update: pi@raspberrypi_dev:/ $ sudo yahm-lxc update Installed version: 2.25.15 Trying to create a config-backup from installed version 2.25.15, calling: 'yahm-backup data_backup' script Aber nun lässt sich der Container nicht mehr starten: `pi@raspberrypi_dev:/ $ sudo yahm-ctl info LXC container information LXC container information noch eine Idee außer den Container auch komplett neu aufzusetzen? :D |
keine Panik geh ins /var/lib/lxc/yahm poste die letzten ~20 Zeilen, da steht bestimmt dass irgendwas nicht gefunden wurde |
Ahhh! Dein Tip war Gold wert! Die Verzeichnisse innerhalb des Containers fehlten nur nach dem update. Perfekt, danke! |
Hi! Installed version: 2.35.16 ERROR: Can not find any patches for 2.45.7, please call 'yahm-ctl update' and try again Wie finde ich den Fehler? LG Peter |
Ich stelle heute neue patches online
Von meinem iPhone gesendet
… Am 02.05.2019 um 23:22 schrieb Loewenkoenig ***@***.***>:
Hi!
Habe leider das gleiche Problem.
Installed version: 2.35.16
Available version: 2.45.7
ERROR: Can not find any patches for 2.45.7, please call 'yahm-ctl update' and try again
Wie finde ich den Fehler?
LG Peter
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Danke! LG Peter |
Hallo! |
Hi
Probiere nochmal, mach aber vorher ein Backup ;)
Gruß
Leo
… Am 03.05.2019 um 23:17 schrieb Loewenkoenig ***@***.***>:
Hallo!
Habe es jetzt nochmals mehrfach probiert. Leider ist das Update nicht möglich. Er findet die patches nicht. Da Symcon ein Update rausgebracht hat und mit meiner (alten) Version nicht mehr richtig funktioniert, bitte ich dich um Unterstützung, da Homematic somit auch nicht mehr funktioniert.
Danke, Peter
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#159 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAGACF7WRL5AJSZ7NIDKSWDPTSTXJANCNFSM4ENYAD6A>.
|
Hi Leo, reicht ein Backup über die Weboberfläche der CCU? |
Hi! YAHM Version: 1.9 LXC container information Dies bleibt unverändert, auch wenn ich mit |
Was steht in den Logs?
Von meinem iPhone gesendet
… Am 04.05.2019 um 00:30 schrieb Loewenkoenig ***@***.***>:
Hi!
Habe das Update durchgeführt. Soweit ich sehen konnte, gab es keine Fehler, jedoch kann ich mich nicht mehr auf die Weboberfläche verbinden. Wenn ich sudo yahm-ctl info aufrufe, kommt folgende Meldung: `YAHM Version: 1.9
CCU2 Version: 2.45.7
LXC container information
Name: yahm
State: STOPPED
Dies bleibt unverändert, auch wenn ich mitsudo yahm-ctl start` YAHM starte.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Wo ist der Log gespeichert? |
Guten morgen,
Schau entweder unter /var/lib/lxc/yahm oder /var/log/messages bzw. Syslog
… Am 04.05.2019 um 09:43 schrieb Loewenkoenig ***@***.***>:
Wo ist der Log gespeichert?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#159 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAGACF5HJOYHW7MSTPLURCTPTU5ALANCNFSM4ENYAD6A>.
|
Das habe ich im yahm.log gefunden:
|
Hi
Da stimmt etwas nicht mit dem Container. Du hast ja ein Backup
Lösche die bestehende Installation (yahm-lxc remove) und installiere es neu (und pivccu-driver nicht vergessen) dann einfach backup einspielen
Gruß
Leo
… Am 04.05.2019 um 12:04 schrieb Loewenkoenig ***@***.***>:
Das habe ich im yahm.log gefunden:
lxc-start 20190503222646.796 ERROR lxc_conf - conf.c:run_buffer:405 - Script exited with status 127.
lxc-start 20190503222646.796 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "yahm".
lxc-start 20190503222646.796 ERROR lxc_start - start.c:__lxc_start:1302 - Failed to initialize container "yahm".
lxc-start 20190503222651.814 ERROR lxc_start_ui - tools/lxc_start.c:main:366 - The container failed to start.
lxc-start 20190503222651.814 ERROR lxc_start_ui - tools/lxc_start.c:main:368 - To get more details, run the container in foreground mode.
lxc-start 20190503222651.814 ERROR lxc_start_ui - tools/lxc_start.c:main:370 - Additional information can be obtained by setting the --logfile and --logpriority options.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#159 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAGACF32WAYE6J466LP7KCTPTVNSNANCNFSM4ENYAD6A>.
|
Da bin ich etwas überfordert. Habe folgende Ordner und Unterordner gesichert: /lxc/... + /yahm/... |
Probier vorerst folgendes
yahm-module -f -m pivccu-driver enable
Dann ggf. Neubooten.
Fals das nicht hilft, melde dich wieder.
Ich empfehle immer yahm-backup für die Sicherung zu verwenden, damit bekommst du ein Backup, welches du über jede Webgui einspielen kannst. Auch wenn du z.B. auf ein anderes System (debmatic/raspberrymatic/pivccu usw.) wechselst.
… Am 04.05.2019 um 12:20 schrieb Loewenkoenig ***@***.***>:
Da bin ich etwas überfordert. Habe folgende Ordner und Unterordner gesichert: /lxc/... + /yahm/...
Kann ich die bestehenden überschreiben bzw. welche Datei ist die relevante?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#159 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAGACFZXA65T5F55RVYS2HLPTVPM7ANCNFSM4ENYAD6A>.
|
DAS war der entscheidende Hinweis!! Jetzt funktioniert wieder alles! |
Hallo Leo! Installed version: 2.45.7 ERROR: Can not find any patches for 2.47.12, please call 'yahm-ctl update' and try again Gruß |
Hi
Leg einfach symlinks im patches und scripts Ordner für die neue Version an.
Damit sollte es gehen. Ich mach das. Ei Gelegenheit oder du machst ein pull
Von meinem iPhone gesendet
… Am 07.07.2019 um 15:26 schrieb Loewenkoenig ***@***.***>:
Hallo Leo!
Wollte gerade das aktuelle Update meiner CCU durchführen. Leider wieder das gleiche Problem wie letztes mal:
**Installed version: 2.45.7
Available version: 2.47.12
ERROR: Can not find any patches for 2.47.12, please call 'yahm-ctl update' and try again**
Gruß
Peter
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Da kenne ich mich leider nicht aus. -------- Ursprüngliche Nachricht --------Betreff: Re: [leonsio/YAHM] Update des Containers nicht möglich (#159)Von: Leonid Kogan An: leonsio/YAHM Cc: Loewenkoenig ,Comment Hi
Leg einfach symlinks im patches und scripts Ordner für die neue Version an.
Damit sollte es gehen. Ich mach das. Ei Gelegenheit oder du machst ein pull
Von meinem iPhone gesendet
Am 07.07.2019 um 15:26 schrieb Loewenkoenig ***@***.***>:
Hallo Leo!
Wollte gerade das aktuelle Update meiner CCU durchführen. Leider wieder das gleiche Problem wie letztes mal:
**Installed version: 2.45.7
Available version: 2.47.12
ERROR: Can not find any patches for 2.47.12, please call 'yahm-ctl update' and try again**
Gruß
Peter
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi,
ich habe versucht meine alte 2.25.15 zu updaten. Habe erst yahm auf die 1.9 gehoben und dann versucht die CCU zu updaten. Bekomme dann folgenden Fehler:
`pi@raspberrypi_dev:~ $ sudo yahm-lxc update
New CCU2 firmware: 2.31.25 available, update with 'yahm-lxc update' possible
Installed version: 2.25.15
Available version: 2.31.25
ERROR: Can not find any patches for 2.31.25, please call 'yahm-ctl update' and try again`
Wenn ich das update dann noch mal ausführe kommt wiederum das hier:
`pi@raspberrypi_dev:~ $ sudo yahm-ctl update
New CCU2 firmware: 2.31.25 available, update with 'yahm-lxc update' possible
Updating YAHM installation, for updatate CCU2 please use 'yahm-lxc update'
Fetching submodule share/tools/Network-Interfaces-Script
Fetching submodule share/tools/arm-board-detect
Fetching submodule share/tools/rpi-source
Already up-to-date.
Updating all YAHM modules
Betrete 'share/tools/Network-Interfaces-Script'
Von https://github.com/leonsio/Network-Interfaces-Script
Already up-to-date.
Betrete 'share/tools/arm-board-detect'
Von https://github.com/leonsio/arm-board-detect
Already up-to-date.
Betrete 'share/tools/rpi-source'
Von https://github.com/notro/rpi-source
Already up-to-date.
Betrete 'share/tools/Network-Interfaces-Script'
Betrete 'share/tools/arm-board-detect'
Betrete 'share/tools/rpi-source'
Updating CCU2-FW archive
YAHM version 1.9 found`
Wie bekomme ich denn die Patches und wo müssen sie hin?
Viele Dank im Voraus.
The text was updated successfully, but these errors were encountered: