A UniFi controller may be stuck in a perpetual state of Connecting under Cloud Access Status.
WARNING: This requires manipulation of the UniFi controller database.
Connect to mongodb on the UniFi controller host:
mongo –port 27117
USE ace
db.admin.find()
NOTE: Take a note of the ubic_uuid associated with each account.
db.setting.find()
Look for the line that begins:
{ "_id" : ObjectId("[objectid]"), "key" : "super_cloudaccess", "enabled" : true, "ubic_uuid" : "[uuid]"
NOTE: Take a note the ubic_uuid listed in this line.
db.setting.update({ _id: ObjectId("[objectid]") }, { $set: { ubic_uuid: "[uuid of desired user]"}})
exit
NOTE: Refresh the Cloud Access settings page, and the option to toggle Cloud Access should now be visible, along with a button to Disable and Remove cloud access.