25.1.2 update crashed my VM

Started by homesab2, March 01, 2025, 05:23:12 PM

Previous topic - Next topic
Ran the update, but it seem to get stuck after the message warning not to turn off, there were two other lines after this, but it wasn't progressing. I refreshed the browser and got this

"Fatal error: Uncaught TypeError: flock(): Argument #1 ($stream) must be of type resource, false given in /usr/local/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php:147 Stack trace: #0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php(147): flock(false, 6) #1 /usr/local/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php(187): OPNsense\Base\Menu\MenuSystem->persist() #2 /usr/local/www/head.inc(4): OPNsense\Base\Menu\MenuSystem->__construct() #3 /usr/local/www/crash_reporter.php(85): include('/usr/local/www/...') #4 {main} thrown in /usr/local/opnsense/mvc/app/models/OPNsense/Base/Menu/MenuSystem.php on line 147 "

I tried to reboot and shutdown the VM but nothing happened so had to stop the VM and then tried to restart and got this

"ERROR: cannto open /boot/lua/loader.lua no such file or directory"

The VM is on Proxmox, so I restored from this morning's backup.

Crystal ball says you have Crowdsec running and you should try the update again after stopping it.


Let me know if the ball worked for you. If not I'll be returning it for a Zoltar palm-reading machine where I can feed this thread's data in hopes of a better answer for you #Garbage In - Garbage Out

No I'm afriad it was garbbage out, I do have crowdsec but stopping the service didn't help. It's getting stuck installing the base.

***GOT REQUEST TO UPDATE***
Currently running OPNsense 25.1.1 (amd64) at Sat Mar  1 16:46:56 GMT 2025
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (166 candidates): .......... done
Processing candidates (166 candidates): .... done
The following 62 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
ruby32-gems: 3.6.4

Installed packages to be UPGRADED:
abseil: 20240722.0 -> 20250127.0
bind-tools: 9.20.5 -> 9.20.6
boost-libs: 1.86.0_1 -> 1.87.0_1
ca_root_nss: 3.104 -> 3.108
crowdsec: 1.6.4_1 -> 1.6.5_1
curl: 8.12.0 -> 8.12.1
diffutils: 3.8_1 -> 3.11
dnsmasq: 2.90_4,1 -> 2.90_5,1
easy-rsa: 3.2.1_3,1 -> 3.2.2,1
icu: 74.2_1,1 -> 76.1,1
libpsl: 0.21.5_1 -> 0.21.5_2
libunwind: 20240221_1 -> 20240221_2
mysql80-client: 8.0.39 -> 8.0.39_1
nano: 8.2 -> 8.3
nss: 3.107 -> 3.108
ntp: 4.2.8p18_1 -> 4.2.8p18_4
openldap26-client: 2.6.9 -> 2.6.9_1
openssh-portable: 9.9.p1_1,1 -> 9.9.p2_1,1
opnsense: 25.1.1 -> 25.1.2
opnsense-update: 25.1.1 -> 25.1.2
os-acme-client: 4.8 -> 4.9
os-theme-vicuna: 1.48 -> 1.48_1
php83: 8.3.16 -> 8.3.17_1
php83-ctype: 8.3.16 -> 8.3.17_1
php83-curl: 8.3.16 -> 8.3.17_1
php83-dom: 8.3.16 -> 8.3.17_1
php83-filter: 8.3.16 -> 8.3.17_1
php83-gettext: 8.3.16 -> 8.3.17_1
php83-ldap: 8.3.16 -> 8.3.17_1
php83-mbstring: 8.3.16 -> 8.3.17_1
php83-pcntl: 8.3.16 -> 8.3.17_1
php83-pdo: 8.3.16 -> 8.3.17_1
php83-session: 8.3.16 -> 8.3.17_1
php83-simplexml: 8.3.16 -> 8.3.17_1
php83-sockets: 8.3.16 -> 8.3.17_1
php83-sqlite3: 8.3.16 -> 8.3.17_1
php83-xml: 8.3.16 -> 8.3.17_1
php83-zlib: 8.3.16 -> 8.3.17_1
protobuf: 29.3,1 -> 29.3_1,1
protobuf-c: 1.4.1_8 -> 1.5.1
py311-Jinja2: 3.1.4 -> 3.1.5
py311-beautifulsoup: 4.12.3 -> 4.13.3_1
py311-boto3: 1.35.99 -> 1.36.23
py311-botocore: 1.35.99 -> 1.36.23
py311-certifi: 2024.12.14 -> 2025.1.31
py311-cryptography: 42.0.8_6,1 -> 42.0.8_7,1
py311-duckdb: 1.1.3 -> 1.2.0
py311-pyasn1-modules: 0.4.0 -> 0.4.1
py311-pylsqpack: 0.3.18 -> 0.3.19
py311-s3transfer: 0.10.4 -> 0.11.2
py311-trio: 0.28.0 -> 0.29.0
py311-truststore: 0.10.0 -> 0.10.1
re2: 20240702 -> 20240702_1
ruby: 3.1.6,1 -> 3.2.7,1
rubygem-rexml: 3.4.0 -> 3.4.1
socat: 1.8.0.2 -> 1.8.0.3
sqlite3: 3.46.1,1 -> 3.46.1_1,1
suricata: 7.0.8_1 -> 7.0.8_2
syslog-ng: 4.8.1_4 -> 4.8.1_5

