Errors on startup of jahia

  Written by The Jahia Team
   Estimated reading time:
7.1
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
But the customer doesn't understand it well so I send them to follow steps:

  • 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