Installation and Administration

Upgrade from 5.1.2 to 5.1.3

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.

 

3 months ago manonlumeau Relocated assets to fit new URL structure for 60 - fix
3 years ago Solen Guitter 24
6 years ago Solen Guitter 23
7 years ago Solen Guitter 21
7 years ago Solen Guitter 22 | Migrated to Confluence 4.0
8 years ago Julien Carsique 20
8 years ago Julien Carsique 19
8 years ago Solen Guitter 18
9 years ago Stéfane Fermigier 17
9 years ago Stéfane Fermigier 16
9 years ago Stéfane Fermigier 15
9 years ago Stéfane Fermigier 14
9 years ago Stéfane Fermigier 13
9 years ago Stéfane Fermigier 12
9 years ago Stéfane Fermigier 11
9 years ago Stéfane Fermigier 10
9 years ago Stéfane Fermigier 9
9 years ago Stéfane Fermigier 8
9 years ago Stéfane Fermigier 7
9 years ago Stéfane Fermigier 6
9 years ago Stéfane Fermigier 5
9 years ago Stéfane Fermigier 4
9 years ago Stéfane Fermigier 3
9 years ago Stéfane Fermigier 2
9 years ago Stéfane Fermigier 1
History: Created by Stéfane Fermigier

We'd love to hear your thoughts!

All fields required