Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
1334 Tampilan

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
Buang
Penulis Jawaban Terbai

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

Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
3
Nov 19
36398
0
Nov 17
8389
3
Jul 25
531
3
Jun 25
3756
5
Mei 25
4464