Correct method to upgrade


#1

We were using 5.0.1-snapshot and upgraded to 5.1
However, we are experiencing some issues and I suspect the upgrade may not have been completed correctly as the module list is still showing 5.0.1-snapshot as core.

What are the correct steps to upgrade from a wip version to master?
Do we need to do anything with the DB?


#2

Its displaying correctly. ABS is upgraded to 5.1.0 but not its core dependencies. It still works with core dependencies and upgraded ABS.


#3

Hi,

Just to give you more explanation:

Axelor app has 2 main parts: the Axelor Business Suite - ABS (which is now 5.1.0) and the Axelor Dev Kit - ADK (which is now 5.0.11). The ABS has been developed using the ADK.

These two parts have a separate lifecycle.

Regards


#4

The upgrade was from ABS 5.0.1 -snapshot to 5.1. The problem we are experiencing is that now some data is impossible to enter, such as customer and address.

Are there no DB updates required when moving from one version to another?


#5

From one version to another (eg 5.0.1 to 5.1.0) you could have several database schema updates.

There is no list of impacted fields so the first thing you have to do after an upgrade is to refresh all views (Admin/View Management/All View -> button Refresh). By doing this any manuel modification will be lost.

If you still have error with field (missing, wrong name, etc) you have to create a fresh install and to compre both databases.

Regards.


Problem adding Customer to CRM
#6

Hi @femtonext,
Do you have a Guidelines (step by step) to upgrade Axelor Business Suite from one version to another ( eg. v5.1.0 to the latest version) without erase all data?

currently i’m using ABS v5.1.0 on windows 10.


#7

Hi,

Sorry but there is no real guideline.
What I’m doing:

  1. create a production backup;
  2. generate a database diff between the production db and a fresh.
  3. apply the diff on the production database
  4. in case of updated fields I drop/create the field and I make a migration script from the backup db.

As you can see, it’s really complicated to upgrade.

Regards


#8

Hi @femtonext,

thanks for your explanation. It’s so manually.


#9

This is a real issue. We were thinking about moving to ABS, but without such a feature. Why the diff is not perform by an upgrade process and ask the user what to do in case of conflict?


#10

Hi,

Just note that if you add a new domain of a new field inside an existing domain hibernats will create these new table/field at the first launch. The problem comes with field upgrade that is not supported that requires manual upgrade (string to mOm, etc…).

Regards


#11

Hi,
Note that there is a very simple way to handle upgrade: subscribe to Axelor commercial version
Regards


#12

We cannot afford the commercial version for now and we still assessing Axelor, thus it is not a viable answer.

Without a native upgrade process, that means most of the users will either stick on old versions for a long time, or have to spend a lot of time and efforts to support the migration.


#13

So, you want the commercial version’s benefits without paying it…
I can’t believe how demanding people are when it comes down to free software


#14

What would be great if there was a add-on or even a fixed price service for upgrades. I am sure a lot of folks what be happy to pay for that. Maybe a business op for someone, Buess?


#15

We are not talking about a business or advanced feature that could be available only with the paid version. We are only talking about the software upgrade. Even a manual process might be a good starting point!!!


Mettre à jour Axelor vers une nouvelle version