Upgrade Notes for FileCloud 23.241 or Later
Version 23.241.x of FileCloud has dropped support for Shibboleth 1.3 and SAML 1.1, and updated SimpleSAML to version 2.x. If you have upgraded to FileCloud 23.241 or later and your FileCloud build uses SSO, follow the instructions below Configuring SSO after updating to 23.241 or later or SSO will not work correctly in your system.
Upgrading to 23.241.x completely disables WebDAV functionality; if your system uses WebDAV, please contact FileCloud Support before upgrading.
New pre-upgrade instructions have been added for systems with managed storage enabled. To avoid losing any data, please review and perform the pre-upgrade process if it applies to you.
Backwards Compatibility Notes
You cannot upgrade Windows and Linux using the Admin Portal.
Beginning with Version 21.1, the files to download when upgrading with the Windows Update Tool have changed. The new files are listed below under Upgrade for Windows and with the full upgrade procedure in the documentation page Upgrade using Update Tool (Windows Only).
Upgrading
As always, make a full backup of your existing installation before upgrading.
If your installation of FileCloud uses admin portal user access restrictions, please see Restricting Access To Admin UI Based On IP Addresses for updated instructions.
Instructions for systems with managed storage encryption enabled
If you have enabled managed store encryption, you must change your storage encryption from RC4, which has been deprecated, to AES-256 prior to FileCloud upgrade. Your file key, a 183-character string used as a password for storage encryption, is stored in encrypted form in the FileCloud database. To change your file key encryption from RC4 to AES-256, use the following pre-upgrade instructions.
If you are not using managed storage encryption, you do not have to perform this process.
Pre-upgrade
To change your storage encryption from RC4 to AES-256:
To view the correct version of the admin portal in the following procedure, either empty your browser cache or view in incognito mode.
To empty your browser cache, go to development mode, click refresh, and then choose Empty cache and hard reload.
If your system is running in Linux and you are migrating to a new FileCloud server from FileCloud 22.1, go to the section Migrating FileCloud 22.1 with local encryption storage to Ubuntu 22.04 and RHEL 9, below.
- If you are running FileCloud versions 22.1 through 23.232.x, skip this step, and go to step 2.
If you are running a version of FileCloud less than 22.1:- Upgrade FileCloud to 23.232.1.
- Activate encrypted storage for your site (or each of your sites) by providing a password or recovery key.
For help activating encrypted storage, see: Activating Password Protected Storage Encryption - FileCloud Docs - Server.
To learn more about setting up encryption in FileCloud see Setting up Managed Storage Encryption - FileCloud Docs - Server.
(Begin here for FileCloud Versions 22.1 through 23.232.x)
Ensure that encrypted storage is activated for your site (or each site you are running in a multitenant environment) by confirming that Memcache is running on your FileCloud server and that each of your sites has the raw file key stored in the Memcache service.- Ensure that any other FileCloud services you use are running.
- Take a snapshot of your production server before running the pre-upgrade tool.
If possible, further safeguard your data by initially performing this pre-upgrade in a staging environment. - Run the pre-upgrade tool:
- For Linux systems:
Download the latest version of filecloudcp by running this command:Set the correct permissions for the file by running:curl --location 'repo.filecloudlabs.com/static/fcp/filecloudcp' -o /usr/bin/filecloudcp
Start the pre-upgrade tool by running:chmod 755 /usr/bin/filecloudcp
filecloudcp –fpm
- For Windows systems: Run upgrade as you would using the instructions on page Upgrade using Update Tool (Windows Only).
- For Linux systems:
- When the pre-upgrade is successfully completed, manually activate storage encryption for your site (or each of your sites in a multi-tenant environment).
- During this step, you may optionally enter a new encryption password to encrypt the RAW key stored in AES-256 instead of RC4 (however, the same password may be used).
Troubleshooting encryption pre-upgrades
PROBLEM:
The pre-upgrade tool returns a STOP result.
This may happen when the Memcache service is turned off or if a site with encrypted storage is inactive, and potentially leads to loss of the raw file key from Memcache and deactivation of encrypted storage.
SOLUTION:
Run the Memcache service to ensure that storage encryption is activated, then run the pre-upgrade tool again.
PROBLEM:
Wrong File Key for Multi-Tenant Environments. For multi-tenant environments, the pre-upgrade tool might retrieve the wrong File Key for sites, leading to data loss.
SOLUTION:
Ensure storage encryption is activated by running the Memcache service. If the wrong File Key is retrieved for multi-tenant environments, decrypt the data, disable encryption, perform the upgrade, and then re-enable encryption.
PROBLEM:
One inactive website with encrypted storage blocks upgrades on all other websites.
SOLUTION:
Decrypt and disable encryption, then perform a site database backup, and remove the unused site.
PROBLEM:
Service Provider Licensing Agreement (SPLA) admin lacks options to enable inactive encrypted storage.
SOLUTION:
Ensure you have access to the storage system in SPLA admin settings.
Migrating FileCloud 22.1 with managed storage and encryption enabled to Ubuntu 22.04 or RHEL 9
Follow one of the options to migrate FileCloud 22.1 to an updated operating system and to upgrade it to 23.241.or later.
Option 1: For customers running with or without FIPS mode: (recommended option):
- Decrypt the files in FileCloud 22.1
- Install one of the supported operating systems (Ubuntu 22.04 or RHEL 9).
- Install the latest version of FileCloud 23.241 or later on the newly installed operating system.
- Migrate FileCloud to the newly installed operating system.
- Encrypt the data in FileCloud.
Option 2: For customers running without FIPS mode:
This method does not require decryption.
- Perform a FileCloud upgrade to FileCloud 23.232.1, which requires OS upgrades to Ubuntu 22.04 or RHEL 9.x. For this procedure, please Contact FileCloud Support.
- Follow the upgrade instructions on page Upgrade FileCloud on Linux from Version 23.232 to the Latest FileCloud Version.
Please note that FileCloud Support cannot resolve OS upgrade problems. - Use the pre-upgrade instructions to upgrade from 23.232.1 to 23.241 or later starting with Step 2. (Begin here for FileCloud Versions 22.1 through 23.232.x).
Upgrade instructions for Linux
Upgrading FileCloud from 23.232.x or lower to latest version
To upgrade FileCloud from 23.232.x to the latest version in Linux see Upgrade FileCloud on Linux from Version 23.232 to the Latest FileCloud Version.
Upgrading FileCloud from 22.1 to Ubuntu 22.04 and RHEL 9
You can either re-install FileCloud or upgrade both FileCloud and your operating system.
Option 1: Install one of the supported operating systems, then Install the latest version of FileCloud on the newly installed operating system, and then migrate FileCloud to the newly installed operating system. This is the recommended option.
Option 2: Perform a FileCloud upgrade which requires OS upgrades to Ubuntu 22.04 or RHEL 9.x, For this procedure, please Contact FileCloud Support.
Please note that FileCloud Support cannot resolve OS upgrade problems.
Upgrading FileCloud from versions lower than 22.1
If you are upgrading from a version of FileCloud lower than 22.1 or from an operating system below Ubuntu 22.04 LTS or RHEL 9, please install one of the supported operating systems, then Install the latest version of FileCloud on the newly installed operating system, and then migrate FileCloud to the newly installed operating system.
Upgrade instructions for Windows
For all upgrades, once upgrade is complete, refresh the browser using CTRL-F5 to clear any prior setup information from the cache.
You can use the Windows Upgrade tool to do a full upgrade.
When you are upgrading to FileCloud 23.241 or later, leave all FileCloud services in the control panel running instead of stopping them all as in upgrades of previous versions.
Beginning with FileCloud 21.1, there are new files to download which are listed in the updated steps 1-3 of the upgrade procedure, below.
Download the FileCloud Windows Update Tool from https://patch.codelathe.com/tonidocloud/live/installer/cloudupdatetool.zip
Extract all files from cloudupdatetool.zip into a folder.
- Download the following files and copy them to the extracted folder (the cloudupdatetool folder)
- FileCloud Windows Preupgrade Package from https://patch.codelathe.com/tonidocloud/live/installer/filecloudpreupgrade.zip
- FileCloud Windows Preupgrade XML - Right-click and save the file https://patch.codelathe.com/tonidocloud/live/installer/filecloudpreupgrade.xml
- FileCloud Windows Update Package from https://patch.codelathe.com/tonidocloud/live/installer/filecloudupdate.zip
- FileCloud Windows Update XML - Right-click and save the file https://patch.codelathe.com/tonidocloud/live/installer/filecloudupdate.xml
Now, go to Upgrade using Update Tool (Windows Only) and proceed from Step 2, #5.
Upgrading systems that use ServerLink
To upgrade systems running ServerLink, the following steps should be taken:
- Before upgrade, ensure all ServerLink nodes are fully synced and are at the same state.
- Make backups of all nodes as needed
- Upgrade the primary node first.
- Upgrade each secondary node after upgrading the primary node.
- Start up all nodes
Configuring SSO after updating to 23.241 or later
SimpleSAML update
Version 23.241.x of FileCloud has updated SimpleSAML to version 2.x. If your FileCloud build uses SSO, please take the following steps to replace your old configuration files with new ones; otherwise, SSO will not work correctly in your system.
- Go to your SimpleSAML config directory.
Windows: C:xampp\htdocs\thirdparty\simplesaml\config
Linux: /var/www/html/thirdparty/simplesaml/config - Rename:
config.php to config.php.bak
authsources.php to authsources.php.bak - Then rename:
config.php-[date] to config.php
authsources.php-[date] to authsources.php - Copy any modifications you made to the original config.php (now config.php.bak) to the current config.php
- Copy any modifications you made to the original authsources.php (now authsoruces.php.bak) to the current authsources.php
Alias directive modification
The Alias directive has been modified in 23.241. If you have it written as:
Alias /simplesaml "/xampp/htdocs/thirdparty/simplesaml/thirdparty/www"
change it to:
Alias /simplesaml "/xampp/htdocs/thirdparty/simplesaml/public"
for more information, see SSO Configuration Steps, Step 1. Configure Apache Webserver.
FC Push Service Configuration
In FileCloud version 23.1, a Push service was added to allow clients (in particular, FileCloud Desktop) to receive server-initiated notifications (for example, file upload, share). Upgrading to FileCloud 23.1 or higher on systems running with MongoDB replica set or standalone MongoDB require the push service env file to be updated based on the MongoDB configuration.
To configure the Push service in Linux:
Open and edit the .env file from path: /opt/fcpushservice/
vi /opt/fcpushservice/.env
Update the MongoDB connection string:
FCPS_DB_DSN=mongodb://dbuser:passw0rd1@dbserver01,dbserver02,dbserver03:27017
Restart the fcpushservice.
systemctl restart fcpushservice
- Open the file xampp\pushservice\.env for edit.
Update the MongoDB connection string to:
FCPS_DB_DSN=mongodb://dbuser:passw0rd1@ dbserver01, dbserver02, dbserver03:27017
Restart the Push service in the FileCloud control panel.
Upgrade environments using Solr and Solr+OCR
Windows
- Upgrade FileCloud
- Upgrade OpenJDK to version 11.
- Set JAVA_HOME to the new version's path.
- Log in to the FileCloud admin portal.
- In the FileCloud Control Panel, and stop and restart Content Search.
Linux
- Upgrade FileCloud.
- Run:
filecloudcp --install-solr
- If OCR is enabled, run:
filecloudcp -t
- Log in to the FileCloud admin portal.
- Restart Solr.
systemctl restart solr