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

Question

Question

Error deleting an electronic document volume data file

asked on November 14, 2016

Hello All,

 

I have a user who is seeing some errors in Event Viewer than I am not familiar with. The error is below:

Error deleting an electronic document volume data file.  Volume ID: Number Redacted Store ID: Number Redacted Path: \\ServerNameRedacted\LFVol1$\LFVols\CRELFVOLS12\e00\00\00\00000001.msg Error 5: %%5

 

This error seems to happen quite a bit and tends to loop with the same Vol ID.

 

Has anyone seen this before and/or know how to prevent it?

 

Thanks!

 

0 0

Replies

replied on November 16, 2016

Were there any thoughts or ideas on this?

0 0
replied on November 16, 2016

The Laserfiche Server queues up the documents that have been requested to be deleted and stores that in the database.

Does the file referenced in the error message exist?

\\ServerNameRedacted\LFVol1$\LFVols\CRELFVOLS12\e00\00\00\00000001.msg

If so, can you confirm that the account used by the Laserfiche Server service has rights to delete files at that location?

If the file doesn't actually exist, but the Laserfiche Server keeps trying to delete it, then what you can do is effectively clear out this list of "pending" documents to be deleted so the server will stop trying to delete the physical files from the volume, which will then stop that error from getting recorded.

  1. Stop the Laserfiche Server service
  2. Backup the repository database and volumes
  3. Run this SQL query on the repository database
    delete from deletedelec
  4. Restart the Laserfiche Server service

Note that you may want to first see what entries exist in the deletedelec table before just deleting everything in that table. If there is more than one row of data, then you can modify the delete query if you want to delete the specific row for the referenced electronic document.

It's unclear why the Laserfiche Server would be trying to delete a file that may have already been deleted from disk, but more recent versions of the Laserfiche Server have been better about not running into this scenario so the customer may want to consider upgrading if they are on an older version.

0 0
replied on November 16, 2016

Error 5 means "Access denied" so the LF server service does not have rights to delete the file.

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

Sign in to reply to this post.