Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post "index" not working #435

Closed
dr0i opened this issue Sep 21, 2020 · 3 comments
Closed

Post "index" not working #435

dr0i opened this issue Sep 21, 2020 · 3 comments

Comments

@dr0i
Copy link
Member

dr0i commented Sep 21, 2020

An curl -XPOST http://localhost:7200/organisations/index doesn't work: the data is not updated in the index.
As a workaround, in the crontab it's scheduled to restart the app. This does trigger the indexation of the new/updated data.

Tested when working at #434.

@dr0i dr0i mentioned this issue Sep 21, 2020
@acka47
Copy link
Contributor

acka47 commented Sep 22, 2020

Good to see you are giving lobid-organisations some love.

@dr0i
Copy link
Member Author

dr0i commented Sep 24, 2020

Just had do that again while deploying #434 on production. It is confirmed - "tranform", "index" AND a restart is needed.

dr0i added a commit that referenced this issue Sep 24, 2020
Use workaround to index data.

See #435.
dr0i added a commit that referenced this issue Sep 25, 2020
Use workaround to index data.

See #435.
@dr0i
Copy link
Member Author

dr0i commented Sep 25, 2020

Workaround documented and crontabbed. Closing.

@dr0i dr0i closed this as completed Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants