Dal log rilevo questo approposito del restore
2015-03-21 22:54:33,404 16223 ERROR None openerp.http: Postgres subprocess ('/usr/bin/pg_restore', '--username=odoo', '--host=localhost', '--port=5432', u'--dbname=vmengine', '--no-owner', '/tmp/tmpeRP3lj') error 1
Traceback (most recent call last):
File "/opt/odoo/odoo/openerp/http.py", line 114, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo/odoo/openerp/service/db.py", line 73, in dispatch
return fn(*params)
File "/opt/odoo/odoo/openerp/service/db.py", line 217, in exp_restore
restore_db(db_name, data_file.name, copy=copy)
File "/opt/odoo/odoo/openerp/service/db.py", line 260, in restore_db
if openerp.tools.exec_pg_command(pg_cmd, *pg_args):
File "/opt/odoo/odoo/openerp/tools/misc.py", line 128, in exec_pg_command
raise Exception('Postgres subprocess %s error %s' % (args2, rc))
Exception: Postgres subprocess ('/usr/bin/pg_restore', '--username=odoo', '--host=localhost', '--port=5432', u'--dbname=vmengine', '--no-owner', '/tmp/tmpeRP3lj') error 1
2015-03-21 22:54:33,418 16223 INFO None werkzeug: 2.232.218.59 - - [21/Mar/2015 22:54:33] "POST /web/database/restore HTTP/1.1" 500 -
2015-03-21 22:54:33,428 16223 ERROR None werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/opt/odoo/odoo/openerp/service/server.py", line 281, in app
return self.app(e, s)
File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 216, in application
return application_unproxied(environ, start_response)
File "/opt/odoo/odoo/openerp/service/wsgi_server.py", line 202, in application_unproxied
result = handler(environ, start_response)
File "/opt/odoo/odoo/openerp/http.py", line 1280, in __call__
return self.dispatch(environ, start_response)
File "/opt/odoo/odoo/openerp/http.py", line 1254, in __call__
return self.app(environ, start_wrapped)
File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
return self.app(environ, start_response)
File "/opt/odoo/odoo/openerp/http.py", line 1421, in dispatch
result = ir_http._dispatch()
File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 130, in _dispatch
return self._handle_exception(e)
File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 100, in _handle_exception
return request._handle_exception(exception)
File "/opt/odoo/odoo/openerp/http.py", line 659, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/openerp/addons/base/ir/ir_http.py", line 126, in _dispatch
result = request.dispatch()
File "/opt/odoo/odoo/openerp/http.py", line 677, in dispatch
r = self._call_function(**self.params)
File "/opt/odoo/odoo/openerp/http.py", line 303, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/openerp/http.py", line 300, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo/openerp/http.py", line 796, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo/openerp/http.py", line 396, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 749, in restore
request.session.proxy("db").restore(restore_pwd, new_db, data, copy)
File "/opt/odoo/odoo/openerp/http.py", line 872, in proxy_method
result = dispatch_rpc(self.service_name, method, args)
File "/opt/odoo/odoo/openerp/http.py", line 114, in dispatch_rpc
result = dispatch(method, params)
File "/opt/odoo/odoo/openerp/service/db.py", line 73, in dispatch
return fn(*params)
File "/opt/odoo/odoo/openerp/service/db.py", line 217, in exp_restore
restore_db(db_name, data_file.name, copy=copy)
File "/opt/odoo/odoo/openerp/service/db.py", line 260, in restore_db
if openerp.tools.exec_pg_command(pg_cmd, *pg_args):
File "/opt/odoo/odoo/openerp/tools/misc.py", line 128, in exec_pg_command
raise Exception('Postgres subprocess %s error %s' % (args2, rc))
Exception: Postgres subprocess ('/usr/bin/pg_restore', '--username=odoo', '--host=localhost', '--port=5432', u'--dbname=vmengine', '--no-owner', '/tmp/tmpeRP3lj') error 1
2015-03-21 22:59:30,917 16223 INFO ? openerp.service.server: Initiating shutdown
2015-03-21 22:59:30,917 16223 INFO ? openerp.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2015-03-21 22:59:31,146 16223 ERROR ? openerp.addons.bus.bus: Bus.loop error, sleep and retry
Traceback (most recent call last):
File "/opt/odoo/odoo/addons/bus/bus.py", line 136, in run
self.loop()
File "/opt/odoo/odoo/addons/bus/bus.py", line 122, in loop
conn.poll()
OperationalError: SSL connection has been closed unexpectedly