Illustration of connected portfolio elements

Portfolios for your
learning community

Try out Mahara

Create portfolios

Using Mahara, students and staff create their personal learning stories by uploading evidence of activities they have participated in, and embedding publicly accessible content they have previously put online. They can write reflections on their experiences that frame this evidence, map it to competencies or registration requirements, and provide necessary context.

Mahara can be used for many different portfolio purposes, such as study, professional development, work-integrated learning, assessment, showcase and presentation, and employability.

Learn about the portfolio options

Illustration of a person with their portfolio
Illustration of a paper airplane representing sharing

Share work

Mahara allows portfolios to be shared flexibly with one person, a specific group of people, or the entire world. Access can be further restricted to a particular time frame or just within an assessment task.

Find out about sharing portfolios

Engage with others

Mahara makes it easy to comment and give feedback. Portfolios can also be submitted to learning management systems via LTI (Learning Tools Interoperability) for marking.

Groups in Mahara allow people to create portfolios collaboratively and engage in forum discussions.

Learn about collaborating in Mahara

Illustration of a group of people collaborating
Illustration of a podcast logo

Listen to portfolio stories

In our podcast 'Create. Share. Engage.' portfolio practitioners, researchers, learning designers, and portfolio authors share their journey. Learn how they navigate the many different facets of portfolios in general, and Mahara specifically.

Listen on the podcast website or in your favourite app

Mahara Community

Broken elastic search triggers

Cecilia Vela's profile picture
Cecilia Vela
Posts: 110
03 May 2019, 11:50

Already a few people had this issue, so it's worth explaining a possible solution we've found. We are working on removing the elastic search triggers from the DB on Mahara, but while we work on this you might find the following lines helpful.

Basically, there are a few cron jobs that need to drop the triggers before working on the DB. When they finish they have to create the triggers again. But it could happen that the drop and create operation are clashing when called by some cron jobs. One could try to create them when the previous create operation didn't finish.

For example those that runs every half an hour could clash with those that run every 5 minutes, like the 'user_login_tries_to_zero'.

The cron jobs that need to drop the triggers are the following

    'recalculate_quota',
    'cron_site_data_daily',
    'user_login_tries_to_zero',
    'interaction_forum_new_post'

and you can find the times they run defined in the 'cron' table on the DB.

 

A solution to prevent them from trying to work on the elasticsearch triggers at the same time, without giving the other job enough time to finish working on them, is to define an offset of 2 or 3 minutes in their run time.

On the DB, for the cron job that runs every 5 minutes, we can add an offset like this:

  update cron set minute='2-59/5' where callfunction = 'user_login_tries_to_zero';

So the 'user_login_tries_to_zero' it would run at 2,7,12,17,.. minutes of the hour.

I you had this problem and the triggers on the DB are broken, you might find the information here useful too.

 

Regards,

Cecilia