FileCloud 20 - 2 Upgrading FileCloud
FileCloud 20 - 2 Upgrading FileCloud
Version 20.2
Upgrading FileCloud
FileCloud Server Version 20.2 Upgrading FileCloud
Copyright Notice
© 2020 CodeLathe Technologies, Inc. All rights reserved.
While all reasonable care has been taken in the preparation of this document, no liability is accepted by the authors, CodeLathe Technologies, Inc., for any
errors, omissions or misstatements it may contain, or for any loss or damage, howsoever occasioned, to any person relying on any statement or omission
in this document.
Administrators must keep FileCloud Server up-to-date with the latest version to take advantage of the new features, enhancements, and fixes for issues
found in previous versions.
The Version section is right next to the License section on the Dashboard.
Custom settings in configuration files that are replaced during upgrade are not reset in the new configuration files.
Check If the following files are replaced with newer versions during upgrade, and in the case that they are replaced, reconfigure any custom
settings after upgrade:
C:\xampp\apache\conf\httpd.conf
C:\xampp\apache\conf\extra\httpd-filecloud.conf
4
20.1 Upgrading from ANY VERSION to 20.1
20.1 Upgrade Notes 20.1 Release Notes
New Message Queue System is
a REQUIRED service that needs
to be running for FileCloud to
be functional from 19.1 onwards
Please ensure the Message
Queue Service is running after
upgrade before opening up for
live access
You CANNOT upgrade Windows
and Linux using the Admin Portal.
5
Upgrade using Admin Portal
Upgrade Steps
Updating Systems That Cannot Connect Outside
Updating CentOS Systems
If you are using Linux or if you are upgrading just the FileCloud application, you can upgrade your installation using the steps below.
Upgrade Steps
1. Login into the admin UI. Click Upgrade at the bottom of the navigation panel.
If there are no new updates available, the Manage Upgrade window appears as:
6
2. If there is an upgrade available, click Start Upgrade.
The following window opens:
3. Click OK.
The upgrade process begins. When it is complete, messages similar to the following appear on the Manage Upgrade page.
7
4. In the navigation bar, click Installation Checks directly above the Upgrade link and make sure that the installation is free of errors.
5. Refresh the browser UI (Ctrl + F5) to get the latest updated User Interface.
Open the WWWROOT\config\cloudconfig.php file and edit the following entry for example, if the zip folder is located in c:\users\administrator\Downloads
folder, then simply do the following:
define("TONIDOCLOUD_UPDATE_URL_OVERRIDE","file://C:\\Users\\Administrator\\Downloads\\file_cloud.zip");
CentOS Permissions
cd /opt
chmod 777 fcupgrade
chmod 777 file_cloud.zip
Then open the WWWROOT\config\cloudconfig.php file and update the value of the following entry with your zip file location.
define("TONIDOCLOUD_UPDATE_URL_OVERRIDE","/opt/fcupgrade/file_cloud.zip");
8
Upgrade using Update Tool (Windows Only)
STEP 1: Backup existing installation
9
STEP 3: Update
1. Open the "FileCloud Control Panel" and click on "Stop" against these running services. ( If you are upgrading a HA system, stop all the nodes (All
DB servers of the replica set as well as the apache web servers on each of the nodes).) If running Memcache, make sure it is stopped too.
2. Ensure that the "Install Folder" shows the location of your XAMPP folder. This location is auto-detected, but it may not be able to determine it
correctly if there are multiple XAMPP folders. If it is not correct, select the correct XAMPP install folder.
3. Click on "Start" on the CloudUpdate application to begin the upgrade. (Repeat steps 1-3 for each of the nodes for HA system).
The tool must be able to connect to the internet in order to download the update package. Please contact our suport ([email protected]) if
you see any errors in this step.
10
4. If you are running multi-tenant FileCloud, make sure the database post upgrade script is run correctly.
cd c:\xampp\htdocs\resources\backup
c:\xampp\php\php.exe fcpostupgrade.php
5. Once the nodes are updated, start each of the nodes using the cloud control panel.
11
6. Message Queue is an important service and must be started after the upgrade.
7. Open the install URL http://<your domain>/install/index.php
8. Make sure basic checks are all OK.
9. Click on Extended Checks.
In section 3 of Extended Checks, your new updates are shown with status and available actions.
10. Beginning in FileCloud 20.1, to sign into the admin portal for multi-tenancy, you must sign in as the superadmin user and enter your password in
encrypted format in the multi.php file. See Password encryption and logging in to a multi-tenant admin portal for instructions on encrypting your
password. "
12
Release Notifications
You can learn about new FileCloud Server releases in the following ways:
Mailing List
When you register with CodeLathe, you will automatically be added to the FileCloud Mailing List.
If you are not receiving FileCloud emails, you can Subscribe to the FileCloud Mailing List.
Admin Portal
When you log in to the Admin Portal, the default view on the dashboard includes update information, as shown in Figure 1.
13
Backup FileCloud Before Upgrading
Before any updating current FileCloud installation, it is important to backup your data!
Based on your installation environment, choose one of the following links to perform backup:
14
Manually Updating Windows
New versions of FileCloud might be released from time to time and it might be important to keep your FileCloud installation up to date so that you get all
the latest bug fixes, security patches and new features.
Updating FileCloud
IMPORTANT NOTE
2. This step is important because you don't want to overwrite any local changes made with the previous FileCloud installation. Remove the following
list of files from the unzip location(C:\cloud_update).
1) [config]
2) [scratch]
3) localconfig.php
4) .htaccess
5) [resources/customization]
6) [resources/docs]
7) [resources/images]
8) [resources/templates]
3. Beginning in FileCloud 20.1, to sign into the admin portal for multi-tenancy, enter the username for the superadmin user and encrypt your
password in the multi.php file. See Password encryption and logging in to a multi-tenant admin portal for instructions on encrypting your
password.
STEP 3: Update
1. Open the "FileCloud Control Panel" and click on "Stop" against these running service
15
2. Copy over the cleaned update onto your web server's document root. Here we assume [C:\xampp\htdocs] as the document root. Check your
installation for correct values.
3. Start Webserver and Database service first, then you can start the other services based on the requirement.
16
4. Open the install URL http://<your domain>/install/index.php
5. Make sure basic checks are ok
6. Click on Extended Checks
7. In section 3 of extended checks, shows your new update with status and available actions.
8. If there was a Database Schema change, you will have to click on "Update" and the database will be upgraded.
17
9. If new configuration items were added, you will have to add them to the appropriate configuration files as specified in the Config Files and re-run
the check till the checks pass.
10. Optional: After install checks are all OK, you can delete the "install" folder from the document root.
11. Your upgrade is now complete.
18
Run the LINUX Upgrade Script
The upgrade script for full upgrades of FileCloud Server is available in version 18.1 and later.
The script method is fully compatible with the following versions of Linux:
Ubuntu 20.04
CentOS 8.x
RHEL 8.x
Upgrading your Linux operating system causes FileCloud to be uninstalled. Make sure you have backed up FileCloud before
upgrade, and re-install FileCloud afterwards.
As an administrator, you can use filecloudcp (FileCloud control panel) to perform a full upgrade of a FileCloud instance regardless of the version (Debian,
Fedora, etc).
The control panel runs a script that opens a basic interface to step you through the installation or upgrade process.
Key Action
Requirements:
If the FileCloud Instance doesn't have access to Internet, please contact our support team for assistance.
Step 1. To use filcloudcp to run the upgrade script, type the following
command:
~# filecloudcp -u
19
Step 1(Alternative). After logging in, review the packages to be updated,
and then to run the upgrade script, type the following command:
~# wget http://patch.codelathe.com/tonidocloud/live
/installer/filecloud-liu.sh && bash filecloud-liu.sh
Step 2. On the Installer and Upgrade screen, to start the process and
select Proceed, press Tab.
Step 3. On the Welcome screen, to click OK, press the Tab key.
Step 4. The Installer and Upgrader with inform you that FileCloud is
already installed.
Step 5. The Installer and Upgrader with inform you that a new version of
FileCloud is available.
a. To click OK, press the Tab key.
Step 6. On the Upgrader screen, to start the upgrade and select Proceed,
press Tab.
Step 7. On the Upgrader screen, to click OK, press the Tab key.
Step 8. On the Upgrader screen, to start the database backup and select
Proceed, press Tab.
20
It is recommended that you complete a backup manually or through this
upgrade script before upgrading FileCloud Server.
Step 9. On the Upgrader screen, to start the webroot backup and select Pr
oceed, press Tab.
Notes
What is Solr?
Content search for file types such as txt, pdf, doc, docx, xls, xlsx,
ppt, pptx
Regex support for file/folder name searches
Step 11. You will be advised that FileCloud Server has been upgraded.
This completes the upgrade process.
21