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

          Activity

          tonisoto Toni Soto created issue -
          tonisoto Toni Soto made changes -
          Field Original Value New Value
          Summary Upgrade proccess fails when update mod_wiki Upgrade proccess from 1.9.9 to 2.0.1 fails when update mod_wiki
          Affects Version/s 2.0.1 [ 10420 ]
          Affects Version/s 1.9.9 [ 10405 ]
          danmarsden Dan Marsden made changes -
          Summary Upgrade proccess from 1.9.9 to 2.0.1 fails when update mod_wiki Upgrade proccess from 1.9.9 to 2.0 fails when update mod_wiki
          Affects Version/s 2.0 [ 10122 ]
          Affects Version/s 2.0.1 [ 10420 ]
          dougiamas Martin Dougiamas made changes -
          Workflow jira [ 39953 ] MDL Workflow [ 46991 ]
          dougiamas Martin Dougiamas made changes -
          Workflow MDL Workflow [ 46991 ] MDL Full Workflow [ 75203 ]
          tsala Helen Foster made changes -
          Assignee Ludo's dfwikiteam [ dfwikiteam ] Ludo ( Marc Alier) [ granludo ]
          Hide
          salvetore Michael de Raadt added a comment -

          Thanks for reporting this issue.

          We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported.

          If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

          Michael d.

          TW9vZGxlDQo=

          Show
          salvetore Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d. TW9vZGxlDQo=
          Hide
          salvetore Michael de Raadt added a comment -

          I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported.

          This is being done as part of a bulk annual clean-up of issues.

          If you still believe this is an issue in supported versions, please create a new issue.

          Show
          salvetore Michael de Raadt added a comment - I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported. This is being done as part of a bulk annual clean-up of issues. If you still believe this is an issue in supported versions, please create a new issue.
          salvetore Michael de Raadt made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Ludo ( Marc Alier) [ granludo ]
          Resolution Won't Fix [ 2 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: