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:
- Login into Server Administration page
- Stop all servers except Administration and Storage Server
- Perform Backup Now from Backup & Restore
- Download the newly-created backup to your local storage
- Depending on where your VM is hosted (VMWare Workstation, VirtualBox, HyperV, etc), go to its terminal and login with the user sadmin
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
- Type sudo /opt/ffs/os_upgrade.sh
- The process of upgrading the operating system will start.
- It will perform an automatic reboot. Once done, you will be asked again to login
- The process will start automatically, no user-interaction is required from your side, just wait to reboot once again
- Once ready, you will see: Ubuntu 18.04.3. LTS
- 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
- Login into FileFlex Enterprise Server Administration page
- Stop all servers except Administration and Storage Server
- Perform Backup Now from Backup & Restore
- Download the newly-created backup to your local storage
- Depending on where your VM is hosted (VMWare Workstation, VirtualBox, HyperV, etc), go to its terminal and login the user sadmin
Type lsb_release -a.
6.1. If it returns Ubuntu 18.04.3, go back to Server Administration page and press the Upgrade Machine buttonDistributor 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
- Run sudo mv /etc/apt/sources.list.d/ffs.list /etc/apt/sources.list.d/ffs.list.back to disable temporary fileflex repository
- Run sudo apt-get update
- 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:Choose Y or I : install the package maintainer's version for tools.conf
- Reboot the system when requested once the upgrade process completes.
- If system reboot is not requested use the sudo reboot command
- 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 - Run sudo reboot to restart the system
- Use the lsb_release -a command to check the OS version. It should point to Release: 18.04.
- Enable fileflex repository running sudo mv /etc/apt/sources.list.d/ffs.list.back /etc/apt/sources.list.d/ffs.list
- Run sudo apt-get update
- Load FileFlex Server Administration page
- Press the Upgrade Machine button
...