Upgrade Ubuntu 16 to Ubuntu 18
This article will help you upgrade Ubuntu 16 to Ubuntu 18, while keeping your existing data intact. Major updates such as this one might not be always 100% successful, which is why we recommend backing up your system before the upgrade. You should be able to perform the upgrade successfully by following these simple steps:
- Stop all components from the web interface.
- Log out of the web interface.
- Stop the WANsupervisor service:
systemctl stop WANsupervisor
- Perform a regular software upgrade to make sure all packages are up to date:
apt-get update && apt-get dist-upgrade
- Install the update manager:
apt-get install update-manager-core
- Perform the upgrade:
do-release-upgrade
If prompted whether to choose between your current configuration file or install the new package maintainer's version, make sure you choose to install the new version in order to avoid unexpected errors. - After the upgrade is finished check the version of the OS:
lsb_release -a
- Because Wanguard is still using the Ubuntu 16 packages, you need to remove them::
apt purge wansupervisor
- Install Wanguard according to the instructions listed on https://www.andrisoft.com/download/ubuntu18 while skipping Step 5 from the installation instructions because the database already exists.
- Disable the old version of PHP and enable the new version. Restart the apache daemon:
a2dismod php7.0 a2enmod php7.2 systemctl restart apache2
- Log back into the web interface and restart your components.
Contact the Support Team at support andrisoft.com if you encounter any issue.
Author
Andrisoft Team
Andrisoft Team
Date Created
2015-12-03 16:31:04
2015-12-03 16:31:04
Date Updated
2021-02-25 01:22:53
2021-02-25 01:22:53
Views
8430
8430