Hi,

You need to re-index your data.
Using nuxeo-shell (versus web function in advanced search) is recommended :
http://doc.nuxeo.org/5.1/nuxeo-book/reference/html/administration.html#nuxeo-shell

Before re-indexing, you may have to manage with a Blob format issue we had on upgrade from 5.1.2 to 5.1.3 : 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>

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.

Best regards,
Julien

Andreas Haumer a écrit :
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I'm currently trying to upgrade a working Nuxeo-5.1.2.GA
installation (using PostgreSQL as DB Backend) to Nuxeo-5.1.4.GA

I used the Nuxeo-Installer to install the application, changed
default-repository-config.xml, all the datasources, sql.properties
and compass.cfg.xml according to the Nuxeo-Book and the Nuxeo-5.1.2.GA
installation to point to the existing database and started the
Application Server.

Login to the new version went ok, I also found all the workspaces,
and directories I had, but *all documents are missing* :-(

As I did a database dump before the upgrade, I then did a
dump after the upgrade and apart from a few tables which
have been added automatically (like "documentsLists", "subtopic"
and "topic") there doesn't seem to be a difference between those
dumps.
Both dumps do contain all the documents (the dumps are about
100MB of size and I quickly checked the content of both dumps)

It seems, something is missing in the upgrade process.
I did not find a specific upgrade documentation, though.

Are there any known issues when upgrading from 5.1.2.GA to 5.1.4.GA?

Thanks!

- - andreas

- --
Andreas Haumer                     | mailto:[EMAIL PROTECTED]
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIBd52xJmyeGcXPhERAggyAKCms91K8h47dfc20Gvzlp7JlA5V7gCfVtAn
OYWC+0GVbiaR37LqoFiv668=
=enR8
-----END PGP SIGNATURE-----
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


--
Julien CARSIQUE, Nuxeo (Paris, France)
Open Source Enterprise Content Management - http://www.nuxeo.org/
Nuxeo EP 5: extensible, Java EE and standards based ECM Platform
http://www.nuxeo.com/ - Tel: +33 1 40 33 79 87

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to