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

I need to move my custom addons to a different folder and upgrade some of them in the process. I'm wondering what are the risk involved and what to do to prevent Odoo from breaking..

Do I need to keep existing __pycache__ or I could just clone fresh repository from Git (without pycache)?


Previously when I tired to move and upgrade many addons at the same time Odoo didn't handle it very well and basically broke and I had to fallback to the old folder. I feel like Odoo tried to compile to many addons at the same time and whole process stopped.

Looking for any tips.


Using Odoo 13 on Ubuntu 20.04

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

Hey Marcus,

You may try the below steps:

1. Commit all your custom addons to Github.

2. Stop the Odoo server running on your server

3. Create a directory where you want to place your custom addons

4. Take a clone of your custom addons from GitHub to your newly created directory

5. Copy the path of your newly created directory and update odoo.conf file 

6. Start your Odoo server 

7. In case of any errors, you may check the logs using the below command 

    tail -f /var/log/odoo/odoo-server.log

Thanks

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 19
3118
2
thg 9 23
5423
1
thg 10 21
2768
0
thg 9 20
4839
2
thg 3 21
2519