Odoo Help


Is it possible to run v7 and v8 on the same server?

Jeff Beidler
on 12/22/14, 12:24 PM 1,304 views

I'm running CentOS 7 on my development sandbox machine.  I currently have Odoo 8 installed.  Can I also install v7 for testing/development between the two?  How would I go about this?




| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 12/23/14, 2:55 AM

Sure ,
Create separate config files ( xmlrpc_port = 8069 - change port for each version )
optional create separate startup scripts in /etc/init.d/ for each version

You can have more than one instance running, but each needs to be on separate port (specify in config)
You can start several instances of same version from one source folder;
Or can run several versions (6.1, 7,8,trunk) on same server from separate source folders
If you use different veriosn it is recomended to create separate db users/roles for each version so db's dont get mixed
(also vise to use roles/users if using same version multi instance)

Hope it helps

I installed v7 along with the v8 I already had in place. I renamed the 'openerp-server' executable in /usr/bin to 'odoo8-server', and copied the 'openerp-server' from the v7 directory to /usr/bin as 'openerp7-server' to save on confusion. I thought this would allow me to start either version at will (don't need to run both at the same time). However, running 'openerp7-server' still launches v8! I think this is because the 'import openerp' line in the executable is finding the v8 version of the class/module first. Is it possible to specify a path to the exact version of the module/class inside the v7 executable script? It didn't work when I tried it, but I know very little Python.

Jeff Beidler
on 12/23/14, 1:27 PM

I did a hackaround by running the 'openerp-server' out of the directory created by untarring the latest .tar.gz file and specifying a config file. I also had to make separate v7 and v8 custom module directories, as the v7 server will get confused by v8 modules that reside in the specified addons directory. So, separate .conf files for each server, and in each respective file, specify the correct custom module directory path!

Jeff Beidler
on 12/23/14, 5:24 PM
Victor Admin
On 12/22/14, 1:03 PM

You could always run one in a Docker container? 

That may actually be the cleanest way to do this 


Ben Bernard

--Ben Bernard--

| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 12/22/14, 9:43 PM

Yes you could. I do this kind of practice: one source and switch between version, sometime I run two version simultaneously. Why? because installing odoo for development is tedious.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 12/22/14, 12:24 PM
Seen: 1304 times
Last updated: 3/16/15, 8:10 AM