Forums | Mahara Community

Support /
error while upgrading to Mahara 17.10.0


na li's profile picture
Posts: 61

28 November 2017, 19:56

Dear All,

Our University is using Mahara 17.04.2, Ubuntu 16.04.3, mysql  Ver 14.14 Distrib 5.7.19.

I tried to upgrade from Version 17.04.2 to 17.10.0 on the same server. I've got some error messages during the upgrade.

We will be really appreciate if someone can tell me if these error messages really matters or not? 

After the upgrade, the system seems work fine. I didn't find any problems yet. But I never got these error message when I did upgrade before. I think it worth to double check with Mahara experts first.

Here's the screenshots of the error message:

 

 

Screen Shot 2017-11-28 at 2.41.06 PM.png

Screen Shot 2017-11-28 at 2.40.49 PM.png

Screen Shot 2017-11-28 at 2.41.20 PM.png

 

appadmin@lnx-mahara2017:/var/www/html/mahara$ sudo /usr/bin/php /var/www/html/mahara/admin/cli/upgrade.php

[INF] 4e (admin/cli/upgrade.php:49) Upgrading Mahara

[INF] 4e (lib/mahara.php:234) Upgrading core

[DBG] 4e (lib/db/upgrade.php:4988) Remove sensitive data from event_log

[DBG] 4e (lib/db/upgrade.php:5004) 183/183

[DBG] 4e (lib/db/upgrade.php:5024) Add new logoxs column in institution table for small logos

[DBG] 4e (lib/db/upgrade.php:5065) Fix up missing creation time for users

[DBG] 4e (lib/db/upgrade.php:5077) Fix missing property in group Forums

[DBG] 4e (lib/db/upgrade.php:5100) Clear menu cache for removal of menu items

[DBG] 4e (lib/db/upgrade.php:5105) Add new fields to "event_log" table

[DBG] 4e (lib/db/upgrade.php:5114) Making a temp copy and adding id column

[DBG] 4e (lib/db/upgrade.php:5138) Adding back in the event_log information

[DBG] 4e (lib/db/upgrade.php:5157) 7461/7461

[DBG] 4e (lib/db/upgrade.php:5199) Adjust existing "event_log" data to fit new table structure

[WAR] 4e (lib/db/upgrade.php:5228) Trying to get property of non-object

Call stack (most recent first):

  * log_message(string(size 36), integer, true, true, string(size 39), integer) at /var/www/html/mahara/lib/errors.php:521

  * error(integer, string(size 36), string(size 39), integer, array(size 25)) at /var/www/html/mahara/lib/db/upgrade.php:5228

  * xmldb_core_upgrade(string(size 10)) at /var/www/html/mahara/lib/upgrade.php:347

  * upgrade_core(object(stdClass)) at /var/www/html/mahara/lib/mahara.php:268

  * upgrade_mahara(array(size 1)) at /var/www/html/mahara/admin/cli/upgrade.php:53

 

[WAR] 4e (lib/db/upgrade.php:5229) Trying to get property of non-object

Call stack (most recent first):

  * log_message(string(size 36), integer, true, true, string(size 39), integer) at /var/www/html/mahara/lib/errors.php:521

  * error(integer, string(size 36), string(size 39), integer, array(size 25)) at /var/www/html/mahara/lib/db/upgrade.php:5229

  * xmldb_core_upgrade(string(size 10)) at /var/www/html/mahara/lib/upgrade.php:347

  * upgrade_core(object(stdClass)) at /var/www/html/mahara/lib/mahara.php:268

  * upgrade_mahara(array(size 1)) at /var/www/html/mahara/admin/cli/upgrade.php:53

 

[WAR] 4e (lib/db/upgrade.php:5228) Trying to get property of non-object

Call stack (most recent first):

  * log_message(string(size 36), integer, true, true, string(size 39), integer) at /var/www/html/mahara/lib/errors.php:521

  * error(integer, string(size 36), string(size 39), integer, array(size 25)) at /var/www/html/mahara/lib/db/upgrade.php:5228

  * xmldb_core_upgrade(string(size 10)) at /var/www/html/mahara/lib/upgrade.php:347

  * upgrade_core(object(stdClass)) at /var/www/html/mahara/lib/mahara.php:268

  * upgrade_mahara(array(size 1)) at /var/www/html/mahara/admin/cli/upgrade.php:53

 

[WAR] 4e (lib/db/upgrade.php:5229) Trying to get property of non-object

