Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
1340 Näkymät

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
Hylkää
Tekijä Paras vastaus

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

Avatar
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
marrask. 19
36400
0
marrask. 17
8392
3
heinäk. 25
534
3
kesäk. 25
3757
5
toukok. 25
4468