I created bug for this problem to track:
http://bugs.locamotion.org/show_bug.cgi?id=1915

On 04/23/2011 03:39 PM, Ihar Hrachyshka wrote:
> On 03/15/2011 10:22 PM, Ihar Hrachyshka wrote:
>> On 03/15/2011 10:13 PM, F Wolff wrote:
>>> Are you sure this is
>>> using the correct localsettings.py with your database connection
>>> information?
>>>
>>
>> Configuration is ok: installation works through apache. The reason why I
>> can't connect to psql is that I try to do it as a user (not as apache
>> instance which has appropriate permissions).
>> /Ihar
> 
> Hi all again,
> it seems like I found the root of the problem. Here is what I get in
> postgresql log when trying to upgrade pootle with new version and get
> similar upgrade db error:
> 
> 2011-04-23 12:35:13 UTC ERROR:  relation "pootlecache" already exists
> 2011-04-23 12:35:13 UTC STATEMENT:  CREATE TABLE "pootlecache" (
>             "cache_key" varchar(255) NOT NULL PRIMARY KEY,
>             "value" text NOT NULL,
>             "expires" timestamp with time zone NOT NULL
>         );
> 2011-04-23 12:35:13 UTC ERROR:  current transaction is aborted, commands
> ignored until end of transaction block
> 
> After I dropped this table and restarted upgrade process all went ok. I
> hope this will help you to fix the issue.
> 
> /Ihar Hrachyshka


------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to