Elasticsearch
-
I think I configured NextCloud the right way, but I still get no results when doing search. In the Logs of the elasticsearch container doesn't happen much. Does it need some time to start building the index?
@Kubernetes You need to manually start the index with
occ fulltextsearch:index
you might want to test the configuration withocc fulltextsearch:test
first -
@Kubernetes You need to manually start the index with
occ fulltextsearch:index
you might want to test the configuration withocc fulltextsearch:test
first@andreasdueren Great, thanks, it seems to work on my cloudron now.
-
Maybe to add that a cronjob in NextCloud App is recommended to update the index, e.g.
*/15 * * * * occ fulltextsearch:index --quiet
-
Maybe to add that a cronjob in NextCloud App is recommended to update the index, e.g.
*/15 * * * * occ fulltextsearch:index --quiet
@Kubernetes Recommended is
occ fulltextsearch:live
as per the docs -
@Kubernetes Recommended is
occ fulltextsearch:live
as per the docs@andreasdueren said in Elasticsearch:
@Kubernetes Recommended is
occ fulltextsearch:live
as per the docsThere was a cron command that ran once upon starting. @girish what was that again?
-
@Joseph I thought @service was different and there was another one. But maybe I'm wrong.
-
@andreasdueren maybe
@reboot
? https://docs.cloudron.io/apps/#cron I would have preferred if it was called oneoff or startup.
-
@andreasdueren maybe
@reboot
? https://docs.cloudron.io/apps/#cron I would have preferred if it was called oneoff or startup.
@Joseph Yup I think that was it!
-
A andreasdueren referenced this topic
-
@girish what do you need to make this gem a official package?
@Kubernetes I don't think it's wanted because they'd prefer to make it an add-on not as an app.
-
When i look at the time this thread is open I wonder if it could be an interims solution until the add-on is ready
-
Why not build it locally and deploy it?
(I wonder if the reluctance of deploying non-appstore comes from the difficulty of building an app or because it's seen as dangerous/unstable?)
@joseph 1) This approach is seperate to the common Cloudron usage
2) Updates are not automatically, but manually
3) Not everybody is able to build and install custom packages
4) It requires public space on docker.hub or a private instance of docker repo
5) the package is not optimized by the Cloudron maintainers