OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: no_Legend on October 08, 2021, 01:07:00 PM

Title: Delete Plugin Setting
Post by: no_Legend on October 08, 2021, 01:07:00 PM
Hi,

I just have some problem with the configuration of ACME and HAProxy.
Better to say If have played to much with the settings.
Now I'm trying to setup the plugin from beginning.

Therefor I deletet the plugins and reinstalled it.
But after the reinstallation there was still the old setting in the plugins.

Is there any way to delete the hole settings?

Cheers Robert
Title: Re: Delete Plugin Setting
Post by: fabian on October 08, 2021, 08:43:35 PM
You can edit the config.xml but I would not recommend that.
Title: Re: Delete Plugin Setting
Post by: no_Legend on October 11, 2021, 11:25:32 AM
Thanks for your answer.
But how can I reset a  plugin to factory defaults?

Cheers Robert
Title: Re: Delete Plugin Setting
Post by: Patrick M. Hausen on October 11, 2021, 01:03:29 PM
Quote from: no_Legend on October 11, 2021, 11:25:32 AM
But how can I reset a  plugin to factory defaults?
1. Download a configuration backup.
2. Edit the XML file deleting the entire section for your plugin.
3. Restore your configuration.

There is no other way I am aware of. And of course you need to be extra careful in step 2.