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.

1

¿How i can solve a 500 Internal Server Error after create Data base?

500
By
Adrián Carrasco
on 9/11/14, 1:54 PM 3,723 views

Hi all!

After create my database with OpenERP v7, I receive an Internal Server Error.

¿Anybody can help me please?

Thanks all.

There are many reasons that displays 500 Internal Server Error. First of all you have to check your log. If you don't understand your log file please post it here.

GH Mediacloud, Grover Menacho
on 9/11/14, 6:57 PM

Hi Grover. Thank You for answer. I'm too newbie with linux servers. ¿How can I see the log?. ¿Where is it?. PD: ¿Can I talk with you in spanish?

Adrián Carrasco
on 9/11/14, 7:04 PM

This is the log: 2014-09-11 23:30:03,867 13460 INFO odoo werkzeug: 186.32.194.13 - - [11/Sep/2014 23:30:03] "GET / HTTP/1.1" 200 - 2014-09-11 23:30:03,989 13460 INFO odoo werkzeug: 186.32.194.13 - - [11/Sep/2014 23:30:03] "GET /web HTTP/1.1" 200 - 2014-09-11 23:30:04,354 13460 INFO odoo werkzeug: 186.32.194.13 - - [11/Sep/2014 23:30:04] "GET /web/login?redirect=http%3A%2F%2Fvps95697.ovh.net%3A8069%2Fweb HTT P/1.1" 500 - 2014-09-11 23:30:04,385 13460 ERROR odoo werkzeug: Error on request: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_w sgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execu te application_iter = app(environ, start_response) File "/opt/odoo/odoo-server/openerp/service/server.py", line 280, in app return self.app(e, s) File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 216, in appli cation return application_unproxied(environ, start_response) File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 202, in appli cation_unproxied result = handler(environ, start_response) File "/opt/odoo/odoo-server/openerp/http.py", line 1211, in __call__ return self.dispatch(environ, start_response) File "/opt/odoo/odoo-server/openerp/http.py", line 1185, in __call__ return self.app(environ, start_wrapped) File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__ return self.app(environ, start_response) File "/opt/odoo/odoo-server/openerp/http.py", line 1357, in dispatch response = self.get_response(httprequest, result, explicit_session) File "/opt/odoo/odoo-server/openerp/http.py", line 1292, in get_response result = request.registry['ir.http']._handle_exception(e) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 100, in _h andle_exception return request._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 592, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 1289, in get_response result.flatten() File "/opt/odoo/odoo-server/openerp/http.py", line 1162, in flatten self.response.append(self.render()) File "/opt/odoo/odoo-server/openerp/http.py", line 1156, in render context=request.context) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 1004, i n render return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loade r, context=context) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 247, in re nder return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcon text) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 187, in ge t_template raise_qweb_exception(QWebTemplateNotFound, message="Loader could not find tem plate %r" % name, template=origin_template) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 185, in ge t_template xml_doc = qwebcontext.loader(name) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 1002, i n loader return self.read_template(cr, uid, name, context=context) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "", line 2, in read_template File "/opt/odoo/odoo-server/openerp/tools/cache.py", line 119, in lookup value = d[key] = self.method(*args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 846, in read_template view_id = self.pool['ir.model.data'].xmlid_to_res_id(cr, uid, xml_id, raise_i f_not_found=True) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 910, in x mlid_to_res_id return self.xmlid_to_res_model_res_id(cr, uid, xmlid, raise_if_not_found)[1] File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 902, in x mlid_to_res_model_res_id return self.xmlid_lookup(cr, uid, xmlid)[1:3] File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "", line 2, in xmlid_lookup File "/opt/odoo/odoo-server/openerp/tools/cache.py", line 71, in lookup value = d[key] = self.method(*args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 892, in x mlid_lookup raise ValueError('External ID not found in the system: %s' % (xmlid)) QWebTemplateNotFound: External ID not found in the system: web.login

Adrián Carrasco
on 9/11/14, 7:39 PM
0
Adrián Carrasco
On 9/11/14, 7:43 PM

This is the log:

 

2014-09-11 23:30:03,867 13460 INFO odoo werkzeug: 186.32.194.13 - - [11/Sep/2014 23:30:03] "GET / HTTP/1.1" 200 - 2014-09-11 23:30:03,989 13460 INFO odoo werkzeug: 186.32.194.13 - - [11/Sep/2014 23:30:03] "GET /web HTTP/1.1" 200 - 2014-09-11 23:30:04,354 13460 INFO odoo werkzeug: 186.32.194.13 - - [11/Sep/2014 23:30:04] "GET /web/login?redirect=http%3A%2F%2Fvps95697.ovh.net%3A8069%2Fweb HTT P/1.1" 500 - 2014-09-11 23:30:04,385 13460 ERROR odoo werkzeug: Error on request: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_w sgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execu te application_iter = app(environ, start_response) File "/opt/odoo/odoo-server/openerp/service/server.py", line 280, in app return self.app(e, s) File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 216, in appli cation return application_unproxied(environ, start_response) File "/opt/odoo/odoo-server/openerp/service/wsgi_server.py", line 202, in appli cation_unproxied result = handler(environ, start_response) File "/opt/odoo/odoo-server/openerp/http.py", line 1211, in __call__ return self.dispatch(environ, start_response) File "/opt/odoo/odoo-server/openerp/http.py", line 1185, in __call__ return self.app(environ, start_wrapped) File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__ return self.app(environ, start_response) File "/opt/odoo/odoo-server/openerp/http.py", line 1357, in dispatch response = self.get_response(httprequest, result, explicit_session) File "/opt/odoo/odoo-server/openerp/http.py", line 1292, in get_response result = request.registry['ir.http']._handle_exception(e) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 100, in _h andle_exception return request._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 592, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo/odoo-server/openerp/http.py", line 1289, in get_response result.flatten() File "/opt/odoo/odoo-server/openerp/http.py", line 1162, in flatten self.response.append(self.render()) File "/opt/odoo/odoo-server/openerp/http.py", line 1156, in render context=request.context) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 1004, i n render return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loade r, context=context) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 247, in re nder return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcon text) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 187, in ge t_template raise_qweb_exception(QWebTemplateNotFound, message="Loader could not find tem plate %r" % name, template=origin_template) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 185, in ge t_template xml_doc = qwebcontext.loader(name) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 1002, i n loader return self.read_template(cr, uid, name, context=context) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "", line 2, in read_template File "/opt/odoo/odoo-server/openerp/tools/cache.py", line 119, in lookup value = d[key] = self.method(*args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 846, in read_template view_id = self.pool['ir.model.data'].xmlid_to_res_id(cr, uid, xml_id, raise_i f_not_found=True) File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 910, in x mlid_to_res_id return self.xmlid_to_res_model_res_id(cr, uid, xmlid, raise_if_not_found)[1] File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 902, in x mlid_to_res_model_res_id return self.xmlid_lookup(cr, uid, xmlid)[1:3] File "/opt/odoo/odoo-server/openerp/api.py", line 235, in wrapper return old_api(self, *args, **kwargs) File "", line 2, in xmlid_lookup File "/opt/odoo/odoo-server/openerp/tools/cache.py", line 71, in lookup value = d[key] = self.method(*args, **kwargs) File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 892, in x mlid_lookup raise ValueError('External ID not found in the system: %s' % (xmlid)) QWebTemplateNotFound: External ID not found in the system: web.login

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

2 follower(s)

Stats

Asked: 9/11/14, 1:54 PM
Seen: 3723 times
Last updated: 3/16/15, 8:10 AM