This morning, Vault stopped updating shadow folders

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
craigr
Posts: 67
Joined: Wed Mar 30, 2011 4:15 pm

This morning, Vault stopped updating shadow folders

Post by craigr » Wed Jan 18, 2012 9:26 am

Everything was working fine last night and for several months before last night.

This morning when I check in a change to a file, it is not getting copied to the shadow folder. Tried multiple files and none are updated when I check in changes.

I need to keep working and I hesitate to manually copy files into the shadow folders because I know how sensitive (i.e. "stupid") Vault is about its shadow folders. We use Vault to maintain our website. The shadow folder is our website. I don't have the option of deleting the folder and letting Vault repopulate it (which is what I had to do the last time this failed).

Running 5.1.1.19215 (Vault Standard)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: This morning, Vault stopped updating shadow folders

Post by Beth » Wed Jan 18, 2012 1:25 pm

Do you have the shadow folder set to be speed optimized, or is that set to false?

Are there any errors in your Vault shadow folder log found at %windir%\temp\vaultshadowfolder\vaultshadowfolder.txt? Also check your Vault server log at %windir%\temp\sgvault\sgvault.log.
Beth Kieler
SourceGear Technical Support

craigr
Posts: 67
Joined: Wed Mar 30, 2011 4:15 pm

Re: This morning, Vault stopped updating shadow folders

Post by craigr » Wed Jan 18, 2012 3:56 pm

From WINDOWS\Temp\SGShadowFolder\vaultshadowfolderservice.txt:

Code: Select all

1/18/2012 8:52:29 AM <generic>: [<No Name>:6296] Vault Shadow Folder encountered a problem:  [VaultClientOperationsLib.GetLatestVersionFailedException: Exception of type 'VaultClientOperationsLib.GetLatestVersionFailedException' was thrown.
   at VaultClientOperationsLib.ClientInstance.ProcessGetFileRequests(GetFileInfo[] infos, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, Boolean updateHiddenFilesOnly, String ancestorFullPath, Boolean flat, String ancestorDiskPath, OverwritePrompt PromptData, Boolean isLabelGet, String currentPathToLabelItem, Int64 labelID, Boolean isRetry, Boolean isGetByDisplayVersion)
   at VaultClientOperationsLib.ClientInstance.Get(VaultClientFile[] files, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData)
   at VaultShadowFolder.VaultShadowFolderRepository.VaultShadowFolderRepositoryProc()] Exception of type 'VaultClientOperationsLib.GetLatestVersionFailedException' was thrown.
   at VaultClientOperationsLib.ClientInstance.ProcessGetFileRequests(GetFileInfo[] infos, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, Boolean updateHiddenFilesOnly, String ancestorFullPath, Boolean flat, String ancestorDiskPath, OverwritePrompt PromptData, Boolean isLabelGet, String currentPathToLabelItem, Int64 labelID, Boolean isRetry, Boolean isGetByDisplayVersion)
   at VaultClientOperationsLib.ClientInstance.Get(VaultClientFile[] files, Boolean forceLatest, MakeWritableType makeWritable, SetFileTimeType setFileTime, MergeType merge, OverwritePrompt PromptData)
   at VaultShadowFolder.VaultShadowFolderRepository.VaultShadowFolderRepositoryProc()
Nothing interesting in sgvault.log -- just Login and Logout entries.

I have a hard drive that is getting full but it's not the one my shadow folder is on. Not sure how that might be related.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: This morning, Vault stopped updating shadow folders

Post by Beth » Wed Jan 18, 2012 4:43 pm

Find your web.config in the vaultshadowfolder on the Vault server. It will be in the same location the Vault website was installed to. In there should be a path for a cache. Is that cache on the drive that is filling up? If so, then change your cache path to where there is more space. Make sure the folder you point it at exists, because Vault won't create the path for you. For example, if you enter "D:\vaultshadowcache," then you need to make the vaultshadowcache folder on the D drive and Vault will place the cache there.

Recycle IIS by going to Start - Run and typing iisreset on the Vault server. If that would affect too many other websites, you can alternatively recycle the VaultAppPool in your IIS Manager.
Beth Kieler
SourceGear Technical Support

Post Reply