Accessing the vCenter Server via the vSphere HTML5 client results in a "503 Service Unavailable" error in the browser.
The vsphere-ui (vSphere Client) service fails to start, or remains in an unstable/stopped state following an abrupt host failure, hard shutdown, or power outage.
VMware vCenter Server 7.0
VMware vCenter Server 8.0
This issue occurs due to technical inconsistencies in the plugin directory triggered by an abrupt shutdown. Corrupted, 0-byte, or duplicate .disabled files in the VCSA plugin directory (/usr/lib/vmware-vsphere-ui/) cause vSphere-UI service startup to fail.
Before proceeding, take a backup or create a powered-off snapshot of the vCenter Server Virtual Machine.
Standalone vCenter Server: Take a snapshot of the vCenter server VM (recommended from the ESXi host).
Enhanced Linked Mode (ELM): Power off all linked vCenter Servers simultaneously and take a snapshot of each node. See VMware vCenter in Enhanced Linked Mode pre-changes snapshot (online or offline) best practice.
Step 1: Identify and Remove Conflicting Plugin Files
Connect to the vCenter Server Appliance (VCSA) via SSH and log in as the root user.
Navigate to the plugin packages directory: cd /usr/lib/vmware-vsphere-ui/plugin-packages/
List the files to identify any 0-byte or duplicate .disabled files: ls -ltrah
Move the identified empty or duplicate .disabled file(s) to a temporary directory outside the default path (replace <filename> with the actual file name found): mv <filename>.disabled /tmp/
Step 2: Clear the vSphere Client Serenity Cache
Stop the vSphere Client service: service-control --stop vsphere-ui
Clear the Serenity DB cache: rm -rf /storage/vsphere-ui/SerenityDB/serenity/*
Step 3: Restart and Validate the Service
Start the vSphere UI service: service-control --start vsphere-ui
Confirm the vSphere UI service is running: service-control --status vsphere-ui
Monitor the VCSA virgo log to confirm the download errors no longer occur: tail -f /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
Log in to the vSphere Client (https://<vCenter-FQDN-or-IP>/ui) to confirm the 503 error is resolved. Allow a few minutes for the plugin catalog to fully re-initialize.