hello team,
i ve some problems with my odoo 15 instance, the service shutdown rendomly when i check status i saw this error No module named 'passlib'
i ve installed all requirment and verify all configuration
can you help me to resolv this problem my instance is in production mod
*********************************************************
No module named 'passlib'
● odoo15.service - Odoo15
Loaded: loaded (/etc/systemd/system/odoo15.service; enabled; vendor preset>
Active: failed (Result: exit-code) since Sun 2022-02-20 16:38:38 CET; 14mi>
Process: 1036 ExecStart=/opt/odoo15/odoo-venv/bin/python3 /opt/odoo15/odoo/>
Main PID: 1036 (code=exited, status=1/FAILURE)
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: import odoo.tools as tools
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: File "/opt/odoo15/odoo/odoo/tools/>
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: from . import pdf
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: File "/opt/odoo15/odoo/odoo/tools/>
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: from odoo\.tools\.misc\ import\ file>
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ File\ "/opt/odoo15/odoo/odoo/tools/>
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ \ \ import\ passlib\.utils
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ ModuleNotFoundError:\ No\ module\ named>
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ systemd\[1\]:\ odoo15\.service:\ Main\ process\ exited,\ c>
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ systemd\[1\]:\ odoo15\.service:\ Failed\ with\ result\ 'ex>
lines\ 1\-16/16\ \(END\)\.\.\.skipping\.\.\.
●\ odoo15\.service\ \-\ Odoo15
\ \ \ \ \ Loaded:\ loaded\ \(/etc/systemd/system/odoo15\.service;\ enabled;\ vendor\ preset:\ enabled\)
\ \ \ \ \ Active:\ failed\ \(Result:\ exit\-code\)\ since\ Sun\ 2022\-02\-20\ 16:38:38\ CET;\ 14min\ ago
\ \ \ \ Process:\ 1036\ ExecStart=/opt/odoo15/odoo\-venv/bin/python3\ /opt/odoo15/odoo/odoo\-bin\ \-c\ /etc/odoo15\.conf\ \(code=exited,\ status=1/FAILURE\)
\ \ \ Main\ PID:\ 1036\ \(code=exited,\ status=1/FAILURE\)
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ \ \ import\ odoo\.tools\ as\ tools
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ File\ "/opt/odoo15/odoo/odoo/tools/__init__\.py",\ line\ 8,\ in\
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ \ \ from\ \.\ import\ pdf
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ File\ "/opt/odoo15/odoo/odoo/tools/pdf\.py",\ line\ 18,\ in\
Feb\ 20\ 16:38:38\ vps\-f8eab4fd\ odoo15\[1036\]:\ \ \ \ \ from\ odoo.tools.misc import file_open
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: File "/opt/odoo15/odoo/odoo/tools/misc.py", line 38, in
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: import passlib.utils
Feb 20 16:38:38 vps-f8eab4fd odoo15[1036]: ModuleNotFoundError: No module named 'passlib'
Feb 20 16:38:38 vps-f8eab4fd systemd[1]: odoo15.service: Main process exited, code=exited, status=1/FAILURE
Feb 20 16:38:38 vps-f8eab4fd systemd[1]: odoo15.service: Failed with result 'exit-code'.
***************************************************************************
Yes, there might be python package problem or some things not installed properly that's why it odoo service fails.
If you need any help then contact us on shivoham.odoo@gmail.com