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

Openupgrade migrate database Odoo 10 CE windows to Odoo 11 CE

Subscribe

Get notified when there's activity on this post

This question has been flagged
windowsmigrationOpenUpgrade
6209 Views
Avatar
Joan Navarro

Hi,

I try to migrate only the database from v10 to v11.

I make this steps:


1. stop the Odoo service (service odoo stop)

2. Git clone https://github.com/OCA/OpenUpgrade.git brach 11.0

3. Install the newest version of the OpenUpgradeLib (https://github.com/OCA/openupgradelib.git@master)

4.run OpenUpgrade with:

python odoo-bin -d mydatabase --update all --stop-after-init --data-dir=c:\temp -u openpg -w mypassw

5. Install all dependencies that It shows.

6 Finally after install all the dependecies it show me the error:



C:\Program Files (x86)\OpenUpgrade-11.0>python odoo-bin -d BtoBsolutions --update all --stop-after-init --data-dir=c:\temp -u openpg -w #Lmeiqupsfssa360

2020-04-07 15:15:35,642 1080 INFO ? odoo: Odoo version 11.0

2020-04-07 15:15:35,642 1080 INFO ? odoo: addons paths: ['c:\\temp\\addons\\11.0', 'c:\\program files (x86)\\openupgrade-11.0\\odoo\\addons', 'c:\\program files (x86)\\openupgrade-11.0\\addons', 'C:\\

Program Files (x86)\\OpenUpgrade-11.0\\odoo\\addons']

2020-04-07 15:15:35,642 1080 INFO ? odoo: database: default@default:default

2020-04-07 15:15:35,657 1080 INFO ? odoo.sql_db: Connection to the database failed

Traceback (most recent call last):

  File "odoo-bin", line 8, in <module>

    odoo.cli.main()

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\cli\command.py", line 60, in main

    o.run(args)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\cli\server.py", line 175, in run

    main(args)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\cli\server.py", line 140, in main

    odoo.service.db._create_empty_database(db_name)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\service\db.py", line 95, in _create_empty_database

    with closing(db.cursor()) as cr:

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 637, in cursor

    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 178, in __init__

    self._cnx = pool.borrow(dsn)

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 520, in _locked

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

  File "C:\Program Files (x86)\OpenUpgrade-11.0\odoo\sql_db.py", line 588, in borrow

    **connection_info)

  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\psycopg2\__init__.py", line 127, in connect

    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)

psycopg2.OperationalError


C:\Program Files (x86)\OpenUpgrade-11.0>



I think that probably the error is because it try to connect to a non exist database:

2020-04-07 15:15:35,642 1080 INFO ? odoo: database: default@default:default


Can you help, If I can to make a migration I want to make a tutorial step by step for all the people because the documentaion of openupgrade is not easy to understand.


Thanks in advance

Joan





0
Avatar
Discard
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
Openupgrade - im trying to migrate odoo 14 to odoo 15 with openupgrade.
migration openupgrade OpenUpgrade
Avatar
Avatar
1
Apr 25
3167
OpenUpgrade V6-V7 : No module named openupgradelib.openupgrade_tools
migration openupgrade OpenUpgrade
Avatar
0
Jul 23
2975
What path used when db migrate in v16 using openupgrade v16. Solved
migration OpenUpgrade odoo16features
Avatar
Avatar
2
Jun 24
5170
odoo migration
migration Community OpenUpgrade v17
Avatar
Avatar
1
Feb 25
2493
Migration to 16.0 using open upgrade
migration OpenUpgrade v15 odoo16features
Avatar
0
Sep 23
2578
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