InstallScript icon indicating copy to clipboard operation
InstallScript copied to clipboard

/addons/custom/addons not recognized

Open augustomurri opened this issue 4 years ago • 5 comments

I setup a clean Debian 10 vps, launch the setup script and all is correctly installed I can't get the /odoo/custom/addons folder to work

Odoo Enterprise

This is the /etc/odoo-server.conf ` [options] ; This is the password that allows database operations: admin_passwd = xxxxxxxxxx xmlrpc_port = 8069 logfile = /var/log/odoo/odoo-server.log addons_path = /odoo/enterprise/addons,/odoo/odoo-server/addons,/odoo/custom/addons proxy_mode = True

limit_memory_hard = 1677721600 limit_memory_soft = 629145600 limit_request = 8192 limit_time_cpu = 600 limit_time_real = 1200 max_cron_threads = 1 workers = 8 thenservice odoo-server restart`

checking on the log the directory is found 2020-11-18 09:32:46,144 4683 INFO ? odoo: addons paths: ['/odoo/odoo-server/odoo/addons', '/odoo/.local/share/Odoo/addons/14.0', '/odoo/enterprise/addons', '/odoo/odoo-server/addons', '/odoo/custom/addons'] All modules inside /odoo/custom/addons have correct permissions "odoo:odoo" and 755 Activated developer mode with assets In apps menu clicked on update module list Apps fail to show?:(

augustomurri avatar Nov 18 '20 09:11 augustomurri

That doesn't sound like an issue of my module but misconfiguration / mistakes. Make sure the folder path is correct Make sure the Odoo user has rights on this folder Make sure Odoo was indeed restarted Make sure you updated the appst list.

Yenthe666 avatar Nov 18 '20 09:11 Yenthe666

thanks, incredible.. :(

2020-11-18 09:48:41,352 4920 INFO ? odoo: Odoo version 14.0 2020-11-18 09:48:41,353 4920 INFO ? odoo: Using configuration file at /etc/odoo-server.conf 2020-11-18 09:48:41,353 4920 INFO ? odoo: addons paths: ['/odoo/odoo-server/odoo/addons', '/odoo/.local/share/Odoo/addons/14.0', '/odoo/enterprise/addons', '/odoo/odoo-server/addons', '/odoo/custom/addons']

drwxr-xr-x 8 odoo odoo 4096 Nov 18 09:32 cscart_odoo_bridge drwxr-xr-x 9 odoo odoo 4096 Nov 18 09:32 odoo_multi_channel_sale drwxr-xr-x 5 odoo odoo 4096 Nov 18 09:33 wk_wizard_messages

root@ODOO:/odoo/custom/addons# service odoo-server restart root@ODOO:/odoo/custom/addons# service odoo-server status ● odoo-server.service - LSB: Enterprise Business Applications Loaded: loaded (/etc/init.d/odoo-server; generated) Active: active (exited) since Wed 2020-11-18 10:51:24 CET; 4s ago Docs: man:systemd-sysv-generator(8) Process: 4992 ExecStart=/etc/init.d/odoo-server start (code=exited, status=0/SUCCESS)

Nov 18 10:51:24 ODOO systemd[1]: Starting LSB: Enterprise Business Applications... Nov 18 10:51:24 ODOO odoo-server[4992]: Starting odoo-server: odoo-server. Nov 18 10:51:24 ODOO systemd[1]: Started LSB: Enterprise Business Applications. root@ODOO:/odoo/custom/addons#

addons not found

augustomurri avatar Nov 18 '20 09:11 augustomurri

I am also facing the same issue. One more thing I noticed that during the installation, the custom addons path is not written in the odoo-server.conf file. I wrote it manually but the modules inside the /odoo/custom/addons folder are not recognized. When I copied the same module in /odoo/enterprise/addons folder, it worked. The permissions set on the custom addons folder are same as that of enterprise addons folder.

rahways avatar Dec 04 '20 14:12 rahways

@augustomurri , did you find any solution to your problem?

rahways avatar Dec 04 '20 14:12 rahways

Buenas tardes, quiza me podrian sugerir algo... estoy iniciandome... no tengo mucho dominio. sucede que encontre un modulo que me parecio bueno (odoo_web_login) cambiar los fondos segun la hora. y pues... no me cargan los fondos. me comentaron podia ser una mala instalación y he realizado varias pruebas requisito1 requisito2 url-vacio

IroniC0 avatar Feb 27 '22 22:02 IroniC0