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

I have installed odoo 10 on ubuntu 17.04 , now I have checkout a adoo 10 on different directory on the same machine  as I want start to  learning to develop modules, so I have set the second directory up in eclipse but I can not start it because of default port occupied.

how can I run multiple odoo on the same machine, in order word how can I change the default port to a different port ?

on ubuntu 17.04 machine

Thanks

Avatar
Discard

Named openerp server and Execute this file when you run.

Sir thanks for you effort.
ODOO HOME =/home/luc/git/odoo2
I could not answered to the forum, it seemed like one can only send 3 answers.
I have created the file called openerpserver.sh

/git/odoo2$ ./openerpserver.sh
./openerpserver.sh: line 1: addons_path: command not found
./openerpserver.sh: line 2: ,/home/luc/git/odoo2/addons/addons: No such file or directory
./openerpserver.sh: line 3: ,/home/luc/git/odoo2/: No such file or directory
./openerpserver.sh: line 4: ,home/luc/git/odoo2/l10n_tn: No such file or directory
./openerpserver.sh: line 5: ,home/luc/git/odoo2//CHC: No such file or directory
./openerpserver.sh: line 6: ,/home/luc/git/odoo2/sales_invoices_discounts: No such file or directory
./openerpserver.sh: line 7: admin_passwd: command not found
./openerpserver.sh: line 8: db_password: command not found
./openerpserver.sh: line 9: db_port: command not found
./openerpserver.sh: line 10: db_user: command not found
./openerpserver.sh: line 11: dbfilter: command not found
./openerpserver.sh: line 12: xmlrpc_port: command not foun


On Monday, December 26, 2016 10:53 PM, Mounir Zitouni <mounir.zitouni@esprit.tn> wrote:


Named openerp server and Execute this file when you run.
--
Mounir Zitouni

Sent by Odoo S.A. using Odoo.


Author Best Answer

Thanks mounir

you have mentioned to add in the config file (e.g. /etc/odoo-server.conf).

/etc/odoo-server.conf is not in my machine it doesn't exist.

I have installed odoo 10

tks

Avatar
Discard

Add a simple file under odoo(original version that you have downloaded) after that copy This content in the file :

[options]

addons_path = /home/dev/workspace_odoo10/odoo-10/addons

,/home/dev/workspace_odoo10/odoo-10/addons

,/home/dev/workspace_odoo10

,/home/dev/workspace_odoo10/l10n_tn

,/home/dev/workspace_odoo10/CHC

,/home/dev/workspace_odoo10/sales_invoices_discounts

admin_passwd = admin

db_password = postgres

db_port = 5432

db_user = dev

dbfilter = .*

xmlrpc_port = 8071

(This file I use for odoo 10)

good luck

tks does this fle has to be py  file ?


On Monday, December 26, 2016 12:56 PM, Mounir Zitouni <mounir.zitouni@esprit.tn> wrote:


Add a simple file under odoo(original version that you have downloaded) after that copy This content in the file :
[options]
addons_path = /home/dev/workspace_odoo10/odoo-10/addons
,/home/dev/workspace_odoo10/odoo-10/addons
,/home/dev/workspace_odoo10
,/home/dev/workspace_odoo10/l10n_tn
,/home/dev/workspace_odoo10/CHC
,/home/dev/workspace_odoo10/sales_invoices_discounts
admin_passwd = admin
db_password = postgres
db_port = 5432
db_user = dev
dbfilter = .*
xmlrpc_port = 8071
(This file I use for odoo 10)
good luck
--
Mounir Zitouni

Sent by Odoo S.A. using Odoo.


Best Answer

add in the config file (e.g. /etc/odoo-server.conf)

xmlrpc_port = 8070

for example odoo 8 :xmlrpc_port = 8069/ odoo 9 :xmlrpc_port = 8070 / odoo 10 :xmlrpc_port = 8071

Each version has a specific port

good luck

Avatar
Discard