guides:changing_the_default_site_in_unifi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
guides:changing_the_default_site_in_unifi [2020/03/21 21:20]
ennate
guides:changing_the_default_site_in_unifi [2020/03/21 21:23] (current)
ennate
Line 31: Line 31:
  
 Once the old default site is deleted from within the controller UI, you can re-enter mongo and update your desired default site's name to '​default'​ so that it is addressable with '​default'​ in the controller URL (e.g. <​https://​unifi:​8443/​manage/​default>​):​ Once the old default site is deleted from within the controller UI, you can re-enter mongo and update your desired default site's name to '​default'​ so that it is addressable with '​default'​ in the controller URL (e.g. <​https://​unifi:​8443/​manage/​default>​):​
-<​code>​db.site.update({ _id: ObjectId("​[hex number 2]") }, { $set: { name: default}})</​code>​+<​code>​db.site.update({ _id: ObjectId("​[hex number 2]") }, { $set: { name: "default"}})</​code>​ 
 + 
 +If you don't want to delete the old default site, make sure you also change its default name so that two sites are not both named '​default':​ 
 +<​code>​db.site.update({ _id: ObjectId("​[hex number 1]") }, { $set: { name: "[any unique 8-char alphanumeric string]"​}})</​code>​ 
  
  
 //Credit: @ckd in the unofficial Ubiquiti Discord// //Credit: @ckd in the unofficial Ubiquiti Discord//
  • guides/changing_the_default_site_in_unifi.txt
  • Last modified: 2020/03/21 21:23
  • by ennate