Unifi Gateway Lite 3.1.15からアップグレードできない。

これは、ファームウェア更新が起きるので、「誰が言ったんですか?どこに書いてあったんですか?サポーティブですか?」勢は、決してやらないこと。そういう人はUbiquitiに問い合わせして指示に従ってください。そういう人に限って、なぜ、ファームウェアバージョンは、X.X.Xなんですか?X.X.Yではダメなんですか?もうX.X.Yでいいですよと答えると、それどこに書いてあったんですか?もし、失敗した場合は支援してくれますか?と聞いてくる。俺、君の親でもサポート担当じゃいねん。

しかし、これ、IT業界のエンジニアに実は結構多い気がする。

 

 

Black Friday SaleでUnifi Gateway Liteが¥16,600 -> ¥6,380で11/30まで売られている。

https://jp.store.ui.com/jp/ja/tags/black-friday?utm_source=web&utm_medium=whatsnew&utm_campaign=campaign_banner&utm_content=BlackFriday

1Gbps回線なら、LAN側に2.5GbEのスイッチをつければ全然間に合う。注意点は、このデバイスは、OSしかついていない。コントロールに必要となるNetworkモジュールは、別のマシンで稼働させる必要がある。(それ以外の方法もあるのだが、コストに見合わない。)

別のマシンとは、Windows/MAC/Linuxで2CPU,2GB RAM 10GB HDD程度のコンテナを動かすだけ。大したことはないが面倒。ただ構築自体はOS入れてからいくつかコマンドを実行するだけなど単純。

どうやらこのデバイスは、サービスプロバイダーのセットボックスでばら撒き、サービスプロバイダー側から各家庭の管理をしてあげたりといったユースケースで使われることを想定しているらしい。

それにしても、この機能でこの値段は安い。Networkモジュールが必要だとしてもこの値段なら買い。これ+適当なWifiルータでも全然高性能な構成ができる。

自分は、兄のところの分と予備機として買ってみた。いかんせん半額以下なのは安い。最悪、ホテルルーター的につかうのもありかと。

 

実際構築してみた。Networkモジュールが稼働できていれば、UnifiのSite Managerというインターネット経由で管理ができる。なんとか、兄のところの分は登録できたのだが動きがおかしい。具体的にいうと、UIからUpdateを実行してもUnifi Gateway LiteのOSのバージョンが一向に上がらない。

 

SSHでUnifi Gateway Liteにログインをしてみると以下のような、OSバージョン。

Linux UXG-Lite-XXXXXX 4.4.60-ui-qcom #1 SMP PREEMPT Thu Sep 28 12:53:07 CST 2023 aarch64

Firmware version: v3.1.15

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2010-2023
 |   |  |   |  \  ||  \   |  |   Ubiquiti Inc.
 |______|___|  /__||__/   |__|
            |_/                  https://www.ui.com

      Welcome to UniFi NeXt-Gen Gateway Lite!

********************************* NOTICE **********************************
* By logging in to, accessing, or using any Ubiquiti product, you are     *
* signifying that you have read our Terms of Service (ToS) and End User   *
* License Agreement (EULA), understand their terms, and agree to be       *
* fully bound to them. The use of CLI (Command Line Interface) can        *
* potentially harm Ubiquiti devices and result in lost access to them and *
* their data. By proceeding, you acknowledge that the use of CLI to       *
* modify device(s) outside of their normal operational scope, or in any   *
* manner inconsistent with the ToS or EULA, will permanently and          *
* irrevocably void any applicable warranty.                               *
***************************************************************************
root@UXG-Lite-XXXXXX:~# info

Model:       UniFi NeXt-Gen Gateway Lite
Version:     3.1.15.12687
MAC Address: xx:xx:xx:xx:xx:xx
IP Address:  192.168.2.2
Hostname:    UXG-Lite-XXXXXX
Uptime:      3158 seconds
NTP:         Synchronized

Status:      Connected (http://192.168.2.4:8080/inform)
root@UXG-Lite-XXXXXX:~#

完全に製造時の4年前のバージョン。このバージョンは、今のNetworkモジュールでサポートされていない。なので、このまま使うことはできない。

 

調べてみると、3.1.15アップグレードができないあるいは文鎮化したという人が続出

https://community.ui.com/releases/UniFi-Gateway-Lite-4-3-2/69a2f8b7-e5bc-422f-9c0d-95862c4f1acb

 

解決策がこれ。一度4.3.3にしてからあげる。

https://community.ui.com/releases/UniFi-Gateway-Lite-4-3-3/a5dcdaec-9c3a-49d8-a4ec-1288234a699c

4.3.2で文鎮化した人が頻発したので、対応したバージョン。文鎮化するとリカバリーモードでファームウェアをいれて起動する必要がある。それでも最新版をリカバリーモードで当てることはおすすめしない。

しかし、普通にはUIからは最新版にしか上げられない、かつ機能しないので、手動でアップグレードをする必要がある。

https://help.ui.com/hc/en-us/articles/204910064-UniFi-Advanced-Updating-Techniques

 

SSHでログインをして以下を実行

ubnt-systool fwupdate https://fw-download.ubnt.com/data/unifi-firmware/8cd4-UXG-4.3.3-c265004b-7534-4a35-a66c-4a70616be5f3.bin

ダウンロードとファームウェアアップグレードが行われる。

10286
--2026-11-22 06:34:31--  https://fw-download.ubnt.com/data/unifi-firmware/8cd4-UXG-4.3.3-c265004b-7534-4a35-a66c-4a70616be5f3.bin
Resolving fw-download.ubnt.com (fw-download.ubnt.com)... 104.18.12.161, 104.18.13.161, 2606:4700::6812:ca1, …
Connecting to fw-download.ubnt.com (fw-download.ubnt.com)|104.18.12.161|:443… connected.
HTTP request sent, awaiting response... 200 OK
Length: 481605350 (459M) [application/octet-stream]
Saving to: '/var/tmp/fwupdate.ATKSDxSEyg'

/var/tmp/fwupdate.ATKSDxSEyg                        100%[===================================================================================================================>] 459.29M  2.00MB/s    in 4m 21s

2026-11-22 06:38:53 (1.76 MB/s) - '/var/tmp/fwupdate.ATKSDxSEyg' saved [481605350/481605350]

Firmware: UXG.ipq5018.v4.3.3.1157cb8.251022.1257
INFO[0011] Firmware upgrade start
INFO[0011] Invoke hooks under /usr/lib/ubnt/hooks/system/upgrade-top
INFO[0015] Update by updater top path=[/tmp/fw-updater]
INFO[0015] Upgrade uboot
INFO[0015] uboot not matched, upgrade
INFO[0020] Upgrade kernel
INFO[0022] Upgrade rootfs
INFO[0047] Update by updater bottom path=[/tmp/fw-updater]
INFO[0057] Invoke hooks under /usr/lib/ubnt/hooks/system/upgrade-bottom
INFO[0058] Firmware upgrade end
Firmware ready - rebooting to update…
root@UXG-Lite:~#

再度SSHでログインして確認をしてみると、4.3.3まで上がる。

Linux UXG-Lite-XXXXXX 5.4.213-ui-qcom #5.4.213 SMP PREEMPT Wed Oct 22 12:59:15 CST 2025 aarch64

Firmware version: v4.3.3

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2010-2025
 |   |  |   |  \  ||  \   |  |   Ubiquiti Inc.
 |______|___|  /__||__/   |__|
            |_/                  https://www.ui.com

      Welcome to Gateway Lite!

********************************* NOTICE **********************************
* By logging in to, accessing, or using any Ubiquiti product, you are     *
* signifying that you have read our Terms of Service (ToS) and End User   *
* License Agreement (EULA), understand their terms, and agree to be       *
* fully bound to them. The use of CLI (Command Line Interface) can        *
* potentially harm Ubiquiti devices and result in lost access to them and *
* their data. By proceeding, you acknowledge that the use of CLI to       *
* modify device(s) outside of their normal operational scope, or in any   *
* manner inconsistent with the ToS or EULA, will permanently and          *
* irrevocably void any applicable warranty.                               *
***************************************************************************
Last login: Sat Nov 21 16:36:31 2026 from 192.168.1.102
root@UXG-Lite-XXXXXX:~# info

Model:       Gateway Lite
Version:     4.3.3.25884
MAC Address: xx:xx:xx:xx:xx:xx
IP Address:  192.168.2.2
Hostname:    UXG-Lite-XXXXXX
Uptime:      199 seconds
NTP:         Synchronized

Status:      Connected (http://192.168.2.4:8080/inform)
root@UXG-Lite-XXXXXX:~# Shared connection to 192.168.1.1 closed.

 

その後、UIで最新版にあげる。

Linux UXG-Lite-XXXXXX 5.4.213-ui-qcom #5.4.213 SMP PREEMPT Tue Nov 3 16:08:03 CST 2026 aarch64

Firmware version: v6.0.17

  ___ ___      .__________.__
 |   |   |____ |__\_  ____/__|
 |   |   /    \|  ||  __) |  |   (c) 2010-2026
 |   |  |   |  \  ||  \   |  |   Ubiquiti Inc.
 |______|___|  /__||__/   |__|
            |_/                  https://www.ui.com

      Welcome to Gateway Lite!

********************************* NOTICE **********************************
* By logging in to, accessing, or using any Ubiquiti product, you are     *
* signifying that you have read our Terms of Service (ToS) and End User   *
* License Agreement (EULA), understand their terms, and agree to be       *
* fully bound to them. The use of CLI (Command Line Interface) can        *
* potentially harm Ubiquiti devices and result in lost access to them and *
* their data. By proceeding, you acknowledge that the use of CLI to       *
* modify device(s) outside of their normal operational scope, or in any   *
* manner inconsistent with the ToS or EULA, will permanently and          *
* irrevocably void any applicable warranty.                               *
***************************************************************************
Last login: Sat Nov 21 16:42:05 2026 from 192.168.1.102
root@UXG-Lite-XXXXXX:~# info

Model:       Gateway Lite
Version:     6.0.17.36539
MAC Address: xx:xx:xx:xx:xx:xx
IP Address:  192.168.2.2
Hostname:    UXG-Lite-XXXXXX
Uptime:      312 seconds
NTP:         Synchronized

Status:      Connected (http://192.168.2.4:8080/inform)
root@UXG-Lite-XXXXXX:~#

これで最新版にあげることができた。

ChatGPTに聞いても答えがでなかったので、これは自分で調べたわ。

返信を残す