Upgrade FileCloud on Linux from Version 23.232 to the Latest FileCloud Version


Upgrading through the admin portal link may lead to permission errors. We recommend upgrading using the procedures on this page instead of upgrading through the admin portal link.

If you are upgrading to 23.241 and using a FIPS-enabled system or encrypted managed storage, please follow the pre-upgrade instructions on page Upgrade Notes for FileCloud 23.241 or Later before performing the upgrade steps on this page.

These instructions are only intended for users who had previously updated to FileCloud Version 23.232 when the latest FileCloud version was released. 
If you have not yet updated to FileCloud Version 23.232 and want to update to the latest FileCloud version, you only need to follow the instructions on the page Upgrade FileCloud on Linux.

If you are using native LDAP for authentication and using non-TLS connections set the LDAP Host value to ldap://hostname. Older FileCloud versions supported host value without the protocol definition ldap://

Upgrade steps:

  1. Take server snapshots or back up your files. This will help restore the system to a working state if there are any unforeseen issues.
  2. Upgrade using the appropriate procedure below. 
  3. Important: In FileCloud 23.241, the hash algorithm used to verify the FileCloud license has changed. When the update is complete, to enable access to FileCloud, redownload and reinstall your license. See Install the FileCloud License for help. 


  • 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 (*).
  • In Ubuntu, when you are prompted with "File '/usr/share/keyrings/filecloud.gpg' exists. Overwrite? (y/N)", type y and click Enter to overwrite the existing keyring file.
  • 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 from 23.232 to the latest release on Ubuntu 22.04 LTS:

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

curl -fsSL https://pgp.mongodb.com/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
rm -rf /etc/apt/sources.list.d/mongodb-org-6.0.list

apt update -y
apt upgrade -y mongodb-org
curl -fsSL https://repo.filecloudlabs.com/static/pgp/filecloud.asc | sudo gpg -o /usr/share/keyrings/filecloud.gpg --dearmor
echo "deb [ arch=amd64 signed-by=/usr/share/keyrings/filecloud.gpg ] https://repo.filecloudlabs.com/apt/ubuntu jammy/filecloud/23.242 main" | sudo tee /etc/apt/sources.list.d/filecloud.list
apt update -y
apt install -y apache2 pigz
apt install -y php8.3 php8.3-bcmath php8.3-cli php8.3-igbinary php8.3-common php8.3-curl php8.3-gd php8.3-gmp php8.3-imap php8.3-intl php8.3-ldap php8.3-mbstring php8.3-memcache php8.3-memcached php8.3-mongodb php8.3-opcache php8.3-readline php8.3-soap php8.3-xml php8.3-xsl php8.3-zip php8.3-sqlite3 php-json libapache2-mod-security2 
ACCEPT_EULA=Y apt upgrade filecloud -y
a2dismod php8.2
service apache2 restart


To upgrade from 23.232 to the latest release on RHEL9

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*

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 -y

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

yum-config-manager --enable filecloud-23.242

ACCEPT_EULA=Y yum upgrade --allowerasing filecloud -y

To upgrade Solr from 23.232 to the latest release for Ubuntu 22.04 LTS and RHEL9

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 from 23.232 to the latest release for Ubuntu 22.04 LTS and RHEL9

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

filecloudcp -t

To upgrade LibreOffice from 23.232 to the latest release for Ubuntu 22.04 LTS and RHEL9

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

filecloudcp --install-preview