1. Installation and Deployment
FlightHub 2 On-Premises FAQ
  • V2.0 Known Issues and Solutions
    • Installation and Deployment
      • [Deployment] SWAP Is Enabled During Deployment
      • [Deployment] System Dependency Installation Dry Run Fails
      • [Deployment] Can Deployment Continue When Version 1.x Residual Items Are Detected
      • [Deployment] System Dependencies Cannot Be Installed Without Removing Existing Packages
      • [Deployment] Cluster Infrastructure Installation Stalls or K3s Times Out
      • [Deployment] Resume Installation After an SSH Disconnection
      • [Deployment] Configure a Static Internal IP Address on Ubuntu 22.04
      • [Deployment] Installation Package Download Fails on the DJI Website
      • [Deployment] The Deployment Progress Connection Is Lost
      • [Deployment] Server Fingerprint File Generation Fails on KylinSec OS
    • Routine Maintenance
      • [Operations] Elevation Import Stuck in “Processing” or Failing to Enable: Status Check and Quick Recovery
      • [Operations] Elevation Import Stuck in “Processing” or Failing to Enable: Troubleshooting by Symptom
      • [Operations] Switch from HTTP to HTTPS
      • [Operations] Correct Excessive System Clock Skew
      • [Operations] Locate Deployment Directories and View or Reset the AIO Password
      • [Operations] Restart FlightHub Services
      • [Operations] Common Commands and Scripts for Version 2.0
      • [Operations] Restore Images Removed by K3s Garbage Collection
    • Network Connectivity
      • [Network] Temporary Increase in Cluster Upload or Download Traffic
      • [Network] Devices Cannot Connect After Configuring the 4G Allowlist
      • [Network] Live Stream Is Black or Abnormal After Cloud Server Deployment
    • Upgrades and Maintenance
      • [Upgrade] The Control Node Is Incorrectly Reported as a Non-Control Node
      • [Upgrade] Hard-Link Snapshot Fails with invalid cross-device link
  1. Installation and Deployment

[Deployment] SWAP Is Enabled During Deployment

Document IDMaintainerDescriptionVersion
2026111701corinSWAP is enabled during deploymentV2.0

Symptoms:#

The deployment precheck displays “SWAP is enabled,” indicating that a swap partition or swap file is active on the server.
SWAP warning in the deployment precheck
SWAP status check results

Cause:#

SWAP moves some memory pages to disk, which may affect node memory management and service responsiveness. The current deployment configuration requires SWAP to be disabled, so the installer checks its status before deployment.

Solution 1: Disable SWAP Temporarily#

1. Disable SWAP and check its status#

Run the following commands on the server to be deployed:
Confirm that the total Swap capacity in free -h is 0 and that swapon --show lists no active swap space. Then rerun the deployment precheck.

Solution 2: Keep SWAP Disabled After a Reboot#

1. Update the persistent configuration#

Disabling SWAP temporarily does not automatically change the startup configuration. If SWAP is enabled through /etc/fstab, edit that file, comment out entries of type swap, and then perform Solution 1.

2. Verify the configuration after a reboot#

After a scheduled reboot, check free -h and swapon --show again. If SWAP is enabled again, check for other system configurations that enable it automatically.
Modified at 2026-11-17 04:54:35
Next
[Deployment] System Dependency Installation Dry Run Fails
Built with