Page 1 of 1
Documents default location
Posted: Fri Apr 21, 2017 7:51 pm
by plevko77
Is there a way to change default path where documents are saved? When I click on the default hyperlink under settings get 404 not found error.
Thanks
Jerry
Re: Documents default location
Posted: Fri Apr 28, 2017 10:28 am
by agaspa
Hi plevko77,
which version of LogicalDOC CE you're running?
Perhaps there is an error in the GUI, but of course you can always change the parameters in the general config. file (context.properties)
Follow this procedure:
1) Shutdown LogicalDOC (or tomcat service)
2) Locate the file context.properties under /<LD_INSTALL_DIR>/conf
3) edit that file by changing the value for key store.1.dir
4) save the file and restart LD
(See the attached image [LD CE 7.6.4])
- config file of LD CE 7.6.4 (Windows)
- document-store-path.gif (30.16 KiB) Viewed 8403 times
Re: Documents default location
Posted: Sun Apr 30, 2017 5:52 pm
by plevko77
I am using 7.6.4.
Re: Documents default location
Posted: Mon May 01, 2017 7:18 am
by car031
ok the store.1.dir property is correct in your case
Re: Documents default location
Posted: Mon May 01, 2017 9:30 pm
by plevko77
I did tried this and no go. It will not create new dir under my new folder. Also would this work with UPN path? Let say I have NAS \\NAS-buffalo\Documents\LogicalDocs\
When attempted to save document after I modified that store.1 setting was getting error that document cannot be saved to the server or some kind of message.
Re: Documents default location
Posted: Tue May 02, 2017 4:01 am
by plevko77
I have mapped X drive to my nas and created shares LogicalDocs\repository\docs
Edited line to be like this :
store.1.dir=X\:\\LogicalDocs/repository/docs
When try to copy file there get error Exception: Unable to store document file.
I am assuming that syntax I have used it't wrong as I don't see anything created there.
Re: Documents default location
Posted: Tue May 02, 2017 7:07 am
by car031
you cannot use 'mapped drives' in a java application. You have to use the UNC path, that is simething like //NAS-buffalo/Documents/LogicalDocs
Re: Documents default location
Posted: Wed May 03, 2017 8:12 pm
by plevko77
I have tried all combinations could think of nothing worked with UNC path.
What will be the syntax there as I noticed C \: at beginning which is the C root.
Re: Documents default location
Posted: Thu May 04, 2017 6:46 am
by car031
Re: Documents default location
Posted: Thu May 04, 2017 8:11 pm
by plevko77
Thanks that point me to right direction. Issue was with the authentication enable on the folder. Removed it and it saved to NAS drive.
Thanks