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] Elevation Import Stuck in “Processing” or Failing to Enable: Troubleshooting by Symptom

Document IDMaintainerDescriptionVersion
2026113017corinTroubleshooting by symptom and reset/re-import for elevation imports that have not recovered2.x
First run the 4 commands in Status Check and Quick Recovery, “Part 1: Refresh the Page and Identify the Issue Type”, and use the triage table there (the meaning of status is given in that section's table). Then read the matching section below; there is no need to read everything: [Operations] Elevation Import Stuck in “Processing” or Failing to Enable: Status Check and Quick Recovery.
Replace <…> in commands, including the angle brackets, with the actual value. Job, Pod, and container commands are run on the K3s control plane node; management service logs and API commands are run where each section says. The Job, Pod, and container names in this document apply only to imports started from the AIO page. For script imports, do not look for these names; check the error output by the script instead.

Section 1: Job Completed, but Elevation Still Shows Processing#

Symptoms:#

The elevation keeps showing “Processing” and does not change after pressing F5. The Job is Complete, but the elevation record's status is still 2.

Cause:#

The management service (flighthub2-mgmt) may still be cleaning up source data, may have failed to write back the final status (“final status write-back failure”), or may have restarted during the import. If the total time exceeds 2 hours (V2.0), it may also have stopped waiting.

Procedure:#

1.
Confirm that the task itself succeeded: check whether the import log contains elevation-import-done. Take <Job_Name> from the jobName in the elevation record:
If the task retried, do not check only the first Pod's log; go through all Pods as described in “Section 3: Import Job Failed”.
2.
Check whether the management service is still processing, or failed to write back the status. Run this on the node where the management service runs, replacing <import_start_time> with the actual time, for example "2026-11-30 10:00:00":
3.
Act on the result:
The management service is still cleaning up source data: wait patiently; do not reset.
The log shows “终态写回失败” (final status write-back failure), or there is no further processing record: confirm that no task is running and the management service is no longer processing this record, then follow “Section 6: Reset and Re-Import Elevation Data”.
Total time exceeds 2 hours (V2.0): after confirming the original process has ended, follow Steps 1 and 2 of “Section 6: Reset and Re-Import Elevation Data” to disable the old record, then import with Status Check and Quick Recovery, “Part 2: Import Elevation Data Using the Script”, and report the elapsed time to technical support.

Section 2: No Job Found, but Elevation Still Shows Processing#

Symptoms:#

The elevation keeps showing “Processing” and does not change after pressing F5. The Job list is empty, but the elevation record's status is still 2.

Cause:#

The management service may still be downloading, decompressing, or uploading source data and has not created the task yet; the Job may have been cleaned up automatically more than 1 hour after it ended; or the management service may have restarted during the import, interrupting the original process.

Procedure:#

1.
Check whether the elevation record has a jobName: see the output of the second command in Status Check and Quick Recovery, “Part 1: Refresh the Page and Identify the Issue Type”.
2.
Check the management service status and logs, replacing <import_start_time> with the actual time:
3.
Act on the result:
The log shows downloading, decompression, or upload still in progress: wait; do not reset.
If any of the following applies, confirm that the management service is no longer processing this elevation, then follow “Section 6: Reset and Re-Import Elevation Data”:
The management service restarted during the import (since is later than the import start time).
A jobName exists, but the task is gone and the management service has no further activity.
There is no jobName, and the management service shows no activity either.
“No Job found” alone is not a reason to reset.

Section 3: Import Job Failed#

Symptoms:#

The elevation import failed, or it still fails after being enabled again, and the Job is Failed.

Cause:#

A stage in the task failed; images, Secrets, disk, database, object storage, and similar items may all be the cause.

Procedure:#

1.
Find the container that failed first. Take <Job_Name> from the jobName in the elevation record:
Imports started from the AIO page retry automatically at most 2 times and may leave multiple Pods. Take the earliest failure, and focus on State, Reason, and Exit Code under Init Containers and Containers.
2.
Act on the Pod status:
Pod statusAction
Pending or ContainerCreating with no change, or ImagePullBackOff, ErrImagePull, CreateContainerConfigErrorThe container did not start; follow “Section 4: Pod Waiting for a Long Time or Container Fails to Start”
Init:Error, Init:CrashLoopBackOff (a failure in the first three init stages), or Error (usually an import stage failure)Follow “Section 5: Import Container Errors”
Init:number/numberNormal initialization; keep waiting. If it does not change, follow “Section 5: Import Container Errors” to check the current stage's log
3.
Once the cause is fixed, re-import: confirm that no task is running, then follow “Section 6: Reset and Re-Import Elevation Data”. If the cause is not fixed, enabling it again will still fail.

Section 4: Pod Waiting for a Long Time or Container Fails to Start#

Symptoms:#

The import task's Pod stays Pending, or its status is ImagePullBackOff, ErrImagePull, CreateContainerConfigError, or ContainerCreating for a long time.

Cause:#

The container has not started normally. Common causes are insufficient resources, failure to pull the image, or missing configuration.

Procedure:#

1.
Check the Pod status and events. Take <Pod_Name> as the full name in the NAME column of the Pod list, and <Job_Name> as the Pod name without the trailing random suffix:
2.
Act on the events:
Status or eventAction
ImagePullBackOff / ErrImagePullNote the image name and the event, then contact technical support
CreateContainerConfigErrorCheck that the Secret and its fields are complete; the command is in the next step
FailedScheduling / insufficient resourcesCheck whether the configuration is below what the FlightHub 2 deployment manual requires; contact technical support if the issue remains
DiskPressure / insufficient ephemeral storageClean up node disk space according to site practices; do not delete business data
ContainerCreating with no changeCheck the node disk and the kubelet status
3.
Check the Secrets the task depends on:
The username and password of the main MinIO and static MinIO, and the PostgreSQL POSTGRES_PASSWORD, must all be present. This command does not display passwords in plain text. If a field is missing, contact technical support; do not create or modify it yourself.
4.
After the fix, wait for the Pod to continue and check the task status, logs, and page. If the Job has already been marked as failed, follow “Section 6: Reset and Re-Import Elevation Data” to re-import. If the image or Secret itself is missing, enabling it again repeatedly will not solve the problem.

Section 5: Import Container Errors#

Symptoms:#

A container stage of the import task reports an error: the Pod status is Init:Error, Init:CrashLoopBackOff, or Error, or the logs show which stage failed.

Cause:#

Investigate the following:
render-elevation-config: configuration generation, Secret references.
fetch-source: main MinIO connectivity and authentication, whether the source file exists, or copy errors.
db-migrate: elevation database connection, table creation errors.
import: data directory validation, DEM processing, database writes, MinIO upload, and terrain tagging.

Procedure:#

1.
Find the import task's Pod and check the STATUS column. If it retried there will be multiple Pods; start from the earliest failure and replace <Pod_Name> with the full name:
2.
Check the logs stage by stage in the order render-elevation-config → fetch-source → db-migrate → import. The first three are init stages; start from the earliest failing stage, since later stages are usually knock-on failures:
3.
Act on the error:
StageErrorAction
render-elevation-configCreateContainerConfigErrorCheck the minio-static and postgresql Secrets; see “Section 4: Pod Waiting for a Long Time or Container Fails to Start”
fetch-sourcetimeout waiting for minio, or a download connection errorRun the “MinIO check” below; once the main MinIO and object storage status are normal, retry
fetch-source[elevation] 源数据为空 (source data is empty)Confirm that the uploaded package is complete and was uploaded successfully; re-upload if necessary
db-migrateDatabase connection or authentication failureRun the “Database check” below; confirm that PostgreSQL is normal and the Secret has not been changed
importFile validation failure, source data structure mismatchCheck whether the package is complete, the format (.zip / .tar.gz), and the directory structure. It may also be that fetch-source did not download completely; check that stage's log. Script imports accept ZIP only
importDatabase write failureRun the “Database check” below, and check disk space
importObject storage write or permission setting failureRun the “Status and resource usage check” below; check the minio-static status and space. If space is confirmed insufficient, switch to Status Check and Quick Recovery, “Part 2: Import Elevation Data Using the Script”
MinIO check:
Database check:
Status and resource usage check:
There is currently no dedicated error code for “object storage space insufficient”. Judge space issues together with write errors and actual usage; not every import failure is caused by insufficient space.
4.
In the following cases, handling it yourself is of little use. Keep the complete log and contact technical support: render-elevation-config has empty variables or fails to write the configuration; db-migrate fails to create tables; import runs for a long time with low CPU and no new logs.
5.
Once the stage issue is resolved, check whether each stage is normal: render-elevation-config exits with code 0 and the log contains render-elevation-config-done; fetch-source and db-migrate exit with code 0; the import log contains elevation-import-done and the page shows “Enabled”.
elevation-import-done only means the script ran to the end; it does not by itself prove that all tiles were tagged correctly. Check the task status and the page result together. Once normal, follow “Section 6: Reset and Re-Import Elevation Data” to re-import.

Section 6: Reset and Re-Import Elevation Data#

Symptoms:#

The elevation record stays in “Processing” or shows “Failed”, and it needs to be re-imported after the cause has been handled.

Cause:#

The elevation record's status is 2 (Processing) or 3 (Failed). The original process has ended, and it must be reset before it can be re-imported.

Procedure:#

Re-importing overwrites the currently active elevation data, so schedule it during off-peak hours.
1.
Confirm that the original process has ended. Run this on the K3s control plane node:
The first command shows the task list; if you cannot tell from it whether a Job is still running, use the second to see its details. Take <Job_Name> from the jobName in the elevation record. If the task is still running, or the management service is still downloading, decompressing, uploading, or cleaning up this elevation, do not reset.
2.
On the page, disable first and then enable (recommended). Go to “Base Map Services → Elevation Settings”:
Currently “Processing”: disable it first, confirm it shows “Disabled”, then enable it.
Currently “Failed”: once the cause is handled, enable it directly.
Switching to the script: disable to reset, then run the script. Do not also enable it on the page; see Status Check and Quick Recovery, “Part 2: Import Elevation Data Using the Script”.
Do not use “Delete” in place of “Disable”. Deleting purges the original uploaded package, and the record can no longer be re-imported. Do not edit state.json manually; resetting before the original process has ended causes the same elevation to be processed by two flows at once.
3.
If the page cannot be used, reset through the API. Run this on the server where the management service runs; replace <admin_password> with the admin password and <elevation_ID> with the id of the stuck record in the query result. If the password contains characters such as ', ", or \, escape them according to JSON and shell rules:
If the record is still “Processing”, disable it first:
Query the elevation list again, confirm it shows “Disabled” (status is 1), then enable it. If it is already “Failed”, once the cause is handled run the enable request directly:
4.
Verify the result: the new elevation-import-<ID>-<timestamp> Job ends up Complete, the import log contains elevation-import-done, and the page shows “Enabled” with no red error prompt. For script imports, check as described in Status Check and Quick Recovery, “Part 2: Import Elevation Data Using the Script”, under “Verify the Result”.

Section 7: If the Issue Persists, Contact Technical Support#

If the issue persists after following this document, prepare the information listed in Status Check and Quick Recovery, “Part 3: If the Issue Persists, Contact Technical Support”.
Modified at 2026-11-30 09:20:54
Previous
[Operations] Elevation Import Stuck in “Processing” or Failing to Enable: Status Check and Quick Recovery
Next
[Operations] Switch from HTTP to HTTPS
Built with