Cara upgrade server UniFi Controller Linux

Login sebagai user root dan lakukan update.

login as: root
Linux ns14 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Update menggunakan nala

root@ns14:~# nala update
╭─ Updating Package List ─────────────────────────────────────────────────────────────────────────────────╮
│No Change: http://deb.debian.org/debian bookworm InRelease                                               │
│No Change: http://deb.debian.org/debian-security bookworm-security InRelease                             │
│No Change: https://mirror.unair.ac.id/debian bookworm InRelease                                          │
│No Change: http://deb.debian.org/debian bookworm-updates InRelease                                       │
│Updated:   https://packages.adoptium.net/artifactory/deb bookworm InRelease [8 KB]                       │
│No Change: https://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 InRelease                        │
│No Change: https://dl.ui.com/unifi/debian unifi-8.2 InRelease                                            │
│No Change: https://kebo.pens.ac.id/debian bookworm InRelease                                             │
│No Change: http://kartolo.sby.datautama.net.id/debian bookworm InRelease                                 │
│Fetched 8 KB in 6s (1.3 KB/s)                                                                            │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────╯
156 packages can be upgraded. Run 'nala list --upgradable' to see them.
root@ns14:~#

Download file Unifi Network Server melalui website resminya https://ui.com/download

  1. Klik kanan Download
  2. Pilih Copy link address

Gunakan perintah wget dan paste link address dan pastikan file unifi_sysvinit_all.deb sudah terdownload

root@ns14:~# wget https://dl.ui.com/unifi/9.4.19/unifi_sysvinit_all.deb
--2025-09-07 14:14:14--  https://dl.ui.com/unifi/9.4.19/unifi_sysvinit_all.deb
Resolving dl.ui.com (dl.ui.com)... 3.165.75.70, 3.165.75.103, 3.165.75.77, ...
Connecting to dl.ui.com (dl.ui.com)|3.165.75.70|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 137958618 (132M) [application/vnd.debian.binary-package]
Saving to: ‘unifi_sysvinit_all.deb’

unifi_sysvinit_all.deb     100%[=======================================>] 131.57M  37.6MB/s    in 3.5s

2025-09-07 14:14:18 (37.6 MB/s) - ‘unifi_sysvinit_all.deb’ saved [137958618/137958618]

Stop atau matikan layanan unifi controller server

root@ns14:~# systemctl stop unifi.service

Memeriksa layanan unifi controller server

root@ns14:~# systemctl status unifi.service
○ unifi.service - unifi
     Loaded: loaded (/lib/systemd/system/unifi.service; enabled; preset: enabled)
     Active: inactive (dead) since Sun 2025-09-07 14:18:57 WIB; 8min ago
   Duration: 5d 10h 12min 34.151s
    Process: 831 ExecStartPre=/usr/sbin/unifi-network-service-helper init (code=exited, status=0/SUCCESS)
    Process: 919 ExecStartPre=/usr/sbin/unifi-network-service-helper init-uos (code=exited, status=0/SUCCE>
    Process: 930 ExecStart=/usr/bin/java -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dapple.awt.UIElem>
    Process: 37104 ExecStopPost=/usr/sbin/unifi-network-service-helper cleanup (code=exited, status=0/SUCC>
   Main PID: 930 (code=exited, status=143)
        CPU: 3h 1min 38.195s

Cek juga di browser

Lakukan update/install unifi Network Server dengan perintah dpkg -i unifi_sysvinit_all.deb

root@ns14:~# dpkg -i unifi_sysvinit_all.deb
(Reading database ... 52738 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...

(Reading database ... 52738 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...
Previous setting (UniFi 8.2.93) is found.
Unpacking unifi (9.4.19-31042-1) over (8.2.93-25939-1) ...
Setting up unifi (9.4.19-31042-1) ...

Cek status unifi controller apakah sudah aktif dan berjalan dengan baik

root@ns14:~# systemctl status unifi.service
 unifi.service - unifi
     Loaded: loaded (/lib/systemd/system/unifi.service; enabled; preset: enabled)
     Active: active (running) since Sun 2025-09-07 14:34:40 WIB; 6min ago
    Process: 37315 ExecStartPre=/usr/sbin/unifi-network-service-helper init (code=exited, status=0/SUCCESS)
    Process: 37351 ExecStartPre=/usr/sbin/unifi-network-service-helper init-uos (code=exited, status=0/SUC>
   Main PID: 37355 (java)
      Tasks: 112 (limit: 2306)
     Memory: 1.6G
        CPU: 2min 28.995s
     CGroup: /system.slice/unifi.service
             ├─37355 /usr/bin/java -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dapple.awt.UIElement=tr>
             └─37384 bin/mongod --dbpath /usr/lib/unifi/data/db --port 27117 --bind_ip 127.0.0.1 --unixSoc>

Periksa juga lewat browser, dan pastikan versi nya sudah yang terbaru.

Kantor

Jl. dr. Wahidin Sudiro Husodo No.22,
Klaten Utara, Klaten 57432,
Jawa Tengah, INDONESIA.
Telp. 0272-321266

Terbaru

Galeri

Copyright © 2025  – TJKT SMK NEGERI 1 KLATEN – HYD