abillybob Posted May 16, 2018 Posted May 16, 2018 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. 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
caffrey Posted May 17, 2018 Posted May 17, 2018 this help ? https://community.ubnt.com/t5/UniFi-Wireless/Unifi-controller-on-Ubuntu-18-04/td-p/2331657
abillybob Posted May 17, 2018 Author Posted May 17, 2018 I'm not 100% sure about Linux commands so I've copied and pasted everything on that but it doesn't seem to have done anything
Davit2005 Posted May 17, 2018 Posted May 17, 2018 (edited) I'm not really clued on Linux either 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 May 17, 2018 by Davit2005
abillybob Posted May 17, 2018 Author Posted May 17, 2018 No firewall is active on the server so definitely not this
IrritableTech Posted May 17, 2018 Posted May 17, 2018 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.
abillybob Posted May 17, 2018 Author Posted May 17, 2018 I do but don't have a clue where the backup files are located on Ubuntu? Any ideas?
caffrey Posted May 17, 2018 Posted May 17, 2018 Upgraded Java ? https://www.reddit.com/r/Ubiquiti/comments/8eusql/dont_upgrade_your_unfi_installation_to_ubuntu_lts/
IrritableTech Posted May 17, 2018 Posted May 17, 2018 So you're relying on the auto backup? I think it's here... /usr/lib/unifi/data/autobackup
JackCPickup Posted May 17, 2018 Posted May 17, 2018 Looks like recommended advice atm is don't upgrade to 18.04 until Ubiquiti release a new version. Roll-back and wait for that I guess.
abillybob Posted May 17, 2018 Author Posted May 17, 2018 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!!
Achandler Posted May 18, 2018 Posted May 18, 2018 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
JackCPickup Posted May 30, 2018 Posted May 30, 2018 (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 May 30, 2018 by JackCPickup
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now