<div dir="ltr">I've seen this same behavior when there was no fault.<div><br></div><div>Yes, I created the task via the API.</div><div><br></div><div>I just looked into this a little bit more and it looks to be an issue with how v1.0 and v1.1 handle tasks. In the specific instance of file upgrades, (for some odd reason) I was setting the _id to be the ACS ID for the device (I honestly have no clue why I did that). Obviously this is incorrect behavior on my part. This caused no issues with v1.0 but obviously causes issues with v1.1. So I removed the explicit setting of the ID.</div><div><br></div><div>I retested everything and it works fine now. I apologize for the troubles.</div><div><br></div><div>-dan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 5, 2017 at 11:13 AM, Zaid Abdulla <span dir="ltr"><<a href="mailto:zaid@genieacs.com" target="_blank">zaid@genieacs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2017-06-01 at 13:52 -0800, Dan Morphis wrote:<br>
> I'm trying to do firmware/config upgrades with genie from master (as<br>
> of 2 weeks ago). The modem successfully downloads the config file and<br>
> reboots. Modem comes back online in the BOOTSTRAP state, and then<br>
> genie sends the file to the CPE again, repeat over and over.<br>
<br>
</span>The logs show an exception. That explains why the task is never cleared<br>
as tasks are cleared at the end of the session.<br>
<br>
Could you update the function clearTasks in db.coffee to print the<br>
value of taskIds console.dir()? For some reason the task ID is not a<br>
valid Mongo ID and that's causing the exception. I assume you inserted<br>
the task through the API, right?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Zaid Abdulla <<a href="mailto:zaid@genieacs.com">zaid@genieacs.com</a>><br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
</font></span></blockquote></div><br></div>