A beginner-friendly toolkit to get Sol (or any OpenClaw AI) back online when things go wrong. Includes AI-powered repair assistance using Ollama.
| Script | What It Does |
|---|---|
SolCal-Recovery.sh |
Main diagnostic + AI repair |
start-sol.sh |
Quick start Sol |
save-sol.sh |
Backup all Sol data |
restore-sol.sh |
Restore from backup |
emergency-repair.sh |
Nuclear option - reset everything |
ai-repair.sh |
Ask AI for help with your issue |
cd SolCal-Recovery
# Make scripts executable
chmod +x *.sh
# Run diagnostics
bash SolCal-Recovery.sh
# Or just start Sol
bash start-sol.sh-
OpenClaw installed
brew install openclaw
-
Ollama (optional, for AI repair)
curl -fsSL https://ollama.ai/install | sh
bash SolCal-Recovery.shChecks:
- OpenClaw installed?
- Gateway running?
- Gateway connected?
- API keys configured?
- Network working?
bash start-sol.shStarts the gateway if not running. Reports status.
bash save-sol.shBacks up to ~/SolCal-Backups/YYYYMMDD_HHMMSS/:
- Config (
openclaw.json) - Sessions
- Skills
- GitHub token
bash restore-sol.sh ~/SolCal-Backups/20260403_120000Restores from a backup folder.
bash emergency-repair.shNuclear option:
- Stops gateway
- Clears logs
- Checks/reinstalls OpenClaw
- Starts fresh
- Verifies working
bash ai-repair.sh "Sol won't respond"Uses local Ollama (llama3.2:1b) to diagnose and suggest fixes.
bash SolCal-Recovery.sh diagnose
# OR
bash emergency-repair.sh# Edit config
open ~/.openclaw/openclaw.json
# Check auth section has your key
"auth": {
"profiles": {
"minimax": {
"api_key": "YOUR_KEY_HERE"
}
}
}# Check if running
openclaw gateway status
# Restart
openclaw gateway restart
# Or force restart
pkill -f openclaw
openclaw gateway start# Check network
curl https://api.minimax.io
# Check firewall
sudo pfctl -d # Temporarily disableThe toolkit uses Ollama with a small model (llama3.2:1b) to:
- Read your system status
- Understand your issue
- Suggest specific commands
It runs completely offline after downloading the model.
# First time setup
bash SolCal-Recovery.sh ollama
# Then use
bash ai-repair.sh "your issue here"-
Quick Check
bash start-sol.sh
-
If Not Working - Diagnose
bash SolCal-Recovery.sh
-
Auto-Repair
bash SolCal-Recovery.sh repair
-
Still Broken - Emergency
bash emergency-repair.sh
-
Need AI Help
bash ai-repair.sh "describe the problem"
SolCal-Recovery/
├── SolCal-Recovery.sh # Main diagnostic
├── start-sol.sh # Quick start
├── save-sol.sh # Backup
├── restore-sol.sh # Restore
├── emergency-repair.sh # Nuclear reset
├── ai-repair.sh # AI assistant
└── README.md # This file
- Run diagnostics regularly to catch issues early
- Run
save-sol.shweekly - Keep the
~/SolCal-Backups/folder backed up somewhere safe - The AI repair needs ~2GB for the model
brew install openclawopenclaw gateway stop
openclaw gateway startopen ~/.openclaw/openclaw.json
# Edit and save new keyBuild for Sol by Sol. Get back online quickly.