Nuxeo Server

Upgrade from 5.1.2 to 5.1.3

Updated: November 13, 2017 Page Information Edit on GitHub

Follow Upgrade Nuxeo and apply the following procedure before starting Nuxeo.

While upgrading from 5.1.2 to 5.1.3, you may have to manage with a Blob format issue : that means to patch $JBOSS/server/default/data/NXRuntime/repos/default/repository/nodetypes/custom_nodetypes.xml Take this file, format it with tidy (tidy -wrap 999 -indent -xml) and apply this patch (manually as it can't guarantee any line numbers; add the lines beginning with a "+" if not already present):

+  <nodeType hasOrderableChildNodes="false" isMixin="true" name="ecmmix:content" primaryItemName="">
+    <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="digest" onParentVersion="COPY" protected="false" requiredType="String" />
+    <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="length" onParentVersion="COPY" protected="false" requiredType="Long" />
+    <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="filename" onParentVersion="COPY" protected="false" requiredType="String" />
+  </nodeType>
   <nodeType hasOrderableChildNodes="false" isMixin="false" name="ecmft:content" primaryItemName="">
     <supertypes>
       <supertype>ecmnt:property</supertype>
+      <supertype>ecmmix:content</supertype>
+      <supertype>nt:resource</supertype>
     </supertypes>
    <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="mime-type" onParentVersion="COPY" protected="false" requiredType="String" />
    <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="data" onParentVersion="COPY" protected="false" requiredType="Binary" />
    <propertyDefinition autoCreated="false" mandatory="false" multiple="false" name="encoding" onParentVersion="COPY" protected="false" requiredType="String" />
   </nodeType>

Then, you need to re-index your data. Using nuxeo-shell (versus web function in advanced search) is recommended.

Another solution (than patching custom_nodetypes.xml file) is to export then re-import data before and after the upgrade (using nuxeo-shell too); but this method will make you loose versioning information.

5 days ago manonlumeau Added content-review-lts2017 label
a month ago manonlumeau NXDOC-1346-FT review screenshot
2 years ago Solen Guitter 24 | ix link to page How to upgrade Nuxe
4 years ago Solen Guitter 23
5 years ago Solen Guitter 21
5 years ago Solen Guitter 22 | Migrated to Confluence 4.0
6 years ago Julien Carsique 20
6 years ago Julien Carsique 19
7 years ago Solen Guitter 18
7 years ago Stéfane Fermigier 17
7 years ago Stéfane Fermigier 16
7 years ago Stéfane Fermigier 15
7 years ago Stéfane Fermigier 14
7 years ago Stéfane Fermigier 13
7 years ago Stéfane Fermigier 12
7 years ago Stéfane Fermigier 11
7 years ago Stéfane Fermigier 10
7 years ago Stéfane Fermigier 9
7 years ago Stéfane Fermigier 8
7 years ago Stéfane Fermigier 7
7 years ago Stéfane Fermigier 6
7 years ago Stéfane Fermigier 5
7 years ago Stéfane Fermigier 4
7 years ago Stéfane Fermigier 3
7 years ago Stéfane Fermigier 2
7 years ago Stéfane Fermigier 1
History: Created by Stéfane Fermigier