تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
4599 أدوات العرض

I'm trying to enable longpolling. But when I enable workers I get only errors in log that a field that was custom added does not exist or that dependencies are not met. Like it cannot read my custom addons folder.

Has any one had such an weird problem before?

I've configured longpolling from this "guide"

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

and on the other server it works.


الصورة الرمزية
إهمال
الكاتب

OK, I think I know what the problem I installed gevent and psycogreen without sudo and the gevent is started from the python from the /usr/bin/python and I doubt that it has permissions to read the config file.

الكاتب أفضل إجابة

This errors are shown if there are other old databases on the same server with not up to date custom modules. I've fixed this by disabling connections to those databases. 

On postgresql 9.5 this is done with:

ALTER DATABASE "<database_name>" WITH ALLOW_CONNECTIONS false;

الصورة الرمزية
إهمال
أفضل إجابة

It is the same for me. 

Odoo CE 10.0 in virtual environment. I do not see classic bus error but messages like this one:

ProgrammingError: column res_partner.sale_warn does not exist

الصورة الرمزية
إهمال
الكاتب

this happens if you have any old databases on the server with not up to date custom modules. I've fixed this so that I've disabled connections to those old databases.

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أكتوبر 19
11589
0
سبتمبر 21
5815
7
ديسمبر 23
26906
2
يوليو 25
4650
2
ديسمبر 24
7785