<?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: Database &amp;quot;nuxeo&amp;quot; does not exist in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315307#M2308</link>
    <description>&lt;P&gt;When I install Nuxeo using apt-get it's installing Postgres so I presume it's using it?
However Nuxeo in Eclipse is using H2.&lt;/P&gt;
&lt;P&gt;Is it still the case for the 6.0 release?
If yes, where is the H2 DB file?&lt;/P&gt;
&lt;P&gt;I think the documentation about changing the Structure Template should be saying "drop tables" and not "drop DB".&lt;/P&gt;
&lt;P&gt;If so could we get a little guidance on what to drop and where, if I want to change the default structure at start time.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 15 Nov 2014 04:31:08 GMT</pubDate>
    <dc:creator>koxon_</dc:creator>
    <dc:date>2014-11-15T04:31:08Z</dc:date>
    <item>
      <title>Database "nuxeo" does not exist</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315305#M2306</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I installed Nuxeo using apt-get on Ubuntu.
After changing my structure template I dropped my DB as mentioned here:
&lt;A href="http://doc.nuxeo.com/display/Studio/Structure+Templates"&gt;http://doc.nuxeo.com/display/Studio/Structure+Templates&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;However I have hard time recreating it.
I thought nuxeoctl would do it for me but it doesn't.&lt;/P&gt;
&lt;P&gt;So I went into postgres, and recreated the nuxeo role and database following this:
&lt;A href="http://doc.nuxeo.com/display/ADMINDOC/Configuring+PostgreSQL"&gt;http://doc.nuxeo.com/display/ADMINDOC/Configuring+PostgreSQL&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The DB is created:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;postgres=# \list
                                  List of databases
   Name    |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges   
-----------+----------+----------+-------------+-------------+-----------------------
 nuxeo     | nuxeo    | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 
 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
           |          |          |             |             | postgres=CTc/postgres
 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
           |          |          |             |             | postgres=CTc/postgres
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;The role too:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;postgres=# SELECT rolname FROM pg_roles;
 rolname  
----------
 postgres
 nuxeo
(2 rows)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However when I restart the server it tells me it doesn't exists:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;FATAL: database "nuxeo" does not exist
Could not run configuration: Failed to connect on database: FATAL: database "nuxeo" does not exist
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;When I try connecting with psql I get the same thing:&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;$&amp;gt; sudo -u nuxeo psql -h localhost -p 5433
Password: 
psql: FATAL:  database "nuxeo" does not exist
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't get it. What am I missing here?
I could reinstall the whole package but I'd like to understand.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 09 Nov 2014 00:58:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315305#M2306</guid>
      <dc:creator>koxon_</dc:creator>
      <dc:date>2014-11-09T00:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Database "nuxeo" does not exist</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315306#M2307</link>
      <description>&lt;P&gt;I re-installed everything.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 04:08:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315306#M2307</guid>
      <dc:creator>koxon_</dc:creator>
      <dc:date>2014-11-11T04:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Database "nuxeo" does not exist</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315307#M2308</link>
      <description>&lt;P&gt;When I install Nuxeo using apt-get it's installing Postgres so I presume it's using it?
However Nuxeo in Eclipse is using H2.&lt;/P&gt;
&lt;P&gt;Is it still the case for the 6.0 release?
If yes, where is the H2 DB file?&lt;/P&gt;
&lt;P&gt;I think the documentation about changing the Structure Template should be saying "drop tables" and not "drop DB".&lt;/P&gt;
&lt;P&gt;If so could we get a little guidance on what to drop and where, if I want to change the default structure at start time.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Nov 2014 04:31:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/database-quot-nuxeo-quot-does-not-exist/m-p/315307#M2308</guid>
      <dc:creator>koxon_</dc:creator>
      <dc:date>2014-11-15T04:31:08Z</dc:date>
    </item>
  </channel>
</rss>

