Odoo Help


Login error after moving site

Tim Norton
on 3/6/14, 2:04 AM 907 views

I have moved a site from one VPS to another (for speed improvements).

If I create a new database, it works apart from a minor error about the language.

If I load my existing database, when I login with the correct user details I get the following errors and it returns "Invalid username or password"

I am struggling to find any direction to try to fix this. I have ensured all custom modules are copied over.

OpenERP Server Error
Client Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/http.py", line 195, in dispatch   response["result"] = method(self, **self.params)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/controllers/main.py", line 817, in authenticate
    req.session.authenticate(db, login, password, env)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/session.py", line 116, in authenticate    if uid: self.get_context()

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/session.py", line 166, in get_context    self.context = self.model('res.users').context_get() or {}

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/session.py", line 40, in proxy    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/session.py", line 28, in proxy_method    result = self.session.send(self.service_name, method, *args)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/session.py", line 101, in send    raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

Server Traceback (most recent call last):

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/web/session.py", line 87, in send    return openerp.netsvc.dispatch_rpc(service_name, method, args)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/netsvc.py", line 281, in dispatch_rpc    result = ExportService.getService(service_name).dispatch(method, params)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/service/web_services.py", line 614, in dispatch    res = fn(db, uid, *params)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/osv/osv.py", line 169, in execute_kw    return self.execute(db, uid, obj, method, *args, **kw or {})

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/osv/osv.py", line 123, in wrapper    return f(self, dbname, *args, **kwargs)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/osv/osv.py", line 179, in execute    res = self.execute_cr(cr, uid, obj, method, *args, **kw)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/osv/osv.py", line 166, in execute_cr    return getattr(object, method)(cr, uid, *args, **kw)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/tools/cache.py", line 18, in lookup    r = self.lookup(self2, cr, *args)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/tools/cache.py", line 46, in lookup    value = d[key] = self.method(self2, cr, *args)

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/addons/base/res/res_users.py", line 348, in context_get    res = getattr(user,k) or False

  File "/usr/lib/python2.6/site-packages/openerp-7.0_20121227_075624-py2.6.egg/openerp/osv/orm.py", line 486, in __getattr__    raise AttributeError(e)

AttributeError: 3`

Your Answer

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

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/6/14, 2:04 AM
Seen: 907 times
Last updated: 3/16/15, 8:10 AM