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
Next revision
Previous revision
guides:changing_the_default_site_in_unifi [2020/03/21 20:20] ennateguides:changing_the_default_site_in_unifi [2025/05/12 13:37] (current) – external edit 127.0.0.1
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.1584840010.txt.gz
  • Last modified: 2025/05/12 13:37
  • (external edit)