Error upgrading database (2.8.3)

Error upgrading database (2.8.3)

by Isak Larsson -
Number of replies: 0

I did a git pull this morning (1 hour ago) and had an error when upgrading. Seems to be something fishy about the admin tool: /admin/tool/messageinbound


This is the error I get.

[11:11:40 root@xxxx /var/www/html]# sudo -u apache /usr/bin/php admin/cli/upgrade.php
== Upgrading Moodle database from version 2.8.3+ (Build: 20150205) (2014111003.01) to 2.8.3+ (Build: 20150205) (2014111003.01) ==

Your Moodle files have been changed, and you are about to automatically
upgrade your server to this version:

2.8.3+ (BUILD: 20150205) (2014111003.01)

Once you do this you can not go back again. Please note that this process
can take a long time.

Are you sure you want to upgrade this server to this version?
type y (means yes) or n (means no)
: y
-->availability_grouping
Default exception handler: Error reading from database Debug: Table 'moodle2.mdl_messageinbound_handlers' doesn't exist
SELECT * FROM mdl_messageinbound_handlers WHERE component = ?
[array (
  0 => 'availability_grouping',
)]
Error code: dmlreadexception
* line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
* line 1019 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1199 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_recordset_sql()
* line 1147 of /lib/dml/moodle_database.php: call to moodle_database->get_recordset_select()
* line 71 of /lib/classes/message/inbound/manager.php: call to moodle_database->get_recordset()
* line 555 of /lib/upgradelib.php: call to core\message\inbound\manager::update_handlers_for_component()
* line 1626 of /lib/upgradelib.php: call to upgrade_plugins()
* line 171 of /admin/cli/upgrade.php: call to upgrade_noncore()

!!! Error reading from database !!!
!! Table 'moodle2.mdl_messageinbound_handlers' doesn't exist
SELECT * FROM mdl_messageinbound_handlers WHERE component = ?
[array (
  0 => 'availability_grouping',
)]
Error code: dmlreadexception !!
!! Stack trace: * line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
* line 1019 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1199 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_recordset_sql()
* line 1147 of /lib/dml/moodle_database.php: call to moodle_database->get_recordset_select()
* line 71 of /lib/classes/message/inbound/manager.php: call to moodle_database->get_recordset()
* line 555 of /lib/upgradelib.php: call to core\message\inbound\manager::update_handlers_for_component()
* line 1626 of /lib/upgradelib.php: call to upgrade_plugins()
* line 171 of /admin/cli/upgrade.php: call to upgrade_noncore()
 !!

== end command line ==


---

can I tell the upgrade to ignore the admin tool, and just install the other upgrades?

Average of ratings: -