I am getting while getting backup of odoo database from database manager.
My postgres server is on another server, I have configured pg_path accordingly.
while taking backup it is giving me error like
Traceback (most recent call last):
File "/home/software/ws/odoo/openerp/http.py", line 108, in dispatch_rpc
result = dispatch(method, params)
File "/home/software/ws/odoo/openerp/service/db.py", line 70, in dispatch
File "/home/software/ws/odoo/openerp/service/db.py", line 176, in exp_dump
File "/home/software/ws/odoo/openerp/service/db.py", line 169, in wrapper
return func(*args, **kwargs)
File "/home/software/ws/odoo/openerp/service/db.py", line 200, in dump_db
File "/home/software/ws/odoo/openerp/tools/misc.py", line 90, in exec_pg_command
raise Exception('Couldn\'t find %s' % name)
Exception: Couldn't find pg_dump
Confirmed that just installing postgresql on Odoo server machine, this problem is fixed.
I have installed postgresql on odoo server and made no changes on it. Just installed it in order to allow odoo to find the "pg_dump" application and leave "pg_path = None" on the odoo configuration file.
Perhaps there is another solution for solving this problem, but it's working this way.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/11/15, 5:49 AM|
|Seen: 967 times|
|Last updated: 7/28/16, 2:02 PM|