Upgrade FileCloud on RHEL

Note: FIPS 140-3 modules are still in review for RHEL 9.
If you want to install FileCloud with FIPS, please wait until the RHEL 9 vendors officially announce they are supporting FIPS.
RHEL information


Upgrade steps:

  1. Prior to performing the following steps, review the upgrade notes that apply to the Linux version you are upgrading from.
    Upgrade Notes

  2. Take server snapshots or back up your files. This will help restore the system to a working state if there are any unforeseen issues.
    FileCloud Backup and Restore - Linux Manual

  3. Upgrade using the procedure below. 

  • During MongoDB upgrade, when you are prompted to replace the MongoDB configuration file, select 'N' (No) to keep your existing settings.

  • When you are prompted to restart services during the upgrade, always restart the default one, which is marked with an asterisk (*).

  • When you are prompted with a modified configuration file during PHP upgrade, choose "keep the local version currently installed" to retain your existing custom settings.

To upgrade to the latest release on RHEL9

yum clean all
curl -sL https://repo.filecloudlabs.com/static/fcp/apache_check | sudo bash -

dnf module disable httpd -y
dnf module disable php -y

rm -rf /etc/yum.repos.d/filecloud*
rm -f /etc/yum.repos.d/mongodb-org-6.0.repo

cat <<EOF > /etc/yum.repos.d/mongodb-org-7.0.repo
[mongodb-org-7.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/7.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://pgp.mongodb.com/server-7.0.asc
EOF

yum update -y --allowerasing
yum install yum-utils -y
yum-config-manager --enable mongodb-org-7.0
yum upgrade mongodb-org mongodb-org-database mongodb-org-server mongodb-org-mongos mongodb-org-tools -y
yum downgrade mongodb-org-7.0.32 mongodb-org-database-7.0.32 mongodb-org-server-7.0.32 mongodb-org-mongos-7.0.32 mongodb-org-tools-7.0.32 -y

cat <<EOF > /etc/yum.repos.d/filecloud-23.261.repo
[filecloud-23.261]
name=FileCloud 23.261
baseurl=https://repo.filecloudlabs.com/yum/redhat/\$releasever/filecloud/23.261/x86_64/
gpgcheck=1
priority=1
enabled=1
gpgkey=https://repo.filecloudlabs.com/static/pgp/filecloud.asc
module_hotfixes=true
EOF

yum-config-manager --enable filecloud-23.261
yum upgrade nodejs -y
yum upgrade openssl -y
ACCEPT_EULA=Y dnf upgrade --allowerasing filecloud -y


To upgrade Solr to the latest release

If you have Solr configured before you upgrade, also enter the following command.

filecloudcp -s

If your indexed Solr data was created using Solr version 7.x or older, a full re-index is required.


To upgrade Tesseract to the latest release

If you have Tessearct configured before you upgrade, also enter the following command.

filecloudcp -t


To upgrade LibreOffice to the latest release

If you have LibreOffice configured before you upgrade, also enter the following command.

filecloudcp --install-preview