Call stack (most recent first):

  * log_message(string(size 36), integer, true, true, string(size 39), integer) at /var/www/html/mahara/lib/errors.php:521

  * error(integer, string(size 36), string(size 39), integer, array(size 25)) at /var/www/html/mahara/lib/db/upgrade.php:5229

  * xmldb_core_upgrade(string(size 10)) at /var/www/html/mahara/lib/upgrade.php:347

  * upgrade_core(object(stdClass)) at /var/www/html/mahara/lib/mahara.php:268

  * upgrade_mahara(array(size 1)) at /var/www/html/mahara/admin/cli/upgrade.php:53

 

[WAR] 4e (lib/db/upgrade.php:5228) Trying to get property of non-object

Call stack (most recent first):

  * log_message(string(size 36), integer, true, true, string(size 39), integer) at /var/www/html/mahara/lib/errors.php:521

  * error(integer, string(size 36), string(size 39), integer, array(size 25)) at /var/www/html/mahara/lib/db/upgrade.php:5228

  * xmldb_core_upgrade(string(size 10)) at /var/www/html/mahara/lib/upgrade.php:347

  * upgrade_core(object(stdClass)) at /var/www/html/mahara/lib/mahara.php:268

  * upgrade_mahara(array(size 1)) at /var/www/html/mahara/admin/cli/upgrade.php:53

 

[WAR] 4e (lib/db/upgrade.php:5229) Trying to get property of non-object

Call stack (most recent first):

  * log_message(string(size 36), integer, true, true, string(size 39), integer) at /var/www/html/mahara/lib/errors.php:521

  * error(integer, string(size 36), string(size 39), integer, array(size 25)) at /var/www/html/mahara/lib/db/upgrade.php:5229

  * xmldb_core_upgrade(string(size 10)) at /var/www/html/mahara/lib/upgrade.php:347

  * upgrade_core(object(stdClass)) at /var/www/html/mahara/lib/mahara.php:268

  * upgrade_mahara(array(size 1)) at /var/www/html/mahara/admin/cli/upgrade.php:53

 

[DBG] 4e (lib/db/upgrade.php:5260) 7461/7461

[DBG] 4e (lib/db/upgrade.php:5266) Add new logging events

[DBG] 4e (lib/db/upgrade.php:5284) Remove obsolete default notification method

[DBG] 4e (lib/db/upgrade.php:5321) Removing "Persona" authentication plugin

[DBG] 4e (lib/db/upgrade.php:5329) Clear all caches to allow regeneration of session directories

[DBG] 4e (lib/db/upgrade.php:5334) Add primary key to site_content table

[DBG] 4e (lib/db/upgrade.php:5340) Making a temp copy and adding id column

[DBG] 4e (lib/db/upgrade.php:5358) Adding back in the site_content information

[DBG] 4e (lib/db/upgrade.php:5377) 11/11

[DBG] 4e (lib/db/upgrade.php:5397) Make sure images in static pages are embedded images

[DBG] 4e (lib/db/upgrade.php:5408) Add an "useragent" field to usr_session table

[INF] 4e (lib/mahara.php:234) Upgrading artefact.file

[DBG] 4e (artefact/file/db/upgrade.php:471) Update video files that may have wrong artefacttype

[INF] 4e (artefact/file/lib.php:243) Synced filetype list with filetypes.xml

[INF] 4e (lib/mahara.php:234) Upgrading auth.saml

[INF] 4e (lib/mahara.php:234) Upgrading search.elasticsearch

[DBG] 4e (search/elasticsearch/db/upgrade.php:96) Adding ability to search by event_log in elasticsearch

[WAR] 4e (search/elasticsearch/db/upgrade.php:108) A new index type "event_log" has been added to your elasticsearch settings. For this to take effect you will need to reindex your site

[INF] 4e (lib/mahara.php:234) Upgrading module.framework

[DBG] 4e (module/framework/db/upgrade.php:59) Add new matrix files to the database

[INF] 4e (lib/mahara.php:234) Upgrading blocktype.externalvideo

appadmin@lnx-mahara2017:/var/www/html/mahara$ sudo service httpd start

Many thanks.

Best wishes,

Lina

Robert Lyon's profile picture
Posts: 749

01 December 2017, 12:05

Hi Lina,

The errors you are reporting sound like the ones mention in https://bugs.launchpad.net/mahara/+bug/1735072 on comment 1

The warnings (if created because of 'deleteartefacts' events in event log) can be ignored as they won't relate to existing artefacts anyway.

We hope to have a patch soon to fix those errors from showing

Cheers

Robert

 

 

na li's profile picture
Posts: 61

01 December 2017, 15:53

Dear Robert,

Thanks a lot for your reply. We really appreciate it. Now I feel safe to upgrade Mahara on production server.

Thanks again and I'll be looking forward to the patch.

Best wishes,

Lina

3 results