Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

How to run odoo 10 and odoo 12 together in one system on ubuntu 16.04?

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
odoo10odoo12
9 Besvarelser
14475 Visninger
Avatar
Alright!

Hi,

I have odoo 10 running on my system, What type of environment do I require to run odoo 12 parallel to odoo 10 on ubuntu 16.04.

any suggestion on installation and server start and close as there is a major difference of python 2.7 and python 3.

1
Avatar
Kassér
Odoo Mates

https://www.youtube.com/watch?v=l4jpz_bDI0Q

Avatar
Mitul Shingala
Bedste svar

hello,

using different xmlrpc-port you can run multiple odoo instance together.
for eg. 

v10 :   ./odoo-bin --addons-path=<addons-path> -d <database_name> --xmlrpc-port=8069

v12 :   ./odoo-bin --addons-path=<addons-path> -d <database_name> --xmlrpc-port=9000

so using --xmlrpc-port you can do it. also you can use --xmlrpc-port into the your odoo service file.

2
Avatar
Kassér
Alright!
Forfatter

and what about the python versions?

Mitul Shingala

by default odoo 10 run with python2.7 and odoo 12 run with python3

Avatar
Yenthe Van Ginneken (Mainframe Monkey)
Bedste svar

Hi Mian,

You can just install two Odoo instances next to eachother. As long as they're in separate folders and both run on their own Python versions you'll be fine. It is advised to run the two Odoo instances on different Linux users for security and transparency.
If you'd like I have an installation script that you can use to install multiple Odoo instances on one server, I use it all the time. See https://github.com/Yenthe666/InstallScript


Regards,
Yenthe

1
Avatar
Kassér
Alright!
Forfatter

Thanks yenthe. Of course I am going to use your script but here is a question. Using this script can I specify the folder where I want to install odoo and when I will be done installing what will differentiate between the two version when i want to start there services through terminal like I can differentiate between port and folder but what about the python version?

Yenthe Van Ginneken (Mainframe Monkey)

This is all configurable in my script. When you change the directory for the Odoo instance, the XML-RPC port and the user it'll work fine out of the box. My script will handle the Python version that it uses depending on the Odoo version you install. The service name is built depending on the parameters too so you'll have unique service names :)

Alright!
Forfatter

Hi yenthe, I have installed your script its not working. Odoo 10 is working perfectly. When i saw the logs its throwing these errors:

----------------------------------------------------------------------------------------------------

Traceback (most recent call last):

File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 270, in run_wsgi

execute(self.server.app)

File "/usr/local/lib/python3.5/dist-packages/werkzeug/serving.py", line 258, in execute

application_iter = app(environ, start_response)

File "/kamran/kamran-server/odoo/service/server.py", line 350, in app

return self.app(e, s)

File "/kamran/kamran-server/odoo/service/wsgi_server.py", line 128, in application

return application_unproxied(environ, start_response)

File "/kamran/kamran-server/odoo/service/wsgi_server.py", line 117, in application_unproxied

result = odoo.http.root(environ, start_response)

File "/kamran/kamran-server/odoo/http.py", line 1318, in __call__

return self.dispatch(environ, start_response)

File "/kamran/kamran-server/odoo/http.py", line 1469, in dispatch

odoo.registry(db).check_signaling()

File "/kamran/kamran-server/odoo/__init__.py", line 81, in registry

return modules.registry.Registry(database_name)

File "/kamran/kamran-server/odoo/modules/registry.py", line 62, in __new__

return cls.new(db_name)

File "/kamran/kamran-server/odoo/modules/registry.py", line 86, in new

odoo.modules.load_modules(registry._db, force_demo, status, update_module)

File "/kamran/kamran-server/odoo/modules/loading.py", line 424, in load_modules

registry.setup_models(cr)

File "/kamran/kamran-server/odoo/modules/registry.py", line 264, in setup_models

model._setup_base()

File "/kamran/kamran-server/odoo/models.py", line 2579, in _setup_base

self.env['ir.model.fields']._add_manual_fields(self)

File "/kamran/kamran-server/odoo/addons/base/models/ir_model.py", line 940, in _add_manual_fields

field = self._instanciate(field_data)

File "/kamran/kamran-server/odoo/addons/base/models/ir_model.py", line 931, in _instanciate

attrs = self._instanciate_attrs(field_data)

File "/kamran/kamran-server/addons/mail/models/ir_model.py", line 70, in _instanciate_attrs

attrs = super(IrModelField, self)._instanciate_attrs(field_data)

File "/kamran/kamran-server/odoo/addons/base/models/ir_model.py", line 886, in _instanciate_attrs

'copy': bool(field_data['copied']),

KeyError: 'copied' - - -

------------------------------------------------------------------------------

AND

