Skip to Content
Menu
This question has been flagged
6 Replies
14895 Views

I have a remote server on A2 hosting with centOS7 and I installed odoo v9.  I cant find the addons folder to upload a module I need to install.  Does anyone know where it could be or why its not there?

Avatar
Discard
Best Answer

The location of your addons folder depends on the method you did install Odoo. If you can locate your openerp-server.conf file (usually located in /etc/odoo), you can read the addons path in this file. A very helpful resource generally and this page for your problem is Greg Moss' book about working with Odoo

Avatar
Discard
Author

Thanks, I found it in the openerp-server.conf file. Its in usr/lib/python2.7/dist-packages/openerp/ . One last question, I've copied the folder of the module I want to install but install that module now? it doesnt show up in Settings-apps or modules.

You should activate the developer mode and update the modules list. Please read the link I have posted (and buy the book anyway in your case), there you can see that it is recommended to create a separate directory for your custom or third-party addons. Further addons paths have to be added in the openerp-server.conf file after the already existing path separated by a comma.

Author

Thanks! That worked!

Best Answer

I host my Odoo server on Centos 7 too. Here's a more complete answer regarding default modules folder.

Odoo rpm and deb packages comes with 2 default modules folder :

  1. Python packages folder which is default addons folder in odoo.conf. It is used only by packages (rpm, deb and Python packages). On Centos 7 it is /usr/lib/python2.7/site-packages/odoo/addons Don't use it, it is reserved for Odoo default modules.

  2. Customized addons folder which is not writed in odoo.conf as it is allways read. On centos 7 it is /var/lib/odoo/addons/[Odoo #version]/  It is a good location for your downloaded modules.



You can allways add several modules folder at you prefered locations, as long as you add those locations path in odoo.conf



Avatar
Discard
Best Answer

Normally Odoo is installed under /opt or directly under your home folder, but since CentOS is based on Linux, did you tried to find the addons folder trough the terminal? 

sudo updatedb

necessary if you installed Odoo and imediately want to find the folder with

locate addons


Avatar
Discard