# Algolia:initialize לא עובד (rails נכשל - לא יודע איך לבנות משימה)

**URL:** <https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293>\
**Category:** Product Support\
**Tags:** algolia-search\
**Created:** [30 בינואר,‏ 2023,‏ 9:54am UTC](https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293 "2023-01-30T09:54:08Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [1 במרץ,‏ 2023,‏ 9:58am UTC](https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293/24 "2023-03-01T09:58:17Z")

</div>

I have given this yet another go… 🙂 And I can confirm that removing ‘system’ from the `algolia discourse username` setting and running `rake algolia:reindex` with a dummy user instead worked without error. 👍

I shamefully did not spot the bit in the instructions about:

> It is recommended that you create a dummy separate user who can only see content you consider to be public, and change this value to their username.

And only matched my settings per this instruction:

> Once all of the settings are turned on and populated, the plugin configuration should look like this:
> 
> ![image](https://global.discourse-cdn.com/meta/original/4X/c/3/1/c3129d80a7daec45cca0de2040082a3e2f060613.png)

Personally, (and I may be biased 🙂) I think we could maybe make those instructions a little clearer. 🙂 I would advocate for a section ‘Create your algolia discourse user’ as part of the configuration flow.

---

_[View the full topic](https://meta.discourse.org/t/algolia-initialize-not-working-rails-aborted-dont-know-how-to-build-task/253293)._
