How do I find Addons in Odoo Marketplace OCA
Linode
Linode Staff
Hello,
I recently installed the Odoo image from the Marketplace, when I connect via SSH to the server, I cannot find the odoo addons folders. I need to add addons, how do I do it?
Thanks in advance!
1 Reply
astable
Linode Staff
Heya,
I deployed my own Odoo OCA and I noticed that it's configured with Docker. I haven't used Docker or Odoo in a bit but I did a bit of research and I think I found the addons folder in my Odoo OCA. Here are the key steps I took..
See running containers:
root@172-104-18-137:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a30f85c54195 odoo "/entrypoint.sh odoo" 12 minutes ago Up 12 minutes 0.0.0.0:8069->8069/tcp, :::8069->8069/tcp, 8071-8072/tcp odoo
82f2055c22f4 postgres:13 "docker-entrypoint.s…" 12 minutes ago Up 12 minutes 5432/tcp
Access Odoo-Docker container:
exec -it <container_id> /bin/bash
docker exec -it a30f85c54195 /bin/bash
See addons path:
odoo@a30f85c54195:/$ head /etc/odoo/odoo.conf
[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
; admin_passwd = admin
; csv_internal_sep = ,
; db_maxconn = 64
; db_name = False
; db_template = template1
; dbfilter = .*
; debug_mode = False
Find the addons directory inside Odoo-Docker Linode OCA:
odoo@a30f85c54195:/$ find /mnt/ -type d -name "*addons*"
/mnt/extra-addons
Access addons directory inside Odoo-Docker Linode OCA:
odoo@a30f85c54195:/$ cd /mnt/extra-addons
odoo@a30f85c54195:/mnt/extra-addons$
This post from the Odoo forum helped a bit:
I hope that helps!
Arty