Opigno LMS User manual


Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

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.

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’.

  • No labels