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

Warnings when attempting to install an add-on

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5
    • 2.5
    • Administration
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-39442-copy-addon
    • Hide

      Testing difficulty: hard (requires moodledata on separate partition)

      1. Set up your Moodle so that $CFG->dataroot is located at other partition than $CFG->dirroot (hint: I used mounted USB flash disk for that).
      2. TEST: Try to install a new add-on via the "Install add-on" admin tool.

      Hint: Luckily, qa.moodle.net seems to already have the required setup. It should be enough to re-try the add-on installation there once this patch lands there.

      Note: It would be nice to have this tested on Windows, too. There, moodledata should be located at different drive than Moodle itself is.

      Show
      Testing difficulty: hard (requires moodledata on separate partition) 1. Set up your Moodle so that $CFG->dataroot is located at other partition than $CFG->dirroot (hint: I used mounted USB flash disk for that). 2. TEST: Try to install a new add-on via the "Install add-on" admin tool. Hint: Luckily, qa.moodle.net seems to already have the required setup. It should be enough to re-try the add-on installation there once this patch lands there. Note: It would be nice to have this tested on Windows, too. There, moodledata should be located at different drive than Moodle itself is.

    Description

      After seeing the 'Validation passed!' message and clicking the button 'Install add-on', I obtain the following error message:

      Warning: rename() [function.rename]: The first argument to copy() function cannot be a directory in /html/admin/tool/installaddon/deploy.php on line 74

      Warning: rename(/moodledata/temp/tool_installaddon/dbaeff1efdf1605cdc71d619ad74aa5c/contents/checklist,/html/mod/checklist) [function.rename]: Invalid cross-device link in /html/admin/tool/installaddon/deploy.php on line 74

      (Using http://qa.moodle.net)

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              tsala Helen Foster
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13