Changing the Default Site in UniFi

Start mongo:



Switch to the UniFi database:



List the sites in the database:



Result:
{ "_id" : ObjectId("hex number 1"), "name" : "default", "desc" : "Default", "attr_hidden_id" : "default", "attr_no_delete" : true }
{ "_id" : ObjectId("hex number 2"), "desc" : "Site 2", "name" : "utn83o47", "location_lat" : 40.7128, "location_lng" : -74.0060, "location_accuracy" : 0 }

Modify:



Verify:



Reboot: OS Settings > Console Settings > Controls > Restart
Delete default: Network > Settings > System > Delete site

Rename site to default: