This question has been flagged
2 Replies
6593 Views

I created some modules on Odoo 8. Those modules are being used by some employees on th company I am working for. Now I want to Upgrade all my Odoo 8 modules to Odoo 12, but I would like to have both versions working on my server.

  • Odoo 8 need to be working to be used by employees

  • Odoo 12 to make some tests

I am using ubuntu 16.04. I appreciate any help

Avatar
Discard
Best Answer

Hi,

Please go through this blog post of setting up Odoo 9 and Odoo 10 in same machine: https://www.rosehosting.com/blog/install-multiple-odoo-instances-on-a-single-machine/


For running multiple odoo instance in samw machine what you need is separate conf file and service.


Thanks

Avatar
Discard

I believe this does not work because of the different Python requirements of Odoo 8.0 and 12.0

It must be adapted to different Python environments.

Differenent Python version can be installed using virtual environment

Yes, I know, but it is not described in your link :-)

My install script handles multiple Odoo instances running on different Python versions fine :-) (https://github.com/Yenthe666/InstallScript)

Author

Yenthe's Scripts works perfectly. Thanks a lot.

Best Answer

What is technically feasible is not always recommendable:

- do not run production and test instances on the same bare server

- do not run test and production databases in the same PostGres instance

- be aware that Odoo 8.0 requires Python 2.7, Odoo 12.0 requires Python 3.5

If at all you must run both instances on the same server, consider Docker to completely separate both instances.

Just my 2 cents.

Avatar
Discard