Installed packages to be REINSTALLED:
kea-2.6.1_2 (required shared library changed)
os-iperf-1.0_2 (direct dependency changed: ruby)

Number of packages to be installed: 1
Number of packages to be upgraded: 59
Number of packages to be reinstalled: 2

The process will require 68 MiB more space.
151 MiB to be downloaded.
[1/62] Fetching py311-cryptography-42.0.8_7,1.pkg: .......... done
[2/62] Fetching php83-filter-8.3.17_1.pkg: ... done
[3/62] Fetching opnsense-update-25.1.2.pkg: ..... done
[4/62] Fetching os-iperf-1.0_2.pkg: . done
[5/62] Fetching py311-boto3-1.36.23.pkg: .......... done
[6/62] Fetching re2-20240702_1.pkg: .......... done
[7/62] Fetching php83-curl-8.3.17_1.pkg: ...... done
[8/62] Fetching boost-libs-1.87.0_1.pkg: .......... done
[9/62] Fetching nss-3.108.pkg: .......... done
[10/62] Fetching py311-pyasn1-modules-0.4.1.pkg: .......... done
[11/62] Fetching php83-ldap-8.3.17_1.pkg: ..... done
[12/62] Fetching easy-rsa-3.2.2,1.pkg: ....... done
[13/62] Fetching crowdsec-1.6.5_1.pkg: .......... done
[14/62] Fetching py311-botocore-1.36.23.pkg: .......... done
[15/62] Fetching icu-76.1,1.pkg: .......... done
[16/62] Fetching ruby-3.2.7,1.pkg: .......... done
[17/62] Fetching dnsmasq-2.90_5,1.pkg: .......... done
[18/62] Fetching bind-tools-9.20.6.pkg: .......... done
[19/62] Fetching php83-simplexml-8.3.17_1.pkg: ... done
[20/62] Fetching php83-pdo-8.3.17_1.pkg: ....... done
[21/62] Fetching ntp-4.2.8p18_4.pkg: .......... done
[22/62] Fetching diffutils-3.11.pkg: .......... done
[23/62] Fetching syslog-ng-4.8.1_5.pkg: .......... done
[24/62] Fetching php83-sockets-8.3.17_1.pkg: ...... done
[25/62] Fetching libpsl-0.21.5_2.pkg: ........ done
[26/62] Fetching protobuf-c-1.5.1.pkg: .......... done
[27/62] Fetching os-acme-client-4.9.pkg: .......... done
[28/62] Fetching py311-s3transfer-0.11.2.pkg: .......... done
[29/62] Fetching php83-pcntl-8.3.17_1.pkg: ... done
[30/62] Fetching ca_root_nss-3.108.pkg: .......... done
[31/62] Fetching php83-sqlite3-8.3.17_1.pkg: .... done
[32/62] Fetching py311-trio-0.29.0.pkg: .......... done
[33/62] Fetching abseil-20250127.0.pkg: .......... done
[34/62] Fetching php83-session-8.3.17_1.pkg: ..... done
[35/62] Fetching py311-certifi-2025.1.31.pkg: .......... done
[36/62] Fetching kea-2.6.1_2.pkg: .......... done
[37/62] Fetching php83-mbstring-8.3.17_1.pkg: .......... done
[38/62] Fetching php83-gettext-8.3.17_1.pkg: . done
[39/62] Fetching php83-zlib-8.3.17_1.pkg: ... done
[40/62] Fetching libunwind-20240221_2.pkg: .......... done
[41/62] Fetching socat-1.8.0.3.pkg: .......... done
[42/62] Fetching php83-ctype-8.3.17_1.pkg: . done
[43/62] Fetching curl-8.12.1.pkg: .......... done
[44/62] Fetching mysql80-client-8.0.39_1.pkg: .......... done
[45/62] Fetching php83-8.3.17_1.pkg: .......... done
[46/62] Fetching rubygem-rexml-3.4.1.pkg: .......... done
[47/62] Fetching py311-truststore-0.10.1.pkg: ..... done
[48/62] Fetching openssh-portable-9.9.p2_1,1.pkg: .......... done
[49/62] Fetching nano-8.3.pkg: .......... done
[50/62] Fetching php83-xml-8.3.17_1.pkg: ... done
[51/62] Fetching suricata-7.0.8_2.pkg: .......... done
[52/62] Fetching php83-dom-8.3.17_1.pkg: .......... done
[53/62] Fetching sqlite3-3.46.1_1,1.pkg: .......... done
[54/62] Fetching py311-pylsqpack-0.3.19.pkg: ........ done
[55/62] Fetching openldap26-client-2.6.9_1.pkg: .......... done
[56/62] Fetching protobuf-29.3_1,1.pkg: .......... done
[57/62] Fetching py311-beautifulsoup-4.13.3_1.pkg: .......... done
[58/62] Fetching opnsense-25.1.2.pkg: .......... done
[59/62] Fetching os-theme-vicuna-1.48_1.pkg: .......... done
[60/62] Fetching py311-duckdb-1.2.0.pkg: .......... done
[61/62] Fetching ruby32-gems-3.6.4.pkg: .......... done
[62/62] Fetching py311-Jinja2-3.1.5.pkg: .......... done
Checking integrity... done (1 conflicting)
  - ruby32-gems-3.6.4 conflicts with ruby31-gems-3.6.3 on /usr/local/bin/gem
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 63 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
ruby31-gems: 3.6.3

