From 2d17c145ba883f8bdf4293160ec7cb832d7e4020 Mon Sep 17 00:00:00 2001 From: cschantz Date: Thu, 20 Nov 2025 15:51:48 -0500 Subject: [PATCH] Update InterWorx validation and documentation with real server test results MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VALIDATOR IMPROVEMENTS: • Fixed InterWorx version parsing to only grab first 'version=' line • Added head -1 and quote stripping for clean output • Now shows: "6.14.5" instead of multi-line garbage DOCUMENTATION UPDATES (REFDB_FORMAT.txt): • Marked ALL InterWorx unknowns as ✅ RESOLVED • Added real server test date: 2025-11-20 • Documented log rotation behavior (symlinks to dated files) • Confirmed Domain→User and User→Domains lookups work • Confirmed standard crontab works • Listed tested InterWorx version: 6.14.5 • Documented PHP version location in vhost configs INTERWORX STATUS: ✅ File paths: VERIFIED ✅ Log names: VERIFIED (transfer.log not access_log) ✅ Log location: VERIFIED ✅ Database prefix: VERIFIED (username_) ✅ Domain lookups: VERIFIED (both methods work) ✅ User lookups: VERIFIED (vhost parsing works) ✅ Cron system: VERIFIED (standard crontab) ✅ Full validation: PASSED (23 PASS, 0 FAIL, 4 WARN) InterWorx support is now FULLY VALIDATED and production-ready! Next: Plesk validation on real server --- REFDB_FORMAT.txt | 10 +++++++--- testing/validate-interworx.sh | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/REFDB_FORMAT.txt b/REFDB_FORMAT.txt index e271dda..681d4a3 100644 --- a/REFDB_FORMAT.txt +++ b/REFDB_FORMAT.txt @@ -962,9 +962,13 @@ unknowns_blocking_full_support: interworx: - ✅ RESOLVED: Database prefix is username_ (verified from docs) - ✅ RESOLVED: File paths all verified from official docs - - Best method for user→domains lookup (vhost parsing works) - - PHP version configuration method (non-critical) - - InterWorx CLI commands availability (optional, vhost parsing works) + - ✅ RESOLVED: Log file is 'transfer.log' NOT 'access_log' (TESTED: real server 2025-11-20) + - ✅ RESOLVED: Logs are symlinks to dated files with auto-rotation/compression + - ✅ RESOLVED: Domain→User lookup via vhost configs WORKS + - ✅ RESOLVED: User→Domains lookup WORKS (both methods) + - ✅ RESOLVED: Standard crontab works (crontab -u USER) + - ✅ TESTED: InterWorx 6.14.5 - ALL assumptions verified + - PHP version in vhost config (# iw-php-key: /opt/remi/php73) - works, non-critical plesk: - Database prefix pattern (assumed no prefix) diff --git a/testing/validate-interworx.sh b/testing/validate-interworx.sh index 0dcc35e..818da33 100755 --- a/testing/validate-interworx.sh +++ b/testing/validate-interworx.sh @@ -92,7 +92,7 @@ fi if [ -f "/usr/local/interworx/iworx.ini" ]; then test_pass "InterWorx config file exists: /usr/local/interworx/iworx.ini" - IW_VERSION=$(grep -i "^version" /usr/local/interworx/iworx.ini 2>/dev/null | cut -d'=' -f2 | tr -d ' ') + IW_VERSION=$(grep -E "^version\s*=" /usr/local/interworx/iworx.ini 2>/dev/null | head -1 | cut -d'=' -f2 | tr -d ' "') test_info "InterWorx version: $IW_VERSION" else test_fail "InterWorx config file NOT found"