RAGFlow Update
This skill automates the process of updating RAGFlow within the mycelia-ai-stack environment.
Workflow
Preparation:
- Locate the RAGFlow directory (usually
/opt/mycelia-ai-stack/ragflow). - Verify the
.secretsfile exists in/opt/mycelia-ai-stack/.secrets.
- Locate the RAGFlow directory (usually
Backup:
- Create a timestamped backup of the
ragflowdirectory:cp -r /opt/mycelia-ai-stack/ragflow /opt/mycelia-ai-stack/ragflow_backup_$(date +%F_%H%M)
- Create a timestamped backup of the
Download Updates:
- Pull the latest RAGFlow image:
docker pull infiniflow/ragflow:latest
- Pull the latest RAGFlow image:
Execute Update Script:
- Run the provided installation script:
bash /opt/mycelia-ai-stack/scripts/12-ragflow.sh - This script fetches official configs, updates the
.envfrom secrets, and restarts services.
- Run the provided installation script:
Verification:
- Check the running version:
docker exec ragflow-ragflow-cpu-1 cat /ragflow/VERSION - Compare the new
.envwith the backup to ensure persistence.
- Check the running version: