error updating from 15.04 to 16.04 "View::_create: User 0 is not permitted to create a view for institution mahara"

Bug #1590523 reported by Tony Box
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
New
Undecided
Unassigned

Bug Description

I'm not able to update Mahara from 15.04.5 to 16.04.1. Using the cli or web interface both give the following error:

View::_create: User 0 is not permitted to create a view for institution mahara
Call stack (most recent first):

    View::_create(array(size 5), 0) at /var/www/html/mahara1604/lib/view.php:336
    View::create(array(size 5), 0) at /var/www/html/mahara1604/lib/view.php:6685
    install_system_portfolio_view() at /var/www/html/mahara1604/lib/db/upgrade.php:4182
    xmldb_core_upgrade("2015030420") at /var/www/html/mahara1604/lib/upgrade.php:342
    upgrade_core(object(stdClass)) at /var/www/html/mahara1604/admin/upgrade.json.php:87

My user 0 is "root." We use mysql.

Revision history for this message
Son Nguyen (ngson2000) wrote :

Hi Tony,

It looks like you upgraded Mahara from 15.04.5 to 16.04.0.
Please upgrade it to 16.04.1. We have already included a patch to fix this in 16.04.1

Cheers,
Son

Revision history for this message
Robert Lyon (robertl-9) wrote :

The fix in particular is this patch:

https://reviews.mahara.org/#/c/6510/1

Cheers

Robert

Revision history for this message
Tony Box (box-3) wrote :

Thanks--didn't see that duplicate. It worked fine going to 16.04.1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.