Files
siriusscan--sirius/documentation/dev/templates/TEMPLATE.troubleshooting.md
T
wehub-resource-sync 161ef94b4f
Check engine pin consistency / Dockerfile / CI pin consistency (push) Successful in 8s
Sirius CI/CD Pipeline / Detect Changes (push) Successful in 23s
Validate Docker Configuration / Validate Docker Compose Configuration (push) Successful in 47s
Sirius CI/CD Pipeline / Build API (${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Build UI (${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Engine Manifest (push) Has been cancelled
Sirius CI/CD Pipeline / Merge API Manifest (push) Has been cancelled
Sirius CI/CD Pipeline / Merge UI Manifest (push) Has been cancelled
Sirius CI/CD Pipeline / Build Engine (${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Build Infra (${{ matrix.service }}, ${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Infra Manifest (sirius-postgres) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Infra Manifest (sirius-rabbitmq) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Infra Manifest (sirius-valkey) (push) Has been cancelled
Sirius CI/CD Pipeline / Integration Test (push) Has been cancelled
Sirius CI/CD Pipeline / Public Stack Contract (push) Has been cancelled
Sirius CI/CD Pipeline / Dispatch Demo Deployment (sirius-demo branch) (push) Has been cancelled
Sirius CI/CD Pipeline / Dispatch Demo Canary (main branch) (push) Has been cancelled
Sirius CI/CD Pipeline / Guard Registry Namespace (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:32:25 +08:00

6.6 KiB

title, description, template, version, last_updated, author, tags, categories, difficulty, prerequisites, related_docs, dependencies, llm_context, search_keywords
title description template version last_updated author tags categories difficulty prerequisites related_docs dependencies llm_context search_keywords
[TROUBLESHOOTING TITLE] [Brief description of the troubleshooting focus area] TEMPLATE.troubleshooting 1.0.0 [YYYY-MM-DD] [Document Author]
[tag1]
[tag2]
[tag3]
[category1]
[category2]
intermediate
[prerequisite1]
[prerequisite2]
[related-doc1.md]
[related-doc2.md]
[required-file1]
[required-directory/]
high
[keyword1]
[keyword2]
[keyword3]

[TROUBLESHOOTING TITLE]

Purpose

[Brief description of what problems this troubleshooting guide addresses and who should use it. Focus on the specific issue domain.]

When to Use This Guide

[Specific scenarios when this troubleshooting guide should be consulted:]

  • Primary Issues: [Main problems this guide addresses]
  • Error Messages: [Specific error messages this guide covers]
  • System States: [When the system is in a problematic state]
  • Before Escalating: [When to try this guide before seeking help]

How to Use This Guide

[Instructions for effective troubleshooting:]

  1. Start with Quick Fixes - Try the most common solutions first
  2. Follow the Flow - Use the diagnostic flow chart if available
  3. Gather Information - Collect relevant logs and system state
  4. Test Incrementally - Apply fixes one at a time and test
  5. Document Results - Note what worked and what didn't

Quick Diagnostic

# Essential diagnostic commands
[Provide key diagnostic commands]

Information Gathering

Before troubleshooting, collect:

  • [Required information 1]
  • [Required information 2]
  • [Required information 3]

Common Problems and Solutions

Problem 1: [Problem Name]

Symptoms:

  • [Symptom 1]
  • [Symptom 2]
  • [Symptom 3]

Root Cause: [Explanation of what causes this problem]

Solution:

  1. [Step 1 of solution]
  2. [Step 2 of solution]
  3. [Step 3 of solution]

Verification:

# Command to verify the fix worked
[verification command]

Prevention: [How to prevent this problem in the future]

Problem 2: [Problem Name]

[Continue with additional problems...]

Diagnostic Flow Chart

Start
  ↓
[First diagnostic question]
  ↓
Yes → [Action A] → [Next question]
  ↓
No → [Action B] → [Next question]
  ↓
[Continue flow...]
  ↓
End

Error Message Reference

Error: [Error Message]

Meaning: [What this error means]

Common Causes:

  • [Cause 1]
  • [Cause 2]
  • [Cause 3]

Solutions:

  1. [Solution 1]
  2. [Solution 2]
  3. [Solution 3]

Error: [Another Error Message]

[Continue with additional error messages...]

Command Reference

Diagnostic Commands

# [Command description]
[command] [options]

# [Another diagnostic command]
[command] [options]

# [Continue with diagnostic commands]

Fix Commands

# [Fix command description]
[command] [options]

# [Another fix command]
[command] [options]

# [Continue with fix commands]

Verification Commands

# [Verification command description]
[command] [options]

# [Another verification command]
[command] [options]

# [Continue with verification commands]

Log Analysis

Key Log Locations

  • [Log 1]: [Location and purpose]
  • [Log 2]: [Location and purpose]
  • [Log 3]: [Location and purpose]

Log Patterns to Look For

Success Patterns:

[Pattern that indicates success]

Error Patterns:

[Pattern that indicates errors]

Warning Patterns:

[Pattern that indicates warnings]

Log Analysis Commands

# [Command to analyze logs]
[command] | grep [pattern]

# [Another log analysis command]
[command] | grep [pattern]

# [Continue with log analysis commands]

System State Checks

Health Check Commands

# [Health check description]
[command]

# [Another health check]
[command]

# [Continue with health checks]

Resource Monitoring

# [Resource monitoring command]
[command]

# [Another resource check]
[command]

# [Continue with resource checks]

Advanced Troubleshooting

Deep Dive Diagnostics

[Advanced diagnostic techniques for complex issues:]

  1. [Advanced Technique 1]: [Description and when to use]
  2. [Advanced Technique 2]: [Description and when to use]
  3. [Advanced Technique 3]: [Description and when to use]

Performance Troubleshooting

[Specific guidance for performance-related issues:]

  • CPU Issues: [How to diagnose and fix]
  • Memory Issues: [How to diagnose and fix]
  • Disk Issues: [How to diagnose and fix]
  • Network Issues: [How to diagnose and fix]

Integration Troubleshooting

[Issues related to system integration:]

  • Service A Integration: [Common issues and solutions]
  • Service B Integration: [Common issues and solutions]
  • External System Integration: [Common issues and solutions]

Escalation Procedures

When to Escalate

[Criteria for when to escalate to higher support levels:]

  • [Escalation criteria 1]
  • [Escalation criteria 2]
  • [Escalation criteria 3]

Information to Include

[What information to gather before escalating:]

  • [Required information 1]
  • [Required information 2]
  • [Required information 3]

Escalation Contacts

  • Level 1: [Contact information]
  • Level 2: [Contact information]
  • Level 3: [Contact information]

Prevention Strategies

Best Practices

[How to prevent these problems from occurring:]

  • [Best practice 1]
  • [Best practice 2]
  • [Best practice 3]

Monitoring and Alerting

[How to monitor for these issues:]

  • [Monitoring approach 1]
  • [Monitoring approach 2]
  • [Monitoring approach 3]

Regular Maintenance

[Maintenance tasks to prevent issues:]

  • [Maintenance task 1]
  • [Maintenance task 2]
  • [Maintenance task 3]

[Links to related troubleshooting and reference documentation:]

  • [Related Troubleshooting Guide]: [Brief description]
  • [System Reference]: [Technical reference]
  • [Configuration Guide]: [Configuration documentation]

LLM Context

[Additional context for Large Language Models:]

  • Problem Patterns: [Common problem patterns to recognize]
  • Solution Strategies: [General approaches to problem-solving]
  • System Dependencies: [How different components interact]
  • Failure Modes: [Common ways the system can fail]
  • Recovery Procedures: [How to recover from various failure states]

This document follows the Sirius Documentation Standard. For questions about documentation structure, see ABOUT.documentation.md.