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:

  1. Stop all components from the web interface.
  2. Log out of the web interface.
  3. Stop the WANsupervisor service:
    systemctl stop WANsupervisor
  4. Perform a regular software upgrade to make sure all packages are up to date:
     apt-get update && apt-get dist-upgrade
  5. Install the update manager:
    apt-get install update-manager-core
  6. 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.
  7. After the upgrade is finished check the version of the OS:
     lsb_release -a
  8. Because Wanguard is still using the Ubuntu 16 packages, you need to remove them::
    apt purge wansupervisor
  9. 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.
  10. Disable the old version of PHP and enable the new version. Restart the apache daemon:
    a2dismod php7.0
    a2enmod php7.2
    systemctl restart apache2
    
  11. 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
Date Created
2015-12-03 16:31:04
Date Updated
2021-02-25 01:22:53
Views
8734