How to upgrade from 16.0.3 to lastest stable version? 19.0.0

How to do the upgrade?
I’m just worried about problem after upgarde.
Is there any step by step tutorial to do this 100% safe?

Thanks a lot!

Hi @mic,
What is your environment? Is it a server? A local installation? Windows or Linux?
First thing to do is backup your db and documents folder.
Then you can either upgrade gradually 16.0.3 → 17.0.4 ->18.05 ->19.0.0
or directly from 16.03 → 19.0.0
To be safe keep your PHP version to 7.4

1 Like

Hi,
i allways use the same procedure on every update in Ubuntu, don´t forget BACKUP BACKUP BACKUP

UPGRADE

Installation - Upgrade – Dolibarr ERP CRM Wiki

  1. Start Putty

  2. cd /tmp/ && wget Download dolibarr-19.0.0.zip (Dolibarr ERP - CRM)

  3. unzip dolibarr-19.0.0.zip && rm /tmp/dolibarr-19.0.0.zip

  4. Sudo -s

  5. cd /var/www/dolibarr/documents/

  6. mv install.lock install.bak

  7. cp -r /tmp/dolibarr-19.0.0/* /var/www/dolibarr

  8. rm -r /tmp/dolibarr-19.0.0

  9. https://doli.demo.info/install

  10. mv install.bak install.lock

Works like charm, i am on 19.0.0 with PHP 7.4 and did this since 15.0.3 without any problems.

2 Likes

I’m using ubuntu server
PHP 7.1.17
mysql Ver 14.14 Distrib 5.7.22,
Server version: Apache/2.4.27 (Ubuntu)
Server built: 2018-06-07T20:53:23

I dare not to upgrade…still hesitating…

the steps provided are very clear and straightforward but for some reason in my case not working. I’m pretty sure i do not do something but i do not understand what - it always point to update to the same version i already have.

Is related to file and folders i have but i do not see where it could be - maybe you could help me.

So update from 16.0.3 to 19.0.3 - unzip + copy all folders to main folder where
my old version is located.
When run mydolibar/install “Latest version upgrade: 16.0.3 - Version program: 16.0.3” no 19.0.3

Thanks in advance

Hi pledrag,
everytime in the past, when i got the same version to upgrade, my fault was all the time that i did not use the correct folder, where i unzipped the update, take some time to find the correct folder of your running dolibarr.