Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

How to upgrade the FileFlex server operating system from Ubuntu 16.04 to Ubuntu 18.04

Solution 1 - upgrade with os_upgrade script

Follow these proposed steps:

  1. Login into Server Administration page
  2. Stop all servers except Administration and Storage Server
  3. Perform Backup Now from Backup & Restore
  4. Download the newly-created backup to your local storage
  5. Depending on where your VM is hosted (VMWare Workstation, VirtualBox, HyperV, etc), go to its terminal and login with the user sadmin
  6. Type lsb_release -a. If it returns Ubuntu 18, then everything is OK and there is no need to continue.

    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.3 LTS
    Release:        18.04
    Codename:       bionic


  7. Type sudo /opt/ffs/os_upgrade.sh
  8. The process of upgrading the operating system will start.
  9. It will perform an automatic reboot. Once done, you will be asked again to login
  10. The process will start automatically, no user-interaction is required from your side, just wait to reboot once again
  11. Once ready, you will see: Ubuntu 18.04.3. LTS
  12. And that's it, now you can go back to Server Admin and start all servers in order to continue using our application.

Solution 2 - manual OS upgrade prior FileFlex script

  1. Login into FileFlex Enterprise Server Administration page
  2. Stop all servers except Administration and Storage Server
  3. Perform Backup Now from Backup & Restore
  4. Download the newly-created backup to your local storage
  5. Depending on where your VM is hosted (VMWare Workstation, VirtualBox, HyperV, etc), go to its terminal and login the user sadmin
  6. Type lsb_release -a.
    6.1. If it returns Ubuntu 18.04.3, go back to Server Administration page and press the Upgrade Machine button

    Distributor ID: Ubuntu
    Description:    Ubuntu 18.04.3 LTS
    Release:        18.04
    Codename:       bionic

    6.2. If it returns Ubuntu 16.xx.xx you should manually upgrade OS through the terminal 

  7. Run sudo mv /etc/apt/sources.list.d/ffs.list /etc/apt/sources.list.d/ffs.list.back to disable temporary fileflex repository 
  8. Run sudo apt-get update
  9. Run sudo apt dist-upgrade
    This will upgrade the OS system and all system packages to Ubuntu 16.04.7.
    During this step upgrade you might be asked to keep clamd package config
     
    Choose "keep the local version currently installed
    NOTE: If you are upgrading Ubuntu OS on Oracle VirtualBox you may see the following: 

    Image Added

    Choose Y or I : install the package maintainer's version  for tools.conf

  10. Reboot the system when requested once the upgrade process completes.
  11. If system reboot is not requested use the sudo reboot command
  12. After system reboot, login to server console and type sudo do-release-upgrade --mode=server -f DistUpgradeViewNonInteractive 
    This command will upgrade system to new release 18.04. 
    During this step upgrade you might be asked to 
    keep sysctl.conf file

    Type N or O
  13. Run sudo reboot to restart the system
  14.  Use the  lsb_release -a command to check the OS version. It should point to Release: 18.04.
  15. Enable fileflex repository running sudo mv /etc/apt/sources.list.d/ffs.list.back /etc/apt/sources.list.d/ffs.list
  16. Run  sudo apt-get update  
  17. Load FileFlex Server Administration page
  18. Press the Upgrade Machine button 

...