Hello guys, i stumbled on that problem a couple days ago, cant find the nature of that issue, but every Provision i added happen to trying change some parameters. How did i find out ? Thanks to Tags, on some script i change the tag to understand that worked, after a couple of times i notice, i didnt changed the Presets for filtering, but script provisioned anyway. After i played with tags on one device to find out some parameters to change\refresh, i opened “Devices” tab and you know what i found ? that anyhow Tags was appeared on all devices. Only Tags which was created with Provision Script
On some scripts i remove tags, add another one, sometimes tag still, sometimes tag removed (meaning that provisioning worked - but big very BUT parameter still untouched)
for example:
Have a Preset and Provision script
To enable remote access for GPON Tag should be 222:
declare("Tags.222", null, {value: false});
declare("Tags.remote_control", null, {value: true});
let now = Date.now();
declare("InternetGatewayDevice.X_HW_Security.AclServices",{path: now},{value: 1});
declare("InternetGatewayDevice.X_HW_Security.AclServices.SSHWanEnable",{path: now},{value: true});
And for Disable i use tag 444:
declare("Tags.444", null, {value: false});
declare("Tags.remote_control", null, {value: false});
const now = Date.now();
declare("InternetGatewayDevice.X_HW_Security.AclServices",{path: now},{value: 1});
declare("InternetGatewayDevice.X_HW_Security.AclServices.SSHWanEnable",{path: now},{value: false});
Cant understand why that happen. Which way i should dig, and how you guys debug ?How to stop it ? or i should to reinstall the Genieacs, and configure from the begining ?
Also find out that problem appeared on all devices. Maybe that could help.
name: Error
message: Invalid parameter path
stack: |-
Error: Invalid parameter path
at static (/usr/lib/node_modules/lib/common/path.ts:201:39)
at null.value (/usr/lib/node_modules/lib/sandbox.ts:230:27)
at Huawei_Provisioning:2:1
at Huawei_Provisioning:29:3
at Script.runInContext (node:vm:139:12)
at async (/usr/lib/node_modules/lib/sandbox.ts:393:18)
at async (/usr/lib/node_modules/lib/session.ts:642:14)
at Array.map (<anonymous>)
at async (/usr/lib/node_modules/lib/session.ts:606:16)
at async (/usr/lib/node_modules/lib/session.ts:1067:15)