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

We are using recruitment module and some time during candidate update we see connection lost and odoo service stopped and need to restart the service to restore the connection.

Below is the service status when failed.

sudo systemctl status odoo
● odoo.service - Odoo
Loaded: loaded (/etc/systemd/system/odoo.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-08-28 07:44:15 UTC; 4min 39s ago
Process: 787 ExecStart=/opt/odoo/odoo-venv/bin/python3 /opt/odoo/odoo/odoo-bin -c /etc/odoo.conf (code=exited, status=1/FAILURE)
Main PID: 787 (code=exited, status=1/FAILURE)

odoo[787]: 2019-08-28 07:44:14,776 787 INFO ? odoo.service.server: Thread <Thread(odoo.service.http.request.139984111134464, started 139984111134464)> virt
odoo[787]: 2019-08-28 07:44:14,776 787 INFO ? odoo.service.server: Initiating server reload
odoo[787]: Traceback (most recent call last):
odoo[787]: File "/opt/odoo/odoo/odoo-bin", line 5, in <module>
odoo[787]: import odoo
odoo[787]: File "/opt/odoo/odoo/odoo/__init__.py", line 73, in <module>
odoo[787]: import babel
odoo[787]: ModuleNotFoundError: No module named 'babel'
odoo.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: odoo.service: Failed with result 'exit-code'.

Not sure if we need to install some module we are using ubuntu latest release and Odoo latest too.

아바타
취소
작성자 베스트 답변

All packages are already installed via requirements.txt and i have used virtualenvironment.

ExecStart=/opt/odoo/odoo-venv/bin/python3

Not sure if some path or integration missing.

아바타
취소

odoo[787]: ModuleNotFoundError: No module named 'babel' see this line in your question

베스트 답변

Hi,

In the error message you can see no module named babel, it says that that the required python package is missing. Install the babel package and restart the service and see.

Thanks

아바타
취소