Changes

From SME Server
Jump to navigationJump to search
3,284 bytes added ,  23:45, 12 January 2021
no edit summary
Line 52: Line 52:     
you can then remove the content of : /opt/UniFi and /opt/Unifi_bak
 
you can then remove the content of : /opt/UniFi and /opt/Unifi_bak
 +
 +
=== Upgrade installed version ===
 +
This will be a 3 steps upgrade
 +
# find the version you want to update to, and list of allowed to upgrade release from
 +
# find your current version release, and update to the minimal needed release
 +
# update to the last version you want.
 +
 +
First you will need to find the current installed version :<syntaxhighlight lang="bash">
 +
# config getprop unifi VersionToInstall
 +
5.6.30
 +
</syntaxhighlight>
 +
 +
Then you will need to check what is the version needed to upgrade to the desired version. Let's say 6.0.43 : https://community.ui.com/releases/UniFi-Network-Controller-6-0-43/b28bb453-927a-4dd8-82f7-40af28505510<syntaxhighlight>
 +
 +
6.0.43 and earlier 6.0.x versions.
 +
5.14.25 and earlier 5.14.x versions.
 +
5.13.33 and earlier 5.13.x versions.
 +
5.12.72 and earlier 5.12.x versions.
 +
5.11.52 and earlier 5.11.x versions.
 +
5.10.27 and earlier 5.10.x versions.
 +
5.9.33 and earlier 5.9.x versions.
 +
5.8.30 and earlier 5.8.x versions.
 +
5.7.28 and earlier 5.7.x versions.
 +
5.6.42 and earlier 5.6.x versions.
 +
Most earlier versions are also supported for direct upgrade, going back to 3.1.0.
 +
 +
</syntaxhighlight>
 +
 +
or  5.10.25
 +
https://community.ui.com/releases/UniFi-Network-Controller-Stable-5-10-25/fc76945d-c918-4d8d-8cd1-094d05287f45
 +
<syntaxhighlight>
 +
    Existing UniFi controllers must be on one of the following versions in order to upgrade directly to this version:
 +
    5.10.24 and earlier 5.10.x versions.
 +
    5.9.33 and earlier 5.9.x versions.
 +
    5.8.30 and earlier 5.8.x versions.
 +
    5.7.28 and earlier 5.7.x versions.
 +
    5.6.42 and earlier 5.6.x versions.
 +
    Most earlier versions are also supported for direct upgrade, going back to 3.1.0.
 +
 +
</syntaxhighlight>
 +
 +
check the lowest release needed  is available<syntaxhighlight>
 +
# wget https://www.ubnt.com/downloads/unifi/5.6.42/UniFi.unix.zip -O UniFi.unix.5.6.42.zip
 +
--2021-01-12 15:15:16--  https://www.ubnt.com/downloads/unifi/5.6.42/UniFi.unix.zip
 +
Résolution de www.ubnt.com... 52.89.51.163, 52.36.159.148, 54.200.240.95
 +
Connexion vers www.ubnt.com|52.89.51.163|:443...connecté.
 +
requête HTTP transmise, en attente de la réponse...301 Moved Permanently
 +
Emplacement: https://www.ui.com/downloads/unifi/5.6.42/UniFi.unix.zip [suivant]
 +
--2021-01-12 15:15:16--  https://www.ui.com/downloads/unifi/5.6.42/UniFi.unix.zip
 +
Résolution de www.ui.com... 52.40.47.125, 44.238.178.238, 52.33.211.203
 +
Connexion vers www.ui.com|52.40.47.125|:443...connecté.
 +
requête HTTP transmise, en attente de la réponse...301 Moved Permanently
 +
Emplacement: https://dl.ubnt.com/unifi/5.6.42/UniFi.unix.zip [suivant]
 +
--2021-01-12 15:15:16--  https://dl.ubnt.com/unifi/5.6.42/UniFi.unix.zip
 +
Résolution de dl.ubnt.com... 13.225.199.94
 +
Connexion vers dl.ubnt.com|13.225.199.94|:443...connecté.
 +
requête HTTP transmise, en attente de la réponse...200 OK
 +
Longueur: 63581448 (61M) [application/zip]
 +
Sauvegarde en : «UniFi.unix.5.6.42.zip»
 +
 +
</syntaxhighlight>then set your update release, and launch event to do the upgrade :<syntaxhighlight lang="bash">
 +
# config setprop unifi VersionToInstall 5.6.42
 +
# signal-event smeserver-unifi-install
 +
</syntaxhighlight>then finally update to desired version<syntaxhighlight lang="bash">
 +
# config setprop unifi VersionToInstall 5.10.25
 +
# signal-event smeserver-unifi-install
 +
</syntaxhighlight>
    
=== Configuration ===
 
=== Configuration ===
Line 68: Line 135:     
the way to fix
 
the way to fix
<syntaxhighlight lang="bash" highlight="1" start='1' line>
+
<syntaxhighlight lang="bash" highlight="1" start="1" line="">
 
sed -i s/1024/2048/ /etc/security/limits.d/90-nproc.conf
 
sed -i s/1024/2048/ /etc/security/limits.d/90-nproc.conf
 
</syntaxhighlight>
 
</syntaxhighlight>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,221

edits

Navigation menu