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

Hello there,
i want to install several instances of odoo 8 on the same machine runing windows 7.
any help please!
Thank You

Avatar
Discard
Author

@Axel Mendoza, thanks for help, but i still can't see it clear through your answer. can you please give more details! i'm on Windows and i've already installed Odoo

Best Answer

My advice is that you need to run Odoo from sources, then create many config files as instances you need, then execute Odoo from the command line using "--config C:\path\to\particular\config" varying the config file for every instance and in every config file you need to vary the option xmlrpc_port to launch that particular instance in a different port from the others

Avatar
Discard

I'd like to thank you Axel, you gave me a piece of information I sought behind much time. I upvoted your answer

Thanks, Happy to help

Author Best Answer

hello there, i've resolved the problem.

So to start running multiple instances of odoo8 on the same machine follow these steps:
1- asuming you've already one instance of Odoo installed, so either you copy the folder "Odoo 8.0-xxxxxx" (which is in C:\programs files\) into another different folder, let's say "Odoo 8.0 copy" OR you download and install a new instance of it.
2- the main thing here is to give different values of ports numbers in the .config file of the second instance (Odoo 8.0 copy)

3- then you have to create a new windows service which will be assoctiated to the newly created instance:
     - run command prompt and run the following command: sc create service_name binPath= "C:\program files\Odoo 8.0 copy\service\win32_service.exe"

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

that's all,, the newly service will be created in the registry and you can launch it from here: Start >> Services >> service_name

Avatar
Discard

This answer accomplish the Axel's one. Axel's answer to run from source, you to run from the runtime version. Thx for you both

Best Answer

I still get a interval server error


Avatar
Discard
Author

make sure you gave two different paths for data directory in openerp-server.conf. the default value for data_dir is like this: data_dir= C:\Users\user_name\AppData\Local\Openerp SA. For the second instance give a different path such as: data_dir= C:\Users\user_name\AppData\Local\Odoo-2