Forums | Mahara Community

Developers /
upgraded from 15.10 to 17.04

John King's profile picture
Posts: 8

29 March 2017, 8:48


We have recently upgraded our mahara software from 15.10 to 17.04. I used the following wiki(s) to perform the upgrade;



I should also note here that our current mahara environments are running on Ubuntu 10.04 LTS with php 5.3 and apache 2.22 installed. The database backend is postgresql 9.

The new environments consist of Ubuntu 16.04 LTS with php 7.0 and apache 2.4-18 with a postgresql backend at version 9.5.

After completing the upgrade process using the developer wiki and after running the upgrade.php script from the admin portal, (which reported running successfully), We have been noticing some odd behaviour within the application. Some, not all of the images are displayed properly. Some return an error "A nonrecoverable error occurred. This probably means you have encountered a bug in the system."


Looking at the apache error log file I see the following php errors / warnings;


[Mon Mar 27 08:41:15.969009 2017] [:error] [pid 32378] [client *.*.*.*:58077] [WAR] ed (lib/errors.php:536) [Dwoo_Exception]: Template "for
m/checkbox.tpl" could not be found in any of your include path(s), referer:
[Mon Mar 27 08:41:15.969041 2017] [:error] [pid 32378] [client *.*.*.*:58077] Call stack (most recent first):, referer: https://eportfolio-
[Mon Mar 27 08:41:15.969047 2017] [:error] [pid 32378] [client *.*.*.*.13:58077] * exception(object(Dwoo_Exception)) at Unknown:0, referer:
[Mon Mar 27 08:41:15.969052 2017] [:error] [pid 32378] [client *.*.*.*:58077] , referer:
[Mon Mar 27 08:41:15.970340 2017] [:error] [pid 32378] [client *.*.*.*:58077] [DBG] ed (lib/web.php:1235) Missing image file in theme uofa:
site-logo-facebook, referer:


I was just wondering has anyone else run across a similar issue? Please note I can provide all current configuration information.  Just let me know what you need to see?




Robert Lyon's profile picture
Posts: 634

29 March 2017, 14:29

Hi john King,

Mahara 17.04 is still in the development phase (it has not been released as a stable release yet) were you meaning you'd installed 16.04?

The error you posted says you are missing the file htdocs/theme/raw/templates/form/checkbox.tpl

Looking at the repository the file exists there for master

Are you using a custom theme? If you are then you will need to make sure that your themes themeconfig.php file indicates the 'raw' theme is the parent theme - or you will need to make sure all the raw theme's template files also exist in your custom theme








John King's profile picture
Posts: 8

30 March 2017, 2:20

Hi Robert,


Thanks for your reply. We did realize that 17.04 was still in the development phase however we wanted to head off any potential bugs going from php 5.3 to php 7.0 prior to the stable release of mahara coming sometime in April of this year. We are using customized themes here so I will follow your instructions regarding making sure  themeconfig.php file indicates the `raw` theme as the parent theme.


I am rather new to mahara and in the past have just performed minor updates. I will let you know how things turned out.


Thanks again!




John King

Kristina Hoeppner's profile picture
Posts: 4095

31 March 2017, 9:04

Hello John,

Thank you for being one of the first to test Mahara 17.04. We will have the release candidate available latest early next week if not already later today (getting last functionalities in through code review today...). If you run into any issues once you have the RC, please report them in our bug tracker by creating a new bug at for each issue (hopefully not that many ;-) ).

We made a number of theme changes for Mahara 17.04 and added more variables and changed classes. Be careful when upgrading your theme then and test that well so there are no unexpected color differences.




John King's profile picture
Posts: 8

14 April 2017, 8:59



Just to let everyone know, I was able to resolve my issues. I decided to take the clean slate approach and downloaded your latest release of mahara. v 17.10


After downloading, I backed up the theme directory. After backing up the theme directory I copied out customized theme directory into the new code directory. /mahara/htdocs/theme. Then recompiled our css images.

After that I moved /mahara/htdocs into the actual website document root. I was able to run the upgrade.php script however I needed to do that via the commandline. I suspect our installation would be classed as large.

After doing so I attempted to verify the admin portal. I seen several issues that I saw before with version 17.04. This time I monitored the apache error log while I was attempting basic tasks like creating or adding a new user. I did note the following:

Our customized theme directory were missing some key configuration files which allow the admin portal to function as it should. These were the files we were missing;




After copying these files which came with the original theme distribution (the dir I backed up) into our custom custom theme dir all issues I seen with version 17.04 had disappeared.

Our developers here are now giving the application a more thorough test. 

Question: When will Mahara be releasing 17.10 as a stable release?


Thanks for the help!





Kristina Hoeppner's profile picture
Posts: 4095

18 April 2017, 13:57

Hello John,

Great that you got your Mahara instance to work again and thanks for your work flow. Mahara 17.04 will be released at the end of the month as it's the release for April 2017. So we need to make sure to actually release it in April. ;-) We are going to issue another release candidate sometime this week as we found a number of things that should be fixed.

Mahara 17.10 is not due until late October.




6 results