Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Work with odoo 9 and 8 on the same pc but different POrt

Subscribe

Get notified when there's activity on this post

This question has been flagged
odoo8odoo9odoo-server.conf
3 Replies
4420 Views
Avatar
Rihene

Hello!!

I am using odoo 9 but i want to work with odoo 8.

SO, i have edited the odoo-server.conf.

[options]; This is the password that allows database operations:

admin_passwd = admindb_host = localhost db_port = 5432db_user = odoodb_password = odooaddons_path = /opt/odoo/addons , /opt/odoo/openerp/addons , /opt/seemax log_level = debuglog_level = infoxmlrpc_port = 8069


[options]; This is the password that allows database operations:

admin_passwd = admindb_host = localhost db_port = 5432db_user = odoodb_password = odooaddons_path = /opt/odoo-8/odoo/addons , /opt/odoo-8/odoo/openerp/addons, /opt/odoo-8/odoo/openerp/addons/web, /opt/odoo-8/odoo/openerp/addons/baselog_level = debuglog_level = infoxmlrpc_port = 8070


WHen i load the server i get this error:

2017-01-16 09:15:14,854 6036 ERROR base_tests werkzeug: Error on request:

Traceback (most recent call last):

  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute application_iter = app(environ, start_response) File "/opt/odoo/openerp/service/server.py", line 246, in app return self.app(e, s) File "/opt/odoo/openerp/service/wsgi_server.py", line 184, in application return application_unproxied(environ, start_response) File "/opt/odoo/openerp/service/wsgi_server.py", line 170, in application_unproxied result = handler(environ, start_response) File "/opt/odoo/openerp/http.py", line 1495, in __call__ return self.dispatch(environ, start_response) File "/opt/odoo/openerp/http.py", line 1644, in dispatch ir_http = request.registry['ir.http'] File "/opt/odoo/openerp/http.py", line 365, in registry return openerp.modules.registry.RegistryManager.get(self.db) if self.db else None File "/opt/odoo/openerp/modules/registry.py", line 355, in get update_module) File "/opt/odoo/openerp/modules/registry.py", line 386, in new openerp.modules.load_modules(registry._db, force_demo, status, update_module) File "/opt/odoo/openerp/modules/loading.py", line 279, in load_modules loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report) File "/opt/odoo/openerp/modules/loading.py", line 123, in load_module_graph load_openerp_module(package.name) File "/opt/odoo/openerp/modules/module.py", line 331, in load_openerp_module __import__('openerp.addons.' + module_name) File "/opt/odoo/openerp/modules/module.py", line 61, in load_module mod = imp.load_module('openerp.addons.' + module_part, f, path, descr) File "/opt/odoo-8/odoo/openerp/addons/base/__init__.py", line 22, in <module> import ir File "/opt/odoo-8/odoo/openerp/addons/base/ir/__init__.py", line 22, in <module> import ir_model File "/opt/odoo-8/odoo/openerp/addons/base/ir/ir_model.py", line 629, in <module> class ir_model_access(osv.osv):

  File "/opt/odoo-8/odoo/openerp/addons/base/ir/ir_model.py", line 710, in ir_model_access @tools.ormcache_context(accepted_keys=('lang',)) File "/opt/odoo/openerp/tools/cache.py", line 106, in __init__ self.keys = kwargs['keys']KeyError: 'keys'


Can anyone help me please.

Thanks a lot in advance.

0
Avatar
Discard
Avatar
Ermin Trevisan
Best Answer

Your traceback shows that it loads Odoo 8 and Odoo 9 code and modules simultaneously. This is of course a complete mess and will never work. If you want to run 2 different Odoo instances on the same server, then you'll have to set up 2 completely different instances with their own different odoo-server.conf-files. You should also think about the Postgres and how to handle/deploy the databases.

1
Avatar
Discard
Avatar
Mohammed Rishad
Best Answer

I think your browser shows "500 Internal Server Error"

If you are using odoo 9.You need to "Clear browser cookie".

Then Try to run odoo 8. It will run 

I don't think you can run two versions of Odoo in same browser at same time...

0
Avatar
Discard
Rihene
Author

Thanks a lot for your answer friend. I have tried this but it still not working. I have tried even to work with only odoo 8 but still have the same error. How can i proceed please?

Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
how to download attached any file from website in odoo
odoo8 odoo9
Avatar
0
Nov 24
3799
Installation from source code is not suitable for deployment ?
code odoo8 odoo9
Avatar
Avatar
2
May 16
5025
It's possible to run odoo8 and odoo9 on the same ubuntu14.04 Server? Solved
odoo8 docker odoo9
Avatar
Avatar
Avatar
Avatar
6
Oct 15
6188
How long will the Odoo V7 API stay available? Will it be removed in Odoo 9? Solved
api odoo8 odoo7 odoo9
Avatar
1
Jan 19
1406
What is Orange Color represents in Vehicle Contract(Fleet Management)
fleet odoo8 Vehicles odoo9
Avatar
Avatar
1
Feb 18
4019
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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