# TTOG Will NOT save

**URL:** <https://www.thethingsnetwork.org/forum/t/ttog-will-not-save/40577>\
**Category:** Uncategorized\
**Created:** [October 14, 2020, 7:30pm UTC](https://www.thethingsnetwork.org/forum/t/ttog-will-not-save/40577 "2020-10-14T19:30:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin192291](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kevin192291/32/46332_2.png) [@Kevin192291](https://www.thethingsnetwork.org/forum/u/Kevin192291)\
**Post date:** [October 14, 2020, 7:30pm UTC](https://www.thethingsnetwork.org/forum/t/ttog-will-not-save/40577/1 "2020-10-14T19:30:12Z")

</div>

I was updating some frequencies on TTOG, and after saving, all settings are blank.  
After trying to fill all setting back in, they settings save, but when the page refreshes, everything  
is blank still. I tried to do a system restore. All numbers remain blank. I tried flashing the firmware,  
but it says I am at the latest firmware. I tried removing the power, waiting some time, and plugging it  
back in, all numbers are still bank. unable to save any settings.

I found it looks like an invalid JSON file.

```auto
ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***

ERROR: /app/cfg/global_conf_0.json is not a valid JSON file

INFO: found global configuration file /app/cfg/global_conf_0.json, parsing it

INFO: gateway MAC address is configured as FFFFFFFFFFFFFFF3

INFO: Little endian host

***

Version: 5.0.1;

***Lora concentrator HAL library version info***

Version: 4.0.1

***Beacon Packet Forwarder for Lora Gateway***
```

Firmware bug?  
Any ideas on how to fix this?

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 14, 2020, 8:08pm UTC](https://www.thethingsnetwork.org/forum/t/ttog-will-not-save/40577/2 "2020-10-14T20:08:27Z")

</div>

Please don’t dump a large number of repetitive lines in a message. And [format](https://www.thethingsnetwork.org/forum/t/how-do-i-format-my-forum-post-howto/8735) your posts for readability.

Are you able to access the gateway using ssh? In that case you can attempt to edit the file and correct the issues.

---

<div class="post-metadata">

**Author:** ![Kevin192291](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kevin192291/32/46332_2.png) [@Kevin192291](https://www.thethingsnetwork.org/forum/u/Kevin192291)\
**Post date:** [October 14, 2020, 8:46pm UTC](https://www.thethingsnetwork.org/forum/t/ttog-will-not-save/40577/3 "2020-10-14T20:46:37Z")

</div>

I was able to ssh into the gateway and I found a file prefixed with bk\_ It was a backup of the file that was corrupt, I am not starting to doubt the reliability of this gateway. Any idea if this is a reliable piece of hardware and what may have caused this .JSON file to become corrupt? Perhaps a lack of validation on input on the front-end and no check on the back? Or something else?

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [October 14, 2020, 10:44pm UTC](https://www.thethingsnetwork.org/forum/t/ttog-will-not-save/40577/4 "2020-10-14T22:44:23Z")

</div>

> [@Kevin192291](#):
>
> what may have caused this .JSON file to become corrupt

Your attempts to update the frequencies probably mangled the file. Sounds like an issue with the webinterface used for that purpose to me. I don’t think this is a hardware issue. Just stay away from the part of the web site which allows changing frequencies.
