Major issues after upgrade from 25.1.10 to 25.1.11

Started by AG_2023, July 17, 2025, 05:03:21 PM

Previous topic - Next topic
Guys, this makes little sense without enough information as previously stated.

I included a file in my bug report. Note that I just found that this file is neither flagged as being too big nor is imported correctly. I cannot make claims as to if that breaks a subsequent configuration load.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, ZTE F6005

1100 down / 450 up, Bufferbloat A+

Quote from: Monviech (Cedrik) on July 18, 2025, 04:31:09 PMits a unix timestamp

root@opn03:/usr/local/etc # date -j -f "%s" 1752053171
Wed Jul  9 11:26:11 CEST 2025


On OPNsense and other BSD systems (including macOS) it is much simpler to use like this:

 % date -r 1752053171
Wed Jul  9 11:26:11 CEST 2025

As far as I know this does not work on Linux systems.

Quote from: Fabian Wenk on July 22, 2025, 05:18:10 PMOn OPNsense and other BSD systems (including macOS) it is much simpler to use like this:

 % date -r 1752053171
Wed Jul  9 11:26:11 CEST 2025

As far as I know this does not work on Linux systems.

On Linux, it is this:

$ date -d @1752053171
Wed Jul  9 04:26:11 AM CDT 2025


Just encountered this problem so i want to thank OP, because an image embedded in the config file was the problem in my case as well.

Did a marathon of updating an opnsense firewall from 24.7 -> 26.1.
Upgrade went fine from 24.7 -> 25.1 but shit hit the fan with the upgrade to 25.1.12.
Same as OP, config was reset to a default one, no interfaces, default root pw, etc.. Trying to upload the config via webgui returned 'invalid config'. Trying the run_migrations.php script just takes like 5 minutes and the result is that the config gets nuked again without any output telling me what happened.

Took me a while to find this post but i checked my config and saw that there was indeed an image embedded.
Specifically it was the dashboard picture widget which contained an image.
I removed the two related lines:

<picturewidget> [...] </picturewidget>
<picturewidget_filename>86690901_p0.png</picturewidget_filename>

The filesize shrunk from 12MB to ~140KB.
Tried uploading the config again and it immediately worked and i was able to upgrade up to the newest 26.1.6 without any significant problems.

Did waste a few hours on this tho because nothing actually tells you whats wrong with the config sadly.