<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error with custom config (Database template: unknown) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323587#M10588</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is a known issue fixed in 5.7.1: &lt;A href="https://jira.nuxeo.com/browse/NXP-9150"&gt;NXP-9150&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As a workaround for 5.6, you can set:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;nuxeo.templates=postgresql,/home/nuxeo/nuxeo_custom_templates/custom
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 20 Mar 2014 12:23:00 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2014-03-20T12:23:00Z</dc:date>
    <item>
      <title>Error with custom config (Database template: unknown)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323586#M10587</link>
      <description>&lt;P&gt;Hi,
I am trying to customize the configuration of our Nuxeo platform following recommendations in
&lt;A href="http://doc.nuxeo.com/display/ADMINDOC56/Configuration+templates"&gt;http://doc.nuxeo.com/display/ADMINDOC56/Configuration+templates&lt;/A&gt;
and &lt;A href="http://doc.nuxeo.com/display/ADMINDOC56/Adding+custom+templates"&gt;&lt;/A&gt;&lt;A href="http://doc.nuxeo.com/display/ADMINDOC56/Adding+custom" target="test_blank"&gt;http://doc.nuxeo.com/display/ADMINDOC56/Adding+custom&lt;/A&gt; + templates&lt;/P&gt;
&lt;P&gt;I get an error when executing '&lt;EM&gt;nuxeoctl start&lt;/EM&gt;' :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt; 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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I can see with '&lt;EM&gt;nuxeoctl showconf&lt;/EM&gt;' that the database template is considered &lt;B&gt;&lt;EM&gt;unknow&lt;/EM&gt;&lt;/B&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;... but I can't undestand why ... ???&lt;/P&gt;
&lt;P&gt;Any idea is welcome ! Thanks for your help.
&lt;BR /&gt;/&amp;gt;
&lt;BR /&gt;/&amp;gt;
&lt;BR /&gt;/&amp;gt;&lt;/P&gt;
&lt;HR style="width:600px; color:blue; background-color:darkblue; height:2px;" /&gt;
&lt;BR /&gt;/&amp;gt;
&lt;P&gt;Here is a brief summary of the configuration :&lt;/P&gt;
&lt;P&gt;&lt;CITE&gt;/home/nuxeo/nuxeo_conf/nuxeo.conf :&lt;/CITE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#nuxeo.templates=postgresql,dam,collaboration,drive
nuxeo.templates=/home/nuxeo/nuxeo_custom_templates/custom
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CITE&gt;$ cat /home/nuxeo/nuxeo_custom_templates/custom/nuxeo.defaults&lt;/CITE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;## 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
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CITE&gt;Affichage de la configuration :&lt;/CITE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$ ./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
...........
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;EM&gt;/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common-base&lt;/EM&gt; is included by &lt;EM&gt;/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/common&amp;lt;:em&amp;gt; is included by &lt;EM&gt;/home/nuxeo/nuxeo56/nuxeo-cap-5.6-tomcat/templates/postgresql&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2014 15:57:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323586#M10587</guid>
      <dc:creator>apx25_</dc:creator>
      <dc:date>2014-03-17T15:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error with custom config (Database template: unknown)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323587#M10588</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;This is a known issue fixed in 5.7.1: &lt;A href="https://jira.nuxeo.com/browse/NXP-9150"&gt;NXP-9150&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As a workaround for 5.6, you can set:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;nuxeo.templates=postgresql,/home/nuxeo/nuxeo_custom_templates/custom
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Mar 2014 12:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323587#M10588</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2014-03-20T12:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error with custom config (Database template: unknown)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323588#M10589</link>
      <description>&lt;P&gt;It's ok with the suggested workaround. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2014 17:31:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/error-with-custom-config-database-template-unknown/m-p/323588#M10589</guid>
      <dc:creator>apx25_</dc:creator>
      <dc:date>2014-03-28T17:31:45Z</dc:date>
    </item>
  </channel>
</rss>

