docs/DEPLOYMENT_FAQ.md
This document collects common deployment questions and practical troubleshooting paths for Astron Agent.
If you already have Astron Agent running and want to upgrade to the latest version, follow these steps:
# Enter the astronAgent directory
cd docker/astronAgent
# Stop all services, including Casdoor
docker compose -f docker-compose-with-auth.yaml down
# Fetch the latest code
git fetch
git pull
# Pull the latest images
docker compose -f docker-compose-with-auth.yaml pull
# Reconfigure and start again based on the deployment docs
# Refer to DEPLOYMENT_GUIDE_WITH_AUTH for the latest setup steps
docker-compose-with-auth.yaml with docker-compose.yamlUse the following checklist step by step. Back up important data before performing destructive operations.
docker compose -f docker-compose-with-auth.yaml down -v to clear containers and volumes. This removes all persisted data.git restore docker to discard local changes under the docker directory and return to the repository version.ASTRON_AGENT_VERSION environment variable to a stable release such as v1.0.0-rc.x.docker compose -f docker-compose-with-auth.yaml up -d to start all services again.docker/astronAgent/docker-compose.yaml and replace the ghcr.io/ prefix in the relevant image fields with ghcr.nju.edu.cn/.https://docker.nju.edu.cn, https://docker.xuanyuan.me, or https://docker.mirrors.ustc.edu.cn.git clone Fails Because Of Network Issuesgit clone https://gitclone.com/github.com/iflytek/astron-agent.githttps://freevaults.com/github-mirror-daily-updates.html.