Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24988

Upgrade proccess from 1.9.9 to 2.0 fails when update mod_wiki

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
      None
    • Environment:
      Ubuntu 10.04 LTS
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      I can not upgrade from 1.9.9 to 2.0 because it fails when it is trying to upgrade mod_wiki. The error is:

      Migrating old entries to new subwikis

      Error writing to database

      Debug info: Duplicate entry '10-0-0' for key 'mdl_wikisubw_wikgrouse_uix'
      INSERT into mdl_wiki_subwikis (wikiid, groupid, userid)
      SELECT e.wikiid, e.groupid, e.userid
      FROM mdl_wiki_entries_old e
      [array (
      )]
      Stack trace:
      line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
      line 645 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      line 157 of /mod/wiki/db/upgrade.php: call to mysqli_native_moodle_database->execute()
      line 490 of /lib/upgradelib.php: call to xmldb_wiki_upgrade()
      line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
      line 1352 of /lib/upgradelib.php: call to upgrade_plugins()
      line 302 of /admin/index.php: call to upgrade_noncore()

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: