Skip to Content
Menu
This question has been flagged
1 Reply
17287 Views

Hi everyone

after installing odoo 12 on ubuntu server i tried to check odoo status with systemctl status odoo here what i got in the output

● odoo.service - Odoo Open Source ERP and CRM 
Loaded: loaded (/lib/systemd/system/odoo.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-07-05 21:04:51 CEST; 10s ago
Process: 10541 ExecStart=/usr/bin/odoo --config /etc/odoo/odoo.conf --logfile /var/log/odoo/odoo-server.log (code=exited, status=1/FAILURE
Main PID: 10541 (code=exited, status=1/FAILURE)

Jul 05 21:04:51 vps706653 odoo[10541]: from . import db, graph, loading, migration, module, registry
Jul 05 21:04:51 vps706653 odoo[10541]: File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 17, in
Jul 05 21:04:51 vps706653 odoo[10541]: import odoo.modules.migration
Jul 05 21:04:51 vps706653 odoo[10541]: File "/usr/lib/python3/dist-packages/odoo/modules/migration.py", line 12, in
Jul 05 21:04:51 vps706653 odoo[10541]: from odoo.modules.module import get_resource_path
Jul 05 21:04:51 vps706653 odoo[10541]: File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 12, in
Jul 05 21:04:51 vps706653 odoo[10541]: import pkg_resources
Jul 05 21:04:51 vps706653 odoo[10541]: ModuleNotFoundError: No module named 'pkg_resources'
Jul 05 21:04:51 vps706653 systemd[1]: odoo.service: Main process exited, code=exited, status=1/FAILURE
Jul 05 21:04:51 vps706653 systemd[1]: odoo.service: Failed with result 'exit-code'.

please need help

thanks

Avatar
Discard
Best Answer

Hi,

The problem is due to the missing python package. Please refer this link and install the missing package.

https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources

https://github.com/odoo/odoo/issues/22779

Thanks

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 24
102
0
Feb 23
2172
0
Oct 20
1767
3
Oct 19
2189
0
Mar 18
3186