Update CONTEXT with npm installation model, Homebrew wrapper setup, systemd service config, and MiniMax integration. Expand troubleshooting with gateway, Docker, and Homebrew error scenarios. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
81 lines
2.5 KiB
Markdown
81 lines
2.5 KiB
Markdown
# OpenClaw Personal AI Assistant
|
|
|
|
Personal AI assistant running on LXC 224 with MiniMax M2.1 integration and Discord connectivity.
|
|
|
|
## Quick Access
|
|
|
|
- **Gateway Web UI:** http://10.10.0.224:18789
|
|
- **LXC IP:** 10.10.0.224
|
|
- **SSH (root):** `ssh root@10.10.0.224`
|
|
- **SSH (openclaw):** `ssh openclaw@10.10.0.224` (password: `openclaw`)
|
|
- **Config Location:** `/opt/openclaw/`
|
|
|
|
## System Users
|
|
|
|
- **root:** System administration, Docker operations
|
|
- **openclaw:** Homebrew package management, skill dependencies (UID 1000)
|
|
|
|
## Quick Commands
|
|
|
|
```bash
|
|
# Start/stop/restart
|
|
ssh root@10.10.0.224 'cd /opt/openclaw && docker compose up -d'
|
|
ssh root@10.10.0.224 'cd /opt/openclaw && docker compose down'
|
|
ssh root@10.10.0.224 'cd /opt/openclaw && docker compose restart'
|
|
|
|
# View logs
|
|
ssh root@10.10.0.224 'cd /opt/openclaw && docker compose logs -f'
|
|
|
|
# Approve Discord pairing
|
|
ssh root@10.10.0.224 'cd /opt/openclaw && docker compose exec openclaw-gateway openclaw pairing approve discord <code>'
|
|
|
|
# Health check
|
|
ssh root@10.10.0.224 'cd /opt/openclaw && docker compose exec openclaw-gateway openclaw doctor'
|
|
|
|
# Install skill dependencies via Homebrew
|
|
ssh root@10.10.0.224 "brew-as-openclaw install jq ffmpeg imagemagick"
|
|
|
|
# Install skills (as openclaw user)
|
|
ssh openclaw@10.10.0.224 'cd /opt/openclaw/workspace && clawhub install <skill-name>'
|
|
```
|
|
|
|
## Current Configuration
|
|
|
|
- **AI Provider:** MiniMax M2.1
|
|
- **Chat Platform:** Discord (DM pairing enabled)
|
|
- **Resources:** 2 cores, 4GB RAM, 32GB disk
|
|
- **Security:** Pairing code required for new DM conversations
|
|
|
|
## Documentation
|
|
|
|
- **Technology Overview:** [CONTEXT.md](./CONTEXT.md)
|
|
- **Troubleshooting:** [troubleshooting.md](./troubleshooting.md)
|
|
- **Official Docs:** https://docs.openclaw.ai/
|
|
|
|
## Setup Checklist
|
|
|
|
- [ ] LXC 224 created with proper resources
|
|
- [ ] Docker Compose stack deployed
|
|
- [ ] MiniMax API key configured
|
|
- [ ] Discord bot created and invited
|
|
- [ ] Discord intents enabled (Message Content + Server Members)
|
|
- [ ] DM pairing completed
|
|
- [ ] Infrastructure inventory updated
|
|
- [ ] Documentation created
|
|
|
|
## Resource Monitoring
|
|
|
|
```bash
|
|
# Check LXC resource usage (from Proxmox host)
|
|
ssh root@10.10.0.11 "pct exec 224 -- docker stats --no-stream"
|
|
|
|
# Check disk usage
|
|
ssh root@10.10.0.224 "df -h /opt/openclaw && du -sh /opt/openclaw/workspace"
|
|
```
|
|
|
|
## Maintenance
|
|
|
|
- **Updates:** Auto-updates on restart (`:latest` tag)
|
|
- **Backups:** Configuration in version control, workspace in `/opt/openclaw/workspace`
|
|
- **Monitoring:** Health check at http://10.10.0.224:18789/health
|