Skip to Content
Menu
This question has been flagged
2 Replies
4636 Views

I'm trying to update odoo CE version from 9 to 10. I did fresh install on server, dumped old database and imported it to new version.

While trying to connect with my credentials, I'm getting error in browser:

"Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."


And CLI throw back an error:


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 "/usr/lib/python2.7/dist-packages/odoo/service/server.py", line 246, in app return self.app(e, s) File "/usr/lib/python2.7/dist-packages/odoo/service/wsgi_server.py", line 184, in application return application_unproxied(environ, start_response) File "/usr/lib/python2.7/dist-packages/odoo/service/wsgi_server.py", line 170, in application_unproxied result = handler(environ, start_response) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 1306, in __call__ return self.dispatch(environ, start_response) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 1280, in __call__ return self.app(environ, start_wrapped) File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__ return self.app(environ, start_response) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 1471, in dispatch result = ir_http._dispatch() File "/usr/lib/python2.7/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch return super(IrHttp, cls)._dispatch() File "/usr/lib/python2.7/dist-packages/odoo/addons/utm/models/ir_http.py", line 20, in _dispatch response = super(IrHttp, cls)._dispatch() File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 199, in _dispatch return cls._handle_exception(e) File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception return request._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 766, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch result = request.dispatch() File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 825, in dispatch r = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 331, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/service/model.py", line 119, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 324, in checked_call result = self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 933, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 504, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/odoo/addons/web/controllers/main.py", line 467, in web_login uid = request.session.authenticate(request.session.db, request.params['login'], request.params['password']) File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 1045, in authenticate if uid: self.get_context() File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 1080, in get_context self.context = request.env['res.users'].context_get() or {} File "<string>", line 2, in context_get File "/usr/lib/python2.7/dist-packages/odoo/tools/cache.py", line 87, in lookup value = d[key] = self.method(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/addons/base/res/res_users.py", line 421, in context_get res = getattr(user, k) or False File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 869, in __get__ self.determine_value(record) File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 980, in determine_value self.compute_value(recs) File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 935, in compute_value self._compute_value(records) File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 928, in _compute_value self.compute(records) File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 580, in _compute_related record[self.name] = other[field.name] File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 5186, in __getitem__ return self._fields[key].__get__(self, type(self)) File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 869, in __get__ self.determine_value(record) File "/usr/lib/python2.7/dist-packages/odoo/fields.py", line 971, in determine_value record._prefetch_field(self) File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3056, in _prefetch_field result = records.read([f.name for f in fs], load='_classic_write') File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 2996, in read self._read_from_database(stored, inherited) File "/usr/lib/python2.7/dist-packages/odoo/models.py", line 3124, in _read_from_database cr.execute(query_str, params) File "/usr/lib/python2.7/dist-packages/odoo/sql_db.py", line 141, in wrapper return f(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/odoo/sql_db.py", line 218, in execute res = self._obj.execute(query, params)ProgrammingError: column res_partner.commercial_company_name does not existLINE 1: ...ate","res_partner"."create_date" as "create_date","res_partn...

                                                             ^2017-02-14 07:21:58,267 1 WARNING pretendentas odoo.addons.base.ir.ir_cron: Skipping database pretendentas as its base version is not 10.0.1.3.


Avatar
Discard
Author Best Answer

But as far I can see they still have no upgrading tool from 9th to 10 version

Avatar
Discard
Best Answer

Odoo never was and most probably never will be forward or backward compatible. In order to upgrade Odoo you have to migrate your database. Database migration is a service which can be provided by Odoo S.A. or Odoo partners, or you can try to do it yourself based on the openupgrade project of the OCA.

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 23
1057
1
Apr 17
2393
1
Dec 19
3260
4
Jul 19
7684
0
Mar 18
2020