New packages to be INSTALLED:
ruby32-gems: 3.6.4

Installed packages to be UPGRADED:
abseil: 20240722.0 -> 20250127.0
bind-tools: 9.20.5 -> 9.20.6
boost-libs: 1.86.0_1 -> 1.87.0_1
ca_root_nss: 3.104 -> 3.108
crowdsec: 1.6.4_1 -> 1.6.5_1
curl: 8.12.0 -> 8.12.1
diffutils: 3.8_1 -> 3.11
dnsmasq: 2.90_4,1 -> 2.90_5,1
easy-rsa: 3.2.1_3,1 -> 3.2.2,1
icu: 74.2_1,1 -> 76.1,1
libpsl: 0.21.5_1 -> 0.21.5_2
libunwind: 20240221_1 -> 20240221_2
mysql80-client: 8.0.39 -> 8.0.39_1
nano: 8.2 -> 8.3
nss: 3.107 -> 3.108
ntp: 4.2.8p18_1 -> 4.2.8p18_4
openldap26-client: 2.6.9 -> 2.6.9_1
openssh-portable: 9.9.p1_1,1 -> 9.9.p2_1,1
opnsense: 25.1.1 -> 25.1.2
opnsense-update: 25.1.1 -> 25.1.2
os-acme-client: 4.8 -> 4.9
os-theme-vicuna: 1.48 -> 1.48_1
php83: 8.3.16 -> 8.3.17_1
php83-ctype: 8.3.16 -> 8.3.17_1
php83-curl: 8.3.16 -> 8.3.17_1
php83-dom: 8.3.16 -> 8.3.17_1
php83-filter: 8.3.16 -> 8.3.17_1
php83-gettext: 8.3.16 -> 8.3.17_1
php83-ldap: 8.3.16 -> 8.3.17_1
php83-mbstring: 8.3.16 -> 8.3.17_1
php83-pcntl: 8.3.16 -> 8.3.17_1
php83-pdo: 8.3.16 -> 8.3.17_1
php83-session: 8.3.16 -> 8.3.17_1
php83-simplexml: 8.3.16 -> 8.3.17_1
php83-sockets: 8.3.16 -> 8.3.17_1
php83-sqlite3: 8.3.16 -> 8.3.17_1
php83-xml: 8.3.16 -> 8.3.17_1
php83-zlib: 8.3.16 -> 8.3.17_1
protobuf: 29.3,1 -> 29.3_1,1
protobuf-c: 1.4.1_8 -> 1.5.1
py311-Jinja2: 3.1.4 -> 3.1.5
py311-beautifulsoup: 4.12.3 -> 4.13.3_1
py311-boto3: 1.35.99 -> 1.36.23
py311-botocore: 1.35.99 -> 1.36.23
py311-certifi: 2024.12.14 -> 2025.1.31
py311-cryptography: 42.0.8_6,1 -> 42.0.8_7,1
py311-duckdb: 1.1.3 -> 1.2.0
py311-pyasn1-modules: 0.4.0 -> 0.4.1
py311-pylsqpack: 0.3.18 -> 0.3.19
py311-s3transfer: 0.10.4 -> 0.11.2
py311-trio: 0.28.0 -> 0.29.0
py311-truststore: 0.10.0 -> 0.10.1
re2: 20240702 -> 20240702_1
ruby: 3.1.6,1 -> 3.2.7,1
rubygem-rexml: 3.4.0 -> 3.4.1
socat: 1.8.0.2 -> 1.8.0.3
sqlite3: 3.46.1,1 -> 3.46.1_1,1
suricata: 7.0.8_1 -> 7.0.8_2
syslog-ng: 4.8.1_4 -> 4.8.1_5

