-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 10.10-HF04
-
Fix Version/s: 10.10-HF05, 11.1, 2021.0
-
Component/s: Distribution / Installers
-
Tags:
-
Backlog priority:1,000
-
Sprint:nxFG 11.1.6
The change introduced by NXP-27080 makes the startup with MongoDB fail if only mongodb is used with the nuxeo.templates property
nuxeo.templates=mongodb
The exception from the logs is
Configuration files generation (nuxeo.force.generation=true)... Apr 18, 2019 7:52:57 PM freemarker.log._JULLoggerFactory$JULLogger error SEVERE: Error executing FreeMarker template FreeMarker template error: The following has evaluated to null or missing: ==> nuxeo.db.driver [in template "datasources-config.xml.nxftl" at line 7, column 64]
where nuxeo.db.driver property is defined in the "default" template.
This is because datasources still need SQL-based configuration.
A workaround is to add default to nuxeo.templates
nuxeo.templates=default,mongodb
- is caused by
-
NXP-27080 Templates shouldn't include the "default" template
- Resolved