Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1338 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 11 19
36400
0
thg 11 17
8391
3
thg 7 25
533
3
thg 6 25
3757
5
thg 5 25
4464