Update Dolibarr !

Aug 24, 2020 Dolibarr 0 Comments
Update Dolibarr !

ERP and CRM Dolibarr is a management system for companies and private or state bodies, it is one of the most powerful open source solutions on the market with several modules available free of charge to their users, and like all ERP , Dolibarr has a robust system that allows their users to update their Dolibarr once the sources of the new version are deployed online, in this case you have two methods to perform the update of dolibarr: Simple or automatic ...

Warning ! this type of update on business management systems is not always considered simple or easy to perform, it would require experts (IT specialists, developers or specialized companies) in Dolibarr's ERP in order to take precautions to avoid any loss of data or blockage on your Dolibarr tool which is used in your company.

I present to you a small example on the difficulty of updating Dolibarr, assuming that we have Dolibarr installed on a Y version in production and deployed on a classic web server, if you use xamp, Wamp or Mamp, or another Debian installation, it will be a little different on the three servers, as the sources are not installed in the same locations.

Dolibarr installation procedure:

Before installing the Dolibarr ERP, it is better to know the Dolibarr architecture which is made up of a database and 3 directories which are in turn grouped together under a dolibarr directory (below an example illustration ):

  • Htdocs folder: contains the sources of the management pages
  • Documents folder: contains all the documents generated by Dolibarr (pdf, images etc ...)
  • Scripts folder: contains all the scheduled tasks of Dolibarr.

The Dolibarr url link (dolibarr.votre-site.com) normally points to the htdocs directory and the latter which contains the Dolibarr ERP management system. The other documents and scripts directories must not be visible from a chrome or firefox browser (security access must be prohibited)

Note: YOU MUST ALWAYS BACK UP to avoid any problem with your data, make a backup copy of the 3 directories (mentioned above) and put the copy in a safe place. Back up the Dolibarr database (mysqldunp, phpmyadmin, or via the Dolibarr interface) and put that in a safe place too.

1st Step: Make a copy of your production Dolibarr:

  • create a directory named newolibarr (for example)
  • copy the Dolibarr directories there: htdocs and scripts from the old version
  • copy your documents directory from the old Dolibarr installation into the new "newolibarr" directory
  • create a second empty database named (newolibarr)
  • import the backup of your old dolibarr ERP into this new database.
  • carefully modify the htdocs / conf / conf.php file: the lines of the database, the url of your Dolibarr and the path to the documents directory.
  • create the url to access this new dolibarr (example: dolibarr.votre-site.com)
  • After this operation everything should work normally because the backup version is a carbon copy of the Production version.

So the Dolibarr version of Production will be used to do the migration and the old installation will continue to be used during this time by the users of your company or you unlock if you want to make a customer or supplier invoice ...

Now if you are ready to take off! we move on to the migration steps:

Step 2: Migration of Dolibarr:

We migrate to the new Dolibarr and the old version takes care of your day-to-day management.

Disable all external modules installed on your Dolibarr

keep the file htdocs / conf / conf.php

and then replace the htdocs and scripts directories of the new installation with the directories of the new version.

connect to the Dolibarr ERP and run the migration scripts.

That's it and Ok, you now have a new basic version of Dolibarr and your old data. Start to check if everything is working properly.

Step 3: install the new versions of the Dolibarr external modules:

you have updated Dolibarr, you must also install the new versions of the modules (you must contact the developers of the modules). Important, because a module purchased for your old version of Dolibarr will not work on the new version.

Download the .zip files of your new versions of Modules, then Activate each module so that it also executes its migration scripts.

Step 4: TEST MIGRATION

Verification step: Check that the functions you usually use in your Dolibarr are working correctly: create a contact, a third party, establish invoices, examine the documents, upload files to your ged dolibarr, etc ...

Test the new Dolibarr functions that you usually want to use,

Test the proper functioning of the plugins and if you have any problems, you should contact the developer of your plug-in.

Step 5: The production of Dolibarr!

  • First, save the Dolibarr database in production,
  • Stop all scheduled tasks, any imports on your production Dolibarr,
  • disable all external modules,
  • keep the htdocs / conf / conf.php file in a safe place ...
  • replace the htdocs and scripts with those of the new version you tested (including external modules)
  • retrieve the htdocs / conf / conf.php file of the old production version of your Dolibarr ERP
  • connect to your production Dolibarr and run the migration scripts (Attention! we are doing it again, but on the production data).
  • connect and re-activate the external modules again,
  • restart scheduled tasks
  • check again!

Congratulations, You have completed your Dolibarr migration!

IMPORTANT! If for some reason your Dolibarr migration failed, below are our tips: how to recover your old version:

  • delete the htdocs and scripts directories from the installation in prod,
  • put back your old sources, carefully saved in point 2,
  • delete all columns from the production database
  • restore the backup of the production database that you made just before going into production (step 5)

CONCLUSION:

