Timeout when upgrading modules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When upgrading modules, the following behavior is observed:
GTK client times out:
Connection refused !
timed out
following shown with ps:
jim@HPWonder:
jim 11170 2094 0 10:59 pts/0 00:00:01 /usr/bin/python ./openerp-server.py trunk
jim 11186 10927 0 11:00 pts/3 00:00:00 tail -f openerp-server.log
postgres 11196 11152 0 11:00 ? 00:00:00 postgres: openerp joncodiev6 127.0.0.1(46317) idle in transaction
postgres 11198 11152 0 11:01 ? 00:00:00 postgres: openerp joncodiev6 127.0.0.1(46318) UPDATE waiting
postgres 11380 11152 0 11:18 ? 00:00:00 postgres: openerp joncodiev6 127.0.0.1(46663) idle
jim 11431 10711 0 11:20 pts/2 00:00:00 grep openerp
queries show:
119 query: SELECT * FROM ir_act_report_xml WHERE auto=%s ORDER BY id params: (True,)
119 query: UPDATE ir_cron set nextcall = '2010-07-19 11:00:00' where numbercall<>0 and active and model='
119 query: select * from ir_cron where numbercall<>0 and active and nextcall<=now() order by priority params: None
119 query: select calendar_alarm.id from "calendar_alarm" where (calendar_
119 query: update ir_cron set nextcall=%s, numbercall=%s where id=%s params: ('2010-07-19 11:45:25', -1, 2)
119 query: select base_action_rule.id from "base_action_rule" where (base_action_
119 query: update ir_cron set nextcall=%s, numbercall=%s where id=%s params: ('2010-07-19 15:00:00', -1, 1)
(119 is line number is sql_db.py)
It appears that a transaction is not completing on update ir_cron, and another transaction is trying to start.
Selecting "Administration" from the menu again, and "Apply Scheduled Upgrades" allows configuration to continue, but it will hang again, the next time the update ir_cron query is issued.
Can you specify the version of the addons and server that you are running? This has normally been fixed in addons-trunk revision 3897 <email address hidden>
Thanks!