Config restore broken for wireguard [SOLVED]

Started by Raketenmeyer, March 24, 2022, 04:18:06 PM

Previous topic - Next topic
March 24, 2022, 04:18:06 PM Last Edit: March 25, 2022, 05:44:14 AM by Raketenmeyer
Yesterday I had to reinstall 22.1.3 on a DEC690 with broken UFS filesystem (multiple power outages). The reinstall (ZFS) followed by a config import went without any problem - except the wireguard setup. Wireguard was broken afterwards - the plugins page listed "os-wireguard" as missing and the only visible wireguard related thing was it's (inactive) interface in the corresponding list.

After installing the wireguard plugin, the former configuration from the backup (local & endpoint) showed up in the GUI but was not applied to the plugin. I had to edit and save each configuration (without changes) to get it working. Afterwards the configured wireguard tunnel started working again.

That sounds like it's working as intended:

The system won't automatically restore your plugins, but remember that they are required and prompt for it.

On plugin install or removal we do not mess with running service states or start/stop services even if they were enabled in the config already.


Cheers,
Franco

If I do fresh install with config import:

- Install

- Switch to LibreSSL (optional) and reboot

- Install your needed plugins

- Import config.xml

- Login via console and manually add needed custom cron jobs

Did I forget something? ;-)

The config import is not all to be done on a freh install...
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

Thanks for your answers - looks like it was my fault. I thought the config import would also install the depending plugins. Good to know for the next restore :)