Skip to Content
Menu
This question has been flagged
1 Reply
1731 Views

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

Avatar
Discard
Best Answer

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

   

Avatar
Discard
Related Posts Replies Views Activity
1
Oct 19
2551
2
Sep 23
2654
1
Oct 21
1812
0
Sep 20
3382
2
Mar 21
1830