Skip to Content
Menu
This question has been flagged
1 Reply
7333 Views

I already install odoo 10 in my computer and want upgrade to odoo 11,

When It ask about updating .conf file, I didn't update.

but when I want connect it give me error 500

this is error log

2017-10-16 00:14:00,153 6479 INFO ? odoo: Odoo version 11.0-20171013

2017-10-16 00:14:00,154 6479 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf

2017-10-16 00:14:00,154 6479 INFO ? odoo: addons paths: ['/opt/odoo/.local/share/Odoo/addons/11.0', '/usr/lib/python2.7/dist-packages/odoo/addons', '/usr/lib/python3/dist-packages/odoo/addons']

2017-10-16 00:14:00,154 6479 INFO ? odoo: database: odoo@127.0.0.1:5432

2017-10-16 00:14:00,166 6479 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069

2017-10-16 00:14:00,267 6479 INFO ? odoo.addons.base.ir.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf

2017-10-16 00:14:00,355 6479 WARNING ? odoo.addons.base.res.res_currency: The num2words python library is not installed, l10n_mx_edi features won't be fully available.

2017-10-16 00:14:04,803 6479 INFO ? odoo.http: HTTP Configuring static files

2017-10-16 00:14:04,819 6479 INFO "company name" odoo.modules.loading: loading 1 modules...

2017-10-16 00:14:04,842 6479 INFO "company name" odoo.modules.loading: 1 modules loaded in 0.02s, 0 queries

2017-10-16 00:14:04,846 6479 WARNING "company name" odoo.modules.graph: module portal_sale: not installable, skipped

2017-10-16 00:14:04,848 6479 WARNING "company name" odoo.modules.graph: module report: not installable, skipped

2017-10-16 00:14:04,849 6479 WARNING "company name" odoo.modules.graph: module website_portal_sale: not installable, skipped

2017-10-16 00:14:04,856 6479 WARNING "company name" odoo.modules.graph: module account_accountant: not installable, skipped

2017-10-16 00:14:04,861 6479 WARNING "company name" odoo.modules.graph: module portal_stock: not installable, skipped

2017-10-16 00:14:04,863 6479 WARNING "company name" odoo.modules.graph: module web_calendar: not installable, skipped

2017-10-16 00:14:04,864 6479 WARNING "company name" odoo.modules.graph: module website_portal: not installable, skipped

2017-10-16 00:14:04,868 6479 WARNING "company name" odoo.modules.graph: module base_action_rule: not installable, skipped

2017-10-16 00:14:04,873 6479 WARNING "company name" odoo.modules.graph: module web_kanban: not installable, skipped

2017-10-16 00:14:04,877 6479 WARNING "company name" odoo.modules.graph: module procurement: not installable, skipped

2017-10-16 00:14:04,880 6479 ERROR "company name" odoo.modules.graph: module website_payment: Unmet dependencies: website, payment, portal

2017-10-16 00:14:04,880 6479 ERROR "company name" odoo.modules.graph: module procurement_jit: Unmet dependencies: sale_stock

2017-10-16 00:14:04,880 6479 ERROR "company name" odoo.modules.graph: module payment_transfer: Unmet dependencies: payment

2017-10-16 00:14:04,880 6479 ERROR "company name" odoo.modules.graph: module purchase: Unmet dependencies: stock_account

2017-10-16 00:14:04,880 6479 ERROR "company name" odoo.modules.graph: module website_form: Unmet dependencies: website

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module website_sale_hide_empty_category: Unmet dependencies: website_sale

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module website: Unmet dependencies: http_routing, portal

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module account: Unmet dependencies: portal

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module website_sale_stock: Unmet dependencies: website_sale, sale_stock

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module portal: Unmet dependencies: http_routing

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module point_of_sale: Unmet dependencies: stock_account

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module l10n_generic_coa: Unmet dependencies: account

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module website_sale: Unmet dependencies: website, sale_payment, website_payment, website_mail, website_form, website_rating

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module pos_product_available: Unmet dependencies: point_of_sale

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module sale: Unmet dependencies: account, portal

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module sale_stock: Unmet dependencies: sale, stock_account

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module website_theme_install: Unmet dependencies: website

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module payment: Unmet dependencies: account

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module website_mail: Unmet dependencies: website

2017-10-16 00:14:04,881 6479 ERROR "company name" odoo.modules.graph: module account_bank_statement_import: Unmet dependencies: account

2017-10-16 00:14:04,882 6479 ERROR "company name" odoo.modules.graph: module pos_reprint: Unmet dependencies: point_of_sale

2017-10-16 00:14:04,882 6479 ERROR "company name" odoo.modules.graph: module stock_account: Unmet dependencies: account
2017-10-16 00:14:04,882 6479 INFO "company name" odoo.modules.loading: loading 27 modules...

