divio / aldryn-newsblog

A combined news/weblog application for Aldryn and django CMS – part of the Essential Addons.
https://marketplace.django-cms.org/en/addons/browse/aldryn-newsblog/
Other
67 stars 118 forks source link

rebuild_article_search_data management command not working properly #466

Open osamana opened 7 years ago

osamana commented 7 years ago

I set up Django CMS with aldryn-newsblog and installed haystack and aldryn-search. run python manage.py rebuild_index. only new articles I add are searchable, already created articles are not searchable !!. running the management command rebuild_article_search_data does nothing, however.

the only solution is that I open the django shell and run .save() on all Article objects for that to work. the problem is with the rebuild_article_search_data command. I can give you more related data regarding the issue, help, please. Thank you.

CP-SiNGH commented 5 years ago

This has just hit me too :(

Using: Aldryn-Django v1.11.15.1 Aldryn-Django-CMS v3.5.2.2 Aldryn-NewsBlog v2.1.1

A thing that makes this more complicated is that we're using the Divio platform, so running django shell & running commands against the data directly is not possible as it's a dockerised platform, and we can't interact with the live container directly (platform design decision).

O_O