青龙面板[Qinglong] icon

青龙面板[Qinglong]

青龙面板计划任务节点.详细API请参考:https://qinglong.online/api/

Overview

This node integrates with the QingLong panel API to manage various system resources, including dependencies. Specifically, for the "依赖管理" (Dependency Management) resource and the "强制删除依赖" (Force Delete Dependency) operation, it allows users to forcibly delete selected dependencies of specified types from the QingLong environment.

This is useful in scenarios where certain dependencies are corrupted, outdated, or causing conflicts and need to be removed forcefully rather than through standard uninstall procedures. For example, a user might want to clean up Node.js or Python3 packages that failed to uninstall properly.

Properties

Name Meaning
类型 The type of dependency to manage. Options: nodejs, python3, linux.
依赖列表【可多选】 A multi-select list of dependency IDs to operate on. These represent specific dependencies to be forcibly deleted.

Output

The node outputs JSON data under the field result within the first input item's JSON. This result contains the response from the QingLong API after attempting the forced deletion of the specified dependencies. The structure depends on the API's response but generally includes success status and any relevant messages or error details.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the QingLong panel API.
  • The node uses the QingLong API endpoints under /open/dependencies/force for the force delete operation.
  • Proper configuration of the QingLong API credentials in n8n is necessary.

Troubleshooting

  • Common Issues:

    • Invalid or expired API token leading to authentication errors.
    • Specifying dependency IDs that do not exist or are already removed.
    • Network connectivity issues preventing access to the QingLong API.
  • Error Messages:

    • If the operation is not implemented or parameters are missing, the node throws an error indicating the operation is not supported or incomplete.
    • API errors returned by QingLong will be surfaced as node execution errors; check the message for details such as permission denied or invalid dependency ID.
  • Resolution Tips:

    • Verify API credentials and refresh tokens if needed.
    • Confirm the dependency IDs exist by listing dependencies before attempting deletion.
    • Ensure network access to the QingLong server.
    • Use the node’s list operations to validate inputs before running destructive operations.

Links and References


This summary focuses on the "依赖管理" resource and the "强制删除依赖" operation as requested.

Discussion