After the latest update to version 7.1.3, the code line in UI containing "<base href="./">" on index.php has been causing issues, in which Imunify is unable to load resources to properly display the UI.
- Imunify360 7.1.3
- Any OS
- The fix for UI-generic base href to allow putting UI in the folder was delivered in v7.2.1 as DEF-24476 and is available in beta:
wget -O imunify-force-update.sh https://repo.imunify360.cloudlinux.com/defence360/imunify-force-update.sh
- A workaround can be followed manually for the current version as well:
1. Get the UI path
# cat /etc/sysconfig/imunify360/integration.conf [paths] ui_path = /path/to/ui
2. Access your configured UI path with "cd" and change the conflicting line with "sed":
# cd /path/to/ui # sed -i.bak '/.*<base href="\/">.*/d' index.php
This problem is due to a base href declaration that affects how scripts are loaded. Affected servers are those with generic panels hosting UI in a subfolder.