Odoo Help

4

1
11 Answers
3
Carlos Vasquez
12/10/14, 23:16

Just to follow-up.

The answer is that I was not running the server in gevent mode. During 8.0 development odoo introduced gevent mode to be able to get real-time messages from one client to another. This had to be enabled running the server with the provided openerp-gevent script.

Now that the v8.0 is released, this was improved, you have to run the server with the odoo.py script, using the --workers option set with at least 2 workers, this way odoo will start that many workers, plus some cron workers and 1 gevent worker. This last one will take care of your bus and chat messages. To have a little more info about how to use regular workers with the gevent worker together read this other question.

Regards

2
Avatar

Ivan Elizaryev

--Ivan Elizaryev--
805
| 4 3 9
Ufa, Federazione Russa
--Ivan Elizaryev--

I tried odoo at the end of 2013. I fell in love in it and have been working with odoo as a freelancer for almost two years. In September 2015 I began operate as a Company and have 5 developers for now.

Ivan, March 2016.

Ivan Elizaryev
18/06/16, 01:07

Requests to /longpolling/ must be proxied to 8072 port:


location /longpolling {
    proxy_pass http://127.0.0.1:8072;
}
location / {
    proxy_pass http://127.0.0.1:8069;
}


https://odoo-development.readthedocs.io/en/latest/admin/longpolling.html


2
Viktor Zhuromskyy
19/09/14, 23:49

I've got same problem with 8.0 checked out today.

2 Comments
DevBranch Company Limited, Luke Branch
30/09/14, 04:45

@Viktor, Are you running your odoo instance in openerp-gevent mode or openerp-server mode?

Viktor Zhuromskyy
30/09/14, 15:10
in erpnext-server mode. After complete reinstalling looks loke its working now.

On 30/09/2014 3:45 AM, Luke wrote:
<blockquote cite="mid:1412066711.361253023147583.383049048831868-openerp-63279-forum.post@accounts.odoo.com" type="cite">

@Viktor, Are you running your odoo instance in openerp-gevent mode or openerp-server mode?

--
Luke
Sent by OpenERP S.A. using Odoo about Forum Post False
-- 
Best Regards,
Viktor Zhuromskyy
2
Jean-Marc Dupont
30/09/14, 04:24

Same for me

3 Comments
DevBranch Company Limited, Luke Branch
30/09/14, 04:44

@Jean-Marc, Are you running your odoo instance in openerp-gevent mode or openerp-server mode?

6 IT, Jean-Marc Dupont
30/09/14, 04:47

openerp-server mode

DevBranch Company Limited, Luke Branch
30/09/14, 04:55

@Jean-Marc, You need to run in openerp-gevent mode and you will not have this issue. I'd recommend using this script on a clean install of Ubuntu 14.04: https://github.com/lukebranch/openerp-install-scripts/blob/master/odoo-saas4/ubuntu-14-04/odoo_install.sh this will install with an auto-start script using openerp-gevent mode as default. Just go to a terminal and type the following: wget https://raw.githubusercontent.com/lukebranch/openerp-install-scripts/master/odoo-saas4/ubuntu-14-04/odoo_install.sh sudo sh odoo_install.sh and let the script run it's course. It'll finish and prompt you to restart and once you've restarted your odoo instance will be running in openerp-gevent mode.

Ask a Question
Writer
Tags
Keep Informed
4 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now