OPNsense Forum

English Forums => 25.7 Series => Topic started by: Vyachesav73195 on September 05, 2025, 10:33:50 PM

Title: When upgrading from 25.1 to 25.7, the configuration is lost. DECIDED
Post by: Vyachesav73195 on September 05, 2025, 10:33:50 PM
When upgrading from 25.1 to 25.7, the configuration is reset to default. If you manually install OPNsense again, and then try to import the configuration from the backup, it cannot read it and returns an error.
How do I upgrade to the new version while saving my settings?
I am attaching the update log, there is a fatal error

Title: Re: When upgrading from 25.1 to 25.7, the configuration is lost.
Post by: franco on September 06, 2025, 12:04:21 AM
Could be the widget picture, simplexml had some updates and they haven't been seamless. Try to delete it and see if that makes a difference.


Cheers,
Franco
Title: Re: When upgrading from 25.1 to 25.7, the configuration is lost.
Post by: Vyachesav73195 on September 06, 2025, 12:28:29 AM
The widget image? I'm sorry, I didn't understand a bit... Are these the ones on the main page?
Title: Re: When upgrading from 25.1 to 25.7, the configuration is lost.
Post by: franco on September 06, 2025, 12:30:53 AM
System: Settings: General to be precise.
Title: Re: When upgrading from 25.1 to 25.7, the configuration is lost.
Post by: Vyachesav73195 on September 06, 2025, 02:41:43 AM
Thanks, it  of helped! At least I've upgraded to the latest version.
It would be logical to announce this in the update announcement...
Title: Re: When upgrading from 25.1 to 25.7, the configuration is lost. DECIDED
Post by: franco on September 06, 2025, 12:01:47 PM
It would be logical if we know what the issue was, but nobody dug into the internal workings of simplexml to find out.


Cheers,
Franco