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

filecloudcp -t

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

Take server snapshots or back up your files before upgrading. This will help restore the system to a working state if there are any unforeseen issues.

To upgrade from 23.1 to the latest release on Ubuntu 22.04 LTS:

rm -rf /etc/apt/sources.list.d/filecloud.list
echo "deb [ arch=amd64 signed-by=/usr/share/keyrings/filecloud.gpg ] https://repo.filecloudlabs.com/apt/ubuntu jammy/filecloud/23.232 main" | sudo tee /etc/apt/sources.list.d/filecloud.list

apt-get update -y
apt-get install pigz -y
apt-get upgrade -y
chown -R www-data:www-data /var/www/html/scratch/

To upgrade from 23.1 to the latest release on RHEL9

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

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

yum update -y --allowerasing
yum install yum-utils -y
yum-config-manager --enable filecloud-23.232
yum install mongodb-org -y
yum install pigz -y
ACCEPT_EULA=Y yum install filecloud -y
chown -R apache:apache /var/www/html/scratch/

To upgrade Solr from 23.1 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

To upgrade Tesseract from 23.1 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