Just started the Update from 22.4_2 to 22.4.1 an hour ago an the update log always shows:
***GOT REQUEST TO UPDATE***
Currently running OPNsense 22.4_2 (amd64/OpenSSL) at Tue Jun 7 21:46:30 CEST 2022
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 802 packages processed.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 802 packages processed.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Checking for upgrades (65 candidates): .......... done
Processing candidates (65 candidates): .......... done
The following 66 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
py38-charset-normalizer: 2.0.12 [OPNsense]
.............
Migrated OPNsense\Unbound\Unbound from 1.0.0 to 1.0.2
#!/usr/local/bin/php
Firewall works still as expected but the spinner next to the "Updates" tab is still moving. Changelog tab shows "22.4.1 (installed)" as of today.
Shall I reboot? Thanks for any advice...
I have rebooted the firewall and it looks like the upgrade was successful. The log I have copied in the last post, the process was hanging on package 63 from 66 (unfortunately I have deleted the part from the log not to post a too long log file). So, what's about the missing 3 packages + the one which failed?
Looking at the Plugins tab I can see:
Name Version Size Repository Comment
os-sensei-db (missing) N/A N/A N/A N/A
Already tried to audit all three different types and resolve plugin conflicts but didn't help. I assume most of the update went through (63 from 66 packages) but some are still missing.
So, what's the best procedure to check system consistency and re-run a FULL upgrade?
Thanks in advance @franco?
PS: this is the third upgrade in a row generating some issues...
Looks like this relates to Zenarmor more than to normal upgrades, but seeing this worries me a little:
#!/usr/local/bin/php
Not sure where this is coming from...
But in any case I think that os-sensei-db is no longer provided and can be resolved via plugin reset under status tab.
If you aren't sure about current system state the health audit can real a lot of potential issues. It's also on the status page in firmware.
Cheers,
Franco
Hi @franco, thanks for your replay.
Sensei works just normally. The package N/A error just occurred after the update.
Now I have an issue detected by the "System: Firmware: Reporter" with the following PHP errors:
[08-Jun-2022 01:00:00 Europe/Zurich] PHP Warning: implode(): Invalid arguments passed in /usr/local/opnsense/scripts/OPNBEcore/ldap_sync_cleanup on line 68
[08-Jun-2022 01:00:00 Europe/Zurich] PHP Warning: Invalid argument supplied for foreach() in /usr/local/opnsense/scripts/OPNBEcore/ldap_sync_cleanup on line 70
I'll submit this report to you guys so you can have a look at it...
Thanks, I see what the problem is. We will probably update the package today or tomorrow following an internal discussion.
Cheers,
Franco
Amendment was pushed out, just grab it via usual firmware update with no restart required :)
Thanks,
Franco
Thanks @franco, AGAIN for your great support! Just updated all works fine so far.
The Package error "os-sensei-db (missing)" is still there anything I can / shall do with this?
I'm still not sure if the initial update to 22.4.1 has updated all 66 packages as it stopped on package 63 with the error (see my first post):
Migrated OPNsense\Unbound\Unbound from 1.0.0 to 1.0.2
#!/usr/local/bin/php
Have had audit health running with the following output:
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense-business" has 66 dependencies to check.
Checking packages: .................................................................... done
***DONE***
Can I be sure I have ALL the latest packages installed?
> The Package error "os-sensei-db (missing)" is still there anything I can / shall do with this?
Well, the sole point of this message is that os-sensei-db is embedded in the config.xml but not found on your disk or the remote repositories for whatever reason.
Generally the GUI should give you a plugin resolve option under firmware status but you could also run it from command line:
# configctl firmware resync
Does that fix it or are we looking at a persistent issue?
> Can I be sure I have ALL the latest packages installed?
As per your health audit snippet... yes.
Cheers,
Franco
Quote from: franco on June 08, 2022, 02:48:13 PM
> The Package error "os-sensei-db (missing)" is still there anything I can / shall do with this?
Well, the sole point of this message is that os-sensei-db is embedded in the config.xml but not found on your disk or the remote repositories for whatever reason.
Generally the GUI should give you a plugin resolve option under firmware status but you could also run it from command line:
# configctl firmware resync
Does that fix it or are we looking at a persistent issue?
The above command exits with OK and the os-sensei-db plugin is still in the missing state. I'll try to get in touch with Zenarmour...
Quote from: franco on June 08, 2022, 02:48:13 PM
> Can I be sure I have ALL the latest packages installed?
As per your health audit snippet... yes.
Ok, thanks!
You can also edit /conf/config.xml and remove "os-sensei-db" from the list of firmware plugins -- it's a simple comma-separated list.
Cheers,
Franco
Just a short update on this.
Checked with Zenarmour support what to do with the os-sensei-db package. They confirmed that this package is no longer required so I have removed it from the config file...
Firewall is running as expected now.
Thanks for your superbe support @franco!
My pleasure :)
Cheers,
Franco
@franco, it looks lie we're having the same issue again while updating from 22.4.1 to 22.4.2
Here is the log:
***GOT REQUEST TO UPDATE***
Currently running OPNsense 22.4.1 (amd64/OpenSSL) at Wed Jul 13 08:28:53 CEST 2022
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 807 packages processed.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 807 packages processed.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
All repositories are up to date.
Checking for upgrades (66 candidates): .......... done
Processing candidates (66 candidates): .......... done
The following 69 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
libsodium: 1.0.18 [OPNsense]
py38-filelock: 3.7.1 [OPNsense]
py38-importlib-metadata: 4.8.1 [OPNsense]
py38-zipp: 3.4.0 [OPNsense]
Installed packages to be UPGRADED:
acme.sh: 3.0.2 -> 3.0.4 [OPNsense]
bind-tools: 9.18.2 -> 9.18.4 [OPNsense]
ca_root_nss: 3.77 -> 3.78 [OPNsense]
curl: 7.83.1 -> 7.84.0 [OPNsense]
glib: 2.70.4_5,2 -> 2.70.4_6,2 [OPNsense]
hostapd: 2.10_1 -> 2.10_4 [OPNsense]
krb5: 1.19.3 -> 1.20 [OPNsense]
libffi: 3.3_1 -> 3.4.2 [OPNsense]
libfido2: 1.10.0 -> 1.11.0 [OPNsense]
libnghttp2: 1.46.0 -> 1.47.0 [OPNsense]
lighttpd: 1.4.64_1 -> 1.4.65 [OPNsense]
net-snmp: 5.9_3,1 -> 5.9.1_1,1 [OPNsense]
nettle: 3.7.3 -> 3.8 [OPNsense]
nspr: 4.33 -> 4.34 [OPNsense]
nss: 3.78 -> 3.79 [OPNsense]
nut: 2.8.0 -> 2.8.0_4 [OPNsense]
openssh-portable: 8.9.p1_3,1 -> 8.9.p1_4,1 [OPNsense]
openssl: 1.1.1o,1 -> 1.1.1q,1 [OPNsense]
openvpn: 2.5.6 -> 2.5.7 [OPNsense]
opnsense-business: 22.4.1 -> 22.4.2 [OPNsense]
opnsense-update: 22.1.8 -> 22.1.9 [OPNsense]
os-OPNBEcore: 1.0.2_1 -> 1.0.2_2 [OPNsense]
os-acme-client: 3.10 -> 3.11 [OPNsense]
os-ddclient: 1.5 -> 1.7_2 [OPNsense]
os-sensei: 1.11.2 -> 1.11.3 [SunnyValley]
os-sunnyvalley: 1.2_1 -> 1.2_2 [OPNsense]
pftop: 0.7_9 -> 0.8 [OPNsense]
php74: 7.4.29 -> 7.4.30 [OPNsense]
php74-ctype: 7.4.29 -> 7.4.30 [OPNsense]
php74-curl: 7.4.29 -> 7.4.30 [OPNsense]
php74-dom: 7.4.29 -> 7.4.30 [OPNsense]
php74-filter: 7.4.29 -> 7.4.30 [OPNsense]
php74-gettext: 7.4.29 -> 7.4.30 [OPNsense]
php74-json: 7.4.29 -> 7.4.30 [OPNsense]
php74-ldap: 7.4.29 -> 7.4.30 [OPNsense]
php74-mbstring: 7.4.29 -> 7.4.30 [OPNsense]
php74-openssl: 7.4.29 -> 7.4.30 [OPNsense]
php74-pdo: 7.4.29 -> 7.4.30 [OPNsense]
php74-pecl-radius: 1.4.0b1_1 -> 1.4.0b1_2 [OPNsense]
php74-session: 7.4.29 -> 7.4.30 [OPNsense]
php74-simplexml: 7.4.29 -> 7.4.30 [OPNsense]
php74-sockets: 7.4.29 -> 7.4.30 [OPNsense]
php74-sqlite3: 7.4.29 -> 7.4.30 [OPNsense]
php74-xml: 7.4.29 -> 7.4.30 [OPNsense]
php74-zlib: 7.4.29 -> 7.4.30 [OPNsense]
py38-Babel: 2.10.1 -> 2.10.2 [OPNsense]
py38-certifi: 2021.10.8 -> 2022.5.18.1 [OPNsense]
py38-cffi: 1.15.0 -> 1.15.0_1 [OPNsense]
py38-cryptography: 3.3.2 -> 3.4.8 [OPNsense]
py38-dns-lexicon: 3.9.5 -> 3.11.2 [OPNsense]
py38-lxml: 4.8.0_2 -> 4.9.0 [OPNsense]
py38-requests: 2.27.1 -> 2.28.0 [OPNsense]
py38-setuptools: 57.0.0 -> 62.1.0 [OPNsense]
py38-tldextract: 2.2.1_2 -> 3.3.0_1 [OPNsense]
python38: 3.8.13_1 -> 3.8.13_2 [OPNsense]
ruby: 2.7.6_1,1 -> 2.7.6_2,1 [OPNsense]
sqlite3: 3.37.2_1,1 -> 3.38.5,1 [OPNsense]
strongswan: 5.9.5 -> 5.9.6_2 [OPNsense]
sudo: 1.9.10 -> 1.9.11p2 [OPNsense]
suricata: 6.0.5 -> 6.0.5_3 [OPNsense]
unbound: 1.15.0_1 -> 1.16.0 [OPNsense]
wpa_supplicant: 2.10_1 -> 2.10_4 [OPNsense]
Installed packages to be REINSTALLED:
cyrus-sasl-2.1.28 [OPNsense] (options changed)
flock-2.37.2 [OPNsense] (option removed: NLS)
pcre2-10.40 [OPNsense] (options changed)
Number of packages to be installed: 4
Number of packages to be upgraded: 62
Number of packages to be reinstalled: 3
The process will require 8 MiB more space.
106 MiB to be downloaded.
[1/69] Fetching wpa_supplicant-2.10_4.pkg: .......... done
[2/69] Fetching unbound-1.16.0.pkg: .......... done
[3/69] Fetching suricata-6.0.5_3.pkg: .......... done
[4/69] Fetching sudo-1.9.11p2.pkg: .......... done
[5/69] Fetching strongswan-5.9.6_2.pkg: .......... done
[6/69] Fetching sqlite3-3.38.5,1.pkg: .......... done
[7/69] Fetching ruby-2.7.6_2,1.pkg: .......... done
[8/69] Fetching python38-3.8.13_2.pkg: .......... done
[9/69] Fetching py38-tldextract-3.3.0_1.pkg: .......... done
[10/69] Fetching py38-setuptools-62.1.0.pkg: .......... done
[11/69] Fetching py38-requests-2.28.0.pkg: .......... done
[12/69] Fetching py38-lxml-4.9.0.pkg: .......... done
[13/69] Fetching py38-dns-lexicon-3.11.2.pkg: .......... done
[14/69] Fetching py38-cryptography-3.4.8.pkg: .......... done
[15/69] Fetching py38-cffi-1.15.0_1.pkg: .......... done
[16/69] Fetching py38-certifi-2022.5.18.1.pkg: .......... done
[17/69] Fetching py38-Babel-2.10.2.pkg: .......... done
[18/69] Fetching php74-zlib-7.4.30.pkg: ... done
[19/69] Fetching php74-xml-7.4.30.pkg: ... done
[20/69] Fetching php74-sqlite3-7.4.30.pkg: ... done
[21/69] Fetching php74-sockets-7.4.30.pkg: ..... done
[22/69] Fetching php74-simplexml-7.4.30.pkg: ... done
[23/69] Fetching php74-session-7.4.30.pkg: ..... done
[24/69] Fetching php74-pecl-radius-1.4.0b1_2.pkg: ... done
[25/69] Fetching php74-pdo-7.4.30.pkg: ...... done
[26/69] Fetching php74-openssl-7.4.30.pkg: ........ done
[27/69] Fetching php74-mbstring-7.4.30.pkg: .......... done
[28/69] Fetching php74-ldap-7.4.30.pkg: .... done
[29/69] Fetching php74-json-7.4.30.pkg: ... done
[30/69] Fetching php74-gettext-7.4.30.pkg: . done
[31/69] Fetching php74-filter-7.4.30.pkg: ... done
[32/69] Fetching php74-dom-7.4.30.pkg: ....... done
[33/69] Fetching php74-curl-7.4.30.pkg: .... done
[34/69] Fetching php74-ctype-7.4.30.pkg: . done
[35/69] Fetching php74-7.4.30.pkg: .......... done
[36/69] Fetching pftop-0.8.pkg: ......... done
[37/69] Fetching pcre2-10.40.pkg: .......... done
[38/69] Fetching os-sunnyvalley-1.2_2.pkg: . done
[39/69] Fetching os-sensei-1.11.3.pkg: .......... done
[40/69] Fetching os-ddclient-1.7_2.pkg: .. done
[41/69] Fetching os-acme-client-3.11.pkg: .......... done
[42/69] Fetching os-OPNBEcore-1.0.2_2.pkg: .. done
[43/69] Fetching opnsense-update-22.1.9.pkg: ..... done
[44/69] Fetching opnsense-business-22.4.2.pkg: .......... done
[45/69] Fetching openvpn-2.5.7.pkg: .......... done
[46/69] Fetching openssl-1.1.1q,1.pkg: .......... done
[47/69] Fetching openssh-portable-8.9.p1_4,1.pkg: .......... done
[48/69] Fetching nut-2.8.0_4.pkg: .......... done
[49/69] Fetching nss-3.79.pkg: .......... done
[50/69] Fetching nspr-4.34.pkg: .......... done
[51/69] Fetching nettle-3.8.pkg: .......... done
[52/69] Fetching net-snmp-5.9.1_1,1.pkg: .......... done
[53/69] Fetching lighttpd-1.4.65.pkg: .......... done
[54/69] Fetching libnghttp2-1.47.0.pkg: .......... done
[55/69] Fetching libfido2-1.11.0.pkg: .......... done
[56/69] Fetching libffi-3.4.2.pkg: ...... done
[57/69] Fetching krb5-1.20.pkg: .......... done
[58/69] Fetching hostapd-2.10_4.pkg: .......... done
[59/69] Fetching glib-2.70.4_6,2.pkg: .......... done
[60/69] Fetching flock-2.37.2.pkg: ... done
[61/69] Fetching cyrus-sasl-2.1.28.pkg: .......... done
[62/69] Fetching curl-7.84.0.pkg: .......... done
[63/69] Fetching ca_root_nss-3.78.pkg: .......... done
[64/69] Fetching bind-tools-9.18.4.pkg: .......... done
[65/69] Fetching acme.sh-3.0.4.pkg: .......... done
[66/69] Fetching libsodium-1.0.18.pkg: .......... done
[67/69] Fetching py38-filelock-3.7.1.pkg: .. done
[68/69] Fetching py38-importlib-metadata-4.8.1.pkg: .... done
[69/69] Fetching py38-zipp-3.4.0.pkg: . done
Checking integrity... done (0 conflicting)
[1/69] Upgrading openssl from 1.1.1o,1 to 1.1.1q,1...
[1/69] Extracting openssl-1.1.1q,1: .......... done
[2/69] Upgrading libffi from 3.3_1 to 3.4.2...
[2/69] Extracting libffi-3.4.2: .......... done
[3/69] Upgrading python38 from 3.8.13_1 to 3.8.13_2...
[3/69] Extracting python38-3.8.13_2: .......... done
[4/69] Upgrading py38-setuptools from 57.0.0 to 62.1.0...
[4/69] Extracting py38-setuptools-62.1.0: .......... done
[5/69] Upgrading py38-cffi from 1.15.0 to 1.15.0_1...
[5/69] Extracting py38-cffi-1.15.0_1: .......... done
[6/69] Upgrading py38-cryptography from 3.3.2 to 3.4.8...
[6/69] Extracting py38-cryptography-3.4.8: .......... done
[7/69] Upgrading py38-certifi from 2021.10.8 to 2022.5.18.1...
[7/69] Extracting py38-certifi-2022.5.18.1: .......... done
[8/69] Upgrading py38-requests from 2.27.1 to 2.28.0...
[8/69] Extracting py38-requests-2.28.0: .......... done
[9/69] Reinstalling pcre2-10.40...
[9/69] Extracting pcre2-10.40: .......... done
[10/69] Upgrading krb5 from 1.19.3 to 1.20...
[10/69] Extracting krb5-1.20: .......... done
[11/69] Reinstalling cyrus-sasl-2.1.28...
*** Added group `cyrus' (id 60)
*** Added user `cyrus' (id 60)
[11/69] Extracting cyrus-sasl-2.1.28: .......... done
[12/69] Upgrading sqlite3 from 3.37.2_1,1 to 3.38.5,1...
[12/69] Extracting sqlite3-3.38.5,1: .......... done
[13/69] Upgrading py38-lxml from 4.8.0_2 to 4.9.0...
[13/69] Extracting py38-lxml-4.9.0: .......... done
[14/69] Upgrading php74 from 7.4.29 to 7.4.30...
[14/69] Extracting php74-7.4.30: .......... done
[15/69] Upgrading nspr from 4.33 to 4.34...
[15/69] Extracting nspr-4.34: .......... done
[16/69] Upgrading libnghttp2 from 1.46.0 to 1.47.0...
[16/69] Extracting libnghttp2-1.47.0: .......... done
[17/69] Upgrading ca_root_nss from 3.77 to 3.78...
[17/69] Extracting ca_root_nss-3.78: ...... done
[18/69] Installing py38-filelock-3.7.1...
[18/69] Extracting py38-filelock-3.7.1: .......... done
[19/69] Installing py38-zipp-3.4.0...
[19/69] Extracting py38-zipp-3.4.0: .......... done
[20/69] Upgrading py38-tldextract from 2.2.1_2 to 3.3.0_1...
[20/69] Extracting py38-tldextract-3.3.0_1: .......... done
[21/69] Upgrading py38-Babel from 2.10.1 to 2.10.2...
[21/69] Extracting py38-Babel-2.10.2: .......... done
[22/69] Upgrading php74-session from 7.4.29 to 7.4.30...
[22/69] Extracting php74-session-7.4.30: .......... done
[23/69] Upgrading php74-pdo from 7.4.29 to 7.4.30...
[23/69] Extracting php74-pdo-7.4.30: .......... done
[24/69] Upgrading php74-mbstring from 7.4.29 to 7.4.30...
[24/69] Extracting php74-mbstring-7.4.30: .......... done
[25/69] Upgrading php74-json from 7.4.29 to 7.4.30...
[25/69] Extracting php74-json-7.4.30: .......... done
[26/69] Upgrading nss from 3.78 to 3.79...
[26/69] Extracting nss-3.79: .......... done
[27/69] Upgrading nettle from 3.7.3 to 3.8...
[27/69] Extracting nettle-3.8: .......... done
[28/69] Upgrading libfido2 from 1.10.0 to 1.11.0...
[28/69] Extracting libfido2-1.11.0: .......... done
[29/69] Upgrading glib from 2.70.4_5,2 to 2.70.4_6,2...
[29/69] Extracting glib-2.70.4_6,2: .......... done
[30/69] Upgrading curl from 7.83.1 to 7.84.0...
[30/69] Extracting curl-7.84.0: .......... done
[31/69] Upgrading bind-tools from 9.18.2 to 9.18.4...
[31/69] Extracting bind-tools-9.18.4: .......... done
[32/69] Installing libsodium-1.0.18...
[32/69] Extracting libsodium-1.0.18: .......... done
[33/69] Installing py38-importlib-metadata-4.8.1...
[33/69] Extracting py38-importlib-metadata-4.8.1: .......... done
[34/69] Upgrading wpa_supplicant from 2.10_1 to 2.10_4...
[34/69] Extracting wpa_supplicant-2.10_4: ....... done
[35/69] Upgrading unbound from 1.15.0_1 to 1.16.0...
===> Creating groups.
Using existing group 'unbound'.
===> Creating users
Using existing user 'unbound'.
[35/69] Extracting unbound-1.16.0: .......... done
[36/69] Upgrading suricata from 6.0.5 to 6.0.5_3...
[36/69] Extracting suricata-6.0.5_3: .......... done
[37/69] Upgrading sudo from 1.9.10 to 1.9.11p2...
[37/69] Extracting sudo-1.9.11p2: .......... done
[38/69] Upgrading strongswan from 5.9.5 to 5.9.6_2...
[38/69] Extracting strongswan-5.9.6_2: .......... done
[39/69] Upgrading py38-dns-lexicon from 3.9.5 to 3.11.2...
[39/69] Extracting py38-dns-lexicon-3.11.2: .......... done
[40/69] Upgrading php74-zlib from 7.4.29 to 7.4.30...
[40/69] Extracting php74-zlib-7.4.30: ....... done
[41/69] Upgrading php74-xml from 7.4.29 to 7.4.30...
[41/69] Extracting php74-xml-7.4.30: ........ done
[42/69] Upgrading php74-sqlite3 from 7.4.29 to 7.4.30...
[42/69] Extracting php74-sqlite3-7.4.30: ........ done
[43/69] Upgrading php74-sockets from 7.4.29 to 7.4.30...
[43/69] Extracting php74-sockets-7.4.30: .......... done
[44/69] Upgrading php74-simplexml from 7.4.29 to 7.4.30...
[44/69] Extracting php74-simplexml-7.4.30: ......... done
[45/69] Upgrading php74-pecl-radius from 1.4.0b1_1 to 1.4.0b1_2...
[45/69] Extracting php74-pecl-radius-1.4.0b1_2: .......... done
[46/69] Upgrading php74-openssl from 7.4.29 to 7.4.30...
[46/69] Extracting php74-openssl-7.4.30: ....... done
[47/69] Upgrading php74-ldap from 7.4.29 to 7.4.30...
[47/69] Extracting php74-ldap-7.4.30: ....... done
[48/69] Upgrading php74-gettext from 7.4.29 to 7.4.30...
[48/69] Extracting php74-gettext-7.4.30: ....... done
[49/69] Upgrading php74-filter from 7.4.29 to 7.4.30...
[49/69] Extracting php74-filter-7.4.30: ........ done
[50/69] Upgrading php74-dom from 7.4.29 to 7.4.30...
[50/69] Extracting php74-dom-7.4.30: .......... done
[51/69] Upgrading php74-curl from 7.4.29 to 7.4.30...
[51/69] Extracting php74-curl-7.4.30: ....... done
[52/69] Upgrading php74-ctype from 7.4.29 to 7.4.30...
[52/69] Extracting php74-ctype-7.4.30: ....... done
[53/69] Upgrading pftop from 0.7_9 to 0.8...
[53/69] Extracting pftop-0.8: ..... done
[54/69] Upgrading os-OPNBEcore from 1.0.2_1 to 1.0.2_2...
[54/69] Extracting os-OPNBEcore-1.0.2_2: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...done.
Service `cron' has been restarted.
[55/69] Upgrading opnsense-update from 22.1.8 to 22.1.9...
[55/69] Extracting opnsense-update-22.1.9: .......... done
[56/69] Upgrading openvpn from 2.5.6 to 2.5.7...
===> Creating groups.
Using existing group 'openvpn'.
===> Creating users
Using existing user 'openvpn'.
[56/69] Extracting openvpn-2.5.7: .......... done
[57/69] Upgrading openssh-portable from 8.9.p1_3,1 to 8.9.p1_4,1...
[57/69] Extracting openssh-portable-8.9.p1_4,1: .......... done
[58/69] Upgrading net-snmp from 5.9_3,1 to 5.9.1_1,1...
[58/69] Extracting net-snmp-5.9.1_1,1: .......... done
[59/69] Upgrading lighttpd from 1.4.64_1 to 1.4.65...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[59/69] Extracting lighttpd-1.4.65: .......... done
[60/69] Upgrading hostapd from 2.10_1 to 2.10_4...
[60/69] Extracting hostapd-2.10_4: ....... done
[61/69] Reinstalling flock-2.37.2...
[61/69] Extracting flock-2.37.2: ...... done
[62/69] Upgrading acme.sh from 3.0.2 to 3.0.4...
===> Creating groups.
Using existing group 'acme'.
===> Creating users
Using existing user 'acme'.
===> Creating homedir(s)
[62/69] Extracting acme.sh-3.0.4: .......... done
[63/69] Upgrading ruby from 2.7.6_1,1 to 2.7.6_2,1...
[63/69] Extracting ruby-2.7.6_2,1: .......... done
[64/69] Upgrading os-sunnyvalley from 1.2_1 to 1.2_2...
[64/69] Extracting os-sunnyvalley-1.2_2: .... done
[65/69] Upgrading os-sensei from 1.11.2 to 1.11.3...
[65/69] Extracting os-sensei-1.11.3: .......... done
Zenarmor service is running, saving state to resume after upgrade...
Stopping eastpect.
Waiting for PIDS: 93516.
No matching processes were found
Removing Zenarmor cron jobs...
Cron jobs deleted: 1
create link for python in virtualenv...done
Restarting configd service...done
Activating features for Business Edition...
Deleting OPNsense menu cache...done
Invalidating OPNsense cache...done
Invalidating Zenarmor cache...done
Running Zenarmor post-install scripts...
Preparing Settings Db...
Backup configurations...
Application database base path is /usr/local/sensei//db/
Application category max id is 115
13 web 2.0 categories added.
3 applications added.
Web category max id is 251
Prepared Default Policy
Checking Schedule Reports...
Preparing Userenrich Db...
Checking Cloud Nodes...done
Running OPNsense migration scripts...done
DB Type: ES
Report Mail Configuration Checking ...done
Web category migration ...done
Custom web category migration ...done
Appications category migration ...done
Setting dev.netmap.buf_num...
Report database set cluster uuid...
Current Swap Rate: 60
Current License Size: 100, Current flavor: 100, License size: 100 http index reconfiguration for device...
2022.07.13 - 08:30:10 - INFO - [main] Starting ipdr retiring for ELASTICSEARCH...
2022.07.13 - 08:30:10 - INFO - [http] Rolling over index...
2022.07.13 - 08:30:10 - INFO - [http] Got aliases for index.
2022.07.13 - 08:30:10 - INFO - [http-220706] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http-220707] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http-220708] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http-220709] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http-220710] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http-220711] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http-220712] Sorted index.
2022.07.13 - 08:30:10 - INFO - [http_write] checking....
2022.07.13 - 08:30:10 - INFO - [http-220713-1] New index added to alias: http_all , http_write
2022.07.13 - 08:30:10 - INFO - [main] ipdr check external elasticsearch.
2022.07.13 - 08:30:10 - INFO - [main] ipdr retire manager finished.
2022.07.13 - 08:30:10 - INFO - [main] Deleting archive files which older then 15 days.
2022.07.13 - 08:30:10 - INFO - [main] Deleting files under /usr/local/sensei/log/active folder.
2022.07.13 - 08:30:10 - INFO - [main] Deleting files under /usr/local/sensei/log/archive folder.
Running OPNsense post install scripts...done
Generating Zenarmor configuration files...done
Restarting OPNsense web gui...done
Removing Zenarmor cron jobs...\n
Cron jobs deleted: 0
Configuring Zenarmor cron jobs...\n
Cron jobs created: 1
Cron jobs edited: 1
Cron jobs deleted: 0
Adding new dashboard widget to OPNsense...done
Resuming Zenarmor packet engine, restarting with the new engine...
eastpect is not running
mdconfig: ioctl(/dev/mdctl): Invalid argument
newfs: /dev/md43: could not find special device
mount: /dev/md43: No such file or directory
Starting eastpect.
Registering plug-in to the OPNsense firmware system...done
Done & sync heartbeat ...
[66/69] Upgrading os-ddclient from 1.5 to 1.7_2...
[66/69] Extracting os-ddclient-1.7_2: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Syslog: OK
Reloading template OPNsense/ddclient: OK
[67/69] Upgrading os-acme-client from 3.10 to 3.11...
[67/69] Extracting os-acme-client-3.11: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/AcmeClient: OK
[68/69] Upgrading opnsense-business from 22.4.1 to 22.4.2...
[68/69] Extracting opnsense-business-22.4.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'
Migrated OPNsense\Tor\General from 0.0.0 to 1.0.0
Migrated OPNsense\CaptivePortal\CaptivePortal from 1.0.0 to 1.0.1
#!/usr/local/bin/php
Maybe you can try to run this from the console:
# /usr/local/etc/rc.syshook update
and see if it hangs as well...
Cheers,
Franco
Have had executed this command already:
root@firewall:/var/log/system # /usr/local/etc/rc.syshook update
>>> Invoking update script 'refresh'
#!/usr/local/bin/php
Writing firmware setting...done.
Writing trust files...done.
Configuring login behaviour...done.
Configuring system logging...done.
and rebooted the firewall afterwards.
Now it looks like there is no firewall or NAT functionallity anymore due to a missing "pf" device.
<13>1 2022-07-13T09:44:01+02:00 firewall /update_tables.py 69818 - [meta sequenceId="2210"] Error loading alias [extG_Alias1]: /dev/pf: No such file or directory {current_size: 0, new_size: 4}
<13>1 2022-07-13T09:44:01+02:00 firewall /update_tables.py 69818 - [meta sequenceId="2211"] Error loading alias [extG_Alias2]: /dev/pf: No such file or directory {current_size: 0, new_size: 1}
<13>1 2022-07-13T09:44:01+02:00 firewall /update_tables.py 69818 - [meta sequenceId="2212"] Error loading alias [extG_Alias3]: /dev/pf: No such file or directory {current_size: 0, new_size: 7}
<13>1 2022-07-13T09:44:01+02:00 firewall /update_tables.py 69818 - [meta sequenceId="2213"] Error loading alias [extG_Alias4]: /dev/pf: No such file or directory {current_size: 0, new_size: 6}
Any advice what to do?
PS:
On the firewall GUI I also have plenty of notices on the top right bar:
07-13-22 09:13:41 [ There were error(s) loading the rules: pfctl: /dev/pf: No such file or directory ]
I think your hard disk is playing tricks on you or slowly dying. It's either missing the "pf" kernel module or the script to load it on boot.. which is... odd... a health check would definitely reveal an issue.
Additionally can you list the files inside the directory where the stray "#!/usr/local/bin/php" is supposed to be coming from:
# ls -lah /usr/local/etc/rc.syshook.d/update
There is a bad script in there we don't have...
Cheers,
Franco
Hope we're not having a hard disk issue here. The DEC3860 is from March 2021. So just litte over one year old (jung)...
Looks like the file "10-refresh" is readable and executable:
root@firewall:~ # cd /usr/local/etc/rc.syshook.d/
root@firewall:/usr/local/etc/rc.syshook.d # ll
total 28
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 backup/
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 carp/
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 early/
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 monitor/
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 start/
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 stop/
drwxr-xr-x 2 root wheel 512 Jul 13 08:30 update/
root@firewall:/usr/local/etc/rc.syshook.d # cd update/
root@firewall:/usr/local/etc/rc.syshook.d/update # ll
total 4
-rwxr-xr-x 1 root wheel 351 Jul 6 15:42 10-refresh*
root@firewall:/usr/local/etc/rc.syshook.d/update # more 10-refresh
#!/bin/sh
# refresh relevant configuration files
/usr/local/etc/rc.configure_firmware
# create a unique timestamp for our asset caching
touch /usr/local/opnsense/www/index.php
# remove spurious .pkgsave files pkg may have created
for DIR in /boot /usr/libexec/bsdinstall /usr/local; do
daemon -f find ${DIR} -type f -name "*.pkgsave" -delete
done
root@firewall:/usr/local/etc/rc.syshook.d/update # ./10-refresh
#!/usr/local/bin/php
Writing firmware setting...done.
Writing trust files...done.
Configuring login behaviour...done.
Configuring system logging...done.
root@firewall:/usr/local/etc/rc.syshook.d/update #
Healt check is giving the following output:
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 22.4.2 (amd64/OpenSSL) at Wed Jul 13 12:26:36 CEST 2022
>>> Check installed kernel version
Version 22.1.9 is correct.
>>> Check for missing or altered kernel files
Error 2 ocurred.
boot/kernel/if_cxgbev.ko:
permissions (0555, 0550)
boot/kernel/linker.hints:
size (375104, 151924)
sha256digest (0xbc72238d15ac7afba505851dd89b7c301ba39bb39e463c48f4469074e4c0f957, 0xddce5690cf5a9c5acc319dabe7284ea914fe0f867420f6657adbe3bf8727dea4)
./boot/kernel/ads111x.ko missing
./boot/kernel/alias_dummy.ko missing
./boot/kernel/alias_ftp.ko missing
./boot/kernel/alias_irc.ko missing
./boot/kernel/alias_nbt.ko missing
./boot/kernel/alias_pptp.ko missing
./boot/kernel/alias_skinny.ko missing
./boot/kernel/alias_smedia.ko missing
./boot/kernel/alpm.ko missing
./boot/kernel/amdpm.ko missing
./boot/kernel/amdsmb.ko missing
./boot/kernel/at45d.ko missing
./boot/kernel/atp.ko missing
./boot/kernel/beastie_saver.ko missing
./boot/kernel/blank_saver.ko missing
./boot/kernel/ccr.ko missing
./boot/kernel/cfumass.ko missing
./boot/kernel/cp2112.ko missing
./boot/kernel/cxgbei.ko missing
./boot/kernel/cyapa.ko missing
./boot/kernel/daemon_saver.ko missing
./boot/kernel/dcons.ko missing
./boot/kernel/dcons_crom.ko missing
./boot/kernel/dpms.ko missing
./boot/kernel/dragon_saver.ko missing
./boot/kernel/ds1307.ko missing
./boot/kernel/ds13rtc.ko missing
./boot/kernel/ds1672.ko missing
./boot/kernel/ds3231.ko missing
./boot/kernel/dtaudit.ko missing
./boot/kernel/dtmalloc.ko missing
./boot/kernel/dtnfscl.ko missing
./boot/kernel/dtrace.ko missing
./boot/kernel/dtrace_test.ko missing
./boot/kernel/dtraceall.ko missing
./boot/kernel/dummynet.ko missing
./boot/kernel/efirt.ko missing
./boot/kernel/ehci.ko missing
./boot/kernel/esp.ko missing
./boot/kernel/evdev.ko missing
./boot/kernel/exca.ko missing
./boot/kernel/ext2fs.ko missing
./boot/kernel/fade_saver.ko missing
./boot/kernel/fasttrap.ko missing
./boot/kernel/fbt.ko missing
./boot/kernel/fdc.ko missing
./boot/kernel/fdescfs.ko missing
./boot/kernel/filemon.ko missing
./boot/kernel/fire_saver.ko missing
./boot/kernel/firewire.ko missing
./boot/kernel/firmware.ko missing
./boot/kernel/ftwd.ko missing
./boot/kernel/fusefs.ko missing
./boot/kernel/g_audio.ko missing
./boot/kernel/g_keyboard.ko missing
./boot/kernel/g_modem.ko missing
./boot/kernel/g_mouse.ko missing
./boot/kernel/geom_bde.ko missing
./boot/kernel/geom_cache.ko missing
./boot/kernel/geom_ccd.ko missing
./boot/kernel/geom_concat.ko missing
./boot/kernel/geom_eli.ko missing
./boot/kernel/geom_flashmap.ko missing
./boot/kernel/geom_gate.ko missing
./boot/kernel/geom_journal.ko missing
./boot/kernel/geom_label.ko missing
./boot/kernel/geom_linux_lvm.ko missing
./boot/kernel/geom_md.ko missing
./boot/kernel/geom_mirror.ko missing
./boot/kernel/geom_mountver.ko missing
./boot/kernel/geom_multipath.ko missing
./boot/kernel/geom_nop.ko missing
./boot/kernel/geom_part_apm.ko missing
./boot/kernel/geom_part_bsd.ko missing
./boot/kernel/geom_part_bsd64.ko missing
./boot/kernel/geom_part_ebr.ko missing
./boot/kernel/geom_part_gpt.ko missing
./boot/kernel/geom_part_ldm.ko missing
./boot/kernel/geom_part_mbr.ko missing
./boot/kernel/geom_part_vtoc8.ko missing
./boot/kernel/geom_raid.ko missing
./boot/kernel/geom_raid3.ko missing
./boot/kernel/geom_shsec.ko missing
./boot/kernel/geom_stripe.ko missing
./boot/kernel/geom_uzip.ko missing
./boot/kernel/geom_vinum.ko missing
./boot/kernel/geom_virstor.ko missing
./boot/kernel/geom_zero.ko missing
./boot/kernel/gpiobus.ko missing
./boot/kernel/gpioiic.ko missing
./boot/kernel/gpioled.ko missing
./boot/kernel/gpiospi.ko missing
./boot/kernel/gpioths.ko missing
./boot/kernel/green_saver.ko missing
./boot/kernel/h_ertt.ko missing
./boot/kernel/hconf.ko missing
./boot/kernel/hcons.ko missing
./boot/kernel/hgame.ko missing
./boot/kernel/hid.ko missing
./boot/kernel/hidbus.ko missing
./boot/kernel/hidmap.ko missing
./boot/kernel/hidquirk.ko missing
./boot/kernel/hidraw.ko missing
./boot/kernel/hifn.ko missing
./boot/kernel/hkbd.ko missing
./boot/kernel/hms.ko missing
./boot/kernel/hmt.ko missing
./boot/kernel/hpen.ko missing
./boot/kernel/hptiop.ko missing
./boot/kernel/hsctrl.ko missing
./boot/kernel/htu21.ko missing
./boot/kernel/hv_netvsc.ko missing
./boot/kernel/hv_sock.ko missing
./boot/kernel/hv_storvsc.ko missing
./boot/kernel/hv_utils.ko missing
./boot/kernel/hv_vmbus.ko missing
./boot/kernel/hwpmc.ko missing
./boot/kernel/ice_ddp.ko missing
./boot/kernel/icee.ko missing
./boot/kernel/ichsmb.ko missing
./boot/kernel/ichwd.ko missing
./boot/kernel/ida.ko missing
./boot/kernel/if_aue.ko missing
./boot/kernel/if_axe.ko missing
./boot/kernel/if_axge.ko missing
./boot/kernel/if_bridge.ko missing
./boot/kernel/if_ccv.ko missing
./boot/kernel/if_cdce.ko missing
./boot/kernel/if_cdceem.ko missing
./boot/kernel/if_cue.ko missing
./boot/kernel/if_cxlv.ko missing
./boot/kernel/if_dc.ko missing
./boot/kernel/if_disc.ko missing
./boot/kernel/if_edsc.ko missing
./boot/kernel/if_em.ko missing
./boot/kernel/if_ena.ko missing
./boot/kernel/if_enc.ko missing
./boot/kernel/if_epair.ko missing
./boot/kernel/if_et.ko missing
./boot/kernel/if_fwe.ko missing
./boot/kernel/if_fwip.ko missing
./boot/kernel/if_fxp.ko missing
./boot/kernel/if_gem.ko missing
./boot/kernel/if_gif.ko missing
./boot/kernel/if_gre.ko missing
./boot/kernel/if_iavf.ko missing
./boot/kernel/if_ic.ko missing
./boot/kernel/if_ice.ko missing
./boot/kernel/if_igb.ko missing
./boot/kernel/if_igc.ko missing
./boot/kernel/if_infiniband.ko missing
./boot/kernel/if_ipheth.ko missing
./boot/kernel/if_ipw.ko missing
./boot/kernel/if_iwi.ko missing
./boot/kernel/if_iwlwifi.ko missing
./boot/kernel/if_iwm.ko missing
./boot/kernel/if_iwn.ko missing
./boot/kernel/if_ix.ko missing
./boot/kernel/if_ixl.ko missing
./boot/kernel/if_ixlv.ko missing
./boot/kernel/if_ixv.ko missing
./boot/kernel/if_jme.ko missing
./boot/kernel/if_kue.ko missing
./boot/kernel/if_lagg.ko missing
./boot/kernel/if_le.ko missing
./boot/kernel/if_lge.ko missing
./boot/kernel/if_lio.ko missing
./boot/kernel/if_malo.ko missing
./boot/kernel/if_me.ko missing
./boot/kernel/if_mos.ko missing
./boot/kernel/if_msk.ko missing
./boot/kernel/if_muge.ko missing
./boot/kernel/if_mwl.ko missing
./boot/kernel/if_mxge.ko missing
./boot/kernel/if_my.ko missing
./boot/kernel/if_ndis.ko missing
./boot/kernel/if_nfe.ko missing
./boot/kernel/if_nge.ko missing
./boot/kernel/if_ntb.ko missing
./boot/kernel/if_oce.ko missing
./boot/kernel/if_otus.ko missing
./boot/kernel/if_qlnxe.ko missing
./boot/kernel/if_qlnxev.ko missing
./boot/kernel/if_qlxgb.ko missing
./boot/kernel/if_qlxgbe.ko missing
./boot/kernel/if_qlxge.ko missing
./boot/kernel/if_ral.ko missing
./boot/kernel/if_re.ko missing
./boot/kernel/if_rl.ko missing
./boot/kernel/if_rsu.ko missing
./boot/kernel/if_rtwn_pci.ko missing
./boot/kernel/if_rtwn_usb.ko missing
./boot/kernel/if_rue.ko missing
./boot/kernel/if_rum.ko missing
./boot/kernel/if_run.ko missing
./boot/kernel/if_sge.ko missing
./boot/kernel/if_sis.ko missing
./boot/kernel/if_sk.ko missing
./boot/kernel/if_smsc.ko missing
./boot/kernel/if_ste.ko missing
./boot/kernel/if_stf.ko missing
./boot/kernel/if_stge.ko missing
./boot/kernel/if_sume.ko missing
./boot/kernel/if_ti.ko missing
./boot/kernel/if_tuntap.ko missing
./boot/kernel/if_uath.ko missing
./boot/kernel/if_udav.ko missing
./boot/kernel/if_upgt.ko missing
./boot/kernel/if_ural.ko missing
./boot/kernel/if_ure.ko missing
./boot/kernel/if_urndis.ko missing
./boot/kernel/if_urtw.ko missing
./boot/kernel/if_vge.ko missing
./boot/kernel/if_vlan.ko missing
./boot/kernel/if_vmx.ko missing
./boot/kernel/if_vr.ko missing
./boot/kernel/if_vte.ko missing
./boot/kernel/if_vtnet.ko missing
./boot/kernel/if_vxlan.ko missing
./boot/kernel/if_wpi.ko missing
./boot/kernel/if_xl.ko missing
./boot/kernel/if_zyd.ko missing
./boot/kernel/iflib.ko missing
./boot/kernel/ig4.ko missing
./boot/kernel/iic.ko missing
./boot/kernel/iicbb.ko missing
./boot/kernel/iicbus.ko missing
./boot/kernel/iichid.ko missing
./boot/kernel/iicmux.ko missing
./boot/kernel/iicsmb.ko missing
./boot/kernel/iir.ko missing
./boot/kernel/imcsmb.ko missing
./boot/kernel/imgact_binmisc.ko missing
./boot/kernel/intelspi.ko missing
./boot/kernel/intpm.ko missing
./boot/kernel/io.ko missing
./boot/kernel/ioat.ko missing
./boot/kernel/ip6_mroute.ko missing
./boot/kernel/ip_mroute.ko missing
./boot/kernel/ipdivert.ko missing
./boot/kernel/ipfw.ko missing
./boot/kernel/ipfw_nat.ko missing
./boot/kernel/ipfw_nat64.ko missing
./boot/kernel/ipfw_nptv6.ko missing
./boot/kernel/ipfw_pmod.ko missing
./boot/kernel/ipmi.ko missing
./boot/kernel/ipmi_linux.ko missing
./boot/kernel/ips.ko missing
./boot/kernel/ipsec.ko missing
./boot/kernel/ipw_bss.ko missing
./boot/kernel/ipw_ibss.ko missing
./boot/kernel/ipw_monitor.ko missing
./boot/kernel/isci.ko missing
./boot/kernel/iscsi.ko missing
./boot/kernel/iscsi_initiator.ko missing
./boot/kernel/isl.ko missing
./boot/kernel/isl12xx.ko missing
./boot/kernel/ismt.ko missing
./boot/kernel/isp.ko missing
./boot/kernel/isp_2400.ko missing
./boot/kernel/isp_2500.ko missing
./boot/kernel/ispfw.ko missing
./boot/kernel/itwd.ko missing
./boot/kernel/iwi_bss.ko missing
./boot/kernel/iwi_ibss.ko missing
./boot/kernel/iwi_monitor.ko missing
./boot/kernel/iwlwifi-3160-17.ucode.ko missing
./boot/kernel/iwlwifi-3168-29.ucode.ko missing
./boot/kernel/iwlwifi-7260-17.ucode.ko missing
./boot/kernel/iwlwifi-7265-17.ucode.ko missing
./boot/kernel/iwlwifi-7265D-29.ucode.ko missing
./boot/kernel/iwlwifi-8000C-36.ucode.ko missing
./boot/kernel/iwlwifi-8265-36.ucode.ko missing
./boot/kernel/iwlwifi-9000-pu-b0-jf-b0-46.ucode.ko missing
./boot/kernel/iwlwifi-9260-th-b0-jf-b0-46.ucode.ko missing
./boot/kernel/iwlwifi-Qu-b0-hr-b0-63.ucode.ko missing
./boot/kernel/iwlwifi-Qu-b0-jf-b0-63.ucode.ko missing
./boot/kernel/iwlwifi-Qu-c0-hr-b0-63.ucode.ko missing
./boot/kernel/iwlwifi-Qu-c0-jf-b0-63.ucode.ko missing
./boot/kernel/iwlwifi-QuZ-a0-hr-b0-67.ucode.ko missing
./boot/kernel/iwlwifi-QuZ-a0-jf-b0-63.ucode.ko missing
./boot/kernel/iwlwifi-cc-a0-67.ucode.ko missing
./boot/kernel/iwlwifi-so-a0-gf-a0-67.ucode.ko missing
./boot/kernel/iwlwifi-so-a0-gf4-a0-67.ucode.ko missing
./boot/kernel/iwlwifi-so-a0-hr-b0-64.ucode.ko missing
./boot/kernel/iwlwifi-so-a0-jf-b0-64.ucode.ko missing
./boot/kernel/iwlwifi-ty-a0-gf-a0-67.ucode.ko missing
./boot/kernel/iwlwifi-ty-a0-gf-a0.pnvm.ko missing
./boot/kernel/iwm3160fw.ko missing
./boot/kernel/iwm3168fw.ko missing
./boot/kernel/iwm7260fw.ko missing
./boot/kernel/iwm7265Dfw.ko missing
./boot/kernel/iwm7265fw.ko missing
./boot/kernel/iwm8000Cfw.ko missing
./boot/kernel/iwm8265fw.ko missing
./boot/kernel/iwm9000fw.ko missing
./boot/kernel/iwm9260fw.ko missing
./boot/kernel/iwn1000fw.ko missing
./boot/kernel/iwn100fw.ko missing
./boot/kernel/iwn105fw.ko missing
./boot/kernel/iwn135fw.ko missing
./boot/kernel/iwn2000fw.ko missing
./boot/kernel/iwn2030fw.ko missing
./boot/kernel/iwn4965fw.ko missing
./boot/kernel/iwn5000fw.ko missing
./boot/kernel/iwn5150fw.ko missing
./boot/kernel/iwn6000fw.ko missing
./boot/kernel/iwn6000g2afw.ko missing
./boot/kernel/iwn6000g2bfw.ko missing
./boot/kernel/iwn6050fw.ko missing
./boot/kernel/jedec_dimm.ko missing
./boot/kernel/kbdmux.ko missing
./boot/kernel/kgssapi.ko missing
./boot/kernel/kgssapi_krb5.ko missing
./boot/kernel/krpc.ko missing
./boot/kernel/ksyms.ko missing
./boot/kernel/ktls_ocf.ko missing
./boot/kernel/libalias.ko missing
./boot/kernel/libiconv.ko missing
./boot/kernel/libmchain.ko missing
./boot/kernel/lindebugfs.ko missing
./boot/kernel/linprocfs.ko missing
./boot/kernel/linsysfs.ko missing
./boot/kernel/linux.ko missing
./boot/kernel/linux64.ko missing
./boot/kernel/linux_common.ko missing
./boot/kernel/linuxkpi.ko missing
./boot/kernel/linuxkpi_wlan.ko missing
./boot/kernel/logo_saver.ko missing
./boot/kernel/lpbb.ko missing
./boot/kernel/lpt.ko missing
./boot/kernel/ltc430x.ko missing
./boot/kernel/mac_biba.ko missing
./boot/kernel/mac_bsdextended.ko missing
./boot/kernel/mac_ifoff.ko missing
./boot/kernel/mac_lomac.ko missing
./boot/kernel/mac_mls.ko missing
./boot/kernel/mac_none.ko missing
./boot/kernel/mac_ntpd.ko missing
./boot/kernel/mac_partition.ko missing
./boot/kernel/mac_portacl.ko missing
./boot/kernel/mac_priority.ko missing
./boot/kernel/mac_seeotheruids.ko missing
./boot/kernel/mac_stub.ko missing
./boot/kernel/mac_test.ko missing
./boot/kernel/max44009.ko missing
./boot/kernel/mdio.ko missing
./boot/kernel/mem.ko missing
./boot/kernel/mfi.ko missing
./boot/kernel/mfi_linux.ko missing
./boot/kernel/mfip.ko missing
./boot/kernel/miibus.ko missing
./boot/kernel/mlx.ko missing
./boot/kernel/mlx4.ko missing
./boot/kernel/mlx4en.ko missing
./boot/kernel/mlx5.ko missing
./boot/kernel/mlx5en.ko missing
./boot/kernel/mlxfw.ko missing
./boot/kernel/mly.ko missing
./boot/kernel/mmc.ko missing
./boot/kernel/mmcsd.ko missing
./boot/kernel/mpr.ko missing
./boot/kernel/mps.ko missing
./boot/kernel/mpt.ko missing
./boot/kernel/mqueuefs.ko missing
./boot/kernel/mrsas.ko missing
./boot/kernel/mrsas_linux.ko missing
./boot/kernel/msdosfs.ko missing
./boot/kernel/msdosfs_iconv.ko missing
./boot/kernel/mvs.ko missing
./boot/kernel/mw88W8363fw.ko missing
./boot/kernel/mx25l.ko missing
./boot/kernel/mxge_eth_z8e.ko missing
./boot/kernel/mxge_ethp_z8e.ko missing
./boot/kernel/mxge_rss_eth_z8e.ko missing
./boot/kernel/mxge_rss_ethp_z8e.ko missing
./boot/kernel/nctgpio.ko missing
./boot/kernel/ndis.ko missing
./boot/kernel/netgraph.ko missing
./boot/kernel/nfscl.ko missing
./boot/kernel/nfscommon.ko missing
./boot/kernel/nfsd.ko missing
./boot/kernel/nfslockd.ko missing
./boot/kernel/nfsmb.ko missing
./boot/kernel/nfssvc.ko missing
./boot/kernel/ng_UI.ko missing
./boot/kernel/ng_async.ko missing
./boot/kernel/ng_atmllc.ko missing
./boot/kernel/ng_bluetooth.ko missing
./boot/kernel/ng_bpf.ko missing
./boot/kernel/ng_bridge.ko missing
./boot/kernel/ng_btsocket.ko missing
./boot/kernel/ng_car.ko missing
./boot/kernel/ng_ccatm.ko missing
./boot/kernel/ng_checksum.ko missing
./boot/kernel/ng_cisco.ko missing
./boot/kernel/ng_deflate.ko missing
./boot/kernel/ng_device.ko missing
./boot/kernel/ng_echo.ko missing
./boot/kernel/ng_eiface.ko missing
./boot/kernel/ng_etf.ko missing
./boot/kernel/ng_ether.ko missing
./boot/kernel/ng_ether_echo.ko missing
./boot/kernel/ng_frame_relay.ko missing
./boot/kernel/ng_gif.ko missing
./boot/kernel/ng_gif_demux.ko missing
./boot/kernel/ng_hci.ko missing
./boot/kernel/ng_hole.ko missing
./boot/kernel/ng_hub.ko missing
./boot/kernel/ng_iface.ko missing
./boot/kernel/ng_ip_input.ko missing
./boot/kernel/ng_ipfw.ko missing
./boot/kernel/ng_ksocket.ko missing
./boot/kernel/ng_l2cap.ko missing
./boot/kernel/ng_l2tp.ko missing
./boot/kernel/ng_lmi.ko missing
./boot/kernel/ng_macfilter.ko missing
./boot/kernel/ng_mppc.ko missing
./boot/kernel/ng_nat.ko missing
./boot/kernel/ng_netflow.ko missing
./boot/kernel/ng_one2many.ko missing
./boot/kernel/ng_patch.ko missing
./boot/kernel/ng_pipe.ko missing
./boot/kernel/ng_ppp.ko missing
./boot/kernel/ng_pppoe.ko missing
./boot/kernel/ng_pptpgre.ko missing
./boot/kernel/ng_pred1.ko missing
./boot/kernel/ng_rfc1490.ko missing
./boot/kernel/ng_socket.ko missing
./boot/kernel/ng_source.ko missing
./boot/kernel/ng_split.ko missing
./boot/kernel/ng_sppp.ko missing
./boot/kernel/ng_sscfu.ko missing
./boot/kernel/ng_sscop.ko missing
./boot/kernel/ng_tag.ko missing
./boot/kernel/ng_tcpmss.ko missing
./boot/kernel/ng_tee.ko missing
./boot/kernel/ng_tty.ko missing
./boot/kernel/ng_ubt.ko missing
./boot/kernel/ng_uni.ko missing
./boot/kernel/ng_vjc.ko missing
./boot/kernel/ng_vlan.ko missing
./boot/kernel/ng_vlan_rotate.ko missing
./boot/kernel/ngatmbase.ko missing
./boot/kernel/nmdm.ko missing
./boot/kernel/ntb.ko missing
./boot/kernel/ntb_hw_amd.ko missing
./boot/kernel/ntb_hw_intel.ko missing
./boot/kernel/ntb_hw_plx.ko missing
./boot/kernel/ntb_tool.ko missing
./boot/kernel/ntb_transport.ko missing
./boot/kernel/nullfs.ko missing
./boot/kernel/nvd.ko missing
./boot/kernel/nvdimm.ko missing
./boot/kernel/nvme.ko missing
./boot/kernel/nvram.ko missing
./boot/kernel/nxprtc.ko missing
./boot/kernel/ocs_fc.ko missing
./boot/kernel/ohci.ko missing
./boot/kernel/opensolaris.ko missing
./boot/kernel/ossl.ko missing
./boot/kernel/otusfw_init.ko missing
./boot/kernel/otusfw_main.ko missing
./boot/kernel/ow.ko missing
./boot/kernel/ow_temp.ko missing
./boot/kernel/owc.ko missing
./boot/kernel/padlock.ko missing
./boot/kernel/padlock_rng.ko missing
./boot/kernel/pca954x.ko missing
./boot/kernel/pccard.ko missing
./boot/kernel/pcf.ko missing
./boot/kernel/pcf8574.ko missing
./boot/kernel/pcf8591.ko missing
./boot/kernel/pchtherm.ko missing
./boot/kernel/pf.ko missing
./boot/kernel/pflog.ko missing
./boot/kernel/pfsync.ko missing
./boot/kernel/plasma_saver.ko missing
./boot/kernel/plip.ko missing
./boot/kernel/pmspcv.ko missing
./boot/kernel/ppbus.ko missing
./boot/kernel/ppc.ko missing
./boot/kernel/ppi.ko missing
./boot/kernel/pps.ko missing
./boot/kernel/procfs.ko missing
./boot/kernel/profile.ko missing
./boot/kernel/proto.ko missing
./boot/kernel/prototype.ko missing
./boot/kernel/ps4dshock.ko missing
./boot/kernel/pseudofs.ko missing
./boot/kernel/pty.ko missing
./boot/kernel/puc.ko missing
./boot/kernel/pvscsi.ko missing
./boot/kernel/pwmbus.ko missing
./boot/kernel/pwmc.ko missing
./boot/kernel/qat.ko missing
./boot/kernel/qat_c2xxxfw.ko missing
./boot/kernel/qat_c3xxxfw.ko missing
./boot/kernel/qat_c62xfw.ko missing
./boot/kernel/qat_d15xxfw.ko missing
./boot/kernel/qat_dh895xccfw.ko missing
./boot/kernel/qlnxr.ko missing
./boot/kernel/rain_saver.ko missing
./boot/kernel/random_OTHER.ko missing
./boot/kernel/random_fortuna.ko missing
./boot/kernel/rc4.ko missing
./boot/kernel/rdrand_rng.ko missing
./boot/kernel/rsu-rtl8712fw.ko missing
./boot/kernel/rt2561fw.ko missing
./boot/kernel/rt2561sfw.ko missing
./boot/kernel/rt2661fw.ko missing
./boot/kernel/rt2860fw.ko missing
./boot/kernel/rtc8583.ko missing
./boot/kernel/rtsx.ko missing
./boot/kernel/rtwn-rtl8188eefw.ko missing
./boot/kernel/rtwn-rtl8188eufw.ko missing
./boot/kernel/rtwn-rtl8192cfwE.ko missing
./boot/kernel/rtwn-rtl8192cfwE_B.ko missing
./boot/kernel/rtwn-rtl8192cfwT.ko missing
./boot/kernel/rtwn-rtl8192cfwU.ko missing
./boot/kernel/rtwn-rtl8192eufw.ko missing
./boot/kernel/rtwn-rtl8812aufw.ko missing
./boot/kernel/rtwn-rtl8821aufw.ko missing
./boot/kernel/rtwn.ko missing
./boot/kernel/runfw.ko missing
./boot/kernel/s3.ko missing
./boot/kernel/s35390a.ko missing
./boot/kernel/safe.ko missing
./boot/kernel/safexcel.ko missing
./boot/kernel/sbp.ko missing
./boot/kernel/sbp_targ.ko missing
./boot/kernel/scc.ko missing
./boot/kernel/sctp.ko missing
./boot/kernel/sdhci.ko missing
./boot/kernel/sdhci_acpi.ko missing
./boot/kernel/sdhci_pci.ko missing
./boot/kernel/sdio.ko missing
./boot/kernel/sdt.ko missing
./boot/kernel/sem.ko missing
./boot/kernel/send.ko missing
./boot/kernel/sfxge.ko missing
./boot/kernel/sgx.ko missing
./boot/kernel/sgx_linux.ko missing
./boot/kernel/siftr.ko missing
./boot/kernel/siis.ko missing
./boot/kernel/smartpqi.ko missing
./boot/kernel/smb.ko missing
./boot/kernel/smbfs.ko missing
./boot/kernel/smbus.ko missing
./boot/kernel/snake_saver.ko missing
./boot/kernel/snd_ad1816.ko missing
./boot/kernel/snd_als4000.ko missing
./boot/kernel/snd_atiixp.ko missing
./boot/kernel/snd_cmi.ko missing
./boot/kernel/snd_cs4281.ko missing
./boot/kernel/snd_csa.ko missing
./boot/kernel/snd_driver.ko missing
./boot/kernel/snd_ds1.ko missing
./boot/kernel/snd_emu10k1.ko missing
./boot/kernel/snd_emu10kx.ko missing
./boot/kernel/snd_envy24.ko missing
./boot/kernel/snd_envy24ht.ko missing
./boot/kernel/snd_es137x.ko missing
./boot/kernel/snd_ess.ko missing
./boot/kernel/snd_fm801.ko missing
./boot/kernel/snd_hda.ko missing
./boot/kernel/snd_hdspe.ko missing
./boot/kernel/snd_ich.ko missing
./boot/kernel/snd_maestro.ko missing
./boot/kernel/snd_maestro3.ko missing
./boot/kernel/snd_mss.ko missing
./boot/kernel/snd_neomagic.ko missing
./boot/kernel/snd_sb16.ko missing
./boot/kernel/snd_sb8.ko missing
./boot/kernel/snd_sbc.ko missing
./boot/kernel/snd_solo.ko missing
./boot/kernel/snd_spicds.ko missing
./boot/kernel/snd_t4dwave.ko missing
./boot/kernel/snd_uaudio.ko missing
./boot/kernel/snd_via8233.ko missing
./boot/kernel/snd_via82c686.ko missing
./boot/kernel/snd_vibes.ko missing
./boot/kernel/snp.ko missing
./boot/kernel/sound.ko missing
./boot/kernel/speaker.ko missing
./boot/kernel/spibus.ko missing
./boot/kernel/spigen.ko missing
./boot/kernel/splash_bmp.ko missing
./boot/kernel/splash_pcx.ko missing
./boot/kernel/splash_txt.ko missing
./boot/kernel/sppp.ko missing
./boot/kernel/star_saver.ko missing
./boot/kernel/superio.ko missing
./boot/kernel/sym.ko missing
./boot/kernel/systrace.ko missing
./boot/kernel/systrace_freebsd32.ko missing
./boot/kernel/systrace_linux.ko missing
./boot/kernel/systrace_linux32.ko missing
./boot/kernel/sysvmsg.ko missing
./boot/kernel/sysvsem.ko missing
./boot/kernel/sysvshm.ko missing
./boot/kernel/t4_tom.ko missing
./boot/kernel/t4fw_cfg.ko missing
./boot/kernel/t5fw_cfg.ko missing
./boot/kernel/t6fw_cfg.ko missing
./boot/kernel/tmpfs.ko missing
./boot/kernel/toecore.ko missing
./boot/kernel/tpm.ko missing
./boot/kernel/twa.ko missing
./boot/kernel/twe.ko missing
./boot/kernel/tws.ko missing
./boot/kernel/u3g.ko missing
./boot/kernel/uacpi.ko missing
./boot/kernel/uark.ko missing
./boot/kernel/uart.ko missing
./boot/kernel/ubsa.ko missing
./boot/kernel/ubser.ko missing
./boot/kernel/ubtbcmfw.ko missing
./boot/kernel/uchcom.ko missing
./boot/kernel/ucom.ko missing
./boot/kernel/ucycom.ko missing
./boot/kernel/udbp.ko missing
./boot/kernel/udf.ko missing
./boot/kernel/udf_iconv.ko missing
./boot/kernel/udl.ko missing
./boot/kernel/uep.ko missing
./boot/kernel/uether.ko missing
./boot/kernel/ufoma.ko missing
./boot/kernel/ufs.ko missing
./boot/kernel/uftdi.ko missing
./boot/kernel/ugensa.ko missing
./boot/kernel/ugold.ko missing
./boot/kernel/uhci.ko missing
./boot/kernel/uhid.ko missing
./boot/kernel/uhid_snes.ko missing
./boot/kernel/uhso.ko missing
./boot/kernel/uinput.ko missing
./boot/kernel/uipaq.ko missing
./boot/kernel/ukbd.ko missing
./boot/kernel/uled.ko missing
./boot/kernel/ulpt.ko missing
./boot/kernel/umass.ko missing
./boot/kernel/umcs.ko missing
./boot/kernel/umct.ko missing
./boot/kernel/umodem.ko missing
./boot/kernel/umoscom.ko missing
./boot/kernel/ums.ko missing
./boot/kernel/unionfs.ko missing
./boot/kernel/uplcom.ko missing
./boot/kernel/urio.ko missing
./boot/kernel/usb.ko missing
./boot/kernel/usb_quirk.ko missing
./boot/kernel/usb_template.ko missing
./boot/kernel/usbhid.ko missing
./boot/kernel/usfs.ko missing
./boot/kernel/usie.ko missing
./boot/kernel/uslcom.ko missing
./boot/kernel/uvisor.ko missing
./boot/kernel/uvscom.ko missing
./boot/kernel/vesa.ko missing
./boot/kernel/viapm.ko missing
./boot/kernel/viawd.ko missing
./boot/kernel/videomode.ko missing
./boot/kernel/virtio.ko missing
./boot/kernel/virtio_balloon.ko missing
./boot/kernel/virtio_blk.ko missing
./boot/kernel/virtio_console.ko missing
./boot/kernel/virtio_pci.ko missing
./boot/kernel/virtio_random.ko missing
./boot/kernel/virtio_scsi.ko missing
./boot/kernel/vkbd.ko missing
./boot/kernel/vmci.ko missing
./boot/kernel/vmd.ko missing
./boot/kernel/vmm.ko missing
./boot/kernel/warp_saver.ko missing
./boot/kernel/wbwd.ko missing
./boot/kernel/wlan.ko missing
./boot/kernel/wlan_acl.ko missing
./boot/kernel/wlan_amrr.ko missing
./boot/kernel/wlan_ccmp.ko missing
./boot/kernel/wlan_rssadapt.ko missing
./boot/kernel/wlan_tkip.ko missing
./boot/kernel/wlan_wep.ko missing
./boot/kernel/wlan_xauth.ko missing
./boot/kernel/wmt.ko missing
./boot/kernel/wpifw.ko missing
./boot/kernel/wsp.ko missing
./boot/kernel/x86bios.ko missing
./boot/kernel/xb360gp.ko missing
./boot/kernel/xdr.ko missing
./boot/kernel/xhci.ko missing
./boot/kernel/xz.ko missing
./boot/kernel/zfs.ko missing
./boot/kernel/zlib.ko missing
>>> Check installed base version
Version 22.1.9 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
SunnyValley
OPNsense
>>> Check installed plugins
os-OPNBEcore 1.0.2_2
os-acme-client 3.11
os-ddclient 1.7_2
os-etpro-telemetry 1.6_1
os-net-snmp 1.5_1
os-nut 1.8.1
os-sensei 1.11.3
os-sensei-agent 1.11.3
os-sensei-updater 1.11
os-sunnyvalley 1.2_2
os-tor 1.8_3
>>> 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: .......... done
>>> Check for core packages consistency
Core package "opnsense-business" has 66 dependencies to check.
Checking packages: .................................................................... done
***DONE***
@franco, anything I could / should do to bring back the DEC3860 back life?
Currently there is no traffic passed (unless DNS from unbound) trought the firewall...
If you manage to get it to connect to the Internet:
# opnsense-update -fbk
Otherwise it needs a reinstall as vital kernel files are missing. Strangely these are the only ones missing.
Cheers,
Franco
8) straight forward and easy - all up and running again!
Is there any chance to the check the local disc without installing anything?
This was actuallt the third time I had issues with an upgrade and I would like to understand the why around this...
You can install os-smart and see if that comes up with anything. You have to be most careful when "kernel" package is being updated as that seems to end up being discarded from the disk.
BTW, is this UFS or ZFS? Might also be an issue with power supply, maybe it crashes silently sometimes (check uptime every day without reboot).
Cheers,
Franco
As far as I can see the disks look ok.
smartctl 7.3 2022-02-28 r5338 [FreeBSD 13.0-STABLE amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: TS512GMTS952T
Serial Number: G350760055
LU WWN Device Id: 5 7c3548 1b623b277
Firmware Version: 02J0S86A
User Capacity: 512,110,190,592 bytes [512 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database 7.3/5319
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Jul 14 22:21:22 2022 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 241) Self-test routine in progress...
10% of test remaining.
Total time to complete Offline
data collection: ( 60) seconds.
Offline data collection
capabilities: (0x71) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 2) minutes.
Conveyance self-test routine
recommended polling time: ( 1) minutes.
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0000 100 100 000 Old_age Offline - 0
5 Reallocated_Sector_Ct 0x0000 100 100 000 Old_age Offline - 0
9 Power_On_Hours 0x0000 100 100 000 Old_age Offline - 4951
12 Power_Cycle_Count 0x0000 100 100 000 Old_age Offline - 49
148 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 541850
149 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 5723
150 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 5590
151 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 5703
164 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 49880
165 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 43
166 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 20
167 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 27
159 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
160 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 0
161 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 123
163 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 24
168 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 3000
169 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 100
177 Wear_Leveling_Count 0x0000 100 100 050 Old_age Offline - 606
181 Program_Fail_Cnt_Total 0x0000 100 100 000 Old_age Offline - 0
182 Erase_Fail_Count_Total 0x0000 100 100 000 Old_age Offline - 0
192 Power-Off_Retract_Count 0x0000 100 100 000 Old_age Offline - 24
194 Temperature_Celsius 0x0000 100 100 000 Old_age Offline - 74
195 Hardware_ECC_Recovered 0x0000 100 100 000 Old_age Offline - 0
196 Reallocated_Event_Count 0x0000 100 100 016 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0000 100 100 050 Old_age Offline - 0
232 Available_Reservd_Space 0x0000 100 100 000 Old_age Offline - 100
241 Total_LBAs_Written 0x0000 100 100 000 Old_age Offline - 1212392
242 Total_LBAs_Read 0x0000 100 100 000 Old_age Offline - 4726
245 Unknown_Attribute 0x0000 100 100 000 Old_age Offline - 399040
SMART Error Log Version: 1
Warning: ATA error count 0 inconsistent with error log pointer 2
ATA Error Count: 0
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error -1 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
00 ec 00 00 00 00 00 Device Fault
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 00 00 00 00 00 00 00:00:00.000 READ DMA
SMART Self-test log structure revision number 0
Warning: ATA Specification requires self-test log structure revision number = 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
6 0 65535 Read_scanning was never started
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
It's still on ufs, never chnaged this:
root@firewall:~ # gpart show
=> 40 1000215136 ada0 GPT (477G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 981467136 3 freebsd-ufs (468G)
981877800 18337376 4 freebsd-swap (8.7G)
=> 63 121208769 da0 MBR (58G)
63 257217 - free - (126M)
257280 120951552 1 fat32lba [active] (58G)
Any advice on how to convert to zfs without messing up the current configuration? I have seen plenty of forum posts about this, but could not find a clear procedure
Could also attempt to disable trim, maybe it's buggy here causing this.
As for ZFS reinstall... the procedure is pretty simple: make installer image, boot from it, in installer select "config import" and your disk. After successful completion install ZFS and your settings are retained (except logs and manual modifications).
Still: proceed with care. Don't take my word for it. ;)
Cheers,
Franco
Had some time to reinstalled the system from USB live environment. It was pretty straight forward as franco mentioned in his previous post.
- Take backup from system (including Zenarmour)
- Boot from USB and import config from local disc
- login as root and start opnsense-installer
- write live system to disk (use ZFS)
- login to web gui and (re-)install plugins
- Apply license to Zenarmour
- Import Zenarmour config
- reinstall custom cron scripts
- reboot
Thanks for your support franco!
Happy weekend
I think you meant opnsense-installer instead of opnsense-update there?
Cheers,
Franco
Yes correct franco
Best to edit the post then before someone complains below it doesn't work.
Otherwise thanks for posting the steps and happy to help :)
Cheers,
Franco
Yep, done!
Could not find the ,,edit" option on mobile view...