<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Dan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">When you are trying to delete the download task you are double encoding the _id in the request?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">E.g. 00236a-96318REF-SR360NA0A4%252D0003196<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Not 00236a-96318REF-SR360NA0A4%2D0003196<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Yak<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Users [mailto:users-bounces@lists.genieacs.com]
<b>On Behalf Of </b>Dan Morphis<br>
<b>Sent:</b> 01 June 2017 22:53<br>
<b>To:</b> Community support for GenieACS users <users@lists.genieacs.com><br>
<b>Subject:</b> Uploading files to CPEs looping<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I'm trying to do firmware/config upgrades with genie from master (as of 2 weeks ago). The modem successfully downloads the config file and reboots. Modem comes back online in the BOOTSTRAP state, and then genie sends the file to the CPE
 again, repeat over and over.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I cannot delete the download task either. When I try to delete the task via the API, I get back a 404.I have to open up the mongo console to delete the task.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Here is the actual task from the mongo db:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">{<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  "_id": "00236a-96318REF-SR360NA0A4%2D0003196",<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  "name": "download",<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  "file": "360_defaults_2017_apr_12.conf",<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  "filename": "360_defaults_2017_apr_12.conf",<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  "device": "00236a-96318REF-SR360NA0A4%2D0003196",<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  "timestamp": "2017-06-01T21:21:14.972Z"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">}<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Console log: <a href="https://pastebin.com/3U78yELJ">https://pastebin.com/3U78yELJ</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">SOAP log: <a href="https://pastebin.com/RmxwGTai">https://pastebin.com/RmxwGTai</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
<span style="font-family:arial;font-size:10px;margin:0px">--<br>
<b>Yak Hawkes</b><br>
Systems Developer<br>
<b>Zen Internet</b><br>
</span><span style="font-family:arial;font-size:10px;margin:0px">Web: zen.co.uk<br>
</span><br>
<p style="font-family:arial;font-size:10px;color:#00928F;margin:0px">Winner of 'Services Company of the Year' at the UK IT Industry Awards<br>
<br>
</p>
<p style="font-family:arial;font-size:7px;margin:0px">This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.</p>
<br>
<p style="font-family:arial;font-size:7px;margin:0px">Zen Internet Limited may monitor email traffic data to manage billing, to handle customer enquiries and for the prevention and detection of fraud. We may also monitor the content of emails sent to and/or
 from Zen Internet Limited for the purposes of security, staff training and to monitor quality of service.<br>
<br>
Zen Internet Limited is registered in England and Wales, Sandbrook Park, Sandbrook Way, Rochdale, OL11 1RY Company No. 03101568 VAT Reg No. 686 0495 01
</p>
</body>
</html>