niceboygithub / AqaraM1SM2fw

Aqara Gateway M1S (ZHWG15LM) , P3(KTBL12LM), H1(QBCZWG11LM), M2 (ZHWG12LM) Firmwares
170 stars 30 forks source link

use scripts update m1s fw shows Update failed, reason: getpack failed! #34

Closed casatift closed 2 years ago

casatift commented 2 years ago

use scripts update m1s fw shows Update failed, reason: getpack failed!

chmod a+x /tmp/m1s_update.sh && /tmp/m1s_update.sh

m1s_update.sh revision: 2 type: lumi.gateway.acn01, model: AH_M1S platform: aiot, path: /tmp, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 26251264 Available RAM size(b): 22396928 Get packages, please wait... Update failed, reason: getpack failed!

mikeinblue commented 2 years ago

The same problem.

wzguzi commented 2 years ago

Same here.

niceboygithub commented 2 years ago

I fixed it. Please try again.

vinter-wu commented 2 years ago

chmod a+x /tmp/m1s_update.sh && /tmp/m1s_update.sh

m1s_update.sh revision: 2 type: lumi.gateway.acn01, model: AH_M1S platform: miot, path: /tmp, sign: 0 Unpack path : /tmp/ota_dir Firmware path : /data/ota_dir Available ROM size(b): 26394624 Available RAM size(b): 15499264 Get packages, please wait... md5sum: can't open '/tmp/rootfs.bin': No such file or directory Update failed, reason: getpack failed!

vinter-wu commented 2 years ago

The third attempt was successful, possibly a network connection issue.