Best practice forum (Archived)

Upgrade error from Totara 1.1.17 to Totara 2.2.6

 
? ?
Upgrade error from Totara 1.1.17 to Totara 2.2.6
door ? ? - Wednesday, 10 October 2012, 15:03 PM
 

Hi, I want to update the version that I have installed of totara 1.1.17 to new version 2.2.6, but when I try, it shows me this error:

-----

Plugin "mod_exercise" is defective or outdated, can not continue, sorry.

Debug info: Plugin is not compatible with Moodle 2.x or later.
Stack trace:
  • line 466 of \lib\upgradelib.php: plugin_defective_exception thrown
  • line 271 of \lib\upgradelib.php: call to upgrade_plugins_modules()
  • line 1458 of \lib\upgradelib.php: call to upgrade_plugins()
  • line 338 of \admin\index.php: call to upgrade_noncore()
Then I see the following errors:
PHP Notice: Capability "report/completion:view" was not found!
PHP Notice: Capability "report/log:view" was not found!
PHP Notice: Capability "report/outline:view" was not found! 
......

My question is, is it possible to upgrade from version 1 to 2 maintaining the loaded structure ?

Thanks

? ?
Re: Upgrade error from Totara 1.1.17 to Totara 2.2.6
door ? ? - Wednesday, 10 October 2012, 15:22 PM
 

Hi Pablo,

mod_exercise does not exist in the 2.2 Totara core code. When upgrading from 1.1 to 2.2 you need to make sure you backup then remove ALL the 1.1 code first, as the two codebases are completely incompatible. Extracting a zip of the 2.2 code over the top of the existing 1.1 codebase will NOT work.

from UPGRADE.txt in the root folder of the 2.2 code:

6.  Remove the old source code, and extract the new source code into the source code directory.

Any additional modules or local customisations you might have installed will need to be separately upgraded to a Moodle 2.2-compatible version.

Hope that helps.