migration nodetypes Jahia 7.3

Restart after migration produce javax.jcr.nodetype.NoSuchNodeTypeException

Question

On the first restart after the migration a lot of javax.jcr.nodetype.NoSuchNodeTypeException are thrown . How can it solved?

Answer

The problem is that node types cannot be installed correctly, to solve it you have to truncate the DB table JAHIA_NODETYPES_PROVIDER and restart again.

It is also possible that after restart some modules are not started well. So you have to restart these modules manually with the OSGi console or with the Karaf console.