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

upgrade_set_timeout times out for CLI scripts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.3
    • 2.2.2
    • Administration
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • w18_MDL-32607_m23_upgrade2
    • Hide

      for devs:
      1/ add some sleep(600) + echo to upgrade from 1.9->2.2
      2/ when the upgrade goes to sleep access site using different browser, you might get some bogus errors, close the other browser
      3/ it is expected that the cli upgrade continues after the sleep

      Show
      for devs: 1/ add some sleep(600) + echo to upgrade from 1.9->2.2 2/ when the upgrade goes to sleep access site using different browser, you might get some bogus errors, close the other browser 3/ it is expected that the cli upgrade continues after the sleep

      MDL-31553 added a fix to the upgrade_set_timeout function to prevent it timing out the script when running a command-line upgrade, however there is still code which kills the script if it takes longer to run than has been estimated. (This has happened to me in a test upgrade, but unfortunately I no longer have the log to give more details)

            skodak Petr Skoda
            maherne Michael Aherne
            Sam Hemelryk Sam Hemelryk
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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