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

Update upgrade_stale_php_files_present() before 3.1 release

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 3.1
    • Installation
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • Hide

      web

      1. Create and install a 3.0.x site.
      2. Check out a master site on the just installed site. Before upgrading, touch any of the files that are being detected in the patch, so they exist:
        • /lib/classes/log/sql_internal_reader.php
        • /mod/forum/pix/icon.gif
        • ...
      3. Do a web based upgrade to master.
      4. A notice should be displayed saying that there are problems upgrading and a proper procedure for upgrading to a major release.
      5. Delete the touched file and refresh.
      6. Ensure that the upgrade now will proceed.

      cli

      1. Disclaimer: CLI upgrade does not run the upgrade_stale_php_files_present() check. MDL-53596 has been created about that. Nothing to test here yet.
      Show
      web Create and install a 3.0.x site. Check out a master site on the just installed site. Before upgrading, touch any of the files that are being detected in the patch, so they exist: /lib/classes/log/sql_internal_reader.php /mod/forum/pix/icon.gif ... Do a web based upgrade to master. A notice should be displayed saying that there are problems upgrading and a proper procedure for upgrading to a major release. Delete the touched file and refresh. Ensure that the upgrade now will proceed. cli Disclaimer: CLI upgrade does not run the upgrade_stale_php_files_present() check. MDL-53596 has been created about that. Nothing to test here yet.

      Simply verify we have a number (4-5) of files for the next major release. They all must be files deleted since last stable version and current master

      git diff --name-status MOODLE_XX_STABLE..master | grep ^D
      

      Note that it's better not to pick any plugin file that maybe reinstalled manually (exception being forum files because that plugin is mandatory).

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Dan Poltawski Dan Poltawski
            cameron1729 cameron1729
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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