Scheduled maintenance: Community will be offline Monday June 17th, 1:00 AM - 6:00 AM (PT)
Reply
New Member
Posts: 7
Registered: ‎01-22-2019

Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

[ Edited ]

 

Hello!

 

New user and probably a noob issue...

 

Successfully installed new WAP and UniFi Controller 5.9.29 on iMAC running OSX 10.13.6 and SAFARI 12.0.3

 

All has been working great since Sunday.

 

Today had to re-start the iMAC and have since been unable to login to UniFi Controller via the local web page.

 

Network is running just fine but I can't log in and I'm 99% certain I have the correct ID and PW.

 

I've clicked the Forgot Password link multiple times and not received any PW reset instructions.

 

Appreciate any suggestions.

 

Thanks!

 

-Steve

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Hello @OAKMTN,

 

Welcome to the community!

 

Could you try the following?

mongo --port 27117 ace --eval "db.admin.find().forEach(printjson);"
mongo --port 27117 ace --eval 'db.admin.update( { "name" : "<UserName>" }, { $set : { "x_shadow" : "$6$LQAXww.ujZiKKa$OxmuG3XtyllWkAzgJ1P6yFZ3EagqFHD90dHEkEZsNW0EbBTURjm3JodKfEyPHNDjftzPuJVVqKbfwT9JZF7g80" } } )'

Replace <UserName> with the admin account name.

 

The password should be "password" if everything runs correctly.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 7
Registered: ‎01-22-2019

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Thanks Glenn!

 

Really appreciate the suggestions.

 

I'm not familiar with running terminal or shell commands so a bit out of my depth with these.

 

Is Mongo normally installed with the UniFi package?  I don't seem to find it or know how to start it up.

 

Again apologies for noob level skills.

 

Many thanks!

 

-Steve

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Hello @OAKMTN ,

 

Yes UniFi run on MongoDB, could you perhaps just try to first command to see what it does?

Just paste it in a terminal

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 7
Registered: ‎01-22-2019

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

 

Hi Glenn-

 

I get this when entering the first command into terminal:

 

-bash: mongo: command not found

 

As before, I'm pretty far out of my experience level with even launching Terminal so appreciate any specifics of what I should be doing.  Do I need to start up mongo or open a special window other than just starting Terminal?

 

Many many thanks,

 

-Steve

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Hello @OAKMTN.

 

Download the Mongo here, that run it in the terminal.

 


Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 7
Registered: ‎01-22-2019

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Thanks again Glenn!

 

I have downloaded but don't know how to install.

 

As before, I really have nearly no experience with Terminal or anything outside of the OSX GUI.

 

Greatly appreciated,

 

-Steve (aka S.n00b)

 

 

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

[ Edited ]

Hello @OAKMTN,

 

Don't have much experience with MacOS... Hahah sorry..

Extract Mongo: Move the downloaded package to your working directory, and extract it by double-clicking it or using the application of your choice.

Move Mongo to Working Directory: Locate the bin/mongo binary file, and copy it to your working directory.  At this point, the downloaded .tgz package and any extra extracted files can be deleted as we only need the mongo binary.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 7
Registered: ‎01-22-2019

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Thanks again Glenn!

 

I wish I could keep up with this but I don't know how to find my working directory or what to do after that.

 

Truly I appreciate your kind assistance and any more details you can share to coach me along this process.

 

All the best,

 

-Steve

Regular Member
Posts: 374
Registered: ‎04-22-2018
Kudos: 82
Solutions: 4

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6


@OAKMTN wrote:

Thanks again Glenn!

 

I wish I could keep up with this but I don't know how to find my working directory or what to do after that.

 

Truly I appreciate your kind assistance and any more details you can share to coach me along this process.

 

All the best,

 

-Steve


 

Exact it to ANY directory. Either make a new directory or extract it to download, just somewhere you u can find it 


AP AC LITE
UAP nanoHD (x2)
Edgerouter 4
Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Hello @OAKMTN,

 

Any directory that you know about should be fine.

 

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 7
Registered: ‎01-22-2019

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

OK, thanks!

 

Pasting just the first line from your original reply into a terminal window, I get the following:

 

-bash: mongo: command not found

 

 

Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Hello @OAKMTN,

 

Do you have autoabackups?

If so send me the latest one via a PM.

 


Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
New Member
Posts: 7
Registered: ‎01-22-2019

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Thanks Glenn!

 

Since I just have the one WAP in a home situation and this was pretty much way above my technical skill level I decided to punt and re-install the UniFi Controller software and reset the WAP.

 

Greatly appreciate the info and suggestions.  And your patience with my non-existent technical skills.

 

-Steve

Highlighted
Senior Member
Posts: 25,956
Registered: ‎08-04-2017
Kudos: 4869
Solutions: 1288

Re: Unable to Login UniFi Controller (5.9.29) on Mac OSX 10.13.6

Hello @OAKMTN,

 

Haha, thats also an option!

Glad you're back up and running!

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
Reply