Re: 2018-11-28 10:40:01,906 9672 CRITICAL ? odoo.service.server: Failed to initialize database `abc`

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pavan95 <pavan(dot)postgresdba(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: 2018-11-28 10:40:01,906 9672 CRITICAL ? odoo.service.server: Failed to initialize database `abc`
Date: 2018-11-28 15:30:46
Message-ID: 56c71549-38b7-85ba-8c2e-0025f6abc2ca@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2018-11-28 15:35:35 Re: 2018-11-28 10:40:01,906 9672 CRITICAL ? odoo.service.server: Failed to initialize database `abc`
Previous Message pavan95 2018-11-28 15:16:33 2018-11-28 10:40:01,906 9672 CRITICAL ? odoo.service.server: Failed to initialize database `abc`