web-archive/Install Unifi Controller Linux.html

392 lines
155 KiB
HTML
Raw Normal View History

2023-09-01 08:20:19 +02:00
<!DOCTYPE html> <html dir=ltr style lang=en-US><!--
Page saved with SingleFile
url: https://help.ui.com/hc/en-us/articles/220066768
saved date: Wed May 10 2023 11:28:42 GMT+0200 (Central European Summer Time)
--><meta charset=utf-8>
<title>Updating Self-Hosted UniFi Network Servers (Linux) Ubiquiti Support and Help Center</title>
<meta name=description content="This article provides the steps to update the UniFi Network application to the current stable release on a Debian or Ubuntu system via..."><meta property=og:image content=https://theme.zdassets.com/theme_assets/77613/c91f7f2114c450fecd5c4f39f8f960d6c5c77622.png>
<meta property=og:type content=website>
<meta property=og:site_name content="Ubiquiti Support and Help Center">
<meta property=og:title content="Updating Self-Hosted UniFi Network Servers (Linux)">
<meta property=og:description content="This article provides the steps to update the UniFi Network application to the current stable release on a Debian or Ubuntu system via APT (Advanced Package Tool). If you run into issues following ...">
<meta property=og:url content=https://help.ui.com/hc/en-us/articles/220066768-Updating-Self-Hosted-UniFi-Network-Servers-Linux->
<link rel=canonical href=https://help.ui.com/hc/en-us/articles/220066768-Updating-Self-Hosted-UniFi-Network-Servers-Linux->
<link rel=alternate hreflang=en href=https://help.ui.com/hc/en-us/articles/220066768-Updating-Self-Hosted-UniFi-Network-Servers-Linux->
<style>:root{--wysiwyg-image-spacing:1.5em;--wysiwyg-inline-image-spacing:calc(var(--wysiwyg-image-spacing)/2)}.wysiwyg-underline{text-decoration:underline}@-webkit-keyframes slide{from{left:0}to{left:-100%}}@keyframes slide{from{left:0}to{left:-100%}}body{margin:0}body{min-height:100vh;display:flex;flex-direction:column;font:400 14px/20px"UI Sans","Lato",sans-serif;color:rgba(0,0,0,0.65)}hr{background-color:#ededf0;height:1px;width:100%;border:0px}.body-wrapper{height:100%;width:100%;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 53.72%);background-size:100% 552px;background-repeat:no-repeat;background-color:#f6f6f8;min-height:calc(100vh - 48px - 280px)}@media (max-width:1200px){.body-wrapper{min-height:calc(100vh - 48px - 159px)}}.breadcrumbs-wrapper{margin:24px 0;padding:0 16px}@media (max-width:1200px){.breadcrumbs-wrapper{margin:24px 0}}.breadcrumbs{list-style:none;font:400 14px/20px"UI Sans","Lato",sans-serif;color:#838691;display:flex;align-items:center;flex-wrap:wrap}.breadcrumbs li{display:flex;align-items:center;padding-right:4px;margin-left:0}.breadcrumbs li a:hover{color:#a4a7b5}.breadcrumbs li:nth-child(n+2)::before{display:inline-block;content:" ";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuNjQ5NjcgMTYuMDAwMUM3Ljg0OTY3IDE2LjAwMDEgOC4wNDg2NyAxNS45MjExIDguMTk2NjcgMTUuNzY0MUwxMi43OTM3IDEwLjg3NDFDMTMuMjY3NyAxMC4zODkxIDEzLjI2NzcgOS42MTExMSAxMi43OTM3IDkuMTI2MTFMOC4xOTY2NyA0LjIzNjExQzcuOTEyNjcgMy45MzQxMSA3LjQzODY3IDMuOTIwMTEgNy4xMzY2NyA0LjIwMzExQzYuODM0NjcgNC40ODcxMSA2LjgyMDY3IDQuOTYxMTEgNy4xMDM2NyA1LjI2MzExTDExLjU1NjcgMTAuMDAwMUw3LjEwMzY3IDE0LjczNjFDNi44MTk2NyAxNS4wMzgxIDYuODM0NjcgMTUuNTEyMSA3LjEzNjY3IDE1Ljc5NjFDNy4yODE2NyAxNS45MzMxIDcuNDY1NjcgMTYuMDAwMSA3LjY0OTY3IDE2LjAwMDFaIiBmaWxsPSIjODM4NjkxIi8+Cjwvc3ZnPgo=);width:20px;height:20px;margin-right:4px}.breadcrumbs li:last-child a:hover{color:#338cff!important}button{border-radius:4px;cursor:pointer;display:flex;justify-content:center;align-items:center}button:hover,.button-primary:hover{border:1px solid #338cff;background:#338cff}button:disabled,.button-primary:disabled{border:1px solid #cce2ff;background:#cce2ff}.button-secondary,.button-secondary-blue{padding:6px 16px;border:1px solid #dbdce1;border-radius:4px;font:400 14px/20px"UI Sans","Lato",sans-serif;color:#52535a;background:transparent;cursor:pointer;display:flex;justify-content:center;align-items:center}.button-secondary:hover,.button-secondary-blue:hover{border:1px solid #dbdce1;background:#f6f6f8}.button-secondary:disabled,.button-secondary-blue:disabled{border:1px solid #f6f6f8;background:transparent;color:#c8cad3}.button-secondary-blue{border:1px solid #006fff;color:#006fff}.button-secondary-blue:hover{border:1px solid #338cff;color:#338cff;background:#e5f1ff}.button-secondary-blue:disabled{border:1px solid #cce2ff;color:#cce2ff;background:transparent}ol{margin-top:16px}ul{list-style-type:""}ul li::marker{font-weight:700}ol li{margin-bottom:8px;padding-left:2px;margin-left:20px}@media (max-width:800px){ol li{margin-left:24px}}ul li{margin-bottom:8px;padding-left:8px;margin-left:12px}@media (max-width:800px){ul li{margin-left:16px}}li::marker{color:rgba(0,0,0,0.65)}li ol{padding-left:12px}ol{list-style-type:decimal}ol ol{list-style-type:lower-alpha}ol ol ol{list-style-type:lower-roman}.article{width:100%;max-width:1012px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;margin:0 auto}.article-container{padding:0 16px;width:100%;max-width:980px}.article-container article{width:100%;background:#fff;border-radius:8px;padding:24px;display:grid;margin-bottom:42px;grid-template-columns:224px 1fr;column-gap:24px;filter:drop-shadow(0px 0px 1px rgba(0,0,0,0.06)) drop-shadow(0px 8px 24px rgba(0,0,0,0.06))}@media (max-width:1012px){.article-container article{grid-template-columns:1fr}}@media (max-width:800px){.article-container{padding:0}.article-container article{padding:24px 16px}}.article-sidebar__content,.article-c
<meta name=viewport content="width=device-width,initial-scale=1,shrink-to-fit=no,maximum-scale=1,user-scalable=0">
<meta name=keywords content="ui, ubiquiti, networks, networking, wifi, wi-fi, wireless, AP, access point, enterprise, radio, antenna, camera, video, surveillance, security, ip, voip, voice, unifi, router, routers, routing, switch, switches, switching, port, ports, poe, power, ethernet, LAN, WLAN, control, multi-radio, rf, radio frequency, frequency, latency, noise, mbps, kbps, gigabit, transmit, isp, wisp, internet service, provider, CPE, backhaul, link, broadband, antennas, uisp, amplifiers, uwn, world network, airmax, airfiber, nanostation, picostation, edgemax, 802.11, bridge, iot, internet-of-things, automation, machine to machine, m2m, wan, gateway, scalable, handoff, packet, packet inspection">
<meta name=description content="Find help and support for Ubiquiti products, view online documentation and get the latest downloads.">
<meta name=title content="Ubiquiti Support and Help Center">
<meta name=google-site-verification content=OT_3HCPuNtXOYV2x0kfXiYCgr2--M-XkNDxlGEZQFUY>
<meta property=fb:app_id content=140563119297621>
<meta property=og:url content=https://help.ui.com>
<meta property=og:type content=website>
<meta property=og:title content="Ubiquiti Help Center">
<meta property=og:description content="Find help and support for Ubiquiti products, view online documentation and get the latest downloads.">
<meta property=og:image content=https://prd-www-cdn.ubnt.com/static/og_meta.png>
<meta name=twitter:card content=summary_large_image>
<meta name=twitter:site content=@ui>
<meta name=twitter:title content="Ubiquiti Help Center">
<meta name=twitter:description content="Find help and support for Ubiquiti products, view online documentation and get the latest downloads.">
<meta name=twitter:image content=https://prd-www-cdn.ubnt.com/static/og_meta.png>
<style id=onetrust-style>/*! jQuery UI - v1.13.2 - 2022-07-14
* http://jqueryui.com
* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
* Copyright jQuery Foundation and other contributors; Licensed MIT */@font-face{font-family:"Lato";font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAADacAA0AAAAAbvgAADZDAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG6R6HHAGYACBRBEMCoGeaIGDGguDQgABNgIkA4Z2BCAFhRgHhEUbgF5FB+KuD96VkYFg48gYzNsVRfnkzJT9f0ygMoZd8SkDPSocwiWKQ5RkIkp3ppbmbt3rWTW0qK1tp83fEksscZTHn+F1fvYVHIY+hr+BwEXv8MY2l4HrepOeOkJjn+Ty8LUfv7N3d983AU/ioTA0s8oQklkSa6JVK0k0mWYiRPHI0Cz9HYJtdgbqzEBFRMECQTAQiyqJFhMBRQxUMCLndOXCTefcXPjrePffq6+F6/ztt6+ZaNsSLK3/oSITFOL50BKMfEIwkWFyDe4N5HUkt2p37/poM+jdd1iBkDtulVErsvNCOipPWCGQSZGP2PfQEcNrn6Ij3gdigYRJXSqlLK02txymYW3n/o+F29vbgYb9KUQG+QnAdmhKAqABARAMFsD/n/up69WICNmLbLeoAb7LRVUOIv9NAT1RUiNg2cv4j57ImEp6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Zg7p6HxPVbE2UC0QeiDjSXMckqOhXM8fgtJEqu5QkBJKORp7Eqon4lbibfnhe1SG70YUki10+mrhpJkKnUL6cqm
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/:root{--reach-menu-button:1}:root{--reach-menu-button:1}@keyframes onetrust-fade-in{0%{opacity:0}100%{opacity:1}}</style><link rel=icon type=image/x-icon href="data:image/vnd.microsoft.icon;base64,AAABAAMAEBAAAAEAIABoBAAANgAAACAgAAABACAAKBEAAJ4EAAAwMAAAAQAgAGgmAADGFQAAKAAAABAAAAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJ48AP+ePAD/njwA/548AP+fPQD/nz0A/6A+AP+gPgD/oD4A/6A+AP+fPgD/nz0A/548AP+ePAD/njwA/548AP+ePAD/nz0A/6E+AP+jPwD/pEAA/6VBAP+mQQD/pkEA/6ZBAP+mQQD/pUEA/6RAAP+jPwD/oT4A/589AP+ePAD/oT4A/6Q/AP+mQQD/qEIA/6pDAP+rRAD/rEQA/6xFAP+sRQD/rEQA/6tEAP+qQwD/qEIA/6ZBAP+kQAD/oT4A/6ZBAP+pQgD/rEQA/65FAP+wRgD/sUcA/7NLBf+8Zi3/vWcu/7NLBv+xRwD/sEYA/65FAP+sRAD/qUIA/6ZBAP+rQwD/r0UA/7FHAP+0SAD/tkkA/8V7S//gz8b/59/d/+rk4v/p2tL/y4NT/7ZJAP+0SAD/skcA/69FAP+rRAD/sEYA/7RIAP+3SQD/uUsA/8Z1Pv/l3Nn/6OHe/+TNv//n0cP/8u7s//Xx8P/MfUf/uUsA/7dKAP+0SAD/sEYA/7VJAP+5SwD/vEwA/79OAP/dvar/6eLg/9ibcf/FUQH/xVEB/92ief/6+Pf/79TC/79OAP+8TAD/uUsA/7VJAP+6SwD/vk0A/8FPAP/EUQH/6d7Z/+3n5f/MXA3/ylQA/8pVAP/NXQ7//f38//349f/EUgH/w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/7NIAP+zSAD/skcA/7JHAP+xRwD/sEYA/69FAP+uRQD/rUQA/6tDAP+qQwD/qUIA/6dBAP+pQgD/q0MA/61EAP+uRQD/r0UA/7FGAP+yRwD/s0cA/7RIAP+1SAD/tUkA/7xdH//TqY//49jU/+Xd2//n393/6eLf/+rk4v/r4t//27Oa/75hIv+1SQD/tUkA/7RIAP+zSAD/skcA/7FGAP+wRgD/rkUA/61EAP+rQwD/qUIA/6xEAP+uRAD/r0UA/7FGAP+yRwD/tEgA/7VIAP+2SQD/t0kA/7hKAP/FdUH/4NLL/+Tc2f/m3tv/5+De/+ni4P/r5OL/7Ofl/+7p5//w6+n/7uXf/8p+S/+4SgD/t0oA/7ZJAP+1SAD/tEgA/7JHAP+xRgD/r0UA/65FAP+sRAD/rkUA/7BGAP+yRwD/s0gA/7VIAP+2SQD/uEoA/7lKAP+6SwD/xG82/+LX0v/l3Nr/5t7c/+jh3v/q4+H/6+Xj/+3n5f/v6ej/8Ozq//Lu7P/08O//9O7s/8l2Pf+6SwD/uUsA/7hKAP+2SQD/tUgA/7NIAP+yRwD/sEYA/65FAP+xRgD/s0cA/7RIAP+2SQD/uEoA/7lKAP+6SwD/u0wA/75RB//eyLz/5d3a/+ff3f/o4d//6uPh/+TKuv/Zon7/2qR//+jPwP/y7u3/9PHv//bz8v/39fT/8eDW/75SCP+7TAD/uksA/7lLAP+4SgD/tkkA/7RIAP+zRwD/sUYA/7NHAP+1SAD/t0kA/7lKAP+6SwD/vEwA/71NAP++TQD/zYNT/+Xe2//n4N3/6eLg/+rj4P/UkGL/xFEC/8NQAP/DUAD/xFEC/9iVaP/18vD/+Pb1//n49//7+vn/1o9f/75NAP+9TQD/vEwA/7pLAP+5SgD/t0kA/7VIAP+zRwD/tkkA/7hKAP+5SwD/u0wA/71MAP++TQD/wE4A/8FPAP/btJv
<body><div></div>
<noscript class=sf-hidden>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NJJCGSH" style="display: none; visibility: hidden;" width="0" height="0"></iframe>
</noscript>
<header class=header>
<a href=http://www.ui.com/ target=_blank class=header__logo>
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGZpbGw9InVybCgjYSkiCmQ9Ik0wIDBoMjU2djI1NkgweiIvPjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0xODcuOTk4IDY3aC03Ljk5OXY3Ljk5OWg3Ljk5OVY2N1oiLz48cGF0aCBmaWxsPSJ1cmwoI2MpIiBkPSJNMTYwLjAxCjEyMy4wMnYtMTYuMDI2bC4wMDQuMDA1aDE1Ljk5M3YxNS45OTdIMTkydjUuMDcxYzAgNS44NjEtLjQ5OCAxMi44MDYtMS42NDQgMTguMjYtLjY0MiAzLjA0OC0xLjYxNSA2LjA3Ny0yLjc1NiA4Ljk4Ni0xLjE2OQoyLjk3Ni0yLjUxNiA1LjgyNy0zLjk4MiA4LjM4MmE2Mi43OCA2Mi43OCAwIDAgMS02LjY5NSA5LjU0N2wtLjEzNi4xNTgtLjIyNC4yNjJjLS42MTcuNzI0LTEuMjI3IDEuNDQtMS44OTggMi4xMzlhNjMuMjE1CjYzLjIxNSAwIDAgMS0yLjQxNSAyLjQxNWMtMTAuMjM3IDkuODU5LTIzLjU3NSAxNi4wMTctMzcuNTIxCjE3LjQzMS0xLjY3OC4xNzItNS4wNDcuMzUtNi43MjkuMzUtMS42ODctLjAwNS01LjA1MS0uMTc4LTYuNzI5LS4zNS0xMy45NDYtMS40MTQtMjcuMjg0LTcuNTc3LTM3LjUyLTE3LjQzMWE2My4xNTUgNjMuMTU1CjAgMCAxLTIuNDE2LTIuNDE1Yy0uNzA0LS43MjktMS4zMzktMS40NzctMS45OC0yLjIzM2wtLjAwMi0uMDAyLS4yNzYtLjMyNGE2Mi42NjIgNjIuNjYyI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class=header__desktop-left>
<a href=https://ui.com/consoles target=_blank class=header__desktop-item>UniFi OS Consoles</a>
<a href=https://ui.com/wi-fi target=_blank class=header__desktop-item>Wi-Fi</a>
<a href=https://ui.com/switching target=_blank class=header__desktop-item>Switching</a>
<a href=https://ui.com/camera-security target=_blank class=header__desktop-item>Camera Security</a>
<a href=https://ui.com/phone-system target=_blank class=header__desktop-item>Phone System</a>
<a href=https://ui.com/door-access target=_blank class=header__desktop-item>Door Access</a>
<a href=https://ui.com/unifi-accessories target=_blank class=header__desktop-item>Accessories</a>
<a href=https://ui.com/uisp target=_blank class=header__desktop-item>UISP</a>
</div>
<div class=header__desktop-right>
<div class=dropdown-toggle-support__desktop>
<a class="dropdown-menu__support header__desktop-item">
Support Resources
<span class=header__dropdown-menu-arrow></span>
</a>
<div class="dropdown-menu-support__desktop sf-hidden">
</div>
</div>
<div>
<a href=https://store.ui.com/ target=_blank class=header__desktop-item>Store</a>
</div>
<div class=login-container>
<a href="https://help.ui.com/hc/en-us&amp;locale=en-us" class="header__desktop-item login-button" data-auth-action=signin>
Log in
</a>
</div>
</div>
</div>
<div class="header__mobile hide-desktop sf-hidden">
</div>
</header>
<main role=main>
<div class=body-wrapper>
<div class=article>
<section class=breadcrumbs-wrapper>
<ol class=breadcrumbs>
<li title="Ubiquiti Support and Help Center">
<a href=https://help.ui.com/hc/en-us>Help Center</a>
</li>
<li title=UniFi>
<a href=https://help.ui.com/hc/en-us/categories/6583256751383-UniFi>UniFi</a>
</li>
<li title="UniFi OS Consoles &amp; Hosting">
<a href=https://help.ui.com/hc/en-us/sections/7895096582039-UniFi-OS-Consoles-Hosting>UniFi OS Consoles &amp; Hosting</a>
</li>
<li title="Self-Hosted Network Server" style=color:rgb(0,111,255)>
<a href=https://help.ui.com/hc/en-us/sections/11621159248279-Self-Hosted-Network-Server style=color:rgb(0,111,255)>Self-Hosted Network Server</a>
</li>
</ol>
</section>
<div class=article-container>
<article data-id=220066768>
<section class=article-sidebar>
<div class=article-sidebar__content>
<div class=article-sidebar__buttons>
<button class=button-secondary-blue>
<img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxOCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuNDI1MDMgMTYuMDAwMUM5LjIyNTAzIDE2LjAwMDEgOS4wMjYwMyAxNS45MjExIDguODc4MDMgMTUuNzY0MUw0LjI4MTA0IDEwLjg3NDFDMy44MDcwNCAxMC4zODkxIDMuODA3MDQgOS42MTExMSA0LjI4MTA0IDkuMTI2MTFMOC44NzgwMyA0LjIzNjExQzkuMTYyMDMgMy45MzQxMSA5LjYzNjAzIDMuOTIwMTEgOS45MzgwMyA0LjIwMzExQzEwLjI0IDQuNDg3MTEgMTAuMjU0IDQuOTYxMTEgOS45NzEwMyA1LjI2MzExTDUuNTE4MDQgMTAuMDAwMUw5Ljk3MTAzIDE0LjczNjFDMTAuMjU1IDE1LjAzODEgMTAuMjQgMTUuNTEyMSA5LjkzODAzIDE1Ljc5NjFDOS43OTMwMyAxNS45MzMxIDkuNjA5MDMgMTYuMDAwMSA5LjQyNTAzIDE2LjAwMDFaIiBmaWxsPSIjMDA2RkZGIi8+Cjwvc3ZnPgo=">
Back
</button>
<a href=https://help.ui.com/hc/en-us/ class=button-secondary>Help Center</a>
</div>
<div class=article-sidebar__nav><button class=article-sidebar__nav-element id=button-0>Requirements</button><button class="article-sidebar__nav-element active-nav" id=button-1>UniFi Network APT Steps</button><button class=article-sidebar__nav-element id=button-2>Other Helpful Commands</button><button class=article-sidebar__nav-element id=button-3>Log Files Location</button><button class=article-sidebar__nav-element id=button-4>Notes and Tips</button></div>
<div class=article-sidebar__related><h2>Related Articles</h2><a href=https://help.ui.com/hc/en-us/articles/360012282453>Self-Hosting a UniFi Network Server</a><a href=https://help.ui.com/hc/en-us/articles/6330410381335>Updating Self-Hosted UniFi Network Servers</a></div>
<a class="article-sidebar__back-to-top button-secondary">
<img style=margin-right:5px src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjg4OTYgOC41OTU4NUMxMy4wODQ2IDguNzkwODUgMTMuNDAxNiA4Ljc5MDg1IDEzLjU5NjYgOC41OTU4NUMxMy43OTI2IDguNDAwODUgMTMuNzkyNiA4LjA4NDg1IDEzLjU5NjYgNy44ODg4NUwxMC4zNTM2IDQuNjQ1ODVDMTAuMTU4NiA0LjQ1MDg1IDkuODQxNiA0LjQ1MDg1IDkuNjQ2NiA0LjY0NTg1TDYuNDAyNiA3Ljg4ODg1QzYuMjA3NiA4LjA4Mzg1IDYuMjA3NiA4LjQwMDg1IDYuNDAyNiA4LjU5NTg1QzYuNTk3NiA4Ljc5MDg1IDYuOTE0NiA4Ljc5MDg1IDcuMTA5NiA4LjU5NTg1TDkuNTAwNDkgNi4yMDQ5NlYxNS4xNjQ5QzkuNTAwNDkgMTUuMzUwMSA5LjcyNDQ5IDE1LjUwMDQgMTAuMDAwNSAxNS41MDA0QzEwLjI3NjUgMTUuNTAwNCAxMC41MDA1IDE1LjM1MDEgMTAuNTAwNSAxNS4xNjQ5VjYuMjA2NzVMMTIuODg5NiA4LjU5NTg1WiIgZmlsbD0iIzgzODY5MSIvPgo8L3N2Zz4=">
Back to Top</a>
</div>
</section>
<section class=article-content>
<header class=article-header>
<h1 class=article-header__title id=article-title>Updating Self-Hosted UniFi Network Servers (Linux)</h1>
</header>
<div class=article-details>
<div class=article-details__updated>Updated on 9 May 2023</div>
<button class=article-details__print>
<img src=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNSA3LjVWNC41QzUuNSAzLjk0NzcyIDUuOTQ3NzIgMy41IDYuNSAzLjVIMTMuNUMxNC4wNTIzIDMuNSAxNC41IDMuOTQ3NzIgMTQuNSA0LjVWNy41TTUuNSA3LjVIMy41QzIuOTQ3NzIgNy41IDIuNSA3Ljk0NzcyIDIuNSA4LjVWMTNDMi41IDEzLjU1MjMgMi45NDc3MiAxNCAzLjUgMTRINS41TTUuNSA3LjVIMTQuNU01LjUgMTRWMTUuNUM1LjUgMTYuMDUyMyA1Ljk0NzcyIDE2LjUgNi41IDE2LjVIMTMuNUMxNC4wNTIzIDE2LjUgMTQuNSAxNi4wNTIzIDE0LjUgMTUuNVYxNE01LjUgMTRWMTEuNUM1LjUgMTAuOTQ3NyA1Ljk0NzcyIDEwLjUgNi41IDEwLjVIMTMuNUMxNC4wNTIzIDEwLjUgMTQuNSAxMC45NDc3IDE0LjUgMTEuNVYxNE0xNC41IDE0SDE2LjVDMTcuMDUyMyAxNCAxNy41IDEzLjU1MjMgMTcuNSAxM1Y4LjVDMTcuNSA3Ljk0NzcyIDE3LjA1MjMgNy41IDE2LjUgNy41SDE0LjVNNy41IDEyLjVIMTAuNU03LjUgMTQuNUgxMS41IiBzdHJva2U9IiMwMDZGRkYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K>
Print
</button>
</div>
<div class=article-body>
<p>This article provides the steps to update the UniFi Network application to the current stable release on a Debian or Ubuntu system via APT (Advanced Package Tool). If you run into issues following the process described in this article, please take a look at the scripts provided in <a href=https://community.ubnt.com/t5/UniFi-Wireless/UniFi-Installation-Scripts-Works-on-Ubuntu-18-04-and-16-04/td-p/2375150>this Community post</a><span> that includes UniFi Network software installation on Ubuntu 18.04 and 16.04 and Debian 8/9.</span><span></span><span></span></p>
<h2 id=0>Requirements</h2>
<p>In order to update the UniFi Network application via APT, it is necessary to create source files or edit lines in an existing <em>sources.lis</em>t file with Linux text editors: <strong>vi</strong> or <strong>nano</strong>. The repo structure should be permanent, but if there are any changes they will be pointed out in the UniFi Network software version release posts, found in the <a href=https://community.ui.com/releases target=_blank rel=noopener>Release</a> section of the Community.</p>
<p>Before upgrading the UniFi Network application, make sure that you have backed up the UniFi Network Database. You will need to make sure that the user has <strong>sudo permissions. </strong>For more information about adding a user to <strong>sudo list</strong>, see <a href=https://wiki.debian.org/sudo>this Debian article.</a></p>
<h2 id=1>UniFi Network APT Steps</h2>
<ol>
<li>Install required packages before you begin with the following command:
<pre>sudo apt-get update &amp;&amp; sudo apt-get install ca-certificates apt-transport-https</pre>
</li>
<li>Use the following command to add a new source list:
<pre>echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list</pre>
</li>
<li>Add the GPG Keys.
<ol>
<li>
<strong>Method A - Recommended</strong>
<ol>
<li>Install the following trusted key into <code>/etc/apt/trusted.gpg.d</code>
<pre>sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg</pre>
</li>
</ol>
</li>
<li>&nbsp;<strong>Method B</strong>
<ol>
<li>Using apt-key:
<pre>sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 06E85760C0A52C50</pre>
</li>
</ol>
</li>
<li>When using the commands above, it is assumed you have <code>sudo</code> and <code>wget</code> installed. More information about <code>sudo</code> can be found <a href=https://wiki.debian.org/sudo target=_blank rel=noopener>here</a>, and <code>wget</code><a href=https://wiki.debian.org/wget target=_blank rel=noopener> here</a>.</li>
<li>For Ubuntu 18.04, run the following commands before installing UniFi in step 4.
<pre>wget -qO - https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add -<br>echo "deb https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list<br>sudo apt-get update</pre>
</li>
<li>See an example of what scripts the Community is using to install the UniFi Network application on Ubuntu 16.04 and 18.04 in<a href=https://community.ui.com/questions/UniFi-Installation-Scripts-or-UniFi-Easy-Update-Script-or-UniFi-Lets-Encrypt-or-Ubuntu-16-04-18-04-/ccbc7530-dd61-40a7-82ec-22b17f027776> <span class=wysiwyg-underline>this Community post</span></a>.</li>
</ol>
</li>
<li>Install and upgrade the UniFi Network application.
<ol>
<li>On some Distributions, it's possible an incompatible Java release can be installed during this step. We recommend running the following command before proceeding with this step, to restrict Ubuntu from automatically installing Java 11. If you wish to undo this later, replace "hold" with "unhold".
<pre>sudo apt-mark hold openjdk-11-*</pre>
</li>
<li>Install and upgrade the UniFi Network application with the following command:
<pre>sudo apt-get update &amp;&amp; sudo apt-get install unifi -y</pre>
</li>
</ol>
</li>
<li>This step may not be required, depending on the Linux distro you have. If your distro does not come with MongoDB, and it's not available in their repo, then please see the MongoDB installation guide. You can find the latest installation guide for Ubuntu&nbsp;<a href=https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-ubuntu/ target=_blank rel=noopener>here</a>, and Debian <a href=https://docs.mongodb.com/v3.0/tutorial/install-mongodb-on-debian/ target=_blank rel=noopener>here</a>. We recommend at least MongoDB 2.6.10. Some users have changed the backend to use MongoDB 3 successfully too.</li>
<li>The UniFi Network application should now be accessible at the computer's configured local or public IP address, by typing that IP address in a browser's navigation bar (Chrome is recommended). If it is not launching, use the following command:
<pre>sudo service unifi start</pre>
</li>
</ol>
<h2 id=2>Other Helpful Commands</h2>
<ul>
<li>To stop the UniFi service:<span>&nbsp;</span><code>sudo service unifi stop</code>
</li>
<li>To restart the UniFi service:<span>&nbsp;</span><code>sudo service unifi restart</code>
</li>
<li>To see the status of UniFi service:&nbsp;<code>sudo service unifi status</code>
</li>
</ul>
<div class=collapsible>
<div class=collapsible--header>Click here for possible suite names and code names.</div>
<div class="collapsible--body sf-hidden"></div>
<div class="collapsible--body sf-hidden">"Testing" refers to the next generation release, which is not released to the general public yet. "Stable" refers to the current stable release, which is supported by Ubiquiti and described in this article. "Old Stable" is the previous stable release, which has been replaced by the new stable release.
</div>
</div>
<h2 id=3>Log Files Location</h2>
<p>Log files are essential for any troubleshooting. Find them here:</p>
<ul>
<li>/usr/lib/unifi/logs/server.log</li>
<li>/usr/lib/unifi/logs/mongod.log</li>
</ul>
<p>If your application is running on a Unix/Linux based system, then you will require superuser (sudo) privileges to access these log files.</p>
<h2 id=4>Notes and Tips</h2>
<div class=collapsible>
<div class=collapsible--header>These notes have been added thanks to user collaboration. Click to expand.</div>
<div class="collapsible--body sf-hidden">
</div>
</div>
<div id=articles-to-feature class=sf-hidden>
</div>
</div>
<div class=article-helpfulness>
<h5 class=article-helpfulness__title>
<img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00LjU2Nzc5IDEzLjUwNTdMNC41NTAxMSAxNC45Mzc2QzQuNTQzMDQgMTUuNTAwNCA0Ljk5OTgyIDE1Ljk1NzIgNS41NjI2NyAxNS45NTAxTDYuOTk0NTQgMTUuOTMyNUM3LjI1NTQ2IDE1LjkyODkgNy41MDQzNiAxNS44MjQzIDcuNjg4OTEgMTUuNjM5N0wxNi44NjM1IDYuNDY1MTdDMTcuMjUzOCA2LjA3NDg1IDE3LjI1MzggNS40NDEyOSAxNi44NjM1IDUuMDUwOTdMMTUuNDQ5MyAzLjYzNjc4QzE1LjA1OSAzLjI0NjQ3IDE0LjQyNTQgMy4yNDY0NyAxNC4wMzUxIDMuNjM2NzhMNC44NjA1MiAxMi44MTE0QzQuNjc1OTcgMTIuOTk1OSA0LjU3MTMyIDEzLjI0NDggNC41Njc3OSAxMy41MDU3Wk01LjU0OTk0IDE0Ljk1MDNMNS41Njc2MiAxMy41MTg0TDEzLjMyODYgNS43NTc0NUwxNC43NDI4IDcuMTcxNjRMNi45ODE4MSAxNC45MzI2TDUuNTQ5OTQgMTQuOTUwM1pNMTUuNDQ5OSA2LjQ2NDU1TDE2LjE1NjQgNS43NTgwN0wxNC43NDIyIDQuMzQzODhMMTQuMDM1NyA1LjA1MDM2TDE1LjQ0OTkgNi40NjQ1NVoiIGZpbGw9IiM4Mzg2OTEiLz4KPC9zdmc+Cg==">
Was this article helpful?
</h5>
<div class=article-helpfulness__button-container>
<button type=button class="button-secondary article-helpfulness__button--yes" aria-label="This article was helpful" aria-pressed=false>Yes, thanks!</button>
<button type=button class="button-secondary article-helpfulness__button--no" aria-label="This article was not helpful" aria-pressed=false>Not really</button>
</div>
<div class=article-helpfulness__stats data-sum="<span data-helper=" data-item=article data-type=sum data-id=220066768 data-upvote-count=939 data-vote-count=1672 data-vote-sum=206 data-vote-url=/hc/en-us/articles/220066768/vote data-value=null data-label="939 out of 1672 found this helpful">939 found this article helpful</div>
<span class="article-helpfulness__stats-private sf-hidden">939 out of 1672 found this helpful</span>
<div class=article-helpfulness__form style=display:none>
</div>
</div>
</section>
</article>
</div>
</div>
</div>
</main>
<footer>
<div class=footer__inner-container>
<div class=footer__container>
<div class=footer__container-left>
<div class=footer__links>
<div class="footer__link footer__link-header">Company</div>
<div>
<div class=footer__link>
<a href=https://careers.ui.com/>Careers</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/contact/>Contact Us</a>
</div>
<div class=footer__link>
<a href=http://ir.ui.com/>Investors</a>
</div>
</div>
</div>
<div class=footer__links>
<div class="footer__link footer__link-header">In the News</div>
<div>
<div class=footer__link>
<a href=https://blog.ui.com/>Ubiquiti Blog</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/casestudies/>Case Studies</a>
</div>
</div>
</div>
<div class=footer__links>
<div class="footer__link footer__link-header">Training</div>
<div>
<div class=footer__link>
<a href=https://www.ui.com/training/>Courses</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/training/calendar/>Calendar</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/training/partners/>Trainers</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/training/become-trainer/>Become a
Trainer</a>
</div>
</div>
</div>
<div class=footer__links>
<div class="footer__link footer__link-header">Buy Now</div>
<div>
<div class=footer__link>
<a href=https://store.ui.com/>Ubiquiti Store</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/distributors/>Find a Distributor</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/distributors/stock-locator/>Stock
Locator Tool</a>
</div>
<div class=footer__link>
<a href=https://www.ui.com/distributors/become-authorized-distributor/>Become a Distributor</a>
</div>
</div>
</div>
<div class=footer__links>
<div class="footer__link footer__link-header">Tools</div>
<div>
<div class=footer__link>
<a href=https://wifiman.com/>WiFiman</a>
</div>
<div class=footer__link>
<a href=https://uisp.ui.com/>UISP</a>
</div>
<div class=footer__link>
<a href=https://design.ui.com/>UniFi Design Center</a>
</div>
<div class=footer__link>
<a href=https://ispdesign.ui.com/>UISP Design Center</a>
</div>
</div>
</div>
</div>
<div class=footer__container-right>
<a href=https://www.facebook.com/UIeverywhere/ target=_blank rel=noopener>
<svg xmlns=http://www.w3.org/2000/svg width=7 height=14 fill=none>
<path fill=currentColor d="M4.52 14H2.06V7.64H0V5.17h2.06V3.34c0-1.05.28-1.86.85-2.43A3 3 0 015.12.07a14.5 14.5 0 011.85.1v2.21H5.7c-.5 0-.82.11-.96.34-.15.22-.22.51-.22.87v1.58h2.37l-.31 2.47H4.52V14z"></path>
</svg>
</a>
<a href=https://twitter.com/ubiquiti target=_blank rel=noopener>
<svg xmlns=http://www.w3.org/2000/svg width=19 height=14 fill=none>
<path fillrule=evenodd cliprule=evenodd fill=currentColor d="M18.38 1.72a7.31 7.31 0 01-1.76 1.82v.45c0 1.16-.22 2.33-.66 3.52a10.06 10.06 0 01-5.15 5.58c-1.27.6-2.73.91-4.38.91a10.1 10.1 0 01-5.46-1.58 41.75 41.75 0 00.83.06 7.12 7.12 0 004.46-1.52 3.5 3.5 0 01-2.09-.7 3.53 3.53 0 01-1.26-1.73 42.7 42.7 0 01.68.07 3.4 3.4 0 00.95-.13A3.52 3.52 0 011.65 5v-.04c.25.13.51.24.78.32a3 3 0 00.85.12 3.52 3.52 0 01-1.46-3.86c.08-.3.2-.57.36-.83.44.52.93 1 1.48 1.44.54.44 1.12.82 1.75 1.13a10.75 10.75 0 004.13 1.1 3.62 3.62 0 01-.09-.8c0-.98.35-1.8 1.05-2.5a3.47 3.47 0 012.53-1 3.58 3.58 0 012.6 1.1 9 9 0 001.19-.33c.38-.14.74-.31 1.08-.51a3.4 3.4 0 01-1.57 1.93 8.05 8.05 0 002.05-.54z"></path>
</svg>
</a>
<a href="https://www.youtube.com/user/ubnt?feature=watch" target=_blank rel=noopener>
<svg xmlns=http://www.w3.org/2000/svg width=21 height=14 fill=none>
<path fillrule=evenodd cliprule=evenodd fill=currentColor d="M19.94 3.07l.1 1.01c.05.67.08 1.4.08 2.2v1.5c0 .82-.03 1.55-.09 2.22l-.09 1-.18.75c-.12.5-.33.9-.62 1.21-.38.38-.75.61-1.12.69-.37.08-.65.13-.84.14-.7.05-1.46.1-2.26.12a310.69 310.69 0 01-3.97.09h-.7l-.82-.01a259.7 259.7 0 01-4.18-.1c-.75-.03-1.32-.06-1.71-.1l-.97-.15c-.43-.07-.83-.3-1.2-.68-.3-.3-.5-.71-.62-1.21L.56 11l-.09-1C.41 9.33.38 8.6.38 7.78v-1.5c0-.8.03-1.53.1-2.2l.08-1 .19-.76c.12-.5.32-.9.62-1.2.37-.39.75-.62 1.12-.7l.84-.15a113.42 113.42 0 016.23-.2h1.4l1.72.04a113.42 113.42 0 014.5.16l.84.16c.37.07.74.3 1.12.7.3.3.5.69.62 1.19l.18.75zm-12 6.87l5.22-2.9-5.23-2.91v5.8z"></path>
</svg>
</a>
<a href=https://www.instagram.com/ubiquiti/ target=_blank rel=noopener>
<svg width=14 height=14 fill=currentColor xmlns=http://www.w3.org/2000/svg>
<path fill-rule=evenodd clip-rule=evenodd d="M9.83 3.2a.86.86 0 101.72 0 .86.86 0 00-1.72 0zM9.5 9.64a3.8 3.8 0 001.1-2.6 3.58 3.58 0 00-.93-2.6 3.83 3.83 0 00-2.76-1.12 3.54 3.54 0 00-2.59 1.02 3.7 3.7 0 105.17 5.3zM4.1.07H9.7c2.2 0 3.98 1.78 3.98 3.98v5.97c0 2.2-1.79 3.98-3.98 3.98H4.1a3.98 3.98 0 01-3.98-3.98V4.05C.12 1.85 1.91.07 4.1.07zm2.7 4.49h.07c.82.02 1.47.27 1.9.73.39.42.59 1.01.57 1.7A2.47 2.47 0 016.9 9.48a2.46 2.46 0 01-1.7-4.25 2.3 2.3 0 011.62-.66z"></path>
</svg>
</a>
</div>
</div>
<hr>
<div class=footer__copyrights>
<div>©<span class=footer__copyrights-year>2023</span>
Ubiquiti, Inc. All rights reserved.</div>
<div class=footer__term-links>
<a href=https://www.ui.com/legal/termsofservice/ target=_blank>
Terms of Service
</a>
<span>|</span>
<a href=https://www.ui.com/legal/privacypolicy/ target=_blank>
Privacy Policy
</a>
</div>
</div>
</div>
</footer>
<div id=onetrust-consent-sdk><div class="onetrust-pc-dark-filter ot-hide ot-fade-in sf-hidden"></div><div id=onetrust-pc-sdk class="otPcCenter ot-hide ot-fade-in ot-sdk-not-webkit sf-hidden" aria-modal=true role=alertdialog aria-describedby=ot-pc-desc aria-label="Privacy Preference Center" lang=en></div></div>