Skip to Content
Menu
This question has been flagged
7 Replies
6883 Views

please tell me the procedure of how to create multiple instances of Odoo 11 on windows.

How i can create odoo 11 service on windows.

Avatar
Discard

Hi,

 Thanks for your reply,

here is my senior for better understanding if you help out me it will be a very grateful.


its our development window based server where we want to run multiple odoo 11 instances and their services.

for example

Code Folder: C:/ Odoo11_1 (odoo 11 code folder)

URL: localhost:8060

Window Service: odoo11_60

Similarly for another instance,

Code Folder: C:/ Odoo11_2 (odoo 11 code folder)

URL: localhost:8061

Window Service: odoo11_61

Regards,

Fawad


From: Piotr Cierkosz <piotr.w.cierkosz@gmail.com>
Sent: Monday, April 23, 2018 5:44:32 PM
To: Fawad Mazhar
Subject: Re: how to create multiple instances of Odoo 11 on windows
 

A new answer on how to create multiple instances of Odoo 11 on windows has been posted. Click here to access the post :

See post

--
Piotr Cierkosz


Sent by Odoo S.A. using Odoo.

Best Answer

By the way, It need to be tested because I never tested it and i will test it today and come back to you.

You will need to install odoo as source (see the below link) and add two sources folder for odoo and you will modify the config files to change the port and addons, log paths. To run instances for each Odoo from command line as below:

For Odoo11_1:

C:\Odoo11_1 > python odoo-bin

For Odoo11_2:

C:\Odoo11_2 > python odoo-bin

Source installation:

https://www.odoo.com/documentation/11.0/setup/install.html#source-install

Avatar
Discard

I have tested it and its working:

- Install odoo source installation as below:

https://www.odoo.com/documentation/11.0/setup/install.html#source-install

- I have two odoo folders and I modified the odoo config file to modify the addons and log path and port number

- then I used command to run each odoo as below:

For Odoo11_1

C:\Odoo11_1 > python odoo-bin

For Odoo11_2

C:\Odoo11_2 > python odoo-bin

Best Answer

I am running multiple servers on one Windows PC. The basic flow is:

- use installation file from https://nightly.odoo.com/11.0/nightly/ (exe)

-specify different port/user for each instance (fe: only one Odoo server will work on 8069)

Alternatively, you could just run Odoo in Docker (https://docs.docker.com/docker-for-windows/) create multiple containers for your Odoo builds.

Avatar
Discard
Author

When I install odoo again with different Port assign but it do not create another odoo start /stop service. by Default it create once in 1st installation.

could you tell me please how i can create odoo service manually in windows platform.

will try to come up with a tutorial this week (won't promise but will try). You need multiple instances just for dev/testing or you want to host production servers?

Author

its our development window based server were we want to run multiple odoo 11 instances and their services.

for example

Code Folder: C:/ Odoo11_1 (odoo 11 code folder)

URL: localhost:8060

Window Service: odoo11_60

Similarly for another instance,

Code Folder: C:/ Odoo11_2 (odoo 11 code folder)

URL: localhost:8061

Window Service: odoo11_61