This question has been flagged
1 Reply
3690 Views

on 2014-02-21, we ran an update. Our database will no longer open. It is possible to create a new database & that database will open. This leaves us “stuck” with the version that is currently working but has some bug issues. I was hoping to solve those as I see there have been some fixes in the update. Has anyone else experienced this issue?

I am using the trunk (v8) version –version : openerp_8.0dev-20140110-000101-1_all.deb 10-Jan-2014 01:20 80305638

on 2014-02-21, we ran an update. Our database will no longer open. It is possible to create a new database & that database will open. the error on the web page when you select an existing database is:

Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Here’s the error log of openerp on the server: 2014-02-21 16:25:14,495 25442 INFO None werkzeug: 127.0.0.1 - - [21/Feb/2014 16:25:14] "GET /web/database/selector HTTP/1.1" 200 - 2014-02-21 16:25:15,935 25442 INFO ssm werkzeug: 127.0.0.1 - - [21/Feb/2014 16:25:15] "GET /web?db=SSM HTTP/1.1" 303 - 2014-02-21 16:25:16,034 25442 INFO SSM werkzeug: 127.0.0.1 - - [21/Feb/2014 16:25:16] "GET /web/login?db=SSM HTTP/1.1" 500 - 2014-02-21 16:25:16,040 25442 ERROR SSM werkzeug: Error on request: Traceback (most recent call last): File "/usr/share/pyshared/werkzeug/serving.py", line 159, in run_wsgi execute(app) File "/usr/share/pyshared/werkzeug/serving.py", line 146, in execute application_iter = app(environ, start_response) File "/usr/share/pyshared/openerp/service/server.py", line 261, in app return self.app(e,s) File "/usr/share/pyshared/openerp/service/wsgi_server.py", line 362, in application return application_unproxied(environ, start_response) File "/usr/share/pyshared/openerp/service/wsgi_server.py", line 348, in application_unproxied result = handler(environ, start_response) File "/usr/share/pyshared/openerp/http.py", line 971, in __call__ return self.dispatch(environ, start_response) File "/usr/share/pyshared/openerp/http.py", line 929, in __call__ return self.app(environ, start_wrapped) File "/usr/share/pyshared/werkzeug/wsgi.py", line 411, in __call__ return self.app(environ, start_response) File "/usr/share/pyshared/openerp/http.py", line 1118, in dispatch response = self.get_response(httprequest, result, explicit_session) File "/usr/share/pyshared/openerp/http.py", line 1047, in get_response result = request.registry['ir.http']._handle_exception(e) File "/usr/share/pyshared/openerp/http.py", line 1044, in get_response result.process() File "/usr/share/pyshared/openerp/http.py", line 906, in process response = self.callback(**self.params) File "/usr/share/pyshared/openerp/addons/web/controllers/main.py", line 619, in callback return view_obj.render(cr, openerp.SUPERUSER_ID, template, values) File "/usr/share/pyshared/openerp/addons/base/ir/ir_ui_view.py", line 840, in render return self.pool[engine].render(cr, uid, tname, qcontext, loader=loader, context=context) File "/usr/share/pyshared/openerp/addons/base/ir/ir_qweb.py", line 229, in render return self.render_node(self.get_template(id_or_xml_id, qwebcontext), qwebcontext) File "/usr/share/pyshared/openerp/addons/base/ir/ir_qweb.py", line 169, in get_template raise convert_to_qweb_exception(QWebTemplateNotFound, message="Loader could not find template %r" % name, template=origin_template) QWebTemplateNotFound: External ID not found in the system: web.login

Avatar
Discard
Best Answer

Hi,

The error message you see when you try to select an existing file indicates a problem with the login page. Specifically, the error message says the external id could not be found in the system: web.login. One of the reasons for this error is that the update process does not correctly update the web access from an old version of OpenERP to a new version. To confirm that this is the problem, you can try restoring a backup of the old data and repeat the update process, paying attention to the error messages that appear.

Regards

Avatar
Discard