Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
267 Vistas

Hi All,

We have an on-premise installation of Odoo V18.

How we can upgrade the v18 version database to the v19 ?

Is it possible to do this on our part (together with the technical team) or are we obligated to send the database to Odoo, as described in the documentation.

Avatar
Descartar
Mejor respuesta

Hi,


Upgrading an on-premise Odoo 18 database to Odoo 19 is possible, but it follows a specific process. Odoo treats database upgrades as part of its migration service. According to the official documentation, upgrades are normally handled by Odoo SA—you upload your database to their upgrade platform, and they return the migrated version. This ensures that all core modules and accounting rules are updated correctly.


For on-premise users, you can’t fully perform the database upgrade yourself. However, your technical team can prepare and test the migration process. The main steps are:


    Prepare your current Odoo 18 database


        Make sure it is clean: close open transactions, fix errors, uninstall unused or broken modules.


        Back up your database and filestore.


    Submit the database to Odoo’s Upgrade Service


        Upload the dump of your Odoo 18 database through the official upgrade platform.


        Odoo will process it and return a database compatible with Odoo 19.


    Handle custom modules


        Odoo only migrates the standard code. Your technical team must adapt and migrate custom apps/modules to ensure compatibility with v19.


        This usually requires code refactoring and testing on a staging server.


    Test the upgraded database


        Restore the upgraded database in a staging environment running Odoo 19.


        Verify all workflows, customizations, and integrations.


    Go live


        Once testing is validated, back up production again.


        Restore the migrated database into your Odoo 19 instance and switch users to the new system.



The database upgrade itself must go through Odoo’s upgrade service, but your team is responsible for preparing the v18 database, adapting custom modules, and testing everything before go-live.


Hope it helps

Avatar
Descartar
Autor

Hi,
Thanks for the reply.
What about time - while Odoo is updating a copy of the database, business continues, and after creating a backup copy of the database and sending it to Odoo, there will be many transactions logged in the current working version, how can we manage them? sometimes it is almost impossible to use the export/import functions. How long will Odoo update my database?

Mejor respuesta

We will start testing the upgrade of Odoo Online databases in October. If all goes well, we will then allow On Premise and Odoo.sh databases to be upgraded in November.

It could be earlier or later - we want to provide a smooth experience - so will adjust based on how well the first several thousand upgrades go.

Databases need to be sent to the Odoo migration service.

Avatar
Descartar
Autor

Hi Ray,
Thank you for prompt answer.
Just for to be fully clear:
1. As a partner or client, we have no other options for updating on our part, except to send the database to the Odoo migration service, am I right?
2. And my next question is: for what reason did you not provide the migration script to the end client or partner for self-processing?

I have asked your new Account Manager to reach out to you to discuss this in more detail.

Autor

Hi Ray,
Thank you, I will be waiting for the response from the customer service manager.

Mejor respuesta

Hi

Upgrading your Odoo on-premise instance from v18 to v19 involves several steps and careful planning. It's generally manageable with your technical team, but a backup is crucial.



  1. Back up your entire Odoo database and files. This is the most critical step. A full backup allows for rollback if issues arise during the upgrade.

  2. Update Odoo Server: Download the latest v19 Odoo server package and replace your existing v18 server files. Ensure you stop the Odoo server before doing this.

  3. Database Update: Odoo's upgrade process usually handles database migration automatically. Start the Odoo server; it should detect the need for an upgrade and guide you through the process. Monitor the logs closely for any errors.

  4. Post-Upgrade Checks: After the upgrade completes, thoroughly test all modules and functionalities to ensure everything works correctly. Check for any data inconsistencies or errors.

  5. Consider a Staging Environment: For larger installations, it's best practice to perform the upgrade on a staging environment first to identify and resolve potential issues before updating your production system.


For personalized assistance or to explore our Odoo support services, which include upgrade assistance, please visit:
https://www.pragtech.co.in/contact-us-mql.html

Avatar
Descartar
Autor

Hi Rani,
Thanks for your reply.
Considering the steps described in your answer, I have found some inconsistencies and I kindly ask you to point me to the exact place in the user interface (or perhaps in the source code) where Odoo does this:

"3. Database Update: Odoo's upgrade process usually handles database migration automatically. Start the Odoo server; it should detect the need for an upgrade and guide you through the process. Monitor the logs closely for any errors."

To be clear, after completing the first and second steps of your proposal, we have a localhost://web/database/manager page where we can see that only one database is acceptable for the current installed version, which of course is v19, and for the other it is marked with a warning sign.
Moreover, in my log I found the following warnings for each database that was created before version 19:
WARNING [db-name] odoo.addons.base.models.ir_cron: Skipping database [db-name] as its base version is not 19.0.1.3.

Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 25
1434
2
ene 25
2878
2
ene 25
3147
0
abr 23
3267
0
ago 22
2821