I have installed Odoo 17 Community Edition in Ubuntu 24.04 and Python 3.12. It works perfectly and without issues. However, once a month, it fails and a restart solves it. Every time it fails it gives the error below.
Has anyone seen this before? Any recommendations on how to avoid this problem?
Sep 19 20:28:10 hris odoo[406005]: from .mail import *
Sep 19 20:28:10 hris odoo[406005]: File "/opt/odoo/server-code/odoo/tools/clean.py", line 18, in
Sep 19 20:28:10 hris odoo[406005]: raise ImportError(
Sep 19 20:28:10 hris odoo[406005]: ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
Sep 19 20:28:10 hris odoo[406005]: Install lxml[html_clean] or lxml_html_clean directly.
Sep 19 20:28:10 hris systemd[1]: odoo17.service: Main process exited, code=exited, status=1/FAILURE
Sep 19 20:28:10 hris systemd[1]: odoo17.service: Failed with result 'exit-code'.
Sep 19 20:28:10 hris systemd[1]: odoo17.service: Consumed 50.664s CPU time, 99.2M memory peak, 0B memory swap peak.