# Upgrade config EG8245H

**URL:** <https://forum.genieacs.com/t/upgrade-config-eg8245h/376>\
**Category:** Uncategorized\
**Created:** [October 22, 2019, 1:44pm UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376 "2019-10-22T13:44:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://forum.genieacs.com/u/alex)\
**Post date:** [October 22, 2019, 1:44pm UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376/1 "2019-10-22T13:44:41Z")

</div>

I try to download config throw GenieACS I use recomended script

> let now = Date.now();  
> let model = declare(“InternetGatewayDevice.DeviceInfo.ModelName”,  
> {value: 1}).value[0];  
> //Map the CPE model to the config file  
> let cfgs = {  
> ‘EG8245H’: ‘myconfigname.xml’  
> };
> 
> let lastConfigFile =  
> declare(“Downloads.[FileType:3 Vendor Configuration File].FileName”,  
> {value: Date.now()})
> 
> let configFile = cfgs[model];
> 
> if (!configFile) {  
> //log(‘No config for CPE’, {model: model, cfgs: cfgs});  
> return;  
> }
> 
> if (lastConfigFile !== undefined && lastConfigFile.value !== undefined) {  
> lastConfigFile = lastConfigFile.value[0];  
> } else {  
> lastConfigFile = null;  
> }
> 
> if (lastConfigFile !== configFile) {  
> log(‘Upgrading config’, {model: model, configFile: configFile});  
> declare(“Downloads.[FileType:3 Vendor Configuration File]”,  
> {path: 1}, {path: 1});  
> declare(“Downloads.[FileType:3 Vendor Configuration File].FileName”,  
> {value: 1}, {value: configFile});  
> declare(“Downloads.[FileType:3 Vendor Configuration File].Download”,  
> {value: 1}, {value: now});  
> }

In log I saw that it downloaded but nothing change.  
Where I make mistake?  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [October 22, 2019, 4:26pm UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376/2 "2019-10-22T16:26:46Z")

</div>

Do you see the corresponding “7 TRANSFER COMPLETE” event in the log for the CPE?

Whats in the logs on the device?

---

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://forum.genieacs.com/u/alex)\
**Post date:** [October 22, 2019, 6:10pm UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376/3 "2019-10-22T18:10:58Z")

</div>

Yes I saw command “7 TRANSFER COMPLETE” than device reboot with  
declare(“Reboot”, null, {value: Date.now()}) comand. But nothing change.  
Tomorrow I will look to device logs.

---

<div class="post-metadata">

**Author:** ![alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@alex](https://forum.genieacs.com/u/alex)\
**Post date:** [October 23, 2019, 10:55am UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376/4 "2019-10-23T10:55:39Z")

</div>

in device log is

> 2019-10-23 12:46:55 [Error][Alarm-Log] AlarmID:104505,AlarmLevel:Error,Updating configuration file.Terminal:ACS
> 
> 2019-10-23 12:46:56 [Error][Alarm-Log] AlarmID:104506,AlarmLevel:Error,Configuration file successfully updated.Terminal:ACS
> 
> 2019-10-23 12:47:13 [Error][Alarm-Log] AlarmID:104001,AlarmLevel:Error,Device reset. Cause: [0], Terminal:ACS
> 
> 1981-01-01 00:00:41 [Critical][Config-Log] Terminal:OLT(-),Result:Success,Type:Set,Msg:Me[11] Inst[257] Att[5] Val[0]
> 
> 1981-01-01 00:00:41 [Critical][Config-Log] Terminal:OLT(-),Result:Success,Type:Set,Msg:Me[11] Inst[258] Att[5] Val[0]
> 
> 1981-01-01 00:00:41 [Critical][Config-Log] Terminal:OLT(-),Result:Success,Type:Set,Msg:Me[11] Inst[259] Att[5] Val[0]
> 
> 1981-01-01 00:00:41 [Critical][Config-Log] Terminal:OLT(-),Result:Success,Type:Set,Msg:Me[11] Inst[260] Att[5] Val[0]

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [October 23, 2019, 3:48pm UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376/5 "2019-10-23T15:48:09Z")

</div>

I’d say contact your CPE vendor. Their error messages don’t make sense… “Error,Configuration file successfully updated.Terminal:ACS”

---

<div class="post-metadata">

**Author:** ![aco](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@aco](https://forum.genieacs.com/u/aco)\
**Post date:** [February 2, 2022, 11:41am UTC](https://forum.genieacs.com/t/upgrade-config-eg8245h/376/6 "2022-02-02T11:41:09Z")

</div>

Hi all, this is my first post, so please don’t be harsh 🙂

I have exactly the same thing, only with Huawei HG8247H model. With Push file from Devices tab, I got ONT provisioned, but trough Preset, with 0 BOOTSTRAP nothing happens. The XML files is correctly picked up by ONT in both cases.

Have anyone idea of what my be the problem?
