aliyun-sub2api-ops

Verify and troubleshoot a fixed Aliyun Sub2API Docker deployment.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Pans0020/opencode-skills --skill aliyun-sub2api-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aliyun-sub2api-ops
Source: https://github.com/Pans0020/opencode-skills/tree/main/aliyun-sub2api-ops
Command: npx skills add https://github.com/Pans0020/opencode-skills --skill aliyun-sub2api-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you reliably operate, upgrade, and troubleshoot a fixed Sub2API deployment on a specific Aliyun ECS server, especially when issues appear after Docker, docker-compose, proxy, Redis, or Neon Postgres related changes.

Core Features & Use Cases

  • Quick operational verification: Checks container state, verifies login availability, confirms app initialization via the public settings endpoint, and reviews recent logs before proceeding.
  • Controlled upgrades with rollback-friendly steps: Uses pinned image tags, backs up compose configuration, recreates the container safely, and validates outcomes afterward.
  • Proxy and database issue isolation: Validates system proxy (Xray service), confirms correct proxy addressing from inside the container, and provides guided database edits using credentials from the server’s .env.

Quick Start

When you need to upgrade or debug the Sub2API service on that Aliyun server, run the Skill and follow the prescribed checks and upgrade steps in the same turn.

Frequently Asked Questions about aliyun-sub2api-ops

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely upgrade a Docker compose deployment on Aliyun ECS?

To safely upgrade a Docker compose deployment on Aliyun ECS, the Skill backs up compose configuration, applies pinned image tags, recreates containers safely, and validates outcomes by checking container state and API endpoints.

How do I troubleshoot Xray proxy connectivity issues inside a Docker container?

To troubleshoot Xray proxy connectivity, validate the system Xray service status and confirm correct proxy addressing from inside the Docker container to isolate routing issues.

How can I edit user roles in Neon Postgres for a containerized application?

To edit user roles in Neon Postgres, perform guided database edits using credentials securely read from the host's .env file located at /root/ResearchWang13/.env.

What checks should I run before restarting a Sub2API Docker service?

Before restarting a Sub2API Docker service, run operational verification by checking container state, verifying login availability, confirming app initialization via the public settings endpoint, and reviewing recent logs.

Why is my Redis connection failing after a Docker compose upgrade on Aliyun?

Redis connection failures after a Docker compose upgrade on Aliyun are isolated by performing deterministic health checks on container states and reviewing recent application logs to identify connectivity breakdowns.

Can I manage my Aliyun server deployment without directly exposing my .env secrets?

Yes, you can manage Aliyun server deployments safely because the Skill reads secrets safely from /root/ResearchWang13/.env on the host and performs guided database edits without exposing credentials.