Skip to main content

“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".

hostname-cannot-be-empty-error-on-vmware-run-direct-restore-01.png

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:

  1. Login to AhsayCBS web management console using the system or administrator account.
  2. Go to [System Settings]>[General]>[Host]>[Host Name] and enter the host name or IP address of your AhsayCBS server.

    hostname-cannot-be-empty-error-on-vmware-run-direct-restore-02.png

  3. Click on Save to confirm.