This question has been flagged
5 Replies
32142 Views

Hi

We are running odoo in version 10.0+e-20161116 (enterprise) on an Ubuntu 16.04 server and having a problem since yesterday evening.

The problem is that we can not access the backend menu anymore it stays gray. All the icons and default images on the website are also gone (we only see a placeholder). If we try to access the website or the backend we get alot of 404 errors. The log is not really god it only showed 404 but no other errors. After a few things I tried I am also getting an other error message.

The log now:

2017-03-11 07:30:14,043 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web_editor/static/src/xml/ace.xml HTTP/1.1" 404 -
2017-03-11 07:30:14,083 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web_enterprise/static/src/img/mobile-icons/android-192x192.png HTTP/1.1" 404 -
2017-03-11 07:30:14,346 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET / HTTP/1.1" 200 -
2017-03-11 07:30:14,758 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1953-2b43b3b/web_editor.summernote.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,767 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1955-af0cedf/website.assets_editor.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,810 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1954-ce4a2b9/web_editor.assets_editor.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,862 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1948-4628639/web.assets_common.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,888 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1949-58ab1ea/web.assets_frontend.0.css HTTP/1.1" 200 -
2017-03-11 07:30:14,984 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:14] "GET /web/content/1950-58ab1ea/web.assets_frontend.1.css HTTP/1.1" 200 -
2017-03-11 07:30:15,195 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1957-ce4a2b9/web_editor.assets_editor.js HTTP/1.1" 200 -
2017-03-11 07:30:15,220 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1956-2b43b3b/web_editor.summernote.js HTTP/1.1" 200 -
2017-03-11 07:30:15,244 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1958-af0cedf/website.assets_editor.js HTTP/1.1" 200 -
2017-03-11 07:30:15,347 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1952-58ab1ea/web.assets_frontend.js HTTP/1.1" 200 -
2017-03-11 07:30:15,358 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:15] "GET /web/content/1951-4628639/web.assets_common.js HTTP/1.1" 200 -
2017-03-11 07:30:17,205 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:17] "POST /web/webclient/bootstrap_translations HTTP/1.1" 200 -
2017-03-11 07:30:17,207 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:17] "GET /web/webclient/qweb?mods= HTTP/1.1" 200 -
2017-03-11 07:30:21,679 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:21] "GET /theme_graphene/static/src/img/pictures/bg_image_02.jpg HTTP/1.1" 404 -
2017-03-11 07:30:21,846 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:21] "GET /theme_graphene/static/src/xml/s_media_block_modal_ext.xml HTTP/1.1" 404 -
2017-03-11 07:30:22,037 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/SourceSansPro-Light.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,057 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/Helvetica.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,076 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/SourceSansPro-Bold.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,103 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "GET /theme_common/static/src/font/SourceSansPro-Regular.ttf HTTP/1.1" 404 -
2017-03-11 07:30:22,535 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call HTTP/1.1" 200 -
2017-03-11 07:30:22,620 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call HTTP/1.1" 200 -
2017-03-11 07:30:22,670 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call HTTP/1.1" 200 -
2017-03-11 07:30:22,854 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:22] "POST /web/dataset/call_kw/web_tour.tour/get_consumed_tours HTTP/1.1" 200 -
2017-03-11 07:30:26,211 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff2?v=4.5.0 HTTP/1.1" 404 -
2017-03-11 07:30:26,372 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /theme_common/static/src/font/Roboto-Medium.ttf HTTP/1.1" 404 -
2017-03-11 07:30:26,741 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /theme_common/static/src/font/Roboto-Regular.ttf HTTP/1.1" 404 -
2017-03-11 07:30:26,956 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:26] "GET /theme_common/static/src/font/Montserrat-Regular.ttf HTTP/1.1" 404 -
2017-03-11 07:30:27,208 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:27] "GET /website_form_editor/static/src/xml/website_form_editor.xml HTTP/1.1" 404 -
2017-03-11 07:30:27,375 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:27] "GET /web_editor/static/src/xml/ace.xml HTTP/1.1" 404 -
2017-03-11 07:30:27,860 10799 INFO ? werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:27] "GET /de/downloads/bdef2016 HTTP/1.1" 404 -
2017-03-11 07:30:28,969 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:28] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.woff?v=4.5.0 HTTP/1.1" 404 -
2017-03-11 07:30:29,125 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:29] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Regular-webfont.woff HTTP/1.1" 404 -
2017-03-11 07:30:29,435 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:29] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Medium-webfont.woff HTTP/1.1" 404 -
2017-03-11 07:30:30,051 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:30] "GET /web/static/src/xml/base_common.xml HTTP/1.1" 404 -
2017-03-11 07:30:31,480 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web/static/lib/fontawesome/fonts/fontawesome-webfont.ttf?v=4.5.0 HTTP/1.1" 404 -
2017-03-11 07:30:31,621 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Regular-webfont.ttf HTTP/1.1" 404 -
2017-03-11 07:30:31,796 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web_enterprise/static/src/fonts/Roboto/Roboto-Medium-webfont.ttf HTTP/1.1" 404 -
2017-03-11 07:30:31,856 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /website/static/src/xml/website.share.xml HTTP/1.1" 404 -
2017-03-11 07:30:31,902 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:31] "GET /web/image/website/1/favicon/ HTTP/1.1" 200 -
2017-03-11 07:30:32,075 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /website_forum/static/src/xml/website_forum_share_templates.xml HTTP/1.1" 404 -
2017-03-11 07:30:32,316 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /theme_common/static/src/xml/s_media_block_modal.xml HTTP/1.1" 404 -
2017-03-11 07:30:32,556 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /website_mail/static/src/xml/chatter_message.xml HTTP/1.1" 404 -
2017-03-11 07:30:32,772 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:32] "GET /rating/static/src/xml/rating_common.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,037 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /web_editor/static/src/xml/editor.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,321 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /web_editor/static/src/xml/snippets.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,534 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /website/static/src/xml/website.editor.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,764 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /website/static/src/xml/website.seo.xml HTTP/1.1" 404 -
2017-03-11 07:30:33,994 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:33] "GET /web_planner/static/src/xml/web_planner.xml HTTP/1.1" 404 -
2017-03-11 07:30:34,276 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:34] "GET /website/static/src/xml/website.contentMenu.xml HTTP/1.1" 404 -
2017-03-11 07:30:34,549 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:34] "GET /website/static/src/xml/website.gallery.xml HTTP/1.1" 404 -
2017-03-11 07:30:34,808 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:34] "GET /snippet_google_map/static/src/xml/s_google_map_modal.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,025 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /theme_common/static/src/xml/s_media_block_modal.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,227 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /website_crm_score/static/src/xml/track_page.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,415 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /website_version/static/src/xml/version_templates.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,611 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /web_tour/static/src/xml/tip.xml HTTP/1.1" 404 -
2017-03-11 07:30:35,780 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "POST /website/translations HTTP/1.1" 200 -
2017-03-11 07:30:35,874 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:35] "GET /website/static/src/xml/website.xml HTTP/1.1" 404 -
2017-03-11 07:30:36,051 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:36] "POST /website_mass_mailing/is_subscriber HTTP/1.1" 200 -
2017-03-11 07:30:42,111 10799 ERROR 'odoo10' odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 638, in _handle_exception
 return super(JsonRequest, self)._handle_exception(exception)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 177, in _dispatch
 rule, arguments = cls._find_handler(return_rule=True)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 79, in _find_handler
 return cls.routing_map().bind_to_environ(request.httprequest.environ).match(return_rule=return_rule)
 File "/usr/lib/python2.7/dist-packages/werkzeug/routing.py", line 1483, in match
 raise NotFound()
