CMDBuild Forum

CMDBuild Wizard Fails on Database Setup – 'config directory not available' Error (Ubuntu 24.04.2)

Dear all,

I’m installing CMDBuild on Ubuntu 24.04.2 LTS and encountered an issue during the database configuration step in the setup wizard.

Although the PostgreSQL database has been correctly created and is accessible via terminal, the wizard fails with the following error message:

java.lang.RuntimeException: error saving config to file for namespace = org.cmdbuild.database, caused by:
java.lang.NullPointerException: config directory not available (check startup logs for errors)

It seems the application cannot find or access the configuration directory to save the settings.

I would appreciate any guidance on:

  • Which directory the application is trying to access at this point,
  • If there are additional permissions or paths that need to be set,
  • Or if this could be a misconfiguration in the Tomcat context or CMDBuild deployment.

Thanks in advance for your help!

Best regards,
Carlos França