“Hostname cannot be empty” error on VMware Run Direct restore via CBS
June 3, 2025
Product Version
AhsayCBS: 7.9.0.0 to 7.17.x
Operating System
All Platform
Symptom
When starting a VMware ESXi/vCenter guest VM Run Direct restore from AhsayCBS web console the following error message is shown "Hostname cannot be empty".
Cause
This is due to a configuration issue on the AhsayCBS server, the "Host Name" of the AhsayCBS server has been left empty.
The "Host Name" value is required by the NFS service during a AhsayCBS Run Direct restore so that the VMWare ESXi/vCenter host is able to resolve and mount the user home drive on AhsayCBS as network drive.
Resolution
To resolve this problem:
- Login to AhsayCBS web management console using the system or administrator account.
Go to [System Settings]>[General]>[Host]>[Host Name] and enter the host name or IP address of your AhsayCBS server.
- Click on Save to confirm.