I have restored a complete mirror image of my full VPS server running ERPNext v10 to another identical VPS server so I could keep a running copy for testing.
I edited the site_config.json file to remove all of the old domain references and the encryption keys since they would no longer be valid. What remains is the following:
(the db name and db password were sanitized for this example)
{
“db_name”: “1xxxxxxxxxxxxxx0”,
“db_password”: “9yyyyyyyyyyyyyy0”,
“limits”: {
“space_usage”: {
“database_size”: 144.81,
“files_size”: 6.0,
“total”: 206.81,
“backup_size”: 56.0
}
}
I am concerned because there appears to be an extra open brace that doesn’t have a closing brace to match.
So I am curious if it is safe to just delete everything from “limits” to the first closing brace and leave the file like this:
{
“db_name”: “1xxxxxxxxxxxxxx0”,
“db_password”: “9yyyyyyyyyyyyyy0”,
}
I notice that other sites on the multi-tenant do not have anything but their dn_name and db_password entries.
If I edit the site1.local version of site_config.json to eliminate everything except the db_name and db_password entries, will the system regenerate the other items later during the course of just using the application?
I am just looking to clean up anything that I might have already messed up by editing the file in the first place. Not sure if the weird brace configuration is something I caused of not, but I want to give the system it’s best chance of working properly by fixing this file.
Any guidance will be greatly appreciated.
BKM