Installed packages to be REINSTALLED:
kea-2.6.1_2 (required shared library changed)
os-iperf-1.0_2 (direct dependency changed: ruby)

Number of packages to be removed: 1
Number of packages to be installed: 1
Number of packages to be upgraded: 59
Number of packages to be reinstalled: 2

The process will require 67 MiB more space.
[1/63] Upgrading libunwind from 20240221_1 to 20240221_2...
[1/63] Extracting libunwind-20240221_2: .......... done
[2/63] Upgrading php83 from 8.3.16 to 8.3.17_1...
[2/63] Extracting php83-8.3.17_1: .......... done
[3/63] Upgrading sqlite3 from 3.46.1,1 to 3.46.1_1,1...
[3/63] Extracting sqlite3-3.46.1_1,1: .......... done
[4/63] Upgrading ruby from 3.1.6,1 to 3.2.7,1...
[4/63] Extracting ruby-3.2.7,1: .......... done
[5/63] Deinstalling ruby31-gems-3.6.3...
[5/63] Deleting files for ruby31-gems-3.6.3: .......... done
[6/63] Upgrading abseil from 20240722.0 to 20250127.0...
[6/63] Extracting abseil-20250127.0: .......... done
[7/63] Upgrading icu from 74.2_1,1 to 76.1,1...
[7/63] Extracting icu-76.1,1: .......... done
[8/63] Upgrading libpsl from 0.21.5_1 to 0.21.5_2...
[8/63] Extracting libpsl-0.21.5_2: .......... done
[9/63] Upgrading php83-zlib from 8.3.16 to 8.3.17_1...
[9/63] Extracting php83-zlib-8.3.17_1: ........ done
[10/63] Upgrading php83-xml from 8.3.16 to 8.3.17_1...
[10/63] Extracting php83-xml-8.3.17_1: ......... done
[11/63] Upgrading protobuf from 29.3,1 to 29.3_1,1...
[11/63] Extracting protobuf-29.3_1,1: .......... done
[12/63] Upgrading boost-libs from 1.86.0_1 to 1.87.0_1...
[12/63] Extracting boost-libs-1.87.0_1: .......... done
[13/63] Upgrading nss from 3.107 to 3.108...
[13/63] Extracting nss-3.108: .......... done
[14/63] Upgrading py311-botocore from 1.35.99 to 1.36.23...
[14/63] Extracting py311-botocore-1.36.23: .......... done
[15/63] Upgrading php83-pdo from 8.3.16 to 8.3.17_1...
[15/63] Extracting php83-pdo-8.3.17_1: .......... done
[16/63] Upgrading php83-session from 8.3.16 to 8.3.17_1...
[16/63] Extracting php83-session-8.3.17_1: .......... done
[17/63] Upgrading curl from 8.12.0 to 8.12.1...
[17/63] Extracting curl-8.12.1: .......... done
[18/63] Upgrading openldap26-client from 2.6.9 to 2.6.9_1...
[18/63] Extracting openldap26-client-2.6.9_1: .......... done
[19/63] Installing ruby32-gems-3.6.4...
[19/63] Extracting ruby32-gems-3.6.4: .......... done
[20/63] Upgrading protobuf-c from 1.4.1_8 to 1.5.1...
[20/63] Extracting protobuf-c-1.5.1: .......... done
[21/63] Upgrading php83-filter from 8.3.16 to 8.3.17_1...
[21/63] Extracting php83-filter-8.3.17_1: ......... done
[22/63] Upgrading opnsense-update from 25.1.1 to 25.1.2...
[22/63] Extracting opnsense-update-25.1.2: .......... done
[23/63] Upgrading re2 from 20240702 to 20240702_1...
[23/63] Extracting re2-20240702_1: .......... done
[24/63] Upgrading php83-curl from 8.3.16 to 8.3.17_1...
[24/63] Extracting php83-curl-8.3.17_1: .......... done
[25/63] Upgrading php83-ldap from 8.3.16 to 8.3.17_1...
[25/63] Extracting php83-ldap-8.3.17_1: ........ done
[26/63] Upgrading dnsmasq from 2.90_4,1 to 2.90_5,1...
[26/63] Extracting dnsmasq-2.90_5,1: .......... done
[27/63] Upgrading php83-simplexml from 8.3.16 to 8.3.17_1...
[27/63] Extracting php83-simplexml-8.3.17_1: ......... done
[28/63] Upgrading ntp from 4.2.8p18_1 to 4.2.8p18_4...
[28/63] Extracting ntp-4.2.8p18_4: .......... done
[29/63] Upgrading syslog-ng from 4.8.1_4 to 4.8.1_5...
[29/63] Extracting syslog-ng-4.8.1_5: .......... done
[30/63] Upgrading php83-sockets from 8.3.16 to 8.3.17_1...
[30/63] Extracting php83-sockets-8.3.17_1: .......... done
[31/63] Upgrading py311-s3transfer from 0.10.4 to 0.11.2...
[31/63] Extracting py311-s3transfer-0.11.2: .......... done
[32/63] Upgrading php83-pcntl from 8.3.16 to 8.3.17_1...
[32/63] Extracting php83-pcntl-8.3.17_1: ......... done
[33/63] Upgrading ca_root_nss from 3.104 to 3.108...
[33/63] Extracting ca_root_nss-3.108: ..... done
[34/63] Upgrading php83-sqlite3 from 8.3.16 to 8.3.17_1...
[34/63] Extracting php83-sqlite3-8.3.17_1: ......... done
[35/63] Reinstalling kea-2.6.1_2...
[35/63] Extracting kea-2.6.1_2: .......... done
[36/63] Upgrading php83-gettext from 8.3.16 to 8.3.17_1...
[36/63] Extracting php83-gettext-8.3.17_1: ........ done
[37/63] Upgrading php83-ctype from 8.3.16 to 8.3.17_1...
[37/63] Extracting php83-ctype-8.3.17_1: ........ done
[38/63] Upgrading rubygem-rexml from 3.4.0 to 3.4.1...
[38/63] Extracting rubygem-rexml-3.4.1: .......... done
[39/63] Upgrading openssh-portable from 9.9.p1_1,1 to 9.9.p2_1,1...
[39/63] Extracting openssh-portable-9.9.p2_1,1: .......... done
[40/63] Upgrading suricata from 7.0.8_1 to 7.0.8_2...
[40/63] Extracting suricata-7.0.8_2: .......... done
[41/63] Upgrading php83-dom from 8.3.16 to 8.3.17_1...
[41/63] Extracting php83-dom-8.3.17_1: .......... done
[42/63] Upgrading py311-duckdb from 1.1.3 to 1.2.0...
[42/63] Extracting py311-duckdb-1.2.0: .......... done
[43/63] Upgrading py311-Jinja2 from 3.1.4 to 3.1.5...
[43/63] Extracting py311-Jinja2-3.1.5: .......... done
[44/63] Upgrading py311-truststore from 0.10.0 to 0.10.1...
[44/63] Extracting py311-truststore-0.10.1: .......... done
[45/63] Upgrading py311-cryptography from 42.0.8_6,1 to 42.0.8_7,1...
[45/63] Extracting py311-cryptography-42.0.8_7,1: .......... done
[46/63] Upgrading py311-pyasn1-modules from 0.4.0 to 0.4.1...
[46/63] Extracting py311-pyasn1-modules-0.4.1: .......... done
[47/63] Upgrading py311-certifi from 2024.12.14 to 2025.1.31...
[47/63] Extracting py311-certifi-2025.1.31: .......... done
[48/63] Upgrading py311-pylsqpack from 0.3.18 to 0.3.19...
[48/63] Extracting py311-pylsqpack-0.3.19: .......... done
[49/63] Upgrading py311-trio from 0.28.0 to 0.29.0...
[49/63] Extracting py311-trio-0.29.0: .......... done
[50/63] Upgrading easy-rsa from 3.2.1_3,1 to 3.2.2,1...
[50/63] Extracting easy-rsa-3.2.2,1: .......... done
[51/63] Upgrading bind-tools from 9.20.5 to 9.20.6...
[51/63] Extracting bind-tools-9.20.6: .......... done
[52/63] Upgrading php83-mbstring from 8.3.16 to 8.3.17_1...
[52/63] Extracting php83-mbstring-8.3.17_1: .......... done
[53/63] Upgrading socat from 1.8.0.2 to 1.8.0.3...
[53/63] Extracting socat-1.8.0.3: ......... done
[54/63] Upgrading py311-beautifulsoup from 4.12.3 to 4.13.3_1...
[54/63] Extracting py311-beautifulsoup-4.13.3_1: .......... done
[55/63] Reinstalling os-iperf-1.0_2...
[55/63] Extracting os-iperf-1.0_2: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...done.
[56/63] Upgrading py311-boto3 from 1.35.99 to 1.36.23...
[56/63] Extracting py311-boto3-1.36.23: .......... done
[57/63] Upgrading crowdsec from 1.6.4_1 to 1.6.5_1...
[57/63] Extracting crowdsec-1.6.5_1: .......... done
crowdsec is not running.
Updating crowdsec hub data
Downloading /usr/local/etc/crowdsec/hub/.index.json
[58/63] Upgrading diffutils from 3.8_1 to 3.11...
[58/63] Extracting diffutils-3.11: .......... done
[59/63] Upgrading os-acme-client from 4.8 to 4.9...
[59/63] Extracting os-acme-client-4.9: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/AcmeClient: OK


