Skip to Content
Menu
This question has been flagged
2 Replies
6152 Views

I am trying to add folder to the addons_path line on my config file and I get a display error (see screenshot).

Screenshot: https://postimg.org/image/8ypgjm3tp/

Here is my config file:

[options]; This is the password that allows database operations:
admin_passwd = ***
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/opt/odoo/addons


My /opt/odoo/addons folder is set to :

drwxr-xr-x 4 odoo odoo 4096 Sep 28 09:31 .
drwxr-xr-x 3 odoo odoo 4096 Sep 28 09:31 ..
drwxr-xr-x 3 odoo odoo 4096 Sep 28 09:41 addons
drwxr-xr-x 2 odoo odoo 4096 Sep 28 09:31 custom_addons


I don't know what else I should do..

Any idea?

Avatar
Discard
Best Answer

Hi,

If your addons are installed under opt/odoo you don't need to mention "/usr/lib/python2.7/dist-packages/openerp/addons".

If this folder (/usr/lib/python2.7/dist-packages/openerp/addons) not existing, odoo can't start.

in this case put simply : addons_path = /opt/odoo

Best regards.

Avatar
Discard
Author Best Answer

  myselfThanks for your answer but I did not add the addons directory (the one in /usr/lib/python2.7/dist-packages/openerp/addons)  myself, it's the original location with all addons.

What I wanted to do was adding an extra folder where I could put the extra and custom addons so they're not mixed with the 280 other ones. 

I read somewhere that it's possible so I tried adding a 2nd folder but it looks like I'm missing something...

I tried removing the /usr/lib/python2.7/dist-packages/openerp/addons and leave only /opt/odoo/addons and it's still not working, I got more errors:

"Could not get content for /web/static/lib/cleditor/jquery.cleditor.css defined in bundle 'web.assets_backend'.\A 
Could not get content for /web/static/lib/jquery.textext/jquery.textext.css defined in bundle 'web.assets_backend'.\A
Could not get content for /web/static/lib/select2/select2.css defined in bundle 'web.assets_backend'.\A
Could not get content for /web/static/lib/bootstrap/css/bootstrap.css defined in bundle 'web.assets_backend'.\A
Could not get content for /web/static/lib/jquery.ui.bootstrap/css/custom-theme/jquery-ui-1.9.0.custom.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/lib/jquery.ui.timepicker/css/jquery-ui-timepicker-addon.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/lib/jquery.ui.notify/css/ui.notify.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/src/css/base.css defined in bundle 'web.assets_backend'.\A Could not get content for /web/static/src/css/data_export.css defined in bundle 'web.assets_backend'.\A Could not get content for /base/static/src/css/modules.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_move_reconciliation.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_move_line_quickadd.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_bank_and_cash.css defined in bundle 'web.assets_backend'.\A Could not get content for /account/static/src/css/account_bank_statement_reconciliation.css defined in bundle 'web.assets_backend'.\A Could not get content for /base_import/static/src/css/import.css defined in bundle 'web.assets_backend'.\A Could not get content for /base_setup/static/src/css/base_setup.css defined in bundle 'web.assets_backend'.\A Could not get content for /board/static/src/css/dashboard.css defined in bundle 'web.assets_backend'.\A Could not get content for /calendar/static/src/css/calendar.css defined in bundle 'web.assets_backend'.\A Could not get content for /hr/static/src/css/hr.css defined in bundle 'web.assets_backend'.\A Could not get content for /im_chat/static/src/css/im_common.css defined in bundle 'web.assets_backend'.\A Could not get content for /im_chat/static/src/css/im_chat.css defined in bundle 'web.assets_backend'.\A Could not get content for /mail/static/src/css/mail.css defined in bundle 'web.assets_backend'.\A Could not get content for /mail/static/src/css/mail_group.css defined in bundle 'web.assets_backend'.\A Could not get content for /mail/static/src/css/announcement.css defined in bundle 'web.assets_backend'.\A Could not get content for /portal/static/src/css/portal.css defined in bundle 'web.assets_backend'.\A Could not get content for /sales_team/static/src/css/sales_team.css defined in bundle 'web.assets_backend'.\A Could not get content for /share/static/src/css/share.css defined in bundle 'web.assets_backend'.\A Could not get content for /stock/static/src/css/stock.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_calendar/static/src/css/web_fullcalendar.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_calendar/static/lib/fullcalendar/css/fullcalendar.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_diagram/static/src/css/base_diagram.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_gantt/static/src/css/gantt.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_gantt/static/lib/dhtmlxGantt/codebase/dhtmlxgantt.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_graph/static/src/css/graph.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_graph/static/src/css/nv.d3.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_kanban/static/src/css/kanban.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_tests/static/src/css/web_tests.css defined in bundle 'web.assets_backend'.\A Could not get content for /web_view_editor/static/src/css/view_editor.css defined in bundle 'web.assets_backend'."
Avatar
Discard

past the path of addons, the other directory and your file config.

Author

The original path is

/usr/lib/python2.7/dist-packages/openerp/addons

With permissions:

drwxr-xr-x 281 root root 12288 Sep 28 12:05 addons

The custom directory:

/opt/odoo/addons

With permissions:

drwxr-xr-x 3 odoo odoo 4096 Sep 28 09:41 addons

The config file:

[options]

; This is the password that allows database operations:

admin_passwd = ****

db_host = False

db_port = False

db_user = odoo

db_password = False

addons_path = /usr/lib/python2.7/dist-packages/openerp/addons,/opt/odoo/addons

Author

Ok, it works.

It looks like the problem was with the addon I was trying to install (aeroo reports)

Author

Thanks Bejaoui

Related Posts Replies Views Activity
3
Aug 16
5819
1
Dec 23
1246
0
Sep 23
1870
1
Oct 24
2472
1
Feb 23
21945