Error: boost::filesystem::file_size: No such file or directory: /storage/updatemgr/patch-store/hostupdate/vmw/metadata-###.zip
Seen in:
When the compliance scan attempts to reference the missing metadata file /storage/updatemgr/patch-store/hostupdate/vmw/metadata-###.zip
" associated with this deprecated task, the scan fails because the file no longer exists in the expected location.
Note: Take snapshot(s) and / or valid backups of the vCenter server(s)
• service-control --stop vsphere-ui
• rm -rf /usr/lib/vmware-vsphere-ui/server/work/*
• rm -rf /storage/vsphere-ui/SerenityDB/serenity/*
• service-control --start vsphere-ui
Note: Take snapshot(s) and/or valid backups of the vCenter Server before proceeding.
1. Remove the deprecated scheduled task by following the steps in the article Failed or queued VMware vSphere Lifecycle Manager Check Notification tasks in vCenter Server 7.x
2. Clear the vSphere UI cache:
service-control --stop vsphere-ui
rm -rf /usr/lib/vmware-vsphere-ui/server/work/*
rm -rf /storage/vsphere-ui/SerenityDB/serenity/*
service-control --start vsphere-ui
3. Reset the VUM database by following the steps in the article Resetting VMware Update Manager Database in vCenter Server Appliance 6.5/6.7/7.0/8.0