← Back to team overview

mahara-contributors team mailing list archive

[Bug 1367998] Re: Errors installing/upgrading 1.10dev via CLI

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1367998

Title:
  Errors installing/upgrading 1.10dev via CLI

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  When trying to do a clean install of the current 1.10dev HEAD (commit
  7415cc3f159) via the command-line installer, I get a fatal error.
  Upgrading via the command-line upgrader also causes a fatal error.
  Installation & upgrading works fine through the web-based installer,
  only the command-line utilities are affected.

  Here's the output when I try to install:

  [INF] f0 (admin/cli/install.php:68) Installing Mahara
  [INF] f0 (lib/mahara.php:218) Installing core
  [INF] f0 (lib/upgrade.php:1304) Enabled 2 HTML filters.
  [INF] f0 (lib/mahara.php:218) Installing firstcoredata
  [INF] f0 (lib/mahara.php:218) Installing localpreinst
  [INF] f0 (lib/mahara.php:218) Installing artefact.blog
  [INF] f0 (lib/mahara.php:218) Installing toupgradecount
  [WAR] f0 (lib/mahara.php:252) Attempt to assign property of non-object
  Call stack (most recent first):
    * log_message("Attempt to assign property of non-object", 8, true, true, "/home/aaronw/www/mahara/htdocs/lib/mahara.php", 252) at /home/aaronw/www/mahara/htdocs/lib/errors.php:439
    * error(2, "Attempt to assign property of non-object", "/home/aaronw/www/mahara/htdocs/lib/mahara.php", 252, array(size 5)) at /home/aaronw/www/mahara/htdocs/lib/mahara.php:252
    * upgrade_mahara(array(size 67)) at /home/aaronw/www/mahara/htdocs/admin/cli/install.php:69

  [WAR] f0 (lib/upgrade.php:428) First parameter must either be an object or the name of an existing class
  Call stack (most recent first):
    * log_message("First parameter must either be an object or the na...", 8, true, true, "/home/aaronw/www/mahara/htdocs/lib/upgrade.php", 428) at /home/aaronw/www/mahara/htdocs/lib/errors.php:439
    * error(2, "First parameter must either be an object or the na...", "/home/aaronw/www/mahara/htdocs/lib/upgrade.php", 428, array(size 7)) at Unknown:0
    * property_exists(0"requires_config") at /home/aaronw/www/mahara/htdocs/lib/upgrade.php:428
    * upgrade_plugin(0) at /home/aaronw/www/mahara/htdocs/lib/mahara.php:253
    * upgrade_mahara(array(size 67)) at /home/aaronw/www/mahara/htdocs/admin/cli/install.php:69

  [WAR] f0 (lib/upgrade.php:431) First parameter must either be an object or the name of an existing class
  Call stack (most recent first):
    * log_message("First parameter must either be an object or the na...", 8, true, true, "/home/aaronw/www/mahara/htdocs/lib/upgrade.php", 431) at /home/aaronw/www/mahara/htdocs/lib/errors.php:439
    * error(2, "First parameter must either be an object or the na...", "/home/aaronw/www/mahara/htdocs/lib/upgrade.php", 431, array(size 7)) at Unknown:0
    * property_exists(0"requires_parent") at /home/aaronw/www/mahara/htdocs/lib/upgrade.php:431
    * upgrade_plugin(0) at /home/aaronw/www/mahara/htdocs/lib/mahara.php:253
    * upgrade_mahara(array(size 67)) at /home/aaronw/www/mahara/htdocs/admin/cli/install.php:69

  [WAR] f0 (lib/errors.php:745) Field in where clause not in the update object
  Call stack (most recent first):
    * log_message("Field in where clause not in the update object", 8, true, true) at /home/aaronw/www/mahara/htdocs/lib/errors.php:95
    * log_warn("Field in where clause not in the update object") at /home/aaronw/www/mahara/htdocs/lib/errors.php:745
    * SQLException->__construct("Field in where clause not in the update object") at /home/aaronw/www/mahara/htdocs/lib/dml.php:1191
    * update_record("_installed", object(stdClass), "name") at /home/aaronw/www/mahara/htdocs/lib/upgrade.php:440
    * upgrade_plugin(0) at /home/aaronw/www/mahara/htdocs/lib/mahara.php:253
    * upgrade_mahara(array(size 67)) at /home/aaronw/www/mahara/htdocs/admin/cli/install.php:69

  [WAR] f0 (lib/dml.php:1191) Field in where clause not in the update object
  Call stack (most recent first):
    * update_record("_installed", object(stdClass), "name") at /home/aaronw/www/mahara/htdocs/lib/upgrade.php:440
    * upgrade_plugin(0) at /home/aaronw/www/mahara/htdocs/lib/mahara.php:253
    * upgrade_mahara(array(size 67)) at /home/aaronw/www/mahara/htdocs/admin/cli/install.php:69

  A nonrecoverable error occurred. This probably means you have
  encountered a bug in the system

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1367998/+subscriptions


References