Error with custom config (Database template: unknown)
Hi, I am trying to customize the configuration of our Nuxeo platform following recommendations in http://doc.nuxeo.com/display/ADMINDOC56/Configuration+templates and http://doc.nuxeo.com/display/ADMINDOC56/Adding+custom + templates
I get an error when executing 'nuxeoctl start' :
Configuration files generated.
Could not run configuration:
java.io.FileNotFoundException:
/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/unknown/nuxeo.defaults (No such file or directory)
6
I can see with 'nuxeoctl showconf' that the database template is considered unknow
… but I can't undestand why … ???
Any idea is welcome ! Thanks for your help.
Here is a brief summary of the configuration :
/home/nuxeo/nuxeo_conf/nuxeo.conf :
#nuxeo.templates=postgresql,dam,collaboration,drive
nuxeo.templates=/home/nuxeo/nuxeo_custom_templates/custom
$ cat /home/nuxeo/nuxeo_custom_templates/custom/nuxeo.defaults
## Edit this file to customize your configuration ##
#custom.target=
custom.target=nxserver
# Set list of templates to include, comma separated values.
nuxeo.template.includes=postgresql,dam,collaboration
org.nuxeo.ecm.instance.description=Nuxeo ECM customized
nuxeo.server.http.port=8080
Affichage de la configuration :
$ ./bin/nuxeoctl showconf
Nuxeo home: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat
Nuxeo configuration: /home/nuxeo/nuxeo_conf/nuxeo.conf
Include template: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common-base
Include template: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common
Include template: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/postgresql
Include template: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/dam
Include template: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/collaboration
Include template: /home/nuxeo/nuxeo_custom_templates/custom
***** Nuxeo instance configuration *****
NUXEO_CONF: /home/nuxeo/nuxeo_conf/nuxeo.conf
NUXEO_HOME: /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat
Instance CLID: 1efaf99b-39b4-4e4f-9856-ab4639d9be6f--fee75806-1555-452d-9966-dc42d8087de4
** Distribution
- name: cap
- server: tomcat
- version: 5.6
- date: 201208311552
- packaging: zip
...........
** Templates:
Database template: unknown
User template: /home/nuxeo/nuxeo_custom_templates/custom
...........
/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common-base is included by /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common
/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common<:em> is included by /home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/postgresql