Opigno LMS User manual


Upgrade from Opigno 1.x to Opigno 2.x

This procedure and the upgrade script are provided without any warranty. Upgrading from Opigno 1.x is a complex operation, that requires to have a perfect understanding of your Opigno instance and development skills.

The upgrade script has still to be considered as experimental and only covers the standard Opigno features, and the H5P, SCORM and TinCan contents.

Quiz questions other than H5P are not supported any more in Opigno 2.0 and won't be converted.

Before starting the upgrade process, make sure that your PHP settings allow a sufficient execution time (max_execution_time) as the process can take time.

In case you added some customizations to your Opigno instance, this upgrade script will not cover their migration, you will have to manually port them to Opigno 2.0.

Step 1: Install an Opigno 2.0 instance on the same server as the one where your Opigno 1.x instance is

Step 2: Activate contrib modules for migration in Drupal 8 on page /admin/modules:

  • Migrate
  • Migrate Drupal
  • Migrate Drupal UI
  • Migrate Plus
  • Migrate Tools

Step 3: Activate custom module for migration in Drupal 8 on page /admin/modules:

  • Opigno Migration

Step 4: Add connection to the legacy base (Drupal 7) with target ‘default’ and key ‘legacy’ in your settings.php file.

Example
$databases['legacy']['default']= array(
'database' => 'opigno_drupal7',
'username' => 'root',
'password' => 'root',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
);


Step 5: Open page /upgrade on your Drupal 8 site and click on button ‘Continue’.


Step 6: On page ‘Drupal Upgrade’ you will see connection options to the legacy database. If Drupal 8 can’t connect to the legacy base, you will see error. Fox example: ‘SQLSTATE[HY000] [1049] Unknown database 'drupal7_'’. Check your settings.php file and try to fix options.

Do not forget input correct path to your legacy Drupal 7 site for files migration.
For Example: /var/www/drupal7

Click on button ‘Review upgrade’


Step 7: On page ‘Upgrade analysis report’ click on button ‘Continue anyway’.


Step 8: On page ‘What will be upgraded?’ you will see all options which will be upgraded.
Click on button ‘Perform upgrade to Opigno 2’.


Copyright 2021 Connect-i. All Rights Reserved - https://www.opigno.org