Docebo upgrade, patch and Backup
To upgrade Docebo 2.0.x to Docebo 3.0 you have to follow these steps:
1) Delete all old docebolms 2.0 files except:
- all fileCourses and content
- the config.php file
2) Now copy the content of fileCourses following this schema:
- fileCourses/ inside files/doceboLms/ (including the subdirectory)
- fileCourses/photo/ inside files/doceboCore/photo/ (move from fileCourses)
- fileCourses/userFile/ inside files/common/users/ (move from fileCourses)
3) At the end of the config.php file add the following code
$GLOBALS['where_files'] = '/files';
$GLOBALS['prefix_fw'] = 'core'; //prefix for tables
$GLOBALS['prefix_lms'] = 'learning'; //prefix for tables
$GLOBALS['prefix_cms'] = 'cms'; //prefix for tables
$GLOBALS['prefix_scs'] = 'conference'; //prefix for tables
$GLOBALS['prefix_kms'] = 'kms'; //prefix for tables
Be aware that the code must be placed BEFORE the ?> symbol
4) now copy all the Docebo 3.0 files in the directory (skip the “files” folder that you have manually edited) and open the /upgrade/ directory on your browser, then follow the wizards.
Note: wait until the steps are completed before clicking!
To upgrade Docebo 3.0.x to Docebo 3.5.x or higher you have to follow these steps:
1) Overwrite all files uploading new one
except config.php
2) At the end of the config.php file add the following code
$GLOBALS['db_conn_names'] = 'utf8';
$GLOBALS['db_conn_char_set'] = 'utf8';
$GLOBALS['mail_br'] = "\r\n";
Be aware that the code must be placed BEFORE the ?> symbol
3) Run http://www.yourdomain.com/upgrade/ and follow steps.
NOTE: Template are changed then you will have to redesign your own template!
4) Delete directory:
upgrade/
install/
xml_language/
readmelicense/
Patching Docebo 3.x
Generally, a patch will be one of two kinds, the first is a patch that contain only files and does not modify the database, the other one also contains database editing operations.
- First Step is to overwrite the files that have to be updated
- Second Step is to launch the upgrade/ or patch/ directory to alter the database
- Third Step is to delete the upgrade/ or patch/ folder
Backup Docebo 3.x or higher
We suggest to perform 3 different backup actvities:
- Files backup, copy the whole files folder, this will backup only learning objects, uploaded files, user pictures and avatars
- Database backup using phpMyAdmin (see the next chapter) you can do a complete backup of the database, in this case you will save only the data
- Total backup: Download all the files and proceed to a database backup
We suggest to plan complete periodic backups and when upgrading to major releases first try on a backup version (and not on the production version).