Bug#669229: moodle: After upgrade from 1.9.9 to 2.2.2 cron complains "ERROR: This script no longer supports CLI, please use admin/cli/cron.php instead"

April 18th, 2012 - 05:50 am ET by Juhani Karlsson | Report spam
Package: moodle
Version: 2.2.2.dfsg-1
Severity: important

After upgrade "Preparing to replace moodle 1.9.9.dfsg2-5 (using .../moodle_2.2.2.dfsg-1_all.deb)"
/etc/cron.d/moodle complains:

Subject: Cron [ -f /usr/share/moodle/admin/cron.php ] && /usr/bin/php -f /usr/share/moodle/admin/cron.php > /dev/null
Date: Wed, 18 Apr 2012 11:30:01 +0300 (EEST)
From: root@lrdlnx.iki.fi (Cron Daemon)
To: www-data@lrdlnx.iki.fi


ERROR: This script no longer supports CLI, please use admin/cli/cron.php instead

Other ways moodle is working and web upgrade wizard gave no errors.

Debian Release: wheezy/sid
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.6.012-lrdlnx-i3 (SMP w/4 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages moodle depends on:
ii apache2-mpm-prefork [httpd] 2.2.22-3
ii dbconfig-common 1.8.47+nmu1
ii debconf [debconf-2.0] 1.5.42
ii libapache2-mod-php5 5.4.0-3
ii libjs-yui 2.8.2r1~squeeze-1
ii mysql-client 5.1.61-2
ii mysql-client-5.1 [mysql-client] 5.1.61-2
ii php5-cli 5.4.0-3
ii php5-curl 5.4.0-3
ii php5-gd 5.4.0-3
ii php5-mysql 5.4.0-3
ii php5-pgsql 5.4.0-3
ii postgresql-client-9.1 [postgresql-client] 9.1.3-2
ii ucf 3.0025+nmu2

Versions of packages moodle recommends:
ii aspell 0.60.7~20110707-1
ii mimetex 1.73-2
ii mysql-server 5.1.61-2
ii mysql-server-5.1 [mysql-server] 5.1.61-2
ii php5-ldap 5.4.0-3
ii php5-xmlrpc 5.4.0-3

Versions of packages moodle suggests:
ii clamav 0.97.3+dfsg-2.1




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Tomasz Muras
April 18th, 2012 - 03:10 pm ET | Report spam
Hello Juhani,

Thank you very much for spotting this - it is an important issue, I just
uploaded package with the fix.



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics