Fix InterWorx to use /chroot/home instead of /home symlink
Changes to lib/system-detect.sh: - Changed SYS_USER_HOME_BASE from /home to /chroot/home for InterWorx - Reason: System doesn't display /home properly even though it's a symlink - Added comment explaining InterWorx chroot structure InterWorx Directory Structure: - InterWorx uses /chroot/home as actual directory - /home is a symlink to /chroot/home (ln -fs /chroot/home /home) - Using actual path prevents display/visibility issues Impact on MySQL Restore Tool: - Restore directory: /chroot/home/temp/restore20251210/mysql - SQL output: /chroot/home/temp/restore20251210/ - Ensures proper visibility in InterWorx system Changes to REFDB_FORMAT.txt: - Updated InterWorx control_panel_paths to reflect /chroot/home - Added note explaining why actual path is used instead of symlink - Documented suggested paths for InterWorx QA Status: PASSED - 0 CRITICAL, 0 HIGH issues
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user