Bizarre Issue with External Scripts

Ralf Sawazki rsawazki at gobcn.ca
Fri Jul 28 13:56:36 EDT 2017


Alright, that fixed it. But I believe i'm still having a caching issue.

When I'm using the external script, no matter what changes I make to it, it
will always run an older version of it that doesn't exist.

If my genieacs provision says:
let test = ext("getPPPoE","b", serial, mac);

and I change the name of the file getPPPoE to getPPPoE_BAK for example, the
provision will keep running and not show any faults.

Now, If i change my genieacs provision to say:
let test = ext("getPPPoE_BAK","b", serial, mac);

It will start running my new script with no issue.

So is the solution to rename my file everytime I make a change, and reflect
that rename in the file name in the provision?

If, in the first situation where the provision is running a script that
doesn't exist, I manually change the username in the router, the provision
will no longer update the username.

Thanks for the help

On Thu, Jul 27, 2017 at 6:15 PM, Dan Morphis <dan at milkcarton.com> wrote:

> restart the cwmp.
>
> On Thu, Jul 27, 2017 at 11:40 AM, Ralf Sawazki <rsawazki at gobcn.ca> wrote:
>
>> Update:
>>
>> I tried to rename my external script so that the provision couldn't find
>> it, and it is still swapping between those two values.
>>
>> On Thu, Jul 27, 2017 at 2:18 PM, Ralf Sawazki <rsawazki at gobcn.ca> wrote:
>>
>>> Hello all,
>>>
>>> Images <http://imgur.com/a/BtB3U>
>>>
>>> The images above show what I see.
>>>
>>> The situation is that due to caching, seemingly, genieacs is alternating
>>> between my current external script, and an older version that no longer
>>> exists. I have the tr069 periodic inform interval at 5 seconds for testing
>>> atm, and every 5 seconds, it swaps between the expected information of the
>>> serial and mac, and the old output of literally arg[0] and arg[1].
>>>
>>> I'm completely stumped as to what's going on.
>>> --
>>> Ralf Sawazki
>>> 1 (204) 594-2567 <%28204%29%20594-2566>
>>> Broadband Communications North Inc.
>>> 26-30 Fort Street
>>> Winnipeg. MB
>>> R3C 1C4
>>>
>>
>>
>>
>> --
>> Ralf Sawazki
>> 1 (204) 594-2567 <%28204%29%20594-2566>
>> Broadband Communications North Inc.
>> 26-30 Fort Street
>> Winnipeg. MB
>> R3C 1C4
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>


-- 
Ralf Sawazki
1 (204) 594-2567 <%28204%29%20594-2566>
Broadband Communications North Inc.
26-30 Fort Street
Winnipeg. MB
R3C 1C4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170728/3001ef7c/attachment.html>


More information about the Users mailing list