安装数据库存自动备份应用出错的请教
-
安装的应用为Database auto-backup,因为数据安全是首要的,没个每天自动备份数据不踏实,手动备份不敢想,还好有找到这样的FREE的备份应用,便安装就是出错,用的ODOO11,在cestos系统上运行的,下面贴出错误提示,看不懂呐,来求教大师们了。
错误:
Odoo Server ErrorTraceback (most recent call last):
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/usr/lib/python3.6/site-packages/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/usr/lib/python3.6/site-packages/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/usr/lib/python3.6/site-packages/odoo/addons/web/controllers/main.py", line 935, in call_button
action = self._call_kw(model, method, args, {})
File "/usr/lib/python3.6/site-packages/odoo/addons/web/controllers/main.py", line 923, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/usr/lib/python3.6/site-packages/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/usr/lib/python3.6/site-packages/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/usr/lib/python3.6/site-packages/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/odoo/addons/base/module/module.py", line 448, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/usr/lib/python3.6/site-packages/odoo/addons/base/module/module.py", line 541, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/usr/lib/python3.6/site-packages/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/usr/lib/python3.6/site-packages/odoo/modules/loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "/usr/lib/python3.6/site-packages/odoo/modules/loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/usr/lib/python3.6/site-packages/odoo/modules/loading.py", line 181, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/usr/lib/python3.6/site-packages/odoo/modules/loading.py", line 95, in load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/usr/lib/python3.6/site-packages/odoo/tools/convert.py", line 785, in convert_file
convert_csv_import(cr, module, pathname, fp.read(), idref, mode, noupdate)
File "/usr/lib/python3.6/site-packages/odoo/tools/convert.py", line 832, in convert_csv_import
raise Exception(('Module loading %s failed: file %s could not be processed:\n %s') % (module, fname, warning_msg))
Exception: 模块加载 auto_backup 失败: 文件 auto_backup/security/ir.model.access.csv 无法处理:
在字段'Object'中没找到匹配的记录外部 ID 'model_db_backup'
null value in column "model_id" violates not-null constraint
DETAIL: Failing row contains (814, db_backup admin access, t, null, 7, t, t, t, t, 1, 2019-03-26 22:37:26.124305, 1, 2019-03-26 22:37:26.124305).在字段'Object'中没找到匹配的记录外部 ID 'model_db_backup'
null value in column "model_id" violates not-null constraint
DETAIL: Failing row contains (815, Model db_backup admin access, t, null, 93, t, t, t, t, 1, 2019-03-26 22:37:26.124305, 1, 2019-03-26 22:37:26.124305). -