A general system error occurred: Operation failed.The operation is not supported on the object.Cannot find library item [UUID] in the storage backing.A metadata-inventory mismatch occurs when the physical backing files (.vmtx, .ovf, .vmdk) are removed from the datastore before the deletion is initiated within the Content Library interface. vCenter maintains a database reference in the `cl_libraryitem` table to a null file path. The deletion operation aborts because the storage layer cannot locate the source objects required to complete the task.
Note: If the vCenter is apart of Enhanced Linked Mode, then please review VMware vCenter in Enhanced Linked Mode pre-changes snapshot (online or offline) best practice and take offline snapshots of every vCenter node in Enhanced Linked mode.
service-control --stop vmware-content-library && service-control --stop vpxd && service-control --stop vsphere-ui/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c "SELECT id, name, libraryid FROM cl_libraryitem;"/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c "DELETE FROM cl_libraryitem WHERE id = 'YOUR_ITEM_UUID';"/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c "DELETE FROM cl_libraryitem WHERE id = 'ad93f0b4-67b4-4b49-b541-0a1189084ab1';"/opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres -c "SELECT id, name, libraryid FROM cl_libraryitem;"service-control --start --allYou may need to resynchronize the content library for newer images to appear