Anonymous | Login | Signup for a new account | 2021-03-09 02:06 CET | ![]() |
My View | View Issues | Change Log | Roadmap | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000168 | easycwmp | [All Projects] Bug | public | 2016-10-19 09:24 | 2016-10-20 08:43 | ||||
Reporter | geek007 | ||||||||
Assigned To | mohamed.kallel | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Platform | Openwrt CC 15.05 easycwmp 1.3.4. | OS | Openwrt - Linux | OS Version | 3.18.27 | ||||
Summary | 0000168: "3 Vendor Configuration FIle" set failed | ||||||||
Description | I tried to test 3 Vendor configuration file event. I could see below log: Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: start download url = http://192.168.20.143:8080/openacs/firmware/backup-2016-10-17.tar.gz, [^] FileType = '3 Vendor Configuration File', CommandKey =' Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: external script init Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: external: execute download Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: add event '7 TRANSFER COMPLETE' Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: add event 'M Download' Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: external: execute apply download 3 Vendor Configuration File Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: download error: 'Download failure: file corrupted' Wed Oct 19 03:13:30 2016 daemon.notice easycwmpd: external script exit From log download success but final configuration setting failed. Does easycwmp support openwrt *.tar.gz file based configuration set up. | ||||||||
Steps To Reproduce | API in cwmp.c void cwmp_download_launch(struct uloop_timeout *timeout) external_action_simple_execute("apply", "download", d->file_type); external_action_handle(json_handle_method_status); external_fetch_method_resp_status(&status, &fault); if d->file_type is "3 Vendor Configuration File" then need to use API to execute tar xzvf -C / /path/to/your/backup-xxx.tar.gz may be simple popen and reboot after 5 seconds or so | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
(0000556) mohamed.kallel (manager) 2016-10-19 10:42 |
The easycwmp does not support the config format openwrt *.tar.gz. EasyCwmp support the config file that exported with "uci export >config" command. If you want to work with the *.tar.gz, then you have to update the easycwmp script. |
![]() |
|||
Date Modified | Username | Field | Change |
2016-10-19 09:24 | geek007 | New Issue | |
2016-10-19 10:42 | mohamed.kallel | Note Added: 0000556 | |
2016-10-20 08:43 | mohamed.kallel | Status | new => resolved |
2016-10-20 08:43 | mohamed.kallel | Resolution | open => no change required |
2016-10-20 08:43 | mohamed.kallel | Assigned To | => mohamed.kallel |
Copyright © 2000 - 2021 MantisBT Team |