To resolve this issue, perform the workaround steps provided in KB 58932 before upgrading to 6.7.
In case you still have libraries backed by SMB shares with content on vCenter Server during the upgrade, perform the following steps to recover the content of such libraries after upgrade:
1. Power down the upgraded target vCenter Server (6.7.x) and power on the source vCenter Server (6.5.x)
2. Find out the libraries backed by SMB shares by running the following SQL query against VCDB of the source vCenter (6.5.x):
select lib.id, lib.name, storage.storageuri from cl_library lib, cl_library_storage lib_storage, cl_storage storage where lib.id = lib_storage.library_id and lib_storage.storage_id = storage.id and storage.storageuri like 'file:///etc/vmware-content-library/winmounts/library-win-mount%';
Sample Result:
id | name | storageuri
--------------------------------------+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------
########-####-####-####-##########88 | smblib | file:///etc/vmware-content-library/winmounts/library-win-mount-########-####-####-####-##########88-ClsPathSeparator-smb://cls-qe-testdata.eng.vmware.com/storage/cl_qe/smbBackupMount/
3. For each library from the list returned by the SQL query, run the following command on the source vCenter server to find out if the smb mount is actually on local file system, and add the affected libraries to a SMB library list:
4. For each SMB library in the SMB library list, download all item files locally and organize them per library accordingly.
5. Power off the source vCenter (6.5.x) and power on the target vCenter (6.7.x)
6. For each SMB library in the SMB library list, perform the following actions to restore content on the target vCenter (6.7.x):