pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: pavan95 <pavan.postgresdba@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: 2018-11-28 10:40:01,906 9672 CRITICAL ? odoo.service.server: Failed to initialize database `abc`
Date: Wed, 28 Nov 2018 07:30:46 -0800
Message-ID: <56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com> (raw)
In-Reply-To: <1543418193036-0.post@n3.nabble.com>
References: <1543418193036-0.post@n3.nabble.com>

On 11/28/18 7:16 AM, pavan95 wrote:
> Hello Community,
> 
> Anyone has configured odoo with postgres? Please guide me with the below
> error.
> 
> We have been experiencing an error while configuring the odoo(odoo 11.0)
> application to the postgres(postgres 10.5) database. We have done the
> configuration in two approaches.
> 
> First Approach:
> 
> All the objects in the database 'abc' are defined in the "public" schema. In
> this approach, the application is configured successfully without errors.
> 
> Second Approach:
> 
> The objects in the database "abc" are moved to custom schema named "xyz".
> Then we're facing this error "2018-11-28 10:40:01,906 9672 CRITICAL ?
> odoo.service.server: Failed to initialize database `abc`" . In detail it is
> throwing the error "relation ir_%%  exists".
> 
> Please help us to cope up with this error.

At a guess the ORM is configured to look in public.*

To find out if there is a way to change this I would suggest the Odoo forum:

https://www.odoo.com/forum/help-1

> 
> Looking forward to hear from you. Thanks in Advance!.
> 
> 
> 
> Regards,
> 
> Pavan
> 
> 
> 
> --
> Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (3+ messages)  latest in thread

Message-ID: <56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com>
Permalink:  ../56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com/
Also on:    postgresql.org/message-id/56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, pavan.postgresdba@gmail.com
  Subject: Re: 2018-11-28 10:40:01,906 9672 CRITICAL ? odoo.service.server: Failed to initialize database `abc`
  In-Reply-To: <56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com>
  References: <1543418193036-0.post@n3.nabble.com> <56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox