Odoo Help

Welcome!

This community 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.

3

ERROR: NotFound: 404: Not Found

By
Vincent
on 1/21/15, 1:29 AM 9,895 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?

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?

Juan Formoso
on 2/29/16, 11:14 AM
1
Vivekrajan
On 3/1/16, 2:40 AM

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.


1
Cyrus Waithaka
On 1/30/15, 3:02 AM

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. 

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 1/21/15, 1:29 AM
Seen: 9895 times
Last updated: 3/1/16, 2:40 AM