pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
73 stars 59 forks source link

"1 Firmware Upgrade Image" sysupgrade return 141, but manually run ok #14

Closed sinkcup closed 9 years ago

sinkcup commented 9 years ago

I upgrade firmware from 0.9007 to 0.9008, then from 0.9008 to 0.9007, over and again. easycwmp download the firmware to /tmp/easycwmp_download, than auto run sysupgrade, sometimes ok and auto reboot, sometimes return error 141, but at this time I manually run /bin/sh /usr/sbin/easycwmp --json json_input or /sbin/sysupgrade /tmp/easycwmp_download are all OK.

2015-01-19 10 12 46 2015-01-19 10 12 54 manually run OK: 2015-01-19 10 16 44

sinkcup commented 9 years ago

when display error, and there is a new file /etc/easycwmp/.backup.xml, and easycwmp auto exit, and can not start again. after I rm this file, easycwmp can start again. 2015-01-19 14 34 27

sinkcup commented 9 years ago

manumally run easycwmp -j apply download "1 Firmware Upgrade Image", success too. 2015-01-19 15 12 54

pivasoftware commented 9 years ago

Please feel free to update the easycwmp script according to your hardware and the openwrt version. The goal of easycwmp is to make easy the change of the data model and the download via scripts