2017-10-16 00:14:04,982 6479 INFO "company name" odoo.modules.loading: 27 modules loaded in 0.10s, 0 queries

2017-10-16 00:14:05,475 6479 INFO "company name" odoo.modules.loading: Modules loaded.

2017-10-16 00:14:05,481 6479 INFO "company name" odoo.addons.base.ir.ir_http: Generating routing map

2017-10-16 00:14:05,547 6479 ERROR "company name" odoo.sql_db: bad query: b'SELECT "res_users"."id" as "id","res_users"."login" as "login","res_users"."action_id" as "action_id","res_users"."write_date" as "write_date","res_users"."active" as "active","res_users"."password" as "password","res_users"."alias_id" as "alias_id","res_users"."partner_id" as "partner_id","res_users"."write_uid" as "write_uid","res_users"."create_date" as "create_date","res_users"."share" as "share","res_users"."notification_type" as "notification_type","res_users"."company_id" as "company_id","res_users"."create_uid" as "create_uid","res_users"."sale_team_id" as "sale_team_id","res_users"."password_crypt" as "password_crypt","res_users"."signature" as "signature" FROM "res_users" WHERE "res_users".id IN (1)'
ERROR: column res_users.notification_type does not exist LINE 1: ..." as "create_date","res_users"."share" as "share","res_users...
                                                             ^

2017-10-16 00:14:05,551 6479 INFO "company name" werkzeug: 192.168.0.2 - - [16/Oct/2017 00:14:05] "GET /web/login HTTP/1.1" 500 - 2017-10-16 00:14:05,577 6479 ERROR "company name" werkzeug: Error on request:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 180, in run_wsgi
    execute(self.server.app)
  File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 168, in execute
    application_iter = app(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 254, in app
    return self.app(e, s)
  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 166, in application
    return application_unproxied(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/service/wsgi_server.py", line 154, in application_unproxied
    result = handler(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1298, in __call__
    return self.dispatch(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1272, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python3/dist-packages/werkzeug/wsgi.py", line 591, in __call__
    return self.app(environ, start_response)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1473, in dispatch
    result = ir_http._dispatch()
  File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 19, in _dispatch
    return super(Http, cls)._dispatch()
  File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 21, in _dispatch
    return super(IrHttp, cls)._dispatch()
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_http.py", line 212, in _dispatch
    return cls._handle_exception(e)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_http.py", line 182, in _handle_exception
    return request._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 761, in _handle_exception
    return super(HttpRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_http.py", line 208, in _dispatch
    result = request.dispatch()
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 820, in dispatch
    r = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 335, in checked_call
    result.flatten()
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1249, in flatten
    self.response.append(self.render())
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 1242, in render
    return env["ir.ui.view"].render_template(self.template, self.qcontext)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_ui_view.py", line 1052, in render_template
    return self.browse(self.get_view_id(template)).render(values, engine)
  File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 27, in render
    return super(IrUiView, self).render(values=values, engine=engine)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_ui_view.py", line 1058, in render
    qcontext = self._prepare_qcontext()
  File "/usr/lib/python3/dist-packages/odoo/addons/base/ir/ir_ui_view.py", line 1071, in _prepare_qcontext
    res_company=self.env.user.company_id.sudo(),
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 915, in __get__
    self.determine_value(record)
  File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1016, in determine_value
    record._prefetch_field(self)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 2568, in _prefetch_field
    result = records.read([f.name for f in fs], load='_classic_write')
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_users.py", line 865, in read
    res = super(UsersView, self).read(other_fields, load=load)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_users.py", line 295, in read
    result = super(Users, self).read(fields=fields, load=load)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 2512, in read
    self._read_from_database(stored, inherited)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 2631, in _read_from_database
    cr.execute(query_str, params)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 155, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 232, in execute
    res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_users.notification_type does not exist LINE 1: ..." as "create_date","res_users"."share" as "share","res_users...
                                                             ^
2017-10-16 00:15:00,426 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:15:01,405 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:16:00,457 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:16:02,460 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:17:00,520 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:17:03,473 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:18:00,563 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:18:04,511 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:19:00,602 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:19:05,575 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:20:00,664 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:20:06,601 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:21:00,726 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:21:07,665 6479 WARNING "company name" odoo.addons.base.ir.ir_cron: Skipping database "company name" as its base version is not 11.0.1.3.

2017-10-16 00:21:53,981 6479 INFO ? odoo.service.server: Initiating shutdown

2017-10-16 00:21:53,981 6479 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.

Avatar
Discard
Best Answer

You can not upgrade Odoo databases, you have to migrate your apps and your database.

Avatar
Discard
Related Posts Replies Views Activity
1
Aug 18
2668
2
Jul 24
942
1
Jun 24
3563
1
Oct 23
8590
1
Oct 23
97