Page 1 of 1

Howto reinstall

Posted: Tue Nov 12, 2013 6:03 pm
by mvincent
Hi,

I'd like to clean my logicaldoc installation ie delete all docs from my database.
What is the cleanest way to do such an operation ?

Thanks in advance
Matthieu

Re: Howto reinstall

Posted: Mon Dec 23, 2013 5:52 pm
by agaspa
We should do a distinction,
if you installed on MySQL database or using the embedded DB HSQL
In the first case you should delete your old logicaldoc schema and recreate a new empty logicaldoc schema.

First:
shutdown LogicalDOC service / Tomcat.

### Only if you installed with MySQL
### Delete and recreate the DB schema
DROP DATABASE logicaldoc;
CREATE DATABASE logicaldoc;

### Common part to both installations
You can then delete the working folder (Repository Folder) and all its content (to save space).

Restart the LogicalDOC service / Tomcat
To this point you can start a new installation using the setup procedure
LogicalDOC Community: http://localhost:8080/logicaldoc/setup
LogicalDOC Business/Enterprise: http://localhost:8080/setup

Note: use admin/admin as creadentials to authenticate for the setup