Migration Date: TBD (Mac Studio return planned)
Current Setup: Mac Studio (M2 Ultra, macOS 15.2, ARM64)
Target Setup: Intel NUC (Linux-based, likely Ubuntu/Debian, x86_64)
- OpenClaw Gateway: Running as LaunchAgent (PID 67650)
- Active Sessions: 1712 sessions, main agent active
- Models: Default qwen3-coder-next:latest (local), Anthropic Claude available
- Channels: Slack + Signal configured and operational
- Security: 3 critical + 3 warn + 1 info (mainly Slack groupPolicy="open")
- Storage: 11GB used of 926GB available (~720GB free)
- Workspace:
/Users/cb/.openclaw/workspace(~2.2GB with cerebruh.is repo)
-
OpenClaw Configuration
~/.openclaw/openclaw.json(6.8KB, modified Mar 8)- Agent configurations in
~/.openclaw/agents/ - Session history in
~/.openclaw/agents/main/sessions/
-
Credentials & Secrets
- BWS access token and profile config
- GitHub SSH key:
~/.openclaw/workspace/.ssh/github_marclar - All API keys stored in Bitwarden Secrets (remote, safe)
-
Workspace Data
- Repository:
cerebruh.is(cloned with git history) - Documentation:
AGENTS.md,SOUL.md,USER.md, etc. - Memory files:
MEMORY.md+memory/*.md - Project files and scripts
- Repository:
-
Platform-Specific Dependencies
- Homebrew packages (
node,openclaw) - Claude CLI (Anthropic subscription-based)
- macOS-specific integrations (if any)
- Homebrew packages (
- Install Base OS (Ubuntu LTS or Debian Stable)
- Install Node.js (v25.7.0+ to match current)
- Install OpenClaw
npm install -g openclaw # or curl install script - Install Required Tools
git,curl,wgetclaudeCLI (if available on Linux/x86_64)- BWS CLI from Bitwarden
- Any other CLI tools found in current setup
-
Export OpenClaw Configuration
# On Mac Studio tar -czf openclaw-backup.tar.gz ~/.openclaw/
-
Export Workspace
# On Mac Studio tar -czf workspace-backup.tar.gz ~/.openclaw/workspace/
-
Secure Transfer
- Use
scpor encrypted transfer to move archives - Verify checksums after transfer
- Use
-
Import on NUC
# On NUC tar -xzf openclaw-backup.tar.gz -C ~/ tar -xzf workspace-backup.tar.gz -C ~/
-
Initialize OpenClaw Gateway
openclaw gateway start openclaw status # verify -
Configure BWS Authentication
bws config # re-auth if needed # Test access to key credentials
-
Verify Channel Connectivity
- Test Slack bot connection
- Test Signal integration
- Verify GitHub API access
-
Model Configuration
- Set up local models (qwen3-coder-next)
- Configure Anthropic API access
- Test Claude CLI if available on Linux
-
Update External Service Endpoints
- Hetzner VMs: Update any hardcoded Mac Studio IPs
- Webhooks: Redirect to NUC endpoints if applicable
- DNS/networking: Ensure NUC is reachable
-
Cron Jobs & Automation
- Migrate any scheduled tasks
- Verify GitHub agent automation works
- Test heartbeat functionality
-
Security Hardening
- Address security audit findings
- Configure firewall rules
- Set up proper systemd services (vs macOS LaunchAgents)
- Risk: Binary incompatibility, especially local models
- Mitigation: Download x86_64 versions of all binaries
- Specific Concern: Local qwen3-coder model may need re-download
- Risk: Claude CLI might not be available on Linux
- Mitigation:
- Test availability during Phase 1
- Alternative: Use API directly through OpenClaw
- Fallback: Adjust github-agent workflow to use sessions_spawn
- Risk: macOS-specific integrations may break
- Mitigation:
- Audit current skills for macOS dependencies
- Replace with Linux equivalents where possible
- Document any lost functionality
- Risk: Downtime during migration
- Mitigation:
- Perform migration during low-activity period
- Keep Mac Studio running until NUC is fully verified
- Gradual cutover with rollback plan
-
OpenClaw Gateway
- Dashboard accessible
- WebSocket connections stable
- Agent spawning works
-
Channel Integration
- Slack bot responds to mentions
- Signal messages route correctly
- Message delivery and reactions work
-
GitHub Automation
- GitHub agent can scan issues
- Claude Code integration functional
- PR creation and merging works
- CI gate scripts execute
-
Model Access
- Local models load and respond
- Anthropic API calls succeed
- Token usage tracking accurate
-
Workspace Operations
- File read/write operations
- Git operations (clone, push, pull)
- BWS credential access
- Memory search functionality
If migration fails or issues arise:
-
Keep Mac Studio Available
- Don't wipe until NUC is 100% validated
- Maintain parallel operation initially
-
Quick Revert Procedure
# On Mac Studio openclaw gateway start # if stopped # Update any external service endpoints back
-
Data Sync Back
- If work happened on NUC, sync changes back to Mac Studio
- Ensure no data loss during transition
- Monitor CPU/memory usage vs Mac Studio baseline
- Adjust concurrent agent limits if needed
- Optimize local model performance on x86_64
- Complete security audit on new platform
- Implement systemd service isolation
- Configure proper user permissions
- Set up fail2ban or similar protection
- Set up health check automation
- Configure log rotation
- Implement backup schedules for critical data
## Migration Execution Log
### Pre-Migration (Date: _______)
- [ ] Mac Studio data backed up
- [ ] NUC environment ready
- [ ] All stakeholders notified
### Migration Day (Date: _______)
- [ ] Data transferred successfully
- [ ] OpenClaw started on NUC
- [ ] Basic functionality verified
- [ ] Channels responding
- [ ] GitHub integration tested
### Post-Migration (Date: _______)
- [ ] 24-hour stability confirmed
- [ ] Performance benchmarked
- [ ] All automation verified
- [ ] Mac Studio safely decommissionedEstimated Migration Time: 4-6 hours
Recommended Migration Window: Weekend or low-activity period
Success Criteria: All current functionality preserved, no data loss, <1hr total downtime