NotFound: 404: Not Found
2017-03-11 07:30:42,113 10799 INFO 'odoo10' werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:42] "POST /longpolling/poll HTTP/1.1" 200 -
2017-03-11 07:30:51,292 10799 INFO odoo10 werkzeug: 127.0.0.1 - - [11/Mar/2017 07:30:51] "POST /longpolling/poll HTTP/1.1" 200 -
2017-03-11 07:31:06,182 10799 ERROR 'odoo10' odoo.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/odoo/http.py", line 638, in _handle_exception
 return super(JsonRequest, self)._handle_exception(exception)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 177, in _dispatch
 rule, arguments = cls._find_handler(return_rule=True)
 File "/usr/lib/python2.7/dist-packages/odoo/addons/base/ir/ir_http.py", line 79, in _find_handler
 return cls.routing_map().bind_to_environ(request.httprequest.environ).match(return_rule=return_rule)
 File "/usr/lib/python2.7/dist-packages/werkzeug/routing.py", line 1483, in match
 raise NotFound()
NotFound: 404: Not Found
2017-03-11 07:31:06,184 10799 INFO 'odoo10' werkzeug: 127.0.0.1 - - [11/Mar/2017 07:31:06] "POST /longpolling/poll HTTP/1.1" 200 -

How could I solve this problem? (As mentioned: I do not have the admin webinterface)

If you need more information please ask ;)

Thanks!

Avatar
Discard
Best Answer

Try to update the web module (or the base module) from the command line:

https://www.odoo.com/forum/help-1/question/how-to-update-module-list-from-command-line-84385

Avatar
Discard
Author Best Answer

Thanks for the response.

Unfortunately that did not work :( The static files are still not found.


I was able to fix the issue.


After a few hours of playing arround I was able to find out that one not correct installed addon view  was containing a field which did not exist. I removed the addon and now it works again.

It was really bad that the log did not tell me that a field was missing. :(

This question can now be closed.


Thanks @ all :)

Avatar
Discard

I would download a newer version and try again to update (the base module). And do check the file/folder access rights.

Best Answer

If someone also experiencing this issue without any logs on the server the possible reason for this is Odoo creates some attachments (*.css, *.js") in 'ir.attachment' table. It tries to load those attachments from the path stored in 'ir.attachment' table and if not found in filestore. It would load the web page without those files. In that case, you can delete those attachments from "ir.attachment" table with below query and just reload page. (Odoo will create those files and attachments on reloading. No need to restart server)


DELETE FROM ir_attachment WHERE datas_fname SIMILAR TO '%.(js|css)';
Avatar
Discard

Thanks, works!!

Best Answer

May be your session/file storage path will be changed. Check your conf file and set data_dir = ../.local/share/Odoo

Thanks

Avatar
Discard