Traceback (most recent call last):

File "/kamran/kamran-server/odoo/modules/registry.py", line 60, in __new__

return cls.registries[db_name]

File "/kamran/kamran-server/odoo/tools/func.py", line 69, in wrapper

return func(self, *args, **kwargs)

File "/kamran/kamran-server/odoo/tools/lru.py", line 44, in __getitem__

a = self.d[obj].me

KeyError: 'GasandOil'

------------------------------------------------------

THAT WOULD BE A GREAT HELP IF YOU HELP ME MAKE IT RUNNING.

Alright!
Forfatter

HERE ARE SOME MORE ERRORS ON THE TOP RIGHT AFTER THE SERVER STARTS

-------------------------------------------------------------------

/usr/local/lib/python3.5/dist-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.

""")

/usr/local/lib/python3.5/dist-packages/requests-2.21.0-py3.5.egg/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24.1) or chardet (2.3.0) doesn't match a supported version!

RequestsDependencyWarning)

------------------------------------------------------------

AND

------------------------------------------------------------

Traceback (most recent call last):

File "/kamran/kamran-server/odoo/service/server.py", line 989, in load_server_wide_modules

odoo.modules.module.load_openerp_module(m)

File "/kamran/kamran-server/odoo/modules/module.py", line 368, in load_openerp_module

__import__('odoo.addons.' + module_name)

File "/kamran/kamran-server/odoo/modules/module.py", line 61, in load_module

f, path, (_suffix, _mode, type_) = imp.find_module(addon_name, ad_paths)

File "/usr/lib/python3.5/imp.py", line 296, in find_module

raise ImportError(_ERR_MSG.format(name), name=name)

ImportError: No module named 'web_kanban'

-----------------------------------------------------------------------

Yenthe Van Ginneken (Mainframe Monkey)

Hi, as answered on the Github topic you install multiple Odoo instances with the same system & postgreSQL user, resulting in all these errors.

Alright!
Forfatter

Now how to uninstall the script?

Jorge

Hi Yenthe, Is there any posibilty for be in contact you through email? I have a little question about your odoo installation script!!

Yenthe Van Ginneken (Mainframe Monkey)

Feel free to reach out on Github or Twitter ;)

Muhanad

i'm having a problem regarding the addons-path, no matter what i do, the default addons path "/usr/lib/python3/dist-packages/odoo/addons" is stuck there, at lease with v13 and v14. I tried to set the "addons-path" parameter inside the config file, tried to add "--addons-path" option to the command line, but didn't work. then i'v read this:

--addons-path=ADDONS_PATH

specify """additional""" addons paths (separated by commas).

does that mean, the default is immutable? Any suggestions would be appreciated! Thanks in advance!

Muhanad

I edited this file ˜/odoo/odoo/cli/server.py:

def main(args):

check_root_user()

odoo.tools.config.parse_config(args)

check_postgres_user()

report_configuration()

.

.

.

INTO:

def main(args):

check_root_user()

odoo.tools.config.parse_config(args)

config = odoo.tools.config

odoo.addons.__path__.remove('/usr/lib/python3/dist-packages/odoo/addons')

check_postgres_user()

report_configuration()

.

.

.

I'm still testing what kind of effect does it have on the platform, trying out multiple combinations of configurations, till i reach something, but at least currently it worked.

DWARKANATH BARI

Hello, is it possible to install odoo from a batch file

Avatar
La Jayuhni Yarsyah
Bedste svar

I had a production server that run multiple odoo instance (odoo10, odoo11 and odoo12) and its no problem at all

Just only by simple configuration:

  1. Don't use same port for xmlrpc_port and longpolling_port, you can configure it on config file

  2. I use python virtual environtment some each instance, because odoo10  use python2 and odoo 11 and 12 using python 3.

  3. I create different user of postgresql on each version ,for example for user on odoo10 instance i create "odoo10pgusr",, for odoo11 instance i create "odoo11pgusr" and for odoo12, i create "odoo12pgusr"

    Hope will done your problem.
    Regards..

0
Avatar
Kassér
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Restrict user to see only his shipments in Inventory
odoo10 odoo12
Avatar
Avatar
Avatar
3
okt. 20
4810
Dropshipping setup shows vendor as partner in Dropship
dropship odoo10 odoo12
Avatar
Avatar
5
okt. 20
4552
How to run 2 versions of odoo (10 & 12) in one OS/environment?
ubuntu odoo10 odoo12
Avatar
Avatar
Avatar
2
jun. 19
16245
Create schedule action For sending emails
odoo10
Avatar
Avatar
Avatar
2
jul. 25
6360
How to send messages that are not shown in chatter? Løst
odoo10
Avatar
Avatar
Avatar
2
okt. 25
8747
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now