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

Running cron.php from CLI gives "Moodle upgrade pending, cron execution suspended."

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6, 2.7
    • Fix Version/s: 2.6.1
    • Component/s: Caching
    • Labels:
    • Testing Instructions:
      Hide

      1/ no testing necessary for PHP > 5.3.5 because the default value is 17 there
      2/ get some ancient PHP 5.3.3 and verify the system does not ask for more upgrades after installation

      Show
      1/ no testing necessary for PHP > 5.3.5 because the default value is 17 there 2/ get some ancient PHP 5.3.3 and verify the system does not ask for more upgrades after installation
    • Workaround:
      Hide

      add ini_set('serialize_precision', 17); to your config.php

      Show
      add ini_set('serialize_precision', 17); to your config.php
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w52_MDL-43314_m27_floats
    • Story Points:
      3
    • Sprint:
      BACKEND Sprint 8

      Description

      We have a Moodle 2.6+ (Build: 20131205)that has an issue getting cron working from CLI, when running from CLI it oututs the message:

      "Moodle upgrade pending, cron execution suspended."

      If cron.php is executed from a web browser everything works as expected.

      The site runs on

      Ubuntu 13.10
      PHP 5.5.3.13
      MySQL 5.5.34.0.2

      The only installed add-on is the essential theme

      Tried to purge all caches, it did not help.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              alexcontis Alex Contis
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/14