Forums | Mahara Community

Support /
Elasticsearch for multiple Mahara


03 October 2016, 22:46

Hello,

I would need to use two ElasticSearch into two Mahara sites.

I created the index in the config.php file ($cfg->plugin_search_elasticsearch_indexname = "mahara1";), except that when I use the button "all reset" in "http://mymahara.com/admin/extensions/pluginconfig.php?plugintype=search&pluginname=elasticsearch" there is this error in one of the two sites :

'There Was an error with Submitting this form. Please check the marked fields and try again. '

How can I fix this ?

Thank you !!
Ghada El-Zoghbi's profile picture
Posts: 122

03 October 2016, 23:47

Hi,

What is the name of the second index your second Mahara site is using? The names should be unique. 

Can you please provide the errors from your error log?

 

Thanks, 

Ghada 

04 October 2016, 2:45

Hi,

 

Here the message of the second Mahara :

"Indexing cron job is running. Please try again in a few minutes."

But it never ends.

 

The name of the 1st index : bsmahara

The name of the 2nd index : bsdeuxmahara

 

Thanks !!

04 October 2016, 21:21

[INF] ea (lib/cron.php:40) ---------- cron running Tue, 04 Oct 2016 10:20:51 +0200 ----------
[INF] ea (lib/cron.php:510) Skipping long-running cron job search_elasticsearch_cron (Tue, 04 Oct 2016 10:10:29 +0200).
[INF] ea (lib/cron.php:510) Skipping long-running cron job search_sphinx_reindex_all (Mon, 03 Oct 2016 12:55:01 +0200).
[INF] ea (lib/cron.php:510) Skipping long-running cron job search_sphinx_reindex_delta (Mon, 03 Oct 2016 13:25:02 +0200).
[INF] ea (lib/cron.php:177) ---------- cron finished Tue, 04 Oct 2016 10:20:51 +0200 ----------

 

05 October 2016, 23:26

Hello,

I found the problem, it was a rights issue in the config.php.

Thank you. cool

5 results