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

Lack of files reported during upgrade to 3.9 when $CFG->admin differs from 'admin'

XMLWordPrintable

    • PostgreSQL
    • MOODLE_39_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE
    • MDL-69061-master
    • Easy
    • Hide
      1. Check out Moodle 3.7

        git checkout MOODLE_37_STABLE

      2. Install the instance. (eg. if using MDK, "mdk install")
      3. Check out the branch you're testing. e.g. in Moodle 3.9 "git checkout MOODLE_39_STABLE"
      4. Rename 'admin' directory to 'customadmin'
      5. In config.php set "$CFG->admin = 'customadmin';"
      6. Login as admin
      7. Start the upgrade
      8. On the list of plugins page, confirm that there are no "Missing from disk" errors, especially from the admin tools.
      9. Perform the upgrade.
      10. Confirm that the upgrade completes successfully.
      Show
      Check out Moodle 3.7 git checkout MOODLE_37_STABLE Install the instance. (eg. if using MDK, " mdk install ") Check out the branch you're testing. e.g. in Moodle 3.9 " git checkout MOODLE_39_STABLE " Rename 'admin' directory to 'customadmin' In config.php set " $CFG->admin = 'customadmin'; " Login as admin Start the upgrade On the list of plugins page, confirm that there are no " Missing from disk " errors, especially from the admin tools. Perform the upgrade. Confirm that the upgrade completes successfully.

      Lack of files is reported during upgrade to 3.9 when $CFG->admin differs from 'admin'.

      After upgrade error Cannot find log manager class '\tool_log\log\manager' is reported.

      To reproduce.

      1. Install clean version of Moodle (prior to 3.8)
      2. Remove all files and directories (accept config.php)
      3. Unzip Moodle software version 3.9
      4. Change admin directory name to customadmin
      5. Set $CFG->admin = customadmin in config.php
      6. perform an upgrade

      On the list of plugins plenty of plugins reports lack of files.

      After upgrade: Cannot find log manager class '\tool_log\log\manager' error is reported

       

        1. MDL-69061_master.png
          MDL-69061_master.png
          22 kB
        2. MDL-69061_v39.webm
          7.65 MB
        3. MDL-69061_v310.webm
          8.36 MB
        4. MDL-69061_v311.webm
          8.33 MB
        5. 37-to-master-upgrade.png
          37-to-master-upgrade.png
          46 kB

            adamtppaw Adam Pawełczak
            adamtppaw Adam Pawełczak
            Marina Glancy Marina Glancy
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 11 minutes
                2h 11m

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