Steps to Upgrade Ubuntu 16.04 to 18.04 LTS Ubuntu 16.04 recently reached EOL, and some of the packages are no longer available in the repository. This creates an interesting challenge because those packages are necessary to run the upgrade. To upgrade an Ubuntu instance from 16.04 LTS to 18.04 LTS (where the Filecloud server is […]
Ubuntu 16.04 recently reached EOL, and some of the packages are no longer available in the repository. This creates an interesting challenge because those packages are necessary to run the upgrade.
To upgrade an Ubuntu instance from 16.04 LTS to 18.04 LTS (where the Filecloud server is running less than 21.1.x), follow the steps below:
Prior to running Ubuntu 16.04 LTS, you will need to back up the Filecloud server, as well as the /var/www/html and /var/lib/mongodb paths. The chance of deleting this information during the OS upgrade is very high.
Once the backups are complete, the next step is to perform the Ubuntu package update.
NOTE: Select all the default options when prompted. Toward the end of the upgrade, you will need to restart your computer.
After the upgrade is complete, you will need to reinstall certain packages, as the upgrade will have deleted them. To reinstall apache and php, please follow the steps below:
|Is your FileCloud version greater or lesser than 20.2? Install the cronjob using these commands:|
|Greater than 20.2||echo "*/5 * * * * php / /var/www/html/src/Scripts/cron.php" | crontab -u www-data –|
|20.2 or less||echo "*/5 * * * * php /var/www/html/core/framework/cron.php" | crontab -u www-data –|
If the above cronjob command fails, please follow the below method to troubleshoot the cronjob. Then run the command again.
Now we will set up the PHP CLI.
Run the below command:
php -v // Make sure it shows the version to confirm it is working.
php -m // Make sure it shows the modules to confirm it is working
The expected output should be:
PHP 7.2.34-23+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 1 2021 16:06:47) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.3.2, Copyright (c) 2002-2018, by ionCube Ltd.
with Zend OPcache v7.2.34-23+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)
Once Filecloud is reopened, you can run the Filecloud upgrade with this command:
If this command does not work, use:
With the Ubuntu OS updated, FileCloud can work even better than before! The FileCloud support team is also available to provide assistance or answer questions.
Article written by Nandakumar Chitrasuresh