OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: caplam on June 03, 2026, 01:05:58 PM

Title: i can no longer update from gui
Post by: caplam on June 03, 2026, 01:05:58 PM
when i select check update from status page i have "Firmware status requires to check for update first to provide more information."
and the it opens update page which displays the result from an health check from may 13.
Whatever i ask from status page (update check, all the audits available) i'm back to the update page with the result of health check from  may 13.

Is there a thing i can do to make it work like befor ?
Title: Re: i can no longer update from gui
Post by: franco on June 03, 2026, 01:23:39 PM
# killall pkg pkg-static

Does this help?
Title: Re: i can no longer update from gui
Post by: caplam on June 03, 2026, 04:20:56 PM
not really:
sudo killall pkg pkg-static
No matching processes were found
Title: Re: i can no longer update from gui
Post by: marka2k on June 03, 2026, 04:32:06 PM
Ran into this today, under System Firmware click on status then Check for Updates and be patient this is what worked for me YMMV
Title: Re: i can no longer update from gui
Post by: caplam on June 03, 2026, 04:38:33 PM
doesn't work for me as stated in the first post.
Title: Re: i can no longer update from gui
Post by: caplam on June 03, 2026, 05:44:29 PM
i have done health check in cli:

/usr/local/opnsense/scripts/firmware $ sudo ./health.sh
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 26.1.7 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.7 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
OPNsense (Priority: 11)
mimugmail (Priority: 5)
>>> Check installed plugins
os-acme-client 4.16_1
os-apcupsd 1.2_3
os-caddy 2.1.0
os-cpu-microcode-intel 1.1
os-crowdsec 1.0.12
os-ddclient 1.31
os-freeradius 1.10.1
os-igmp-proxy 1.5_6
os-iperf 1.0_2
os-isc-dhcp 1.0_4
os-mdns-repeater 1.2
os-net-snmp 1.6_1
os-opnarp-maxit 1.0_4
os-q-feeds-connector 1.6
os-unifi9-maxit 1.4
os-wol 2.5_4
os-zabbix74-agent 1.19
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .
isc-dhcp44-server-4.4.3P1_2: missing file /usr/local/share/licenses/isc-dhcp44-server-4.4.3P1_2/LICENSE
Checking all packages............ done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.8_5 has 68 dependencies to check.
Checking packages: ..
ca_root_nss-3.117_2 version mismatch, expected 3.124
Checking packages: .....................
openvpn-2.6.20 version mismatch, expected 2.7.4
Checking packages: .
opnsense-26.1.8_5 version mismatch, expected 26.1.9
Checking packages: ...
opnsense-update-26.1.7_1 version mismatch, expected 26.1.9
Checking packages: ...
php83-ctype-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-curl-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-dom-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-filter-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-gettext-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-ldap-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-pcntl-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-pdo-8.3.30 version mismatch, expected 8.3.31
Checking packages: .....
php83-session-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-simplexml-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-sockets-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-sqlite3-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-xml-8.3.30 version mismatch, expected 8.3.31
Checking packages: .
php83-zlib-8.3.30 version mismatch, expected 8.3.31
Checking packages: ....
py313-duckdb-1.5.2 version mismatch, expected 1.5.2_1
Checking packages: ...
py313-numpy1-1.26.4_3 has no upstream equivalent
Checking packages: .
py313-pandas-2.3.3_1,1 version mismatch, expected 2.3.3_2,1
Checking packages: .
py313-requests-2.33.1 version mismatch, expected 2.34.2
Checking packages: ..
py313-ujson-5.12.0 version mismatch, expected 5.12.1
Checking packages: .......
suricata-8.0.4 version mismatch, expected 8.0.5
Checking packages: ..
unbound-1.25.0 version mismatch, expected 1.25.1
Checking packages: .. done

and now it's this health check that's displayed in the gui but still no possibility to check for updates in gui.
Title: Re: i can no longer update from gui
Post by: nero355 on June 03, 2026, 06:48:47 PM
Try updating via SSH and if that does not work then reboot and try again ?!
Title: Re: i can no longer update from gui
Post by: caplam on June 03, 2026, 07:34:57 PM
i ran update.sh and got errors.
[03-Jun-2026 19:02:44 Europe/Luxembourg] PHP Fatal error:  Uncaught Error: Class "OPNsense\Base\Menu\MenuContainer" not found in /usr/local/opnsense/mvc/app/models/OPNsense/DHCPv4/Menu/Menu.php:34
Stack trace:
#0 /usr/local/opnsense/mvc/app/library/OPNsense/Autoload/Loader.php(49): require_once()
#1 [internal function]: OPNsense\Autoload\Loader->autoload('OPNsense\\DHCPv4...')
#2 /usr/local/opnsense/mvc/script/run_migrations.php(64): ReflectionClass->__construct('OPNsense\\DHCPv4...')
#3 {main}
  thrown in /usr/local/opnsense/mvc/app/models/OPNsense/DHCPv4/Menu/Menu.php on line 34

