Am getting this error when trying to login to my self hosted UniFi 7.3.83 Network Controller. The error message is:
“There was an error making that request. Please try again later.”
Note Before:
- I already tried restarting the UniFi service (# service unifi restart) – didn’t work
- I already tried restarting the MongoDB service (# systemctl restart mongod) – didn’t work
- Already tried restarting the whole server – didn’t work
- I also attempted a database repair as recommended by this forum, link here but it also didn’t resolve the problem!
This issue can be solved by upgrading to the latest UniFi Controller 8.2.93
If you are running a self-hosted UniFi network controller on Linux, you can do this by running this command:
# apt upgrade unifi
Note: Make sure to take a backup before the upgrade.
Also the error could be because Ubiquiti is trying to enforce MFA (multi-factor authentication) on their platforms including the controller. You should have received such notification:
“We wanted to extend a reminder that, beginning July 22, 2024, multi-factor authentication (MFA) will be mandatory for all accounts. You may choose an authentication method below, or visit account.ui.com/security.
If you do not have an authentication method configured by the deadline, you will default to email authentication using the registered email on your account.”
So before you run the upgrade to UniFi 8.2.93, i recommed you go through the steps to setup the MFA.