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

Warnings when attempting to install an add-on

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39442-copy-addon

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13