ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unifi Upgrade from 5.7.23 to 5.8.24 MongoDB upgrade issue

    Scheduled Pinned Locked Moved IT Discussion
    unifimongodb 3.4unifi 5.8.24ubuntu 18.04
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dbeatoD
      dbeato
      last edited by

      So I updated my Unifi Sources as the below:
      https://help.ubnt.com/hc/en-us/articles/220066768-UniFi-How-to-Install-Update-via-APT-on-Debian-or-Ubuntu based on this

      1.  Use the following command to add a new source list:  
      echo 'deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
      	
      NOTE: Using http://www.ubnt.com/downloads/unifi/debian on a browser will result in a 403 Forbidden page. This is because we do not allow direct listing/access to this link. The URL is only meant to be used when using the CLI commands as in the one shown above.
      2. Add the GPG Keys. To add the GPG Keys use one of the two methods described below, Method A is recommended. When using the commands below, it is assumed you have sudo and wget installed, more information about sudo can be found here, and wget here.
      
      	
      User Tip: For Ubuntu 18.04, run the following commands before installing UniFi in step 4.
      sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
      echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
      sudo apt update.
      Click to copy
      See an example of what scripts the Community is using to install the UniFi Controller on Ubuntu 16.04 and 18.04 in this Community post.
      (Method A) Download and install the following trusted key into /etc/apt/trusted.gpg.d
      
      sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ubnt.com/unifi/unifi-repo.gpg 
      (Method B) Using apt-key.
      
      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50 
      3. Update. Retrieve the latest package information. Note: If this results in an error, please check the User Tip below.
      
      sudo apt update 
      4. Install and upgrade the UniFi controller.
      
      sudo apt install unifi
      

      But I got this error
      0_1533850028656_2018-08-09_17-26-30.png

      I fixed that error as below... since I needed it

      sudo dpkg -i --force-all /var/cache/apt/archives/mongodb-org-server_3.4.16_amd64.deb
      sudo apt-get install -f
      
      

      Then it upgraded properly to Unifi 5.8.24
      0_1533850161554_2018-08-09_17-28-26.png

      Maybe this will help someone.

      1 Reply Last reply Reply Quote 4
      • 1 / 1
      • First post
        Last post