SOLVED: Best Way to Upgrade from 5.0.4 to 7.0.1

Hello

Need some advice. I’m running Dolibarr 5.0.4. What would be the best way to upgrade to the latest version?

  1. 5.0.4 > 7.0.1
  2. 5.0.4 > 6.0.0 > 7.0.1

Or should I just start fresh from 7.0.1 and restore data back to dolibarr, but what about the product pictures?

Thanks in advance.

Hi,
Normally you can install directly the 7.X and run the steps 5>6 then 6 >7 as it will be proposed in the install screen.

that being said, I advise you the test it before (module, customisation or bug can block your business)

- by deploying an new Dolibarr 7 and then importing the 5 db ( should launch the migration script)
- by installing the version 5.0.4, update db & doc then deploy the version 7.X
- by duplicating your prod VM (if you work with virtual machine) and test the migration ( I am doing that for my prod server)

br

2 Likes

both ways are possible i would go with option 1 and use installer to upgrade twice
whatever you do make sure you backup database and then proceed to upgrade

Thanks all for the help. I ended up going with option 2.

5.0.4 > 6.0.0 > 7.0.3