Bug #7932

Issues with upgrade from 1.9.* to 1.10.0

Added by Yannick Warnier almost 6 years ago. Updated over 5 years ago.

Bug resolved
Installation / Migration
Target version:
Start date:
Due date:
% Done:


Estimated time:
100.00 h
Spent time:
SCRUM pts - complexity:


A series of issues have emerged and have been reported on the upgrade process from 1.9 to 1.10.0.

To avoid further issues, we recommend users to hold on to their 1.9 version before upgrading, so we can release corrections into a 1.10.2 release, to be out in less than a month.

We have made a considerable number of tests before releasing 1.10.0, and the 1.10.0 version installed from scratch has a very high stability level, but it seems we missed a series of issues for upgrades from 1.9 to 1.10.0, so we are working on them thoroughly now.

Thank you for your patience.

This task will serve as a collector of all issues detected or reported.

To mention a few:
  • some primary keys were not updated to reflect a fresh 1.10 install (causing 1.10 code to fail)
  • tables were not converted to InnoDB, causing unexpected slowliness
  • indexes were not create appropriately, causing unexpected slowliness
  • new fields were not filled adequately, causing database inconsistencies (in assignments, forum, and learning paths)
  • some renamed fields are creating queries inconsistencies (for example in combination with the access_url tables)


forum.png (75.7 KB) forum.png AliaMori com, 03/11/2015 02:59
versioncheck.png (157 KB) versioncheck.png Upgrade image AliaMori com, 04/11/2015 13:40

Related issues

Related to Chamilo LMS - Support #7924: Duplicate alternative in Setup.Rejected - Abandoned30/10/2015


Associated revisions

Revision e681d901 (diff)
Added by Angel Fernando Quiroz Campos over 5 years ago

Fixing migrations - refs #7932

Revision c83c6bc1 (diff)
Added by Angel Fernando Quiroz Campos over 5 years ago

Add script to remove duplicate current_settings - refs #7932

Revision fe32a14a (diff)
Added by Angel Fernando Quiroz Campos over 5 years ago

Add script for fix failed migration from 1.9.x to 1.10.0 - refs #7932

Revision 4e430f66 (diff)
Added by Angel Fernando Quiroz Campos over 5 years ago

Fix data inserted during installation - refs #7932



Updated by AliaMori com almost 6 years ago


In order to alleviate user frustration and in order to mitigate reputation risks for Chamilo (and its official providers), I would suggest to immediately issue a notice on the website and on the forum regarding the soon to released upgrade to 1.10.2. You may wish to remove the current version.

p.s.: On clear installs I was easily able to upgrade: Fast and nice. However I have found it impossible to upgrade our actual working version.


Updated by AliaMori com almost 6 years ago

I really do think it would be good for everyone involved if an official notice was released recommending for people to hold off on upgrading their current versions -- with it being better to wait until 1.10.2 is released.

As one can see in the attached image, the opposite message is perhaps being communicated. Sorry for my blunt way of communicating. Cheers!

Updated by Yannick Warnier over 5 years ago

I'll refrain from personal opinions but to state the facts:
  • Chamilo 1.10 from scratch works very well
  • the installation/upgrade guide clearly states you should take a backup before trying an upgrade
  • we have already communicated in several channels about the issues with the migration (but are considering your suggestion to update the website, in particular the download page)
  • M00dle didn't offer a workable upgrade procedure between its latest major versions for almost a year
  • Drupal doesn't offer an upgrade procedure between its major versions (at all)
  • people upset now have had 3 months to test the upgrade procedure and report. They didn't (well, a few did and we fixed the issues they reported straight away)

Updated by Angel Quiroz over 5 years ago

I've fixed (almost) all bugs about the migration procces e681d90
However, I can't migrate the courses directory


Updated by Yannick Warnier over 5 years ago

I tested a migration but it didn't work out. We'll review that tomorrow.


Updated by Yannick Warnier over 5 years ago

  • Status changed from Assigned to Bug resolved
  • % Done changed from 0 to 100

Added one additional fix for courses folders: d4176a460d883

This concludes the fixes for the migration process. Once other reported issues have been attended, we will release 1.10.2


Updated by Angel Quiroz over 5 years ago

Added two new scripts. One for remove duplicate settings_current and settings_options c83c6bc. And one for fix the database schema in case of a failed migration from 1.9.x to 1.10.0 fe32a14


Updated by Angel Quiroz over 5 years ago

During a fresh installation, the data.sql file fails inserting on access_url_rel_user

Fixed 4e430f6

Also available in: Atom PDF