yaVDR: Ansible läuft auf Focal nicht durch

  • Hi,

    habe heute meine VDR von Bionic auf Focal hochgesetzt (do-release-upgrade).

    Damit alles wieder passt habe ich ansible laufen lassen:

    Code
    cd MEINANSIBLE
    git pull
    # ./install-yavdr.sh

    Das lief gleich auf eine Fehler mit python:

    python-jmespath gibt es wohl nicht mehr. Habe es dann in python3-jmespath geändert (und ein paar python-xxx mehr).

    Dann der nächste Fehler:

    Code
    TASK [vdr : set vdr charset override]
    ....
    object of type 'bool' has no len()

    Sieht nach einer Änderung in Ansible/Python aus.

    Und dann noch einer:

    Code
    TASK [autoinstall-satip : detect SAT>IP Server(s) on the network]
    ....
    TypeError: a bytes-like object is required, not 'str'

    Auch das sieht nach einer Änderung in Ansible/Python aus.

    Fürs Erste habe ich 3 mal "when: false" eingebaut. Damit lief es dann durch.

    Ist das ein schon bekannter Fehler? Oder habe ich was falsch gemacht?

    Mein Ansible:

    Code
    ansible --version
    ansible 2.9.6
    config file = /home/fauthd/yavdr-ansible/ansible.cfg
    configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
    ansible python module location = /usr/lib/python3/dist-packages/ansible
    executable location = /usr/bin/ansible
    python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]

    Liebe Grüße, Dieter :)

    Click to see my VDRs

    VDR5: Fujitsu Futro S740, 2TB SSD Kingston, Sat->IP von Octopus Net 8, Ubuntu 24.04, yavdr-ansible, IRMP, TV: LG 42LM670S.

    VDR1: (abgeschaltet) Asrock B75-Pro3, G1610, 4TB WD, Sat->IP von Octopus Net 8, Gainward GT630 Rev2, NVidia 470.103.01, Ubuntu 20.04 AMD64 Server, Kernel 5.4.0-107-generic, VDR 2.6.1, yavdr-ansible, Softhddevice, rc_core mit RC6+RC5, CIR-Homebrew-RS485 mit 8m Kabel, 10m HDMI, TV: LG 42LM670S

  • habe heute meine VDR von Bionic auf Focal hochgesetzt (do-release-upgrade).

    Damit alles wieder passt habe ich ansible laufen lassen:

    Du musst den Branch von bionic auf focal ändern.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Asche auf mein Haupt. Daran hätte ich auch denken können.

    Dann war da noch

    Code
    override_vdr_charset: false

    in meiner host_vars/localhost/all.

    Das war das "object of type 'bool' has no len()".

    Als ich dann noch den TV anschaltete lief es auch glatt durch :)

    Tausend Dank. Auch dafür dass du mir vor ein paar Jahren Ansible gezeigt hast. Verwende ich seither in vielen Projekten.

    Liebe Grüße, Dieter :)

    Click to see my VDRs

    VDR5: Fujitsu Futro S740, 2TB SSD Kingston, Sat->IP von Octopus Net 8, Ubuntu 24.04, yavdr-ansible, IRMP, TV: LG 42LM670S.

    VDR1: (abgeschaltet) Asrock B75-Pro3, G1610, 4TB WD, Sat->IP von Octopus Net 8, Gainward GT630 Rev2, NVidia 470.103.01, Ubuntu 20.04 AMD64 Server, Kernel 5.4.0-107-generic, VDR 2.6.1, yavdr-ansible, Softhddevice, rc_core mit RC6+RC5, CIR-Homebrew-RS485 mit 8m Kabel, 10m HDMI, TV: LG 42LM670S

  • Asche auf mein Haupt. Daran hätte ich auch denken können.

    Dann war da noch

    Code
    override_vdr_charset: false

    in meiner host_vars/localhost/all.

    Das war das "object of type 'bool' has no len()".

    Für den Wert wird ein String erwartet (wie im Kommentar zu der Zeile zu lesen ist: https://github.com/yavdr/yavdr-an…up_vars/all#L43), kein Bool'scher Wert. Wenn man keinen Override setzen will, muss es ein leerer String bleiben.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Habe ich in group_var/all gesehen und bei mir repariert.

    ist aber früher (2..3 Jahre) so durchgelaufen.

    Danke nochmals. Mein Haupvdr läuft nun auf Focal und V2.6.1 von deinem PPA.

    Liebe Grüße, Dieter :)

    Click to see my VDRs

    VDR5: Fujitsu Futro S740, 2TB SSD Kingston, Sat->IP von Octopus Net 8, Ubuntu 24.04, yavdr-ansible, IRMP, TV: LG 42LM670S.

    VDR1: (abgeschaltet) Asrock B75-Pro3, G1610, 4TB WD, Sat->IP von Octopus Net 8, Gainward GT630 Rev2, NVidia 470.103.01, Ubuntu 20.04 AMD64 Server, Kernel 5.4.0-107-generic, VDR 2.6.1, yavdr-ansible, Softhddevice, rc_core mit RC6+RC5, CIR-Homebrew-RS485 mit 8m Kabel, 10m HDMI, TV: LG 42LM670S

  • Hallo Seahawk,

    eben fiel mir noch was ein:

    Die Bash ist bei 20.04 jetzt dort: /bin/bash

    Deine .j2 FIles verwenden aber /usr/bin/bash.

    Ich hatte halt einen softlink eingebaut damit ansible durchläuft und dann prompt vergessen.

    In einigen Distries (Armbian) ist /bin ein Symlink to /usr/bin. Bei ARM64 Ubuntu 20.04 ist es noch ein eigenständiges Verzeichnis.

    Für Jammy habe ich noch nicht geschaut.

    Liebe Grüße, Dieter :)

    Click to see my VDRs

    VDR5: Fujitsu Futro S740, 2TB SSD Kingston, Sat->IP von Octopus Net 8, Ubuntu 24.04, yavdr-ansible, IRMP, TV: LG 42LM670S.

    VDR1: (abgeschaltet) Asrock B75-Pro3, G1610, 4TB WD, Sat->IP von Octopus Net 8, Gainward GT630 Rev2, NVidia 470.103.01, Ubuntu 20.04 AMD64 Server, Kernel 5.4.0-107-generic, VDR 2.6.1, yavdr-ansible, Softhddevice, rc_core mit RC6+RC5, CIR-Homebrew-RS485 mit 8m Kabel, 10m HDMI, TV: LG 42LM670S

  • Das Problem ist, dass man da bei von Ubuntu-Versionen vor 19.04 hochgezogenen Installationen immer das Problem hat, dass es da Inkonsistenzen geben kann - da wird das usrmerge-Paket nicht automatisch installiert: https://lists.ubuntu.com/archives/ubunt…ber/001253.html - ich habe es mal mit einem entsprechenden Hinweis eingebaut: https://github.com/yavdr/yavdr-an…164bbd480183def

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Was spricht gegen

    Code
    #!/usr/bin/env bash

    Kanallogos: Picon.cz2VDR | Picons2VDR | MP-Logos
    Backupskripte:
    MV_Backup (RSync) | MV_BorgBackup (Borg)

    Skin: Skin FlatPlus  VDR-Add_MSGT

    "Es gibt keinen Grund, warum irgendjemand einen Computer in seinem Haus wollen würde."
    [Ken Olson], Präsident der Digital Equipment Corp., 1977

    VDR01 - yaVDR 0.7 (VDR 2.7.3)

    VDR 2.7.3; Gehäuse: Antec Fusion V2 Black & iMon LCD; Atric IR-Einschalter Rev. 4; Board: Intel DH77EB, Core i5-3550, GTX 1050 Ti, 8 GB RAM; DVB: 1x Digital Devices CineS2 Quad V6.5

    >Systeminfo.txt< [VDR-User #1540]

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!