Skip to Content
Menu
This question has been flagged
2 Replies
1363 Zobrazenia

I have an instance of odoo 16 is continuously crashing due to missing python modules. It crashes and i can see the missing module in the log, like "module blablabla not found". I have to install the module like python3-modulename and reboot the instance and it works again. 

But it only reports me one missing module, so in the next crash i can see the only one next missing module, so its crashing every day. And every day i have to install a module depending on what i do. 

Im pretty sure its something im missing in my installation. I would like to know if there is somewhere a list of python dependencies or a change in configuration to odoo to automatically install this dependencies when it needs.

Avatar
Zrušiť
Autor Best Answer

Thank you, i have followed a guide that does not have the requirements.txt installation part. This could be marked as a solution.

Avatar
Zrušiť
Best Answer

Hi,

1. Review Odoo Requirements and Install All Dependencies at Once

Odoo uses a list of Python dependencies specified in a requirements.txt file.

pip3 install -r requirements.txt


2. Ensure that Your Environment is Properly Configured

If the issue persists even after installing all dependencies from requirements.txt, it could be due to the virtual environment or Python setup issues.


Ensure Odoo is running within the correct virtual environment

Regards

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
nov 19
36410
0
nov 17
8422
3
júl 25
565
3
jún 25
3790
5
máj 25
4501