Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - ericdiao

#1
Upgrading from 25.1.6_4 to 25.1.7 with the intel microcode plugin. The upgrade process emits the following log:

Fail to rename /usr/local/share/cpucontrol/.pkgtemp.06-03-02.00.jGJBfS9CX8Ok -> /usr/local/share/cpucontrol/06-03-02.00
A Health check from the Web UI emits the following:

>>> Check for missing or altered package files
Checking all packages:
cpu-microcode-intel-20250211: checksum mismatch for /boot/firmware/intel-ucode.bin
cpu-microcode-intel-20250211: missing file /usr/local/share/cpucontrol/06-03-02.00
cpu-microcode-intel-20250211: missing file /usr/local/share/cpucontrol/06-55-06.bf
cpu-microcode-intel-20250211: missing file /usr/local/share/licenses/cpu-microcode-intel-20250211/EULA
cpu-microcode-intel-20250211: missing file /usr/local/share/licenses/cpu-microcode-intel-20250211/LICENSE
cpu-microcode-intel-20250211: missing file /usr/local/share/licenses/cpu-microcode-intel-20250211/catalog.mk

A manual uninstall and install of the os-cpu-microcode-intel plugin seems to fix the Health check.

Anyone else encountered the same problem? I wonder if the problem is transient or not.

#2
During my upgrade to 24.7.6, everything looks smooth though a log entry like following flash in the log:

Failed to install ruby31-gems: failed to move /tmp/<a-random-path> to /usr/local/bin/gem: No such file

I did not remember the exact error log and could not find the update log on the disk. /var/log/pkg/latest.log does not give anything fruitful.

After that, the box boots back and I did a firmware health check and it reports back files from ruby31-gems is missing. I did a reinstall of the package and the health check again. This time the missing files log goes away.

Apart from those things, nothing affects the function of the FW happens. Do anyone knows why this happens and if my fix is correct?

The machine has far enough space on its 128GB disk (98% empty despite 3 snapshots from .3 are kept). My /tmp is mounted as zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
#3
I was updating from 24.7.2 to 24.7.3 and subsequent to 3_1. Both upgrade process seems to be smooth but the upgrade log shows the following message:

*** OPNsense\Core\Hasync Migration failed, check log for details

I checked the log. The log has the following relevant entries:

2024-08-29T19:52:39   Error   config   #2 {main} )   
2024-08-29T19:52:39   Error   config   #1 /usr/local/opnsense/mvc/script/run_migrations.php(54): OPNsense\Base\BaseModel->runMigrations()   
2024-08-29T19:52:39   Error   config   #0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(791): OPNsense\Base\BaseModel->serializeToConfig()   
2024-08-29T19:52:39   Error   config   Stack trace:   
2024-08-29T19:52:39   Error   config   in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:666   
2024-08-29T19:52:39   Error   config   Model OPNsense\Core\Hasync can't be saved, skip ( OPNsense\Base\ValidationException: [OPNsense\Core\Hasync:pfsyncinterface] Option not in list.{lan}   
2024-08-29T19:52:39   Error   config   [OPNsense\Core\Hasync:pfsyncinterface] Option not in list.{lan}

I am not using pfsync or any HA setup but the error seems to be relating to HA?

The machine is a bare metal ThinkCentre M720q with an Intel I350 NIC