986b54b6200c8bdda4f6c7a36cdb9636ddeb35bc
ISSUE: Lines 214, 216, 224, 226 had same grep -v | wc -l pattern that fails when all databases are system databases (filtered out by grep -v). With set -eo pipefail: - If no user databases exist: grep -v filters everything - grep returns exit code 1 (no matches) - Script crashes SCENARIO: Server with only system databases (mysql, information_schema, etc.) 1. Line 214: Count user databases 2. grep -v filters all of them 3. Returns exit code 1 4. Script crashes FIXES: Line 214: Plesk database count - BEFORE: grep -v ... | wc -l - AFTER: grep -v ... | wc -l || echo 0 Line 216: Standard database count - BEFORE: grep -v ... | wc -l - AFTER: grep -v ... | wc -l || echo 0 Line 224: Plesk database list - BEFORE: grep -v ... - AFTER: grep -v ... || echo "" Line 226: Standard database list - BEFORE: grep -v ... - AFTER: grep -v ... || echo "" IMPACT: - Reference database building handles servers with no user databases - Launcher no longer crashes on minimal database setups - Graceful fallback to empty/zero values Testing: - bash -n validates syntax - Returns sensible defaults (0 for counts, empty for lists) 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%