The operation of migrating an open source system is never a small matter, if one wanted to keep a production system always up to date and in good working order. I see too many topics posted on Dolibarr forums regarding migration issues. Yet with a little method and concentration, it goes very well.

You want help with your migration, order our Dolibarr migration service!

Tags: Update Dolibarr Dolibarr dolistore dolibarr france dolibarr usa dolibarr spain dolibarr germany dolibarr mexique dolibarr argentine dolibarr tunisie dolibarr morocco dolibarr erp dolibarr reviews Dolibarr vs Odoo dolibarr review dolibarr demo dolibarr installation guide dolibarr magento dolibarr crm dolibarr alternatives dolibarr org erp open source dolibarr dolibarr alternative dolibarr factura electronica dolibarr install dolibarr features dolibarr tutorial pdf dolibarr factura electronica argentina dolibarr pdf dolibarr word dolistore.com dolibarr tutorial install dolibarr dolibarr accounting dolibarr pos dolibarr documentation dolibarr module dolibarr store store dolibarr formation dolibarr pdf dolibarr erp crm dolibarr android dolibarr wikipedia dolibarr hosting dolibarr tutorial english dolibarr invoice template dolibarr portugues dolibarr manufacturing saas vs paas vs iaas azure iaas paas saas cloud computing saas paas iaas alfresco saas best saas companies saas integration baweb-administrateur saas platform saas saas lms saas fee lifts qu\'est ce que le saas saas billing station saas fee saas fee snow schneebericht saas fee saas benefits what is a saas company parkhotel saas fee saas vs iaas marketplace saas saas fee spielboden riviere saas et gourby mairie bar saas fee iaas saas paas definition saas fee zermatt saas programming parkhaus saas fee alpin express saas fee zermatt saas fee saas nantes saas ko\'sah shrine sanctuaire saas fee tourism portail saas cegid saas camiers hotel saas fee avec piscine saas fee location saas fee schweiz octime courlancy saas ferienwohnung saas fee saas fee livecam dynamics crm saas location chalet saas fee saas sms business intelligence saas pop corn saas fee zoho saas hr saas solutions hr saas software vallée de saas metrics saas webcams saas fee saas fer saas market saas web services dom hotel saas fee hannig saas fee saas fee or zermatt gartner magic quadrant saas saas based signification saas saas project management saas subscription saas open source wellnesshostel4000 saas fee saas vendors saas tools comptabilisation logiciel saas hotel saas almagell saas cost saas fee guides iaas paas and saas ltv saas kpi saas saas fee bergbahnen saas innov saas support immobilier saas fee saas cloud computing iaas paas saas cloud computing saas bahu aur sensex saas full form jugendherberge saas fee riviere saas gourby 40180 sla saas saas b2b saas mail saas b association saas fee appartement saas paas iaas wikipedia growth hacking saas ariba saas hybris saas ovh saas gestion commerciale saas saas system avantage saas free saas saas f en saas gmao saas saas directory saas concept qu\'est ce que le mode saas sms saas saas finances avis saas server saas fee map saas fee 4000 saas data coop saas fee curling saas fee saas ko sa saas marseille la valentine quels sont outils phares déployés et les outi cabinet saas selestat contrat saas cegid riviere saas landes supervision saas chalet annapurna saas fee cloud paas iaas saas systeme saas avantages inconvénients saas saaserhof hotel saas fee iass pass saas hôtels saas-fee suisse agneau de saas saas fees switzerland intel security saas hotel feehof saas fee crm saas petite entreprise saas fee anreise wellnesshotel saas fee saas europe moulin à eau dans les collines au dessus de s suisse saas ticketing google docs saas what does saas mean biggest saas companies https://saas-afeji.octime.cloud https://saas-%client%.octime.com/ fetes de riviere saas et gourby saas fee pension progiciel en mode saas saas rendez-vous défintiion saas popular saas applications différence erp saas univers saas wetter saas saas fee wanderungen fournisseur cloud saas difference paas saas iaas business plan saas saas optics saas and belle langage saas saas data integration what is saas software erp saas solutions build saas saas fee gemeinde silvester saas fee saas gestion des contrats business en mode saas chalet in saas fee gartner saas magic quadrant 2015 microsoft azure paas iaas saas saas grund unterkunft néphélie saas jean luc saas selestat hotel allalin saas fee switzerland cloud computing and saas sécurité saas logiciel de caisse saas contrat en mode saas hotel saas fee wellness gestion commercial saas contrat saas rgpd données personnelles saas saas fee skiverleih lms saas comparatif saas grund remontées mécaniques saas fee auto saas market evolution eva saas saas fee matterhorn saas almagell tourismus saas fee skitouren application web saas allalinhorn saas fee que veut dire mode saas sanctuaire saas kosah botw saas ko\'sah shrine saas indicateurs saas development platform meilleure solution saas saas securite convention collective maison à vendre rivière saas et gourby

Comments

Log in or register to post comments
arrow_upward