steps to upgrade nuxeo 5.9.5 to 7.x:
 
1) download the nuxeo-cap-7.X-tomcat.zip from the site http://nuxeo.github.io/downloads.html
2) unzip the archive
3) install JDK 8 using this commands:

 

sudo apt-get install -y software-properties-common
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
add-apt-repository -y ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer


4) set JAVA_HOME variable
example of command

export JAVA_HOME=/usr/lib/jvm/java-8-oracle


5) copy nuxeo.conf and log4j.xml from your old nuxeo to the new one.
example of commands:

cp /home/nuxeo/nuxeo-cap-5.9.5-tomcat/lib/log4j.xml /home/nuxeo/nuxeo-cap-7.X-tomcat/lib/log4j.xml
cp /home/nuxeo/nuxeo-cap-5.9.5-tomcat/bin/nuxeo.conf /home/nuxeo/nuxeo-cap-7.X-tomcat/bin/nuxeo.conf

6) be sure to increase the file name length limit with setting nuxeo.path.segment.maxsize in nuxeo.conf to 256 (at least).
7) check the parameter nuxeo.data.dir in nuxeo.conf. If it was NOT overrided than you need to copy data folder to the new nuxeo or set this param with the path to existing data folder.
8) stop old nuxeo server
9) start new nuxeo server


  • No labels