Self-Hosted Admin Panel¶
Access at: https://yourdomain.com/selfhost/admin/
Requires superuser login. Manage your entire installation without SSH.
Health Dashboard¶
- Real-time CPU, memory, disk usage
- Service status (gunicorn, celery, nginx, postgres, neo4j)
- Agent traces in last 24 hours
- Auto-refreshes every 30 seconds
Services Tab¶
- View all service statuses
- Restart backend, celery, celerybeat with one click
Log Viewer¶
- View last 100 lines per service
- Available: ragleap, celery, nginx, gunicorn
Backup and Restore¶
- One-click PostgreSQL backup
- Download backup to your local machine
- Restore from uploaded backup file
- Auto-prunes to keep last 10 backups
Automated daily backup:
crontab -e
# Add this line:
0 2 * * * bash /opt/ragleap/scripts/backup.sh >> /var/log/ragleap_backup.log 2>&1
Config Editor¶
- Edit .env directly in browser
- Secrets are masked for security
- Save triggers automatic service restart
License Tab¶
- View plan, status, workspace count
- Re-validate license online
- Link to upgrade
Updating RagLeap¶
cd /var/www/ragleap/backends/claude_backend
git pull origin main
source /var/www/ragleap/venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
supervisorctl restart ragleap
Upgrading RagLeap¶
Command line upgrade (recommended)¶
From Admin Panel¶
- Go to
http://localhost/selfhost/admin/ - Click Updates tab
- Click Update Now
- Services restart automatically — zero data loss
Upgrading your plan (Free → Paid)¶
- Buy new plan at ragleap.com/pricing/#server-edition
- Receive new license key by email (RAGL-XXXX-XXXX-XXXX-XXXX)
- Go to Admin Panel → License tab
- Paste new key → click Re-validate
- New features unlock immediately — no reinstall needed
Zero data loss on upgrade
All your conversations, documents, and settings are preserved. Upgrading just unlocks more features.