Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am trying to restore my live database in to my local, Code is same and postgres version is same in my local and my live. It is giving the below error
2015-07-14 11:15:40,501 9282 ERROR ? openerp.addons.web.http.HttpRequest.dispatch: An error occurred while handling a json request
Traceback (most recent call last):
File "/home/samba/openerp7-pinatas/addons/web/http.py", line 285, in dispatch
r = method(self, **self.params)
File "/home/samba/openerp7-pinatas/addons/web/controllers/main.py", line 822, in restore
data = base64.b64encode(db_file.read())
File "/usr/lib/python2.7/base64.py", line 53, in b64encode
encoded = binascii.b2a_base64(s)[:-1]
Can any one give solution to me?
this error occured due to size of database . refer this link http://www.postgresql.org/docs/current/static/backup-dump.html#BACKUP-DUMP-RESTORE and take backup in terminal like this : pg_dump dbname > outfile.sql
and restore sql like this : psql dbname < infile.sql
Hope this will help you !!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/14/15, 7:23 AM|
|Seen: 2791 times|
|Last updated: 10/1/15, 6:52 AM|