Hi,
From a few days i have problem, JS and css don’t load and page look like this:
https://scr.hu/Nm7wK3
I check half of google and i can’t find answer :(
Server log:
2016-08-16 10:25:08,198 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web HTTP/1.1" 200 -
2016-08-16 10:25:08,389 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web/static/src/css/full.css HTTP/1.1" 404 -
2016-08-16 10:25:08,433 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web/content/245-4884379/web.assets_common.0.css HTTP/1.1" 304 -
2016-08-16 10:25:08,485 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web/content/397-29d93d1/web.assets_backend.1.css HTTP/1.1" 304 -
2016-08-16 10:25:08,486 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web/content/396-29d93d1/web.assets_backend.0.css HTTP/1.1" 304 -
2016-08-16 10:25:08,487 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web/content/246-4884379/web.assets_common.js HTTP/1.1" 304 -
2016-08-16 10:25:08,567 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:08] "GET /web/content/398-29d93d1/web.assets_backend.js HTTP/1.1" 304 -
2016-08-16 10:25:09,294 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "GET /web/binary/company_logo HTTP/1.1" 304 -
2016-08-16 10:25:09,312 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "GET /web_editor/static/src/xml/editor.xml HTTP/1.1" 404 -
2016-08-16 10:25:09,322 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /web/dataset/call HTTP/1.1" 200 -
2016-08-16 10:25:09,403 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /mail/client_action HTTP/1.1" 200 -
2016-08-16 10:25:09,418 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /mail/chat_init HTTP/1.1" 200 -
2016-08-16 10:25:09,522 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "GET /mail/static/src/audio/ting.ogg HTTP/1.1" 404 -
2016-08-16 10:25:09,529 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.1" 200 -
2016-08-16 10:25:09,537 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /web/dataset/call_kw/ir.model.data/xmlid_to_res_id HTTP/1.1" 200 -
2016-08-16 10:25:09,586 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "GET /web_editor/static/src/xml/snippets.xml HTTP/1.1" 404 -
2016-08-16 10:25:09,593 1492 INFO glosemadb openerp.service.common: successful login from 'contact@glosema.com' using database 'glosemadb'
2016-08-16 10:25:09,596 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /web/session/get_session_info HTTP/1.1" 200 -
2016-08-16 10:25:09,824 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "GET /web_editor/static/src/xml/translator.xml HTTP/1.1" 404 -
2016-08-16 10:25:09,834 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:09] "POST /web/proxy/load HTTP/1.1" 200 -
2016-08-16 10:25:10,018 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:10] "POST /web/webclient/translations HTTP/1.1" 200 -
2016-08-16 10:25:10,019 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:10] "POST /web/session/modules HTTP/1.1" 200 -
2016-08-16 10:25:10,210 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:10] "POST /web/dataset/search_read HTTP/1.1" 200 -
2016-08-16 10:25:10,213 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:10] "POST /web/webclient/translations HTTP/1.1" 200 -
2016-08-16 10:25:10,391 1492 INFO glosemadb werkzeug: 78.8.42.129 - - [16/Aug/2016 10:25:10] "GET /web/webclient/locale/en_US HTTP/1.1" 500 -
2016-08-16 10:25:10,407 1492 ERROR glosemadb werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 193, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/serving.py", line 181, in execute
application_iter = app(environ, start_response)
File "/odoo/odoo-server/openerp/service/server.py", line 246, in app
return self.app(e, s)
File "/odoo/odoo-server/openerp/service/wsgi_server.py", line 184, in application
return application_unproxied(environ, start_response)
File "/odoo/odoo-server/openerp/service/wsgi_server.py", line 170, in application_unproxied
result = handler(environ, start_response)
File "/odoo/odoo-server/openerp/http.py", line 1493, in __call__
return self.dispatch(environ, start_response)
File "/odoo/odoo-server/openerp/http.py", line 1657, in dispatch
result = ir_http._dispatch()
File "/odoo/odoo-server/addons/utm/models/ir_http.py", line 13, in _dispatch
response = super(ir_http, self)._dispatch()
File "/odoo/odoo-server/addons/web_editor/models/ir_http.py", line 16, in _dispatch
return super(ir_http, self)._dispatch()
File "/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 186, in _dispatch
return self._handle_exception(e)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 157, in _handle_exception
return request._handle_exception(exception)
File "/odoo/odoo-server/openerp/http.py", line 784, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_http.py", line 182, in _dispatch
result = request.dispatch()
File "/odoo/odoo-server/openerp/http.py", line 843, in dispatch
r = self._call_function(**self.params)
File "/odoo/odoo-server/openerp/http.py", line 319, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/odoo/odoo-server/openerp/http.py", line 312, in checked_call
result = self.endpoint(*a, **kw)
File "/odoo/odoo-server/openerp/http.py", line 962, in __call__
return self.method(*args, **kw)
File "/odoo/odoo-server/openerp/http.py", line 512, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/web/controllers/main.py", line 507, in load_locale
addons_path = http.addons_manifest['web']['addons_path']
KeyError: 'web'
OS: Ubuntu 14.04 (64 bits)
Can odoo fetch the js and css? You can check it in your browser with the developer tools.
Check the tab Network tab to see if the full.css etc is loading.
Hi Lara,
I have 404 with full.css
Screen:
https://scr.hu/mAWNz9
https://scr.hu/AmZq2a
But, physically files are on server and they have permissions.
Log:
2016-08-17 09:12:47,940 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:47] "GET /web/login HTTP/1.1" 200 -
2016-08-17 09:12:48,171 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:48] "GET /web/static/src/css/full.css HTTP/1.1" 404 -
2016-08-17 09:12:48,178 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:48] "GET /web/static/lib/bootstrap/css/bootstrap.css HTTP/1.1" 404 -
2016-08-17 09:12:48,183 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:48] "GET /web/static/lib/jquery/jquery.js HTTP/1.1" 404 -
2016-08-17 09:12:48,185 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:48] "GET /web/static/lib/fontawesome/css/font-awesome.css HTTP/1.1" 404 -
2016-08-17 09:12:48,366 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:48] "GET /web/binary/company_logo HTTP/1.1" 304 -
2016-08-17 09:12:52,234 1338 INFO glosemadb werkzeug: 78.8.42.129 - - [17/Aug/2016 09:12:52] "POST /longpolling/poll HTTP/1.1" 200 -
my .conf file:
[options]
addons_path = /odoo/odoo-server/addons,/odoo/custom/addons
admin_passwd =(hidden)
csv_internal_sep = ,
data_dir = /odoo/.local/share/Odoo
db_host = False
db_maxconn = 64
db_name = False
db_password = False
db_port = False
db_template = template1
db_user = odoo
dbfilter = .*
debug_mode = False
demo = {}
email_from = False
geoip_database = /usr/share/GeoIP/GeoLiteCity.dat
import_partial =
lang = en_US
limit_memory_hard = 2684354560
limit_memory_soft = 2147483648
limit_request = 8192
limit_time_cpu = 60
limit_time_real = 120
list_db = True
log_db = False
log_db_level = warning
log_handler = :INFO
log_level = info
logfile = /var/log/odoo/odoo-server.log
logrotate = False
longpolling_port = 8072
max_cron_threads = 2
osv_memory_age_limit = 1.0
osv_memory_count_limit = False
pg_path = None
pidfile = None
proxy_mode = False
reportgz = False
server_wide_modules = None
smtp_password = False
smtp_port = 25
smtp_server = localhost
smtp_ssl = False
smtp_user = False
syslog = False
test_commit = False
test_enable = False
test_file = False
test_report_directory = False
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 0
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 9076