I have installed Odoo8 and it is running with Nginx.
When I access to the URL where Odoo is supposed to run, I only see the black topbar with no menus, the rest of the page is empty.
The log spits out this error:
Traceback (most recent call last): File "/opt/odoo/odoo_8/src/OCA/OCB/openerp/http.py", line 544, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/opt/odoo/odoo_8/src/OCA/OCB/openerp/http.py", line 581, in dispatch result = self._call_function(**self.params) File "/opt/odoo/odoo_8/src/OCA/OCB/openerp/http.py", line 318, in _call_function return self.endpoint(*args, **kwargs) File "/opt/odoo/odoo_8/src/OCA/OCB/openerp/http.py", line 810, in call return self.method(*args, **kw) File "/opt/odoo/odoo_8/src/OCA/OCB/openerp/http.py", line 410, in response_wrap response = f(*args, **kw) File "/opt/odoo/odoo_8/src/linked-addons/web/controllers/main.py", line 591, in bootstrap_translations if http.addons_manifest[addon_name].get('bootstrap'): KeyError: 'web'
I checked that I have module web at the mentioned path, with the right permissions and the right owner. I was not able to find a solution for this problem.
Anyone experienced the same situation? I think it can be a problem of Nginx (because recently I made several Odoo 8 installations in different servers and following exactly the same steps in each one, but the other ones did not use Nginx).
I paste here the configuration of the Nginx site of Odoo:
server_tokens off;
server {
server_name my.server.name.com;
large_client_header_buffers 16 8m;
client_max_body_size 200m;
location / {
proxy_pass http://127.0.0.1:8069;
proxy_buffers 16 8m;
proxy_buffer_size 8m;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $http_x_real_ip;
proxy_set_header X-Forwarded-Proto https;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
location ~ ^/(.*)/static/(.*) {
alias /opt/odoo/odoo_8/src/linked-addons/$1/static/$2;
expires +30d;
access_log off;
log_not_found off;
}
}
}
Any suggestion or idea will be appreciated.
nginx
to see if the issue still persists, so you'll know the origin of the problem exactly (i doubt it's from nginx) – danidee