Jump to content

Recommended Posts

Posted

Hi All

 

Hoping someone can help because I've literally spent ages doing up our new Unifi Controller. Thought I was being clever and upgraded the Ubuntu version from 17 to 18 and since doing that I can't access the Unifi's GUI.

 

I have ran the netstat command because if I access https://192.168.33.35:8443 I get a response so it's almost like computers are getting there but it then just seems to keep loading and never reach the GUI.

 

Screen Shot 2018-05-16 at 22.27.13.png

 

 

I have tried running the commands seen here also to update it as I thought maybe that was the problem but nothing https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu

 

I'm worried I've properly messed this up, I hope not because I put a lot of time and effort into setting it all up! Any help would be most appreciated :)

 

Thanks

Posted (edited)

I'm not really clued on Linux either :confused:

 

To me that does looks like it is listening on IPv6 rather than IPv4 address though?

 

Is firewall letting 8443 traffic in on IPv4? Try disabling firewall as a test.

Edited by Davit2005
Posted
You've got a unifi config backup right? You could always look to run up the windows unifi controller on another box and import the backup and you'll have your controller working again while you try to fix your ubuntu box. I moved a unifi controller yesterday afternoon, once the APs have been informed of the change of contorller IP, they just carry on as before.
Posted
So you're relying on the auto backup? I think it's here... /usr/lib/unifi/data/autobackup

Thank you. Seems I do have a very recent backup so that'll save me. I was just relying on auto backup it was quite a new server so didn't bother backing it up (I know, I know... I've learnt my lesson)

 

Is there anyway to copy this backup file to another server everytime I try to copy it I get this error message? I'm only trying to copy it to the Ubuntu desktop at the moment!!

 

Screen Shot 2018-05-17 at 15.59.10.png

Posted

Connect to a windows box using the "Connect to Server" (from memory), put in the IP, username etc then copy it across?

 

You can then create a Windows box temporarily if you want. Or copy the backup to somewhere else on the server then just reinstall the older version and load the backup

  • 2 weeks later...
Posted (edited)

Not sure if you resolved this. Had to look at this issues myself and remembered this thread.

 

MongoDB 3.6 isn't support by Unifi yet but there is a workaround.

 

systemctl stop unifi

systemctl stop mongodb

mv /usr/bin/mongod mongod.bin

 

Create a new /usr/bin/mongodb with the following contents:

 

#!/bin/bashcleaned_args=$(echo $* | sed -e 's/--nohttpinterface//')exec /usr/bin/mongod.bin ${cleaned_args}

 

Then run

 

chmod +x /usr/bin/mongod

systemctl start mongodb

systemctl start unifi

Edited by JackCPickup

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...