Skip to Content
Menu
This question has been flagged
2 Replies
17226 Views

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.

Avatar
Discard
Author Best Answer

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.

Avatar
Discard

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

Best Answer

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

Avatar
Discard