7bf42ee2f7683bbbb3a14cd0713dda69823f1690
CRITICAL BUG FIX: Previous implementation had 5 critical bugs: 1. Returned ALL domains on system instead of per-user domains 2. Early returns prevented fallback methods 3. Find command precedence error 4. Apache configs don't contain user info (design flaw) 5. Silent failures with no output validation New implementation: - USER-SPECIFIC: Only searches /home/$username/ directory - Proper find syntax: \( -name "public_html" -o -name "html" \) - Discovers domains from standard structure: /home/user/domain.com/public_html - No early returns, simple and correct logic - Tested: verified user-specific discovery works correctly Impact: - Standalone servers now correctly map domains to users - Domain discovery no longer corrupts reference database - All domain-dependent tools can now function properly Testing: - Syntax validated: bash -n - Standard structure test: ✓ Finds 3 domains - Multi-user test: ✓ Each user gets only their domains - Find operator precedence: ✓ Fixed with parentheses Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
🧪 Linux Server Toolkit - DEV Branch
STATUS: 🚀 Development & Testing Branch (Separate from Production)
This is the
devbranch for testing, development, and experimentation. Changes here are isolated from production and can be safely tested before merging to main.
🚀 Quick Start
One command - pulls dev branch with YELLOW ⚠️ BETA banner:
curl -sL https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit/archive/dev.tar.gz | tar xz && source linux-server-management-toolkit/run.sh
When exiting (option 0), answer "yes" and cleanup happens automatically - no extra steps.
📍 Key Differences (Dev vs Production)
| Feature | Dev Branch | Production |
|---|---|---|
| Cache | .sysref.beta |
.sysref |
| Version | 2.1.0-BETA |
2.1.0 |
| Banner | 🟨 Yellow (⚠️) | 🔵 Cyan |
| Git Branch | dev |
main |
| Purpose | Testing & Development | Stable/Production |
📦 Features
Comprehensive multi-panel server management suite supporting cPanel, InterWorx, Plesk, and standalone Apache with:
- 🛡️ Security & Monitoring: Live attack monitor, bot blocker, malware scanner, IP reputation
- 💾 Backup & Recovery: Acronis management, MySQL database restore
- 🌐 Website Diagnostics: Error analysis, WordPress tools, Cloudflare detection
- 📧 Email Diagnostics: Mail queue, blacklist checker, SPF/DKIM/DMARC validation
- 📊 Performance Analysis: MySQL optimization, PHP tuning, hardware health, Varnish cache
- 🔍 System Diagnostics: Health checks, loadwatch analysis, bandwidth monitoring
📖 Documentation
For detailed documentation, see the main repository: https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit
Version: 2.1.0-BETA Repository: https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit Branch: dev
Languages
Shell
100%