1. Routine Maintenance
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. Routine Maintenance

[Operations] Common Commands and Scripts for Version 2.0

Document IDMaintainerDescriptionVersion
2026111708corinCommon operations and maintenance commands and scripts for version 2.0V2.0

Symptoms:#

Routine operations require service checks, data backup and recovery, log export, installation resumption, service restarts, or uninstallation.

Cause:#

These operations involve the installer, backup and recovery scripts, systemd, and K3s. Select the appropriate command for the operation you need to perform.

Solution 1: Select Commands by Operation#

The examples below are independent commands; run only those needed for your task. Run commands beginning with ./ from the directory containing the executable or script. Replace parameters in angle brackets with actual values. Use an account with the required permissions for system-level commands.

1. Check service and node status#

2. Back up and restore data#

3. Export FlightHub logs#

--last-days 1 exports logs from the last day. The $(date +%F_%T) expression adds a timestamp to the filename, such as 2026-11-17_14:30:00; it is not a separate command.

4. Start visual deployment or resume installation#

Select the startup method that matches your situation. Avoid running multiple installer instances at the same time.

5. Perform a rolling restart of a workload#

Replace the resource type, name, and namespace with actual values. For example, the following command performs a rolling restart of the tas-service Deployment in the flighthub2 namespace, recreating its managed Pods:

6. Locate the deployment directory and installer#

7. Check installation progress#

Press Ctrl+C to stop following the log, then inspect the installation status files as needed:

8. Check for blocked kernel tasks#

This command finds records of tasks blocked for extended periods. These records can help investigate disk I/O issues, but matching log entries alone do not establish a disk failure.

9. Uninstall FlightHub#

Select one of the following methods depending on whether user data needs to be removed:
--purge removes user data. Back up any data that must be retained before running this command.
Modified at 2026-11-17 03:55:49
Previous
[Operations] Restart FlightHub Services
Next
[Operations] Restore Images Removed by K3s Garbage Collection
Built with