diff --git a/REFDB_FORMAT.txt b/REFDB_FORMAT.txt index 8957823..953c2c7 100644 --- a/REFDB_FORMAT.txt +++ b/REFDB_FORMAT.txt @@ -1968,9 +1968,10 @@ control_panel_paths: suggested_restore: "/var/www/vhosts/temp/restore20251210/mysql" sql_output: "/var/www/vhosts/temp/restore20251210/" interworx: - home_base: "/home" - suggested_restore: "/home/temp/restore20251210/mysql" - sql_output: "/home/temp/restore20251210/" + home_base: "/chroot/home" + suggested_restore: "/chroot/home/temp/restore20251210/mysql" + sql_output: "/chroot/home/temp/restore20251210/" + note: "Uses /chroot/home directly (not /home symlink) as system doesn't display /home properly" standalone: home_base: "/home" suggested_restore: "/home/temp/restore20251210/mysql" diff --git a/lib/system-detect.sh b/lib/system-detect.sh index 40b2c25..30c8693 100755 --- a/lib/system-detect.sh +++ b/lib/system-detect.sh @@ -72,7 +72,9 @@ detect_control_panel() { # InterWorx stores logs in /home/user/var/domain.com/logs/ # We set a marker path that tools will recognize needs special handling SYS_LOG_DIR="/home/*/var/*/logs" - SYS_USER_HOME_BASE="/home" + # InterWorx uses /chroot/home (with /home as symlink) + # Use actual path as system doesn't show /home properly + SYS_USER_HOME_BASE="/chroot/home" print_success "Detected InterWorx v${SYS_CONTROL_PANEL_VERSION}" return 0