(Solved) internet stops! pf_test: kif == NULL, if_xname pppoe0

Started by RamSense, January 29, 2026, 08:03:18 PM

Previous topic - Next topic
# pluginctl -g OPNsense.Interfaces.settings - no output

# pluginctl -m
*** OPNsense\OpenVPN\OpenVPN migration failed from 0.0.0 to 1.0.1, check log for details
*** OPNsense\Interfaces\Settings migration failed from 0.0.0 to 1.0.0, check log for details

I do not use OpenVPN, it has some items left from years back before switching to Wireguard.
With the rule migration I had one OPNVPN rule removed for the rule migration to finish.
Deciso DEC850v2

Ok we found it then..

Please install this patch:

# opnsense-patch https://github.com/opnsense/core/commit/60deb9d8

And run "pluginctl -m" again.. it should tell us all we need to know :)


Cheers,
Franco

Just installed the patch and:

# pluginctl -m
[OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.0c2febf3-9641-4e02-b773-73acb004d730.servers] Option [1] not in list.{1}
[OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.bf014a43-f80e-4b6a-840e-4494333e1260.servers] Option [1] not in list.{1}
Model OPNsense\OpenVPN\OpenVPN can't be saved, skip ( OPNsense\Base\ValidationException: [OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.0c2febf3-9641-4e02-b773-73acb004d730.servers] Option [1] not in list.{1}
[OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.bf014a43-f80e-4b6a-840e-4494333e1260.servers] Option [1] not in list.{1}
 in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:814
Stack trace:
#0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(939): OPNsense\Base\BaseModel->serializeToConfig()
#1 /usr/local/opnsense/mvc/script/run_migrations.php(69): OPNsense\Base\BaseModel->runMigrations()
#2 {main} )
*** OPNsense\OpenVPN\OpenVPN migration failed from 0.0.0 to 1.0.1, check log for details
[OPNsense\Interfaces\Settings:dhcp6_norelease] Value should be a boolean (0,1).{yes}
Model OPNsense\Interfaces\Settings can't be saved, skip ( OPNsense\Base\ValidationException: [OPNsense\Interfaces\Settings:dhcp6_norelease] Value should be a boolean (0,1).{yes}
 in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:814
Stack trace:
#0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(939): OPNsense\Base\BaseModel->serializeToConfig()
#1 /usr/local/opnsense/mvc/script/run_migrations.php(69): OPNsense\Base\BaseModel->runMigrations()
#2 {main} )
*** OPNsense\Interfaces\Settings migration failed from 0.0.0 to 1.0.0, check log for details
Deciso DEC850v2

Thanks, this is for the interface settings:

# opnsense-patch https://github.com/opnsense/core/commit/7a11458ea
# pluginctl -m

It should render the settings now:

# pluginctl -g OPNsense.Interfaces.settings

About your OpenVPN I'm not sure.  It seems to be looking for a server that doesn't exist.  Creating one with an ID 1 might help fix this.


Cheers,
Franco

done.

# pluginctl -m
[OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.2dc86d44-1ea6-4e23-a378-2596d7d0f907.servers] Option [1] not in list.{1}
[OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.4165f0ee-e909-44dd-93c1-fc0578f52cc6.servers] Option [1] not in list.{1}
Model OPNsense\OpenVPN\OpenVPN can't be saved, skip ( OPNsense\Base\ValidationException: [OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.2dc86d44-1ea6-4e23-a378-2596d7d0f907.servers] Option [1] not in list.{1}
[OPNsense\OpenVPN\OpenVPN:Overwrites.Overwrite.4165f0ee-e909-44dd-93c1-fc0578f52cc6.servers] Option [1] not in list.{1}
 in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:814
Stack trace:
#0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(939): OPNsense\Base\BaseModel->serializeToConfig()
#1 /usr/local/opnsense/mvc/script/run_migrations.php(69): OPNsense\Base\BaseModel->runMigrations()
#2 {main} )
*** OPNsense\OpenVPN\OpenVPN migration failed from 0.0.0 to 1.0.1, check log for details
Migrated OPNsense\Interfaces\Settings from 0.0.0 to 1.0.0

and

# pluginctl -g OPNsense.Interfaces.settings
{
    "@attributes": {
        "version": "1.0.0",
        "persisted_at": "1769767092.37",
        "description": "Global interface settings"
    },
    "disablechecksumoffloading": "1",
    "disablesegmentationoffloading": "1",
    "disablelargereceiveoffloading": "1",
    "disablevlanhwfilter": "1",
    "disableipv6": "0",
    "dhcp6_norelease": "1",
    "dhcp6_debug": "1",
    "dhcp6_duid": "00:03:00:01:38:F9:D3:A7:34:BE",
    "dhcp6_ratimeout": "10"
}


BTW: I am not running OpnVPN (anymore, was years back. I am using Wireguard)

Deciso DEC850v2

If you don't need OpenVPN anymore consider clearing the model data using System: Configuration: Defaults: Components.  That would squelch the error.


Cheers,
Franco

ok, I have cleared the model data for OpnVPN.

So there was a migration error with opnvpn, but is that also related to the suricata and wan going down after a minute when suricata is running at reboot? My system runs stable now with suricata disabled.
Deciso DEC850v2

If you reboot and re-enable Suricata it should be stable now IMO.

ok. rebooted and enabled suricata. so far so good.
thanks!
Deciso DEC850v2

Applied the patches and got the same expected outputs: Migration reported as complete with no errors, interfaces settings shown.
We'll see how it goes from here. Thanks for the hard work, Franco!

Thanks, well hotfix this today so everyone can benefit from the treasure hunt. Thanks again!


Cheers,
Franco