[60/63] Upgrading mysql80-client from 8.0.39 to 8.0.39_1...
[60/63] Extracting mysql80-client-8.0.39_1: .......... done
[61/63] Upgrading nano from 8.2 to 8.3...
[61/63] Extracting nano-8.3: .......... done
[62/63] Upgrading opnsense from 25.1.1 to 25.1.2...
[62/63] Extracting opnsense-25.1.2: .......... done
Stopping configd...done
Resetting root shell
Updating /etc/shells
Unhooking from /etc/rc
Unhooking from /etc/rc.shutdown
Updating /etc/shells
Registering root shell
Hooking into /etc/rc
Hooking into /etc/rc.shutdown
Starting configd.
>>> Invoking update script 'refresh.sh'
Migrated OPNsense\Dnsmasq\Dnsmasq from 0.0.0 to 1.0.0
Migrated OPNsense\Unbound\Unbound from 1.0.11 to 1.0.12
Migrated OPNsense\Interfaces\Vip from 1.0.0 to 1.0.1
Writing firmware settings: FreeBSD OPNsense
Writing trust files...done.
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
certctl: Modified 2 trust store links.
Writing trust bundles...done.
Configuring login behaviour...done.
Configuring cron...done.
Configuring system logging...done.
[63/63] Upgrading os-theme-vicuna from 1.48 to 1.48_1...
[63/63] Extracting os-theme-vicuna-1.48_1:
pkg-static: Fail to set time on /usr/local/opnsense/www/themes/vicuna/assets/fonts/SourceSansPro-Semibold/.pkgtemp.SourceSansPro-Semibold.otf.jLjjJwc5yN6k:No such file or directory
[63/63] Extracting os-theme-vicuna-1.48_1... done
Starting web GUI...done.
Fetching base-25.1.2-amd64.txz: ........................................ done
Fetching kernel-25.1.2-amd64.txz: ............ done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing kernel-25.1.2-amd64.txz... done
Installing base-25.1.2-amd64.txz...

Just give it time, it should finish installing base without issues - assuming you're not running into a low space situation.

It was disk space.

I allocated 12gb for this VM but didn't realize that the setup gives 8gb to the swap. The 4gb filesystem had 1gb free, which wasn't enough for 25.1.2, it was enough for 25.1.1. So I increased the partition size and it ran successfully.