Upgrade & uninstall¶
Upgrade¶
The configuration, versions, metrics and logs are kept. The previous binary is saved
as /var/lib/fr0ntier/backups/fr0ntier.previous. Before upgrading, download a backup from
System → Backup & Restore.
Configurations written by older releases are upgraded automatically when they are
loaded (the meta.schema field tells the version of the format).
Coming from the 0.1 beta (Vixia)¶
The project was renamed for 1.0 and every path changed (/etc/vixia → /etc/fr0ntier,
vixia.service → fr0ntier.service…), so a beta installation is not upgraded in place:
- On the beta, export the running configuration: System → Backup & Restore → Export running config (JSON).
- Uninstall the beta (
sudo ./uninstall.shin the oldvixiadirectory) and reboot. - Install fr0ntier 1.0 (Installation).
- System → Backup & Restore → Load into candidate with the exported JSON, review the diff and commit. Administrators are not part of the configuration: create them again.
Roll back a bad upgrade¶
sudo install -m 0755 /var/lib/fr0ntier/backups/fr0ntier.previous /usr/local/bin/fr0ntier
sudo systemctl restart fr0ntier fr0ntier-dns
Uninstall¶
sudo ./uninstall.sh # keep /etc/fr0ntier and /var/lib/fr0ntier
sudo ./uninstall.sh --purge # remove everything
sudo systemctl reboot
The uninstaller removes units, firewall tables and rendered files, restores the files
saved at install time (/etc/network/interfaces, resolver…) and re-enables the
services that were enabled before (networking, NetworkManager, systemd-resolved…).