-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odoo not working with variable workers > 0 #72
Comments
I have created an issue to odoo: |
The problem occurs also with 10.0 in debian stretch. |
The problem seems to be with lessc node package. sudo apt-get install nodejs nodejs-legacy node-less |
lessc is already installed by this role (https://github.com/OCA/ansible-odoo/blob/master/tasks/install.yml#L75 + https://github.com/OCA/ansible-odoo/blob/master/tasks/install_npm.yml). |
Perhaps it is the vfersion used. Not sure. But I reproduce the error also using Ubuntu 16.04 and odoo 10 for which I never faced issues with multiple workers in non ansible installations. Will need to compare the package versions between a working instance and the versions proposed by ansible. Have you been able to reproduce the issue frpm your side? I used mostly LXC containers, but also tries in a OVH server with same results |
No, from my side all was working pretty well when I integrated the NodeJS+NPM packages (I remember that I pass a huge amount of time to test every possibilities on differents distributions...). |
Can you share screenshots of issues coming on terminal and also the Odoo Web UI |
(b'', b'The "--no-js" argument is deprecated, as inline JavaScript is disabled by default. Use "--js" to enable inline JavaScript (not recommended). |
Issue also reported here:odoo/docker#151 |
Ok, after a long series of back and forth I found the root cause and the issue is fixed in #69, specifically: Cause: But for 8.0 onwards the default values were increased significantly (see for example https://github.com/odoo/odoo/blob/9.0/openerp/tools/config.py#L267), to abount 2GB of default required memory. The standard odoo documentation is even obsolete in this point https://www.odoo.com/documentation/11.0/reference/cmdline.html The lack of memory was causing the less to fail to compile the less files. |
@jbeficent good catch, indeed I increased these values in our internal Ansible configuration, that's why all was working well! |
Try sudo apt-get install nodejs Restar Odoo |
@oosantana that was not the problem. It is now solved, as I said |
pls how i do that ? |
When I play this playbook on a debian stretch using this playbook:
`
hosts: odoo11
roles:
postgresql_version: 9.6
odoo_version: 11.0
odoo_config_unaccent: True
odoo_config_admin_passwd: SuPerPassWorD
odoo_config_workers: 4
odoo_config_proxy_mode: True
`
I get errors like this at the time of trying to start odo

If you create a database in odoo with workers=0 it works. But then when you restart the server with workers>0 and access as https://10.0.3.47/web?debug=assets you will again get the same error.
Possible related errors:
odoo/docker#151
odoo/odoo#20158
The text was updated successfully, but these errors were encountered: