Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Elasticsearch

Elasticsearch

Scheduled Pinned Locked Moved Feature Requests
elasticsearch
54 Posts 15 Posters 7.9k Views 16 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • andreasduerenA andreasdueren

    @Kubernetes You need to manually start the index with occ fulltextsearch:index you might want to test the configuration with occ fulltextsearch:test first

    KubernetesK Offline
    KubernetesK Offline
    Kubernetes
    App Dev
    wrote on last edited by
    #29

    @andreasdueren Great, thanks, it seems to work on my cloudron now.

    1 Reply Last reply
    2
    • KubernetesK Offline
      KubernetesK Offline
      Kubernetes
      App Dev
      wrote on last edited by Kubernetes
      #30

      Maybe to add that a cronjob in NextCloud App is recommended to update the index, e.g.

      */15 * * * * occ fulltextsearch:index --quiet
      
      andreasduerenA 1 Reply Last reply
      0
      • KubernetesK Kubernetes

        Maybe to add that a cronjob in NextCloud App is recommended to update the index, e.g.

        */15 * * * * occ fulltextsearch:index --quiet
        
        andreasduerenA Online
        andreasduerenA Online
        andreasdueren
        wrote on last edited by
        #31

        @Kubernetes Recommended is occ fulltextsearch:live as per the docs

        andreasduerenA 1 Reply Last reply
        2
        • andreasduerenA andreasdueren

          @Kubernetes Recommended is occ fulltextsearch:live as per the docs

          andreasduerenA Online
          andreasduerenA Online
          andreasdueren
          wrote on last edited by
          #32

          @andreasdueren said in Elasticsearch:

          @Kubernetes Recommended is occ fulltextsearch:live as per the docs

          There was a cron command that ran once upon starting. @girish what was that again?

          1 Reply Last reply
          1
          • J Online
            J Online
            joseph
            Staff
            wrote on last edited by
            #33

            I think like @service occ fulltextsearch:index --quiet

            andreasduerenA 1 Reply Last reply
            1
            • J joseph

              I think like @service occ fulltextsearch:index --quiet

              andreasduerenA Online
              andreasduerenA Online
              andreasdueren
              wrote on last edited by
              #34

              @Joseph I thought @service was different and there was another one. But maybe I'm wrong.

              1 Reply Last reply
              0
              • J Online
                J Online
                joseph
                Staff
                wrote on last edited by
                #35

                @andreasdueren maybe @reboot ? https://docs.cloudron.io/apps/#cron I would have preferred if it was called oneoff or startup 🤔 .

                andreasduerenA 1 Reply Last reply
                1
                • J joseph

                  @andreasdueren maybe @reboot ? https://docs.cloudron.io/apps/#cron I would have preferred if it was called oneoff or startup 🤔 .

                  andreasduerenA Online
                  andreasduerenA Online
                  andreasdueren
                  wrote on last edited by
                  #36

                  @Joseph Yup I think that was it!

                  1 Reply Last reply
                  1
                  • andreasduerenA andreasdueren referenced this topic on
                  • KubernetesK Offline
                    KubernetesK Offline
                    Kubernetes
                    App Dev
                    wrote on last edited by
                    #37

                    @girish what do you need to make this gem a official package?

                    andreasduerenA 1 Reply Last reply
                    2
                    • KubernetesK Kubernetes

                      @girish what do you need to make this gem a official package?

                      andreasduerenA Online
                      andreasduerenA Online
                      andreasdueren
                      wrote on last edited by
                      #38

                      @Kubernetes I don't think it's wanted because they'd prefer to make it an add-on not as an app.

                      1 Reply Last reply
                      1
                      • KubernetesK Offline
                        KubernetesK Offline
                        Kubernetes
                        App Dev
                        wrote on last edited by
                        #39

                        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

                        1 Reply Last reply
                        3
                        • J Online
                          J Online
                          joseph
                          Staff
                          wrote on last edited by
                          #40

                          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?)

                          KubernetesK 1 Reply Last reply
                          0
                          • J joseph

                            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?)

                            KubernetesK Offline
                            KubernetesK Offline
                            Kubernetes
                            App Dev
                            wrote on last edited by Kubernetes
                            #41

                            @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 🙂

                            1 Reply Last reply
                            5
                            • girishG girish

                              @Nicolas Indeed, current plan is to implement Elastic search as an addon and not as an app. This will help apps like Nextcloud etc have document search as well. I will move this port to Feature Requests since it's a platform level change.

                              If you want to use this right away, there are two approaches:

                              • use an external elastic search (i.e install it on a separate server and have the LAMP app access that)
                              • alternately, create a cloudron package and install elastic search as an app. You can install this package on elastic.domain.com and then your app can use it directly.
                              L Offline
                              L Offline
                              LoudLemur
                              wrote on last edited by
                              #42

                              @girish Perhaps the Nextcloud Talk High Performance Backend as well as the Elasticsearch could be installed together onto the same server, somehow.

                              There is also Manticore:
                              https://forum.cloudron.io/topic/9753/manticore-search-oss-fast-database-for-search-alternative-for-elasticsearch

                              1 Reply Last reply
                              2
                              • andreasduerenA Online
                                andreasduerenA Online
                                andreasdueren
                                wrote on last edited by
                                #43

                                Updated Elastic to v9.1.5
                                https://git.due.ren/andreas/elasticsearch-cloudron/releases/tag/v9.1.5

                                1 Reply Last reply
                                6
                                • nichu42N Offline
                                  nichu42N Offline
                                  nichu42
                                  wrote on last edited by
                                  #44

                                  Great stuff! Store version when?

                                  Matrix: @nichu42:blueplanet.social

                                  1 Reply Last reply
                                  3
                                  • andreasduerenA Online
                                    andreasduerenA Online
                                    andreasdueren
                                    wrote last edited by
                                    #45

                                    Updated: https://git.due.ren/andreas/elasticsearch-cloudron/releases/tag/v1.0.17

                                    • Plugins: bundle analysis-icu in the image so language-specific analyzers (incl. German) work out of the box and no longer hit runtime install failures on Cloudron’s read-only FS.
                                    • Stability: revamped heap management to respect ES_JAVA_HEAP, custom jvm.options.d, and cgroup limits
                                    1 Reply Last reply
                                    2
                                    • nichu42N Offline
                                      nichu42N Offline
                                      nichu42
                                      wrote last edited by
                                      #46

                                      Is there a ELI5 installation guide for this?

                                      Matrix: @nichu42:blueplanet.social

                                      andreasduerenA 1 Reply Last reply
                                      0
                                      • nichu42N nichu42

                                        Is there a ELI5 installation guide for this?

                                        andreasduerenA Online
                                        andreasduerenA Online
                                        andreasdueren
                                        wrote last edited by
                                        #47

                                        @nichu42 This is honestly not super stable yet, I'm only using it for some nextcloud purposes and haven't tested it thoroughly.

                                        1 Reply Last reply
                                        2
                                        • girishG Do not disturb
                                          girishG Do not disturb
                                          girish
                                          Staff
                                          wrote last edited by
                                          #48

                                          @andreasdueren do you know if it's multi-tenant ? I think it makes sense to make elasticsearch as an addon (instead of an app). That way apps can come pre-installed/pre-configured with it. Apps and addons are very similar packaging wise. There is just some automation on top of it for backups and upgrades.

                                          What's needed for addons is: an automated way to create (say) a username/password on the fly for a specific app. (The platform then injects these as env var in the container). If ES supports multiple stores (db/index or whatever it's called in ES world), then this username/password pair has to limit access to specific store i.e one app cannot access another app's store.

                                          jdaviescoatesJ 1 Reply Last reply
                                          3
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search