You are viewing limited content. For full access, please sign in.

Question

Question

Delete orphaned files

asked on September 20, 2019 Show version history

We have a customer who ran a WF to move documents from one location in LF to another and the WF failed at some point and went into a retry activity.

 

Because of this they have a large amount of Orphaned files, they found using the Laserfiche Volume Consistency checker.

 

We are trying to figure out the best practice to delete these orphaned files from the Volumes Folders.

 

Any insight greatly appreciated,

Jeff Curtis

0 0

Answer

SELECTED ANSWER
replied on September 23, 2019

Hi Jeff,

 

If you've got the output from VCC of all the orphaned files in the windows directory, you could convert this to a batch script to delete all the files from windows.

 

Something like this might be helpful - http://www.get-itsolutions.com/create-batch-to-delete-file-cmd/

2 0

Replies

replied on September 23, 2019

How old are these files? The Laserfiche server does not immediately delete files from disk when they're purged from the recycle bin.

It's unlikely a failed move action would cause this as documents don't change volume when their folder location changes.

1 0
replied on September 23, 2019

Hello Miruna,

Files are about 2 weeks old. 

 

Jeff Curtis

0 0
replied on September 24, 2019

Hi Jeff,

I believe what Miruna is suggesting is that the "orphaned" files might actually be the left over recycle bin files that are/were still pending deletion be the automatic maintenance activities and not files associated with the workflow you described.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.