OPNsense Forum

English Forums => 26.1 Series => Topic started by: Headless1919 on February 02, 2026, 05:48:55 PM

Title: Rules migration wizard seems to glitch out
Post by: Headless1919 on February 02, 2026, 05:48:55 PM
I upgraded to 26.1_4 today and tested out the rules migration. After removing some warnings during the import process (mostly interfaces which no longer existed), I attempted to import in the new format.

The import seems to work when done in its entirety, but leaves me with ~180 floating rules, most of which are blank and cannot be removed. I also see warning messages in the system logs but attempting to remove what appears to be an offending interface and reimporting does not help.

Does anyone have any ideas before I resort to recreating my rules manually?
Title: Re: Rules migration wizard seems to glitch out
Post by: Monviech (Cedrik) on February 02, 2026, 05:53:04 PM
You might have run into this issue:

https://github.com/opnsense/core/issues/9661

Will be fixed in an upcoming release, just make sure when you edit rules you don't use Excel since it can add "" around rows and thats what probably messed your import up.
Title: Re: Rules migration wizard seems to glitch out
Post by: Headless1919 on February 02, 2026, 06:01:10 PM
Quote from: Monviech (Cedrik) on Today at 05:53:04 PMYou might have run into this issue:

https://github.com/opnsense/core/issues/9661

Will be fixed in an upcoming release, just make sure when you edit rules you don't use Excel since it can add "" around rows and thats what probably messed your import up.

I was using Excel, perhaps that is it. I can wait for a new release, thanks Cedrik!
Title: Re: Rules migration wizard seems to glitch out
Post by: Monviech (Cedrik) on February 02, 2026, 06:21:30 PM
Well in a new release it will only prevent you from importing the faulty data, but when you use excel you can still run into the faulty data issue. Best use a plaintext editor that doesnt automatically format rows.
Title: Re: Rules migration wizard seems to glitch out
Post by: Headless1919 on February 02, 2026, 06:59:14 PM
That seems to have done it, thanks Cedric. Changes made in Notepad, imported without an issue. Saved me a lot of work!