Step 0: Prerequisites
Before running the importer, you should have installed the pi-nuxeo-marketplace-x.x.x-mp.zip package into Nuxeo.
You should also have logged into the Nuxeo GUI, and created a workspace called 'Patricia' and a folder named 'Documents' in 'Patricia' workspace.
Change nuxeo.conf file and make JVM parameters are set properly. For example:
JAVA_OPTS=-Xms1024m -Xmx2048m -XX:MaxPermSize=2048m -server -Dfile.encoding=UTF-8
References:
- http://stackoverflow.com/questions/5839359/java-lang-outofmemoryerror-gc-overhead-limit-exceeded
- http://stackoverflow.com/questions/12847151/setting-xxdisableexplicitgc-in-production-what-could-go-wrong
Also execute the following (if needed) in the Patricia database:
update PAT_DMS_SETTINGS set DMS_SETTING_VALUE='false' where DMS_SETTING_KEY='file.import.completed'
Step 1: Make the files to be imported (the Documents folder) accessible
The files to be imported must be accessible by the Nuxeo server. In order for the importer to have access to the files, you must mount or copy the old Patricia (P:) file share onto the nuxeo machine. It's more reliable to copy the files to the Nuxeo server instead of mounting.
Example Mount Commands
Example mount command: linux (dom=YOURWINDOMAIN may not be needed):
mount -t cifs //server_ip_address/Patricia -o user=username,pass=mypass,dom=YOURWINDOMAIN /mnt/Patricia
Example mount command: MS Windows
net use p: \\server_ip_address\\patricia