NAS 542 App installation stops at 45%

24

All Replies

  • JustAnotherUser
    JustAnotherUser Posts: 10  Freshman Member
    First Comment First Answer Friend Collector Community MVP

    Hi @Zyxel_Kay , @Mijzelf ,
    thank you for your answer.

    There is no evidence of hardware fault in system logs.

    NAS firmware version is V5.21(AAZF.18), I've upgraded the firmware some days ago.
    All tests are made with the latest firmware release.

    The full log, with root user, is the following:

    ~ # /usr/local/apache/web_framework/bin/executer_su /usr/bin/ipkg-cl -f /etc/zyxel/pkg_conf/zypkg_conf/zy-pkg.conf -t /i-data/.system/zy-pkgs/tmp -nodeps install Transmission c0b90ad0
    grep: /zypkg_conf/info/PHP-MySQL-phpMyAdmin.control: No such file or directory
    grep: /zypkg_conf/info/PHP-MySQL-phpMyAdmin.prerm: No such file or directory
    grep: /zypkg_conf/info/gallery.control: No such file or directory
    grep: /zypkg_conf/info/gallery.prerm: No such file or directory
    grep: /zypkg_conf/info/WordPress.control: No such file or directory
    grep: /zypkg_conf/info/WordPress.prerm: No such file or directory
    Segmentation fault

    Regards

  • JustAnotherUser
    JustAnotherUser Posts: 10  Freshman Member
    First Comment First Answer Friend Collector Community MVP
    edited July 8

    I delved into the problem and find out a checksum problem.
    Here a snipped of the package manager log:


    2024-07-08 21:11:06 [ipkg][install][11956]: ### [ipkg_install_by_name][262] install 45%: checksum verification for "Transmission".
    2024-07-08 21:11:06 [ipkg][install][11956]: [write_progress][265] strProgressFile: "/tmp/Transmission_install.progress"
    2024-07-08 21:11:06 [ipkg][install][11956]: new->md5sum = b4d6757af428265296081eeb7b5b5e5b, new->local_filename = /i-data/.system/zy-pkgs/Transmission_2.84_arm_002.zpkg, new->name = Transmission, g_iUpdateListFailed = 0, iDownloadPkgFailed = 0
    2024-07-08 21:11:06 [ipkg][install][11956]: file_md5 = 7007185f4c218d66d73fc31c60b34c6e, new->md5sum = b4d6757af428265296081eeb7b5b5e5b, new->local_filename = /i-data/.system/zy-pkgs/Transmission_2.84_arm_002.zpkg, new->name = Transmission
    2024-07-08 21:11:06 [ipkg][install][11956]: [ipkg_install_by_name][274] Package Transmission md5sum mismatch. Either the ipkg or the package index are corrupt.
    2024-07-08 21:11:06 [ipkg][install][11956]: @ finish installing loop in "ipkg_install_cmd".

  • JustAnotherUser
    JustAnotherUser Posts: 10  Freshman Member
    First Comment First Answer Friend Collector Community MVP
    edited July 8

    I downloaded metadata information from zyxel site and noticed that MD5 information for Transmission package is wrong:

    Package: Transmission
    Version: 2.84zypkg002
    Description: This package is another BT download client which supports torrent and magnet.
    Depends:
    Size: 1186111
    Installed-Size: 2277244
    Architecture: arm
    IsBuiltin: N
    Zy-Model:
    Filename: Transmission_2.84_arm_002.zpkg
    MD5SUM: b4d6757af428265296081eeb7b5b5e5b

    Can you please check it?

  • Mijzelf
    Mijzelf Posts: 2,762  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    Interesting. I checked @Joerg 's problem, and that seems also a checksum mismatch. De MD5 in ZYPKGS is c2ad297499a6fa6a26f7f6ac32490ef8, while the MD5 of PHP-MySQL-phpMyAdmin_1.0_arm_007.zpkg is 2263e22ccb97e00766796aaae0ce010f. Both downloaded from ftp2.zyxel.com/NAS542/zypkg/5.21/

  • Joerg
    Joerg Posts: 14  Freshman Member
    First Comment Friend Collector
    edited July 9

    What to do now ? Can i fix it ?

  • JustAnotherUser
    JustAnotherUser Posts: 10  Freshman Member
    First Comment First Answer Friend Collector Community MVP
    Answer ✓

    I wait a feedback from Zyxel.
    IMHO they need to check the package index/MD5SUMs and the packages integrity.

    Regards

  • Mijzelf
    Mijzelf Posts: 2,762  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary
    Answer ✓

    What to do now ? Can i fix it ?

    Maybe. You can try to edit the file. Enable the ssh server, disconnect internet, login using WinSCP (assuming you are using Windows), and locate the file /i-data/.system/zy-pkgs/ZYPKGS. Use the build-in editor to edit it. The package PHP-MySQL has MD5SUM c2ad297499a6fa6a26f7f6ac32490ef8, and that should be 2263e22ccb97e00766796aaae0ce010f.

    After editing retry to install the package. Without internet connection, to prevent overwriting of the edited file.

  • JustAnotherUser
    JustAnotherUser Posts: 10  Freshman Member
    First Comment First Answer Friend Collector Community MVP
    Answer ✓

    I'd discourage that. If for any reason the package has been, mistakenly or deliberately with bad intention, modified/manipulated/patched you're installing anyway ignoring that "check".

    I'll wait for a feedback by Zyxel.

    Up to you.

  • Joerg
    Joerg Posts: 14  Freshman Member
    First Comment Friend Collector
    Answer ✓
    @Mijzelf It worked as you described. Thanks so much . I does it on all boxes 😀
    Will there be an update somewhen or a change in the packages in future ?
    

  • Joerg
    Joerg Posts: 14  Freshman Member
    First Comment Friend Collector

    @JustAnotherUser


    Is your NAS 326 already Eol? Then you will probably get the same answer from Zyxel support as I did: buy a newer device. I believe Mijzelf knows what he's doing.

Consumer Product Help Center