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

Problem upgrading from 1.9 to 2.0 - mod_folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 1.9.18
    • Installation, Resource
    • None
    • MOODLE_19_STABLE

      Hi, I'm doing a moodle upgrade, but it is stopping here, I cant seem to find anything about this error online, so I tried here.
      Anyone knows the correct way to make it continue the upgrade?

      -->mod_folder
      Default exception handler: Can not create file "75341/mod_folder/content/0///Anthony_Giddens_Runaway_World.pdf" Debug: Duplicate entry 'c210fb0a9266ebbf959db55bb32ca1dec153d73f' for key 2
      INSERT INTO mdl_files (contenthash,pathnamehash,contextid,component,filearea,itemid,filepath,filename,userid,filesize,mimetype,status,source,author,license,timecreated,timemodified,sortorder) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
      [array (
      0 => 'ff1a7a5d29b6489973d17fa28ecd4c1352e26849',
      1 => 'c210fb0a9266ebbf959db55bb32ca1dec153d73f',
      2 => '75341',
      3 => 'mod_folder',
      4 => 'content',
      5 => 0,
      6 => '/',
      7 => 'Anthony_Giddens_Runaway_World.pdf',
      8 => NULL,
      9 => '3504658',
      10 => 'application/pdf',
      11 => '0',
      12 => NULL,
      13 => NULL,
      14 => NULL,
      15 => '1335786964',
      16 => '1257282178',
      17 => '0',
      )]

      • line 682 of /lib/filestorage/file_storage.php: stored_file_creation_exception thrown
      • line 99 of /mod/folder/db/upgradelib.php: call to file_storage->create_file_from_storedfile()
      • line 39 of /mod/folder/db/install.php: call to folder_20_migrate()
      • line 514 of /lib/upgradelib.php: call to xmldb_folder_install()
      • line 271 of /lib/upgradelib.php: call to upgrade_plugins_modules()
      • line 1436 of /lib/upgradelib.php: call to upgrade_plugins()
      • line 146 of /admin/cli/upgrade.php: call to upgrade_noncore()

      Regards,
      Pedro de Oliveira

            moodle.com Moodle HQ
            falsovsky Pedro de Oliveira
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.