Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1368 Widoki

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.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
lis 19
36410
0
lis 17
8424
3
lip 25
572
3
cze 25
3802
5
maj 25
4509