NAS 542 App installation stops at 45%
All Replies
-
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 faultRegards
0 -
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".0 -
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: b4d6757af428265296081eeb7b5b5e5bCan you please check it?
0 -
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/
0 -
What to do now ? Can i fix it ?
0 -
I wait a feedback from Zyxel.
IMHO they need to check the package index/MD5SUMs and the packages integrity.Regards
0 -
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.
0 -
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.
0 -
@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 ?
0 -
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.0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 145 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 239 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight