custom nodetypes Jahia 8 Jahia 7.3

Errors on startup of jahia

Question

Error: internal error: failed to read custom node type definitions stored in /nodetypes/custom_nodetypes.xml

 

Cause

Deployment of defintions are not well

Solution

Do steps from https://jira.jahia.org/browse/JKB-29

  • stop the server
  • try to execute the following command in the database: 
    select * from jr_fsg_fsentry where fsentry_path='/nodetypes' and fsentry_name='custom_nodetypes.xml';
  • if you have a result drop this line from DB: 
    delete from jr_fsg_fsentry where fsentry_path='/nodetypes' and fsentry_name='custom_nodetypes.xml';
  • flush the jahia_nodetypes_provider table: 
    delete from jahia_nodetypes_provider;
  • flush the content of the directory digital-factory-data/bundles-deployed/
  • restart the node