Enable Dark Mode!
multiple-instance-of-odoo-in-windows.png
By: Nikhil Krishnan

How to Install Multiple Instances of Odoo on Windows?

Functional

What are multiple instances of Odoo refer to? Suppose we want more than one Odoo installation on a machine in windows ie what we say multiple instances of Odoo on windows. Let's start with the installation process in windows. Odoo Installation in windows is easier and quicker when compared with Ubuntu Step by step to Install Odoo v10 on Ubuntu16.04 LTS. We need to install many dependent python packages and PostgreSQL manually in Ubuntu. But in windows server just execute the .exe file. It will install all the components like Odoo and PostgreSQL and pre-configured for the same server.


How to install Odoo on windows? 

To install Odoo in windows. First, download the .exe file from “ https://nightly.odoo.com/ ”

From ‘Odoo nightly builds’ download your stable Odoo.


multiple-instance-of-odoo-in-windows-cybrosys

Download the latest Odoo .exe file from exe/ directory:


multiple-instance-of-odoo-in-windows-cybrosys

From the downloads just execute the file and access Odoo in your browser.

Go to this link http://<your_domain_or_IP_address>:8069 and explore the doo.


multiple-instance-of-odoo-in-windows-cybrosys

How to restart/stop the Odoo service in windows: 


For start/stop Odoo service, Windows OS provides a Services window to access all the services. From the window, we can easily start or stop the service by clicking the buttons.

 

Menu start -> type Services -> search Odoo Server -> Select line and click on restart/start/stop buttons above.


multiple-instance-of-odoo-in-windows-cybrosys

Also from the Run command window, we can search it by Services.msc


multiple-instance-of-odoo-in-windows-cybrosys

Start running multiple instances of Odoo on the same machine

Follow these steps or execute the same .exe file once more and do the second step:


1. You have already installed Odoo instances successfully, So now you copy the folder of Odoo (c: ? Program Files(x86) ? Odoo.10.0) and rename it with a new one.


2. If running multiple instances on the same machine first we change the default port number (:8069/ )in the .conf. For that find the Odoo config file(.conf) from c:\Program Files(x86)\Odoo.10.0\server\odoo.conf


And change the port by adding xmlrc_port:8010 (As you like)


multiple-instance-of-odoo-in-windows-cybrosys

3.Create a new windows service for the newly created instance


Run the following command prompt:


sc create <service_name> binPath= “c:\Program Files(x86)\Odoo.10.0 – copy\service\win32_service.exe”


** notice that there must be a blank space after the equal sign (binPath=) in the command line

 

sc create
DESCRIPTION:
Creates a service entry in the registry and Service Database.
USAGE:
sc <server> create [service name] [binPath= ] <option1> <option2>...
OPTIONS:
NOTE: The option name includes the equal sign.
A space is required between the equal sign and the value.
type= <own|share|interact|kernel|filesys|rec>
            (default = own)
start= <boot|system|auto|demand|disabled|delayed-auto>
            (default = demand)
error= <normal|severe|critical|ignore>
            (default = normal)
binPath= <BinaryPathName to the .exe file>
group= <LoadOrderGroup>
tag= <yes|no>
depend= <Dependencies(separated by / (forward slash))>
obj= <AccountName|ObjectName>
            (default = LocalSystem)
DisplayName= <display name>
password= <password>


4. The new service will be created and you can install it from the windows services.


Open the windows services and search the new Odoo service, select it and start it by clicking the start
 
multiple-instance-of-odoo-in-windows-cybrosys

5. Please note down the startup type of the new services and change it to automatic


right click on the new service and select Properties


multiple-instance-of-odoo-in-windows-cybrosys

From the new wizard change the Startup type to Automatic. Otherwise, if we set it as manual, Whenever we restart the system we have to start the service manually.


multiple-instance-of-odoo-in-windows-cybrosys

How to delete the Odoo service in windows:

Run the following command prompt:

sc delete <service_name>


sc delete
DESCRIPTION:
           Deletes a service entry from the registry.
           If the service is running, or another process has an
           open handle to the service, the service is simply marked
           for deletion.
USAGE:
           sc <server> delete [service name]


If you need any assistance in odoo, we are online, please chat with us.



2
Comments

tabola nde adrien

how install multi instances in odoo 11? I fail to create a new service

05/06/2018

-

6:40AM

tabola nde adrien

Good morning, did you know how to install multiple instance odoo 11 in windows. I didn't see a file in odoo 11 according to create a new service.

05/06/2018

-

6:34AM



Leave a comment



whatsapp
location

Calicut

Cybrosys Technologies Pvt. Ltd.
Neospace, Kinfra Techno Park
Kakkancherry, Calicut
Kerala, India - 673635

location

Kochi

Cybrosys Technologies Pvt. Ltd.
1st Floor, Thapasya Building,
Infopark, Kakkanad,
Kochi, India - 682030.

location

Bangalore

Cybrosys Techno Solutions
The Estate, 8th Floor,
Dickenson Road,
Bangalore, India - 560042

Send Us A Message