Skip to content

docs: add FAQ and Troubleshooting section to README#7763

Open
meichuanyi wants to merge 1 commit intoAstrBotDevs:masterfrom
meichuanyi:docs/add-faq-troubleshooting-section
Open

docs: add FAQ and Troubleshooting section to README#7763
meichuanyi wants to merge 1 commit intoAstrBotDevs:masterfrom
meichuanyi:docs/add-faq-troubleshooting-section

Conversation

@meichuanyi
Copy link
Copy Markdown

@meichuanyi meichuanyi commented Apr 24, 2026

Summary

Add a FAQ and Troubleshooting section to the English README to help new users quickly resolve common issues.

Changes

  • Added FAQ section covering: supported messaging platforms, LLM provider compatibility, self-hosted model usage, and plugin installation
  • Added Troubleshooting section covering: message delivery issues, API key/authentication errors, startup crashes, plugin failures, and WebUI accessibility

Motivation

The README currently lacks a dedicated FAQ/Troubleshooting section. New users frequently encounter setup and configuration questions that could be self-served with this documentation, reducing support burden on maintainers.

Checklist

  • Follows project's commit message convention (docs: prefix)
  • Content is specific to AstrBot's features and common user issues
  • Changes are limited to documentation only

Summary by Sourcery

Add a new FAQ and Troubleshooting section to the main README to help users resolve common setup and runtime issues.

Documentation:

  • Document common questions about supported messaging platforms, LLM providers, self-hosted models, and plugin installation in the README.
  • Add troubleshooting guidance for message delivery problems, authentication/API key errors, startup failures, plugin issues, and WebUI accessibility.

@auto-assign auto-assign Bot requested review from Fridemn and Soulter April 24, 2026 06:13
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Apr 24, 2026
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The PLACEHOLDER line under ## ❤️ Sponsors will be rendered in the README; consider removing it or replacing it with actual content before merging.
  • The internal links to [Supported Messaging Platforms](#supported-messaging-platforms) and [Supported Model Services](#supported-model-services) assume specific heading IDs; please confirm these IDs match the existing section headers or adjust the link targets to avoid broken navigation.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `PLACEHOLDER` line under `## ❤️ Sponsors` will be rendered in the README; consider removing it or replacing it with actual content before merging.
- The internal links to `[Supported Messaging Platforms](#supported-messaging-platforms)` and `[Supported Model Services](#supported-model-services)` assume specific heading IDs; please confirm these IDs match the existing section headers or adjust the link targets to avoid broken navigation.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive FAQ and Troubleshooting section to the README.md, covering common questions about messaging platforms, LLM providers, and general troubleshooting steps. Feedback suggests aligning the Python version requirement with other sections of the documentation, providing cross-platform commands for port checking, and removing a placeholder string in the Sponsors section.

Comment thread README.md
- Test the API key independently with `curl` to isolate provider issues

**Q: AstrBot fails to start or crashes on launch.**
- Ensure Python 3.10+ is installed: `python --version`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There's an inconsistency in the required Python version. This line states Python 3.10+, but the "Quick Start" section for uv deployment recommends Python 3.12 or later. To avoid confusion for new users, please align the version requirement across the document. Based on the deployment instructions, 3.12+ seems to be the current recommendation.

Suggested change
- Ensure Python 3.10+ is installed: `python --version`
- Ensure Python 3.12+ is installed: `python --version`

Comment thread README.md
**Q: The WebUI is not accessible.**
- Verify AstrBot is running and the WebUI port (default: 6185) is not blocked
- Check firewall rules if accessing from a remote machine
- Ensure no other process is using port 6185: `lsof -i :6185`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The lsof command is specific to Unix-like systems (Linux, macOS) and won't work on Windows. To make this troubleshooting step more helpful for all users, consider adding the equivalent command for Windows.

For example, you could suggest netstat -ano | findstr :6185 for Windows users.

Suggested change
- Ensure no other process is using port 6185: `lsof -i :6185`
- Ensure no other process is using port 6185 (e.g., `lsof -i :6185` on Linux/macOS, or `netstat -ano | findstr :6185` on Windows)

Comment thread README.md


## ❤️ Sponsors
PLACEHOLDER
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This PLACEHOLDER text appears to be temporary. It should be replaced with the actual content or removed before merging to maintain the quality of the documentation. If there is no content yet, it's better to remove this line for now.

@meichuanyi
Copy link
Copy Markdown
Author

Hi! Just checking if there's any feedback on this FAQ addition. Happy to make adjustments if needed. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant