Skip to Content
Menu
This question has been flagged
4 Replies
3939 Views

i have an error 500 after testing to install website apps. the installation crash and now i have error 500.


Odoo v10 CE - Debian Jessie - Nginx


the log:

2017-04-05 15:21:44,044 16417 INFO db2_evart_od10 odoo.modules.loading: loading 1 modules...
2017-04-05 15:21:44,105 16417 INFO db2_evart_od10 odoo.modules.loading: 1 modules loaded in 0.06s, 0 queries 2017-04-05 15:21:44,201 16417 INFO db2_evart_od10 odoo.modules.loading: loading 57 modules...
2017-04-05 15:21:44,479 16417 INFO db2_evart_od10 odoo.modules.loading: 57 modules loaded in 0.28s, 0 queries 2017-04-05 15:21:44,511 16417 ERROR db2_evart_od10 odoo.modules.registry: Failed to load registry Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/modules/registry.py", line 78, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 341, in load_modules
    registry.setup_models(cr)
  File "/odoo/odoo-server/odoo/modules/registry.py", line 290, in setup_models
    model._setup_base(partial)
  File "/odoo/odoo-server/odoo/models.py", line 2787, in _setup_base
    field = cls0._fields[name]
KeyError: 'mass_mailing_campaign_id'
2017-04-05 15:21:44,516 16417 INFO db2_evart_od10 werkzeug: 127.0.0.1 - - [05/Apr/2017 15:21:44] "GET / HTTP/1.0" 500 - 2017-04-05 15:21:44,531 16417 ERROR db2_evart_od10 werkzeug: Error on request:
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 "/odoo/odoo-server/odoo/service/server.py", line 250, in app
    return self.app(e, s)
  File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 184, in application
    return application_unproxied(environ, start_response)
  File "/odoo/odoo-server/odoo/service/wsgi_server.py", line 170, in application_unproxied
    result = handler(environ, start_response)
  File "/odoo/odoo-server/odoo/http.py", line 1306, in __call__
    return self.dispatch(environ, start_response)
  File "/odoo/odoo-server/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 "/odoo/odoo-server/odoo/http.py", line 1454, in dispatch
    odoo.registry(db).check_signaling()
  File "/odoo/odoo-server/odoo/__init__.py", line 52, in registry
    return modules.registry.Registry(database_name)
  File "/odoo/odoo-server/odoo/modules/registry.py", line 55, in __new__
    return cls.new(db_name)
  File "/odoo/odoo-server/odoo/modules/registry.py", line 78, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/odoo/odoo-server/odoo/modules/loading.py", line 341, in load_modules
    registry.setup_models(cr)
  File "/odoo/odoo-server/odoo/modules/registry.py", line 290, in setup_models
    model._setup_base(partial)
  File "/odoo/odoo-server/odoo/models.py", line 2787, in _setup_base
    field = cls0._fields[name]
KeyError: 'mass_mailing_campaign_id'

it tell me about mass mailing campaign ID, i do not know how to fix it.

is there a way to uninstall pass from ssh terminal ?

or perhaps i do have to check in the database to change a value somewhere ?


Avatar
Discard

First of all, you could use a meaningful title....

Author Best Answer

server re installed from scratch.

Avatar
Discard
Best Answer

you need to upgrade the mass_mailing from the terminal, It will load the XML again to your database correctly. for that, you need to run below command from your odoo server 

./odoo-bin -d db2_evart_od10 -u mass_mailing


Avatar
Discard
Best Answer

Remove the module from your addons folder and update Odoo. Then restart.

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 21
642
2
Oct 20
6121
2
Mar 22
2549
4
Sep 15
4488
1
Dec 24
179