Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
[21.7.8] - CLI update question
« previous
next »
Print
Pages: [
1
]
Author
Topic: [21.7.8] - CLI update question (Read 2968 times)
R1mSG
Newbie
Posts: 9
Karma: 0
[21.7.8] - CLI update question
«
on:
May 02, 2022, 10:26:11 am »
Hey,
how can I check for updates via the CLI?
I would need the same function as under System: Firmware: "Check for Updates".
I have already tried with the following commands:
/usr/local/opnsense/scripts/firmware/launcher.sh check
/usr/local/opnsense/scripts/firmware/check.sh
The problem is that the new update 21.1 is not found at the end.
Somehow it only works via the WEB GUI.
---
OPNsense 21.7.8-amd64
FreeBSD 12.1-RELEASE-p22-HBSD
OpenSSL 1.1.1m 14 Dec 2021
Logged
zerwes
Full Member
Posts: 125
Karma: 8
Re: [21.7.8] - CLI update question
«
Reply #1 on:
May 02, 2022, 03:03:34 pm »
have a look at
https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-checkmk/
esp.
https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-checkmk/blob/main/files/firmware_status.py
maybe it helps ...
Logged
franco
Administrator
Hero Member
Posts: 17667
Karma: 1611
Re: [21.7.8] - CLI update question
«
Reply #2 on:
May 04, 2022, 01:10:16 pm »
> The problem is that the new update 21.1 is not found at the end.
I think you mean "22.1" and for CLI you type "22.1" to upgrade. Simple as that.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
[21.7.8] - CLI update question