After the reboot many services didn't start automatically. I had to start manually. Acme started only after applying config from settings page.
And still no possibility to run any audit from gui. This works only from ssh.
At least all services seem to work correctly with firmware 26.1.9. I go on vacation tomorrow and have not much time to investigate.
Title: Re: i can no longer update from gui
Post by: franco on June 04, 2026, 07:48:08 AM
This error is expected and will only show once when the ISC DHCP plugin is installed while updating to 26.1.9 or higher from a version 26.1.8 or lower. It cannot cause other issues and your health audit is clean.


Cheers,
Franco
Title: Re: i can no longer update from gui
Post by: caplam on June 20, 2026, 09:28:51 AM
26.1.10 is out and as before i can no longer update from gui. I can neither run an audit from gui.
Running from ssh is ok and the result of the command (update check or health audit) is displayed in the gui.

Title: Re: i can no longer update from gui
Post by: newsense on June 20, 2026, 09:57:45 AM
Is the issue present in multiple browsers?

Which ones are you using?
Title: Re: i can no longer update from gui
Post by: caplam on June 20, 2026, 09:59:34 AM
i use vivaldi. will try with brave and safari.

edit: same in brave or safari.
When i request update check it displays the result of the last update from the beginning of the mont that was ran in ssh.

edit2: tried also with firefox for the same result.
Title: Re: i can no longer update from gui
Post by: newsense on June 20, 2026, 10:11:39 AM
Ok now do 26.1.10 over ssh and post here the full output
Title: Re: i can no longer update from gui
Post by: caplam on June 20, 2026, 10:39:05 AM
the update doesn't end in the ssh session:
Installing kernel-26.1.10-amd64.txz... done
Installing base-26.1.10-amd64.txz... done
Cleaning obsolete files... done
Please reboot.
>>> Invoking stop script 'beep'
>>> Invoking stop script 'freebsd'
Stopping crowdsec_firewall.
Stopping caddy... done
Stopping crowdsec.
Waiting for PIDS: 1455.
Stopping ddclient.
Waiting for PIDS: 81869.
Stopping unifi.
Waiting for PIDS: 83023.
Cleaning up leftover child processes.
kill: 86497: No such process
Stopping acme_http_challenge.
Waiting for PIDS: 15393.
Stopping mdns_repeater.
Waiting for PIDS: 71298.
Stopping hostwatch.
Waiting for PIDS: 12714, 12714.
Stopping zabbix_agentd.
Waiting for PIDS: 803.
Stopping snmpd.
Waiting for PIDS: 39155.
Stopping suricata.
Waiting for PIDS: 15665

in the gui it's like it upgraded to 26.1.10 and rebooted. And many services have not restarted.
Title: Re: i can no longer update from gui
Post by: caplam on June 20, 2026, 10:45:31 AM
i open another ssh session and kill pid 15665: opnsense killed the connection and rebooted. Almost all services started.
And i can now request update and health check in gui.

It seems suricata was preventing a reboot.
Title: Re: i can no longer update from gui
Post by: newsense on June 20, 2026, 10:47:03 AM
I wanted to see the packages output more than the kernel and base...that's why I asked for the full output.


Let's try another health check ?
Title: Re: i can no longer update from gui
Post by: newsense on June 20, 2026, 10:48:22 AM
Quote from: caplam on June 20, 2026, 10:45:31 AMi open another ssh session and kill pid 15665: opnsense killed the connection and rebooted. Almost all services started.
And i can now request update and health check in gui.

It seems suricata was preventing a reboot.

This sounds a lot better, seems things are ok now.
Title: Re: i can no longer update from gui
Post by: caplam on June 20, 2026, 10:52:25 AM
Quote from: newsense on June 20, 2026, 10:47:03 AMI wanted to see the packages output more than the kernel and base...that's why I asked for the full output.


Let's try another health check ?

i'm not at home and took some risks (did it with a vpn connection).
From what i saw all was running good until stopping suricata.
Here is the result of update check.
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 26.1.10 (amd64) at Sat Jun 20 10:51:10 CEST 2026
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 26.1.10 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.10 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
OPNsense (Priority: 11)
mimugmail (Priority: 5)
>>> Check installed plugins
os-acme-client 4.16_1
os-apcupsd 1.2_3
os-caddy 2.1.0
os-cpu-microcode-intel 1.1
os-crowdsec 1.0.12
os-ddclient 1.31_1
os-freeradius 1.10.1
os-igmp-proxy 1.5_6
os-iperf 1.0_2
os-isc-dhcp 1.0_5
os-mdns-repeater 1.2
os-net-snmp 1.6_1
os-opnarp-maxit 1.0_4
os-q-feeds-connector 1.6
os-unifi9-maxit 1.4
os-wol 2.5_4
os-zabbix74-agent 1.19
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .
isc-dhcp44-server-4.4.3P1_2: missing file /usr/local/share/licenses/isc-dhcp44-server-4.4.3P1_2/LICENSE
Checking all packages............ done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.10 has 68 dependencies to check.
Checking packages: ..................................................................... done
***DONE***
i don't use isc dhcp.
Title: Re: i can no longer update from gui
Post by: newsense on June 20, 2026, 10:58:51 AM
Yeah looks good now and you're fully updated.

Feel free to remove ISC if you want.
Title: Re: i can no longer update from gui
Post by: caplam on June 20, 2026, 11:07:21 AM
thanks