Skip to Content
Menu
This question has been flagged

Hi, All


Today I tried to access my Odoo13 database. But unfortunately I am not able to login to my database.

When I tried to login then I am getting below error.

https://prnt.sc/rf3fwt 


Traceback of the Error:

2020-03-12 05:43:31,343 1517 ERROR MAGENTO2_MOB werkzeug: Error on request:
Traceback (most recent call last):
  File "/home/ubuntu/python36/lib/python3.7/site-packages/werkzeug/serving.py", line 304, in run_wsgi
    execute(self.server.app)
  File "/home/ubuntu/python36/lib/python3.7/site-packages/werkzeug/serving.py", line 292, in execute
    application_iter = app(environ, start_response)
  File "/opt/odoo13/odoo/service/server.py", line 439, in app
    return self.app(e, s)
  File "/opt/odoo13/odoo/service/wsgi_server.py", line 142, in application
    return application_unproxied(environ, start_response)
  File "/opt/odoo13/odoo/service/wsgi_server.py", line 117, in application_unproxied
    result = odoo.http.root(environ, start_response)
  File "/opt/odoo13/odoo/http.py", line 1281, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/odoo13/odoo/http.py", line 1251, in __call__
    return self.app(environ, start_wrapped)
  File "/home/ubuntu/python36/lib/python3.7/site-packages/werkzeug/middleware/shared_data.py", line 220, in __call__
    return self.app(environ, start_response)
  File "/opt/odoo13/odoo/http.py", line 1450, in dispatch
    result = ir_http._dispatch()
  File "/opt/odoo13/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
    return super(Http, cls)._dispatch()
  File "/opt/odoo13/addons/web_editor/models/ir_http.py", line 22, in _dispatch
    return super(IrHttp, cls)._dispatch()
  File "/opt/odoo13/addons/utm/models/ir_http.py", line 29, in _dispatch
    response = super(IrHttp, cls)._dispatch()
  File "/opt/odoo13/addons/http_routing/models/ir_http.py", line 516, in _dispatch
    result = super(IrHttp, cls)._dispatch()
  File "/opt/odoo13/odoo/addons/base/models/ir_http.py", line 233, in _dispatch
    return cls._handle_exception(e)
  File "/opt/odoo13/addons/utm/models/ir_http.py", line 34, in _handle_exception
    response = super(IrHttp, cls)._handle_exception(exc)
  File "/opt/odoo13/addons/http_routing/models/ir_http.py", line 607, in _handle_exception
    return super(IrHttp, cls)._handle_exception(exception)
  File "/opt/odoo13/odoo/addons/base/models/ir_http.py", line 201, in _handle_exception
    return request._handle_exception(exception)
  File "/opt/odoo13/odoo/http.py", line 744, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/opt/odoo13/odoo/http.py", line 309, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo13/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/opt/odoo13/odoo/addons/base/models/ir_http.py", line 229, in _dispatch
    result = request.dispatch()
  File "/opt/odoo13/odoo/http.py", line 803, in dispatch
    r = self._call_function(**self.params)
  File "/opt/odoo13/odoo/http.py", line 345, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo13/odoo/service/model.py", line 93, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo13/odoo/http.py", line 338, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo13/odoo/http.py", line 909, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo13/odoo/http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo13/addons/auth_signup/controllers/main.py", line 21, in web_login
    response = super(AuthSignupHome, self).web_login(*args, **kw)
  File "/opt/odoo13/odoo/http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo13/addons/web/controllers/main.py", line 893, in web_login
    uid = request.session.authenticate(request.session.db, request.params['login'], request.params['password'])
  File "/opt/odoo13/odoo/http.py", line 1000, in authenticate
    uid = odoo.registry(db)['res.users'].authenticate(db, login, password, env)
  File "/opt/odoo13/odoo/addons/base/models/res_users.py", line 636, in authenticate
    uid = cls._login(db, login, password)
  File "/opt/odoo13/odoo/addons/base/models/res_users.py", line 616, in _login
    user._update_last_login()
  File "/opt/odoo13/odoo/addons/base/models/res_users.py", line 596, in _update_last_login
    self.env['res.users.log'].create({}) # populated by defaults
  File "<decorator-gen-3>", line 2, in create
    
  File "/opt/odoo13/odoo/api.py", line 343, in _model_create_multi
    return create(self, [arg])
  File "/opt/odoo13/odoo/models.py", line 3724, in create
    records = self._create(data_list)
  File "/opt/odoo13/odoo/models.py", line 3878, in _create
    records.check_access_rule('create')
  File "/opt/odoo13/odoo/models.py", line 3220, in check_access_rule
    raise self.env['ir.rule']._make_access_error(operation, forbidden)
odoo.exceptions.AccessError: ('The requested operation ("create" on "Users Log" (res.users.log)) was rejected because of the following rules:\n\n\n(Records: res.users.log,147 (id=147), User: Administrator (id=2))', None) - - -
Kindly assist for this query.

Thanks,
Ashish Singh
Webkul Software Private Limited

 
Avatar
Discard
Related Posts Replies Views Activity
0
Feb 17
15182
1
Oct 21
3972
4
May 24
10073
1
Apr 24
1563
0
Nov 23
525