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

Question

Question

Update Volume path without deleting old images

asked on April 29, 2015

Need to know if there are any ways to prevent SDK 8.0 from delete old images and moving images on LFVolume path update. I can;t seem to find any answers and there doesn't seem to be any functions or flags for the LFVolume class.  

1 0

Answer

SELECTED ANSWER
replied on May 4, 2015

If you update the vol table directly you must restart LFS. I strongly advise against updating most tables in the repository database directly when LFS is running. The propval table can be safely updated while LFS is running, but most other tables cannot be.

0 0

Replies

replied on April 30, 2015

There's no option in the SDK libraries, but LFS checks for the presence of a VOLUME.ID file in the new volume directory. If it finds a VOLUME.ID file already there, it will not move any files.

0 0
replied on May 1, 2015

Thank you Mr. Allen. 

0 0
replied on May 1, 2015

I have a follow up question. If I update the volume path in SQL database, is there a way to update Laserfiche without restarting server service? Laserfiche seems to have the old path cached unless restarted. 

0 0
SELECTED ANSWER
replied on May 4, 2015

If you update the vol table directly you must restart LFS. I strongly advise against updating most tables in the repository database directly when LFS is running. The propval table can be safely updated while LFS is running, but most other tables cannot be.

0 0
replied on May 5, 2015

Thank you for your reply. 

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

Sign in to reply to this post.