콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Whenever I install an app or update an app, I got the following alert for most of the times. And I have to restart odoo and postgres service to install it:

The server is busy right now, module operations are not possible at this time, please try again later. 

I am using odoo 12 on GCP. The speed of my website is good. I am using 4 CPU with 8G Ram. I am not sure if it is caused by wrong worker configuration. Anyway, here is my workers set up. 

workers = 9
limit_memory_hard = 6845104128
limit_memory_soft = 5704253440
limit_request = 8192
limit_time_cpu = 600
limit_time_real = 1200
max_cron_threads = 1

아바타
취소
베스트 답변

Hi,

This message is raised during the execution of the automated actions, if an automated action is getting executing now, at the same time the module operations like install, upgrade, uninstall cant perform. So to prevent the module operation at the time of the execution of the automated actions you are getting this message.

There is no need to restart the service or Postgres, just wait for sometime till the operation get completed.


Thanks

아바타
취소
작성자

Yes, I believe you made the right point. I changed the frequency of an automated action which takes 5 minutes interval to 30 and my app installation and update is much more smooth. Than you for your answer.

작성자

I do have a further question. Is there any way to avoid the server busy issue for module install/update? Why the cron job prevent that? Is there anything to do with the cron job worker? Will it be avoid if I increase the cron job worker from 1 to some number larger. The reason I care about this is that one of my automation action take place from time to time for long time that make our system maintenance difficult. Thank you!

베스트 답변

Is there any way to force module update when I am using odoo in a docker?

아바타
취소
베스트 답변

Please restart the server and immediately upgrade your module 

or wait for the backend process to complete 

아바타
취소
베스트 답변

Since for maintenance you must restart de odoo server after, another option is force update the specific module/s using odoo-bin + "'--stop-after-init"; with this you ensure doing the updates freely...

For example:

.//odoo-bin -d -u --stop-after-init

After that and if the update was successful start the service and that's it

아바타
취소
관련 게시물 답글 화면 활동
12
7월 24
79234
3
1월 19
5165
2
3월 15
7394
1
2월 25
4432
1
9월 24
12569