OpenMediaVault-Plugin-Developers/installScript

Revert network changes // Uninstall

chiquidev opened this issue · 3 comments

Hello, good afternoon.

After installing omv with your script i've figured out some problems with another services on my device, caused by the network changes applied during the installation of your script. I'm in need of rever those changes, but as i've seen, you dind't make any script to delete omv and rever all the changes that your code applied...

How can I revert the changes made on the network configuration?

Greets.

OMV is just a package. No need to have a script to remove it. Just use apt.

As for the network, the script converts the system to netplan (unless you using the skip network flag). Disabling netplan just requires removing the files in /etc/netplan but I don't know what you current or previous network setups are. Unless you had some strange network setup, it seems unlikely netplan is breaking networking.

I'm having the same issue. I installed OMV via this install script, and today tried to uninstall the package via apt-get remove --autoremove openmediavault. After I rebooted, I could not connect to the network (both my internal network and the internet). I tried removing the files in /etc/netplan and rebooting but that didn't fix it. I also tried running netplan apply after but that didn't work. How do you revert the netplan networking?

Without knowing what was uninstalled, it is hard to say why it was broken. if netplan and systemd-networkd were still installed, the netplan files that omv creates are not omv specific. netplan apply would only help if those files existed.