Skip to Content
Menu
This question has been flagged
3 Replies
55671 Views


I have installed odoo on ubuntu 14.04 server. the server is running with 4 workers. and db_maxconn=1000.
and have more then 200 users on it.
but while starting the server it shows me the following error.

2015-01-21 06:21:01,280 1924 ERROR None openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
  File "/opt/odoo/openerp/http.py", line 518, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo/openerp/http.py", line 1358, in _dispatch_nodb
    func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()
  File "/usr/local/lib/python2.7/dist-packages/werkzeug/routing.py", line 1430, in match
    raise NotFound()
NotFound: 404: Not Found

I think it is because of the database, but can't figure it out. can any one spread light on it?

Avatar
Discard

Did you find the solution for this? I'm getting this error in each database I create in my Odoo instance. Because of this, the outgoing mail server does not work. What is happening?

Best Answer

Hi,

  1. Clear all the cache and history in your browser.

  2. keep only one database  for use and remove other databases

or

  1. Use --db-filter dabase-name to load a single database. 

This is how I fixed the issue. There may be other ways of achieving the same. I shall update my answers as I find more ways.


Avatar
Discard
Best Answer

I had a similar problem after I had dropped the database while odoo server was still running. This is how I fixed it.

1. I created another database from the command line, say 'Test_db'

2. I granted all priviledges to the Test_db to the odoo database user (as defined in openerp-server.conf file) 

3. I then forced odoo to access that database by specifying it on the URL as http://url to odoo:port/web?db=Test_db

Odoo will connect to your new database from which you will be able to restore your system. I hope this helps. 

Avatar
Discard
Best Answer

For me the issue was the `dbfilter` field in the odoo.conf file.

First it was set to:

dbfilter = '^.*$'

and after I deleted the single quotes it worked perfectly fine.

dbfilter = ^.*$
Avatar
Discard
Related Posts Replies Views Activity
8
Aug 24
57728
10
Apr 21
16502
1
Mar 15
8734
3
Dec 18
3840
1
Sep 15
12069