← All articles

upgrades

How to upgrade Dolibarr without breaking your modules

Backup, module inventory, a rehearsal on a copy, checks afterwards: how to move to a new Dolibarr version knowing in advance what will shift.

4 min read

A Dolibarr upgrade goes well when you know, before starting it, which modules are installed, which versions they were checked on, and you have rehearsed it on a copy. The operation itself takes a few minutes. The preparation is what makes the difference.

1. Back up, and check the backup

A complete Dolibarr backup is three things: your data, your documents (the invoices and quotes you generated, the attachments) and the installation itself, with its settings and its modules.

If a provider hosts your Dolibarr, ask for a backup dated today — and ask whether they know how to restore it. A backup nobody has ever read back is only a hypothesis.

2. Take an inventory of the modules

In Setup → Modules, the "External" filter lists the modules added to your Dolibarr. For each one, note three things:

  • the version you have installed;
  • the Dolibarr versions the publisher states it works on;
  • whether a newer version exists from that publisher.

A module stated to work up to the version you are aiming for is the easy case. A module whose stated compatibility stops short of it is the one to try first, or to have updated before you migrate.

This is also the moment for an uncomfortable but useful question: has anyone ever had Dolibarr itself altered? Unlike modules, those alterations will be lost during the upgrade. Better to know beforehand.

3. Rehearse on a copy

This is the step everyone wants to skip, and the one that prevents bad days. Restore the backup onto a working copy, and run the whole upgrade there.

That is where you discover the module that will not switch on, the document whose layout changed, the screen that disappeared. Try the actions that matter in your company: create and validate an invoice, record a payment, produce a document, and use every module at least once.

4. Run the upgrade

This is the job of whoever looks after your server, or of your hosting provider. The principle: the software is replaced by its new version without touching your settings or your modules, then Dolibarr's upgrade assistant takes care of moving your data forward. If your Dolibarr came from a ready-made installer or a hosted offer, your supplier has its own procedure, which does the same thing for you.

Warn your team: Dolibarr is unavailable while this runs. Pick a quiet moment, not an invoicing day.

5. Check afterwards

  • In Setup → Modules, is every module still switched on? If in doubt, switch one off and back on: it will apply its own changes.
  • Repeat the actions you tried on the copy.
  • Stay alert for the first few days: that is when the edge cases nobody tested come back.

Why some modules travel better than others

A module that adds beside Dolibarr relies on places the authors of the software commit to keeping. When one of them changes, it is announced, and the publisher releases a version that fits.

A module that instead copied whole screens out of the software has to be redone at every version, because the original screen changed and the copy does not know it. That is why a module sometimes costs more to keep than it did to buy.

Frequently asked questions

Can several versions be skipped at once?

Yes, Dolibarr's assistant chains the steps from your starting version. But the bigger the gap, the more changes there are to check on the module side: rehearsing on a copy becomes essential.

Should modules be switched off before upgrading?

It is not compulsory. It is useful for a module whose compatibility with the new version is not confirmed: switch it off, upgrade, then switch it back on once its compatible version is installed.

How long should I allow?

The technical operation usually takes a few minutes. What takes time is the rehearsal on a copy and the testing: allow half a day if you have several modules and several people to involve.

How often should I upgrade?

At least once a year, and without waiting when a security fix is out. The companies that suffer most are those that let five or six versions go by.