Odoo Help

Welcome!

This community 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.

0

How to run different OpenERP version on the same server?

By
Mindaugas
on 3/22/13, 5:23 PM 7,289 views

Once I saw answer how configure multiple openerp version 6.1 and 7.0 to use on windows, but now i cant find it. I know that i need change openerp-server.conf file ports for example: xmlrpc_port = 8069 -> 8769 xmlrpcs_port = 8071 -> 8771 netrpc_port = 8070 -> 8770 everything work fine.

When I am logged in to one client i cant access to another client in same time. Do I need create new postgreSQL use to access another client? How do I need to do this correctly?

Hi

this is not a duplicate question, because question is the same but for windows. But method is the same.

Bye

Cyril Gaspard (GEM)
on 3/24/13, 4:22 PM
2
Alan Lord
On 3/24/13, 5:45 AM

I don't use windows but on Linux it is fairly easy...

  • Create new linux system users for each version you want to run,
  • Create new postgres users that match (on Linux postgres used ident authorisation by default) the usernames you just created above so you can't accidentally access the wrong databases
  • Create separate configuration and startup files to match the versions you want above. In these you set the different port numbers for each system...
  • wherever you installed the openerp code, change the ownership of each version to match the Linux user names
  • Configure the versions to write to different log files.

HTH

AlAl

2
omar bajunaid
On 3/23/13, 5:56 AM

Maybe this may help but they are under Ubuntu

http://www.theopensourcerer.com/tag/openerp/

hope this helps

Thanks for linking to my blog Omar.

Alan Lord
on 3/24/13, 5:46 AM

keep up the good work , Lord!

omar bajunaid
on 3/25/13, 11:25 AM
1
Mindaugas
On 3/25/13, 1:50 PM

I solved this problem. I just created new login role on PostgreSQL and in openerp-server.conf file changed db_user =NewUserName and db_password =NewPassword. To use databases need to change database ownership to new created user and restart PostgreSQL.

Thank you all for answers.

1

IBS

--IBS--
1302
| 4 5 8
Tétouan, Morocco
--IBS--

For more informations about IBS, please visit our website at www.ibs-na.com.

For a specific questions, collaboration or help, please send us an email to support@ibs-na.com

IBS
On 3/24/13, 10:56 PM

I've used this article to configure two OpenERP instances of same version, but i have problem when i want use both in same time. When i am logged in to one client and i want use another client, first i need to log out and then log in to another.

Mindaugas
on 3/25/13, 12:45 PM

Are you using different ports for each instance?

IBS
on 3/25/13, 1:34 PM

Yes i used different ports.

Mindaugas
on 3/25/13, 1:45 PM

What happens if you log in both of them?

IBS
on 3/25/13, 1:50 PM

If i log into another, which used the previous stops work and cant browse through the windows.

Mindaugas
on 3/25/13, 2:01 PM

Have you tried to log in to each instance in different browsers?

nazarii
on 5/10/13, 7:16 PM
0
Mindaugas
On 3/25/13, 1:31 PM

Thank you all for answers.

0

Gustavo

--Gustavo--
950
| 2 1 4
Buenos Aires, Argentina
--Gustavo--

Python developer, big fan of sailing

Gustavo
On 3/25/13, 2:13 PM

You can try it with virtualenv. Here at work with do it with oerpenv (https://launchpad.net/oerpenv) which allows you run different versions of OpenERP in the same machine

0

Omal Bastin

--Omal Bastin--
1146
| 6 6 8
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin
On 3/25/13, 2:04 AM

You cant run same server for different versions of openerp as its architecture is different. you can try by running different version of openerp server in different ports.

Err, we do. I have an Ubuntu 10.04 server running, simultaneously, OpenERP versions 6.0, 6.1, 7.0 & Trunk.

Alan Lord
on 3/25/13, 11:28 AM

Alan, can you describe how you run 4 instances at once? I'd be looking to run the same version, 7.0, but have multiple db's for different clients to connect to. Is there any good docs on how to do this? Thanks.

Alan Snyder
on 7/2/13, 11:09 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/22/13, 5:23 PM
Seen: 7289 times
Last updated: 3/16/15, 8:10 AM