LIMEHAWK - Managed IT
CrushFTP Upgrade Automation — automation
dateNov 24, 2025
statusIMPLEMENTED
Summary

Two shell scripts for CrushFTP management: one automates in-place updates via API, ensuring systems are patched with minimal downtime. The second handles major version upgrades (v10 to v11), migrating all critical settings, user data, and custom branding.

Challenge

Manually updating and upgrading CrushFTP servers is repetitive and error-prone. In-place updates require logging into admin console. Major version upgrades involve complex migration of settings, users, and customizations. Manual overhead increases risk of misconfiguration across multiple environments.

Script 1: In-Place Updates

Leverages CrushFTP API to check for and apply pending updates. Run as cron job for automatic security patching. Logs to /var/log/crushftp_update.log.

Script 2: Major Version Upgrade

Automates CrushFTP v10 to v11 migration: downloads new version, copies user data, server config (prefs.XML), SSH keys, jobs, and custom logos. Updates system service.

Security
never hardcode credentials in production
use HashiCorp Vault or AWS Secrets Manager
script permissions: chmod 700
only owner should read/execute
Benefits
reduced manual effort for updates/upgrades
consistent application across environments
minimized risk of human error in migrations
cron-compatible for "set-and-forget" patching
Get Help

Need to automate your infrastructure? We build robust automation for tedious, critical tasks.