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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.6.1
    • 2.6, 2.7
    • Caching
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_26_STABLE
    • w52_MDL-43314_m27_floats
    • Hide

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

      Show
      add ini_set('serialize_precision', 17); to your config.php
    • 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
    • 3
    • BACKEND Sprint 8

      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.

            skodak Petr Skoda
            alexcontis Alex Contis
            Rajesh Taneja Rajesh Taneja
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

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