OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.1k stars 207 forks source link

Revert network changes // Uninstall #91

Closed chiquidev closed 1 year ago

chiquidev commented 2 years ago

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.

ryecoaaron commented 2 years ago

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.

ryanbarlow1 commented 1 year ago

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?

ryecoaaron commented 1 year ago

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.