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

Open Upgrade: How to upgrade from Odoo 16 to Odoo 17 ?

Subscribe

Get notified when there's activity on this post

This question has been flagged
v17
7 Replies
14253 Views
Avatar
p!t@

Hi everyone,

I want to migrate my V16 database to V17, I'm encountering some difficulties.

Steps taken to migrate from Odoo 16 to Odoo 17:

  • I restored my V16 database to a V17 version
  •  I downloaded the openupgrade_scripts module
  •  I created a migration_scripts folder, adding the openupgrade_scripts module, and then added the path to my addons.
  • I installed the openupgradelib package
  • and called my instance with the command: ./odoo-bin --database=DEMO-MIGRATION --upgrade-path=/mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts
  • mistake: 

​Usage: odoo-bin server [options] 

​odoo-bin server: error: option --upgrade-path: the path '/mnt/extra- ​ ​ ​ ​ ​ ​ ​ ​addons/migration_scripts/openupgrade_scripts/scripts' is not a valid upgrade  ​directory

I tried the second option:

[options]

upgrade_path = /mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts

I have followed the recommendations given here 👇

https://github.com/OCA/OpenUpgrade/tree/17.0/openupgrade_scripts#:~:text=%5Boptions%5D%0Aupgrade_path%20%3D%20/PATH_TO_openupgrade_scripts_MODULE/scripts/


There's no error, but my database hasn't been migrated

Am I missing something?

Thank you for your help and suggestions

0
Avatar
Discard
Avatar
Sudhir Arya (ERP Harbor Consulting Services)
Best Answer

OpenUpgrade v17 is not yet ready. You can check the progress here: https://github.com/OCA/OpenUpgrade/issues/4124

1
Avatar
Discard
Manish Bohra

In that case what is alternative?

Aslam Up

Could you kindly provide an update on the Open Upgrade v17?. Is it ready or not yet ready ?

Avatar
Patter Roni
Best Answer

To migrate your Odoo 16 database to Odoo 17, ensure you have the correct setup and dependencies. Start by cloning the OpenUpgrade repository’s 17.0 branch using:

git clone --branch 17.0 https://github.com/OCA/OpenUpgrade.git /mnt/extra-addons/migration_scripts.

Next, confirm the scripts directory exists at /mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts. Install the openupgradelib package using pip install openupgradelib. Update your odoo.conf file by adding:

[options] addons_path = /path_to_your_addons,/mnt/extra-addons/migration_scripts upgrade_path = /mnt/extra-addons/migration_scripts/openupgrade_scripts/scripts

Once configured, run the migration command: ./odoo-bin -d DEMO-MIGRATION -u all. If your database isn’t migrated or errors occur, check the logs by enabling debug mode in the odoo.conf file (log_level = debug). Ensure your migration scripts are complete and compatible for all modules, including custom and third-party ones. Verify data integrity post-migration by logging into the system and running consistency checks like ./odoo-bin -d DEMO-MIGRATION --check-xml. Following these steps should resolve migration issues and ensure a smooth transition to Odoo 17.


0
Avatar
Discard
Avatar
Aslam Up
Best Answer

Are you able to upgrade from v16 to v17 using Open upgrade script ? Kindly update..

0
Avatar
Discard
Sudhir Arya (ERP Harbor Consulting Services)

As you can see the work is still in progress.
https://github.com/OCA/OpenUpgrade/issues/4124

Avatar
Favio Náquira
Best Answer

did you manage to solve it?

0
Avatar
Discard
Avatar
Mario Gielissen
Best Answer

https://github.com/Viindoo/OpenUpgrade/tree/17.0

0
Avatar
Discard
Avatar
Henk de Leeuw
Best Answer

Odoo 17 is so new, that no OpenUpgrade scripts have been published yet.
There are analysis.txt files in the subdirectories of openupgrade_scripts/scripts, but no pre-*.py or post-*.py files.
If Odoo does not find those, it says that the scripts directory is not a valid upgrade directory.

So, a bit of patience will help (I'm in the same boat)
(I don't have enough karma yet to post links yet, so visit the OpenUpgrade documentation site to find out more)

0
Avatar
Discard
Avatar
subbarao
Best Answer

you can try with bellow option

python  ./odoo-bin -d database_name --config=/odoo/odoo17_migration/odoo/debian/odoo.conf --upgrade-path=/odoo/odoo17_migration/OpenUpgrade-17.0/openupgrade_scripts/scripts -u all


Before running, Make sure config file path and configuration is updated or not 

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
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
Oct 25
1468
How to add a new Many2one field in res.config.settings? Solved
v17
Avatar
Avatar
Avatar
Avatar
4
Oct 25
4112
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
Sep 25
2659
How to disable Email notification - You have been assigned to Solved
v17
Avatar
Avatar
Avatar
Avatar
4
Sep 25
8218
Selection Field Options Disappear from Database (PostgreSQL enum) on Module Upgrade
v17
Avatar
0
Aug 25
1450
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