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
  • 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
42 Posts 14 Posters 3.9k Views 14 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.
  • 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.
    NicolasN Offline
    NicolasN Offline
    Nicolas
    wrote on last edited by
    #11

    Hey @girish - is this still on the roadmap for some time in the future? If so, do you have an idea of when it's likely to be set up?

    jdaviescoatesJ 1 Reply Last reply
    1
    • NicolasN Nicolas

      Hey @girish - is this still on the roadmap for some time in the future? If so, do you have an idea of when it's likely to be set up?

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #12

      @nicolas I'm not sure but I think @staff opted to just go for Solr instead and that Elastic Search isn't currently on the roadmap.

      It would still good to have both though, as lots of apps seem only to integrate with Elastic.

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #13

        I think part of the issue too is elasticsearch is incredibly demanding resource-wise

        B 1 Reply Last reply
        1
        • ? A Former User

          I think part of the issue too is elasticsearch is incredibly demanding resource-wise

          B Offline
          B Offline
          bienhieutphcm
          wrote on last edited by
          #14

          @atrilahiji I know that Elasticsearch is stopped developing, from opensource into enterprise. And do we develop Elasticsearch from the latest opensource version?

          1 Reply Last reply
          0
          • girishG girish referenced this topic on
          • nebulonN nebulon referenced this topic on
          • 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.
            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #15

            @girish said in Elasticsearch:

            @Nicolas Indeed, current plan is to implement Elastic search as an addon and not as an app.

            Might be time to revisit that.

            Elasticsearch is open source, again
            https://www.elastic.co/blog/elasticsearch-is-open-source-again

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            1
            • rmdesR Offline
              rmdesR Offline
              rmdes
              wrote on last edited by
              #16

              Still dreaming about that... 🙂

              1 Reply Last reply
              2
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #17

                Uhh, I'd rather see any more lightweight option instead.

                Conscious tech

                andreasduerenA 1 Reply Last reply
                0
                • robiR robi

                  Uhh, I'd rather see any more lightweight option instead.

                  andreasduerenA Offline
                  andreasduerenA Offline
                  andreasdueren
                  wrote on last edited by
                  #18

                  @robi Unfortunately that's the only full text search provider that's supported by Nextcloud…

                  robiR 1 Reply Last reply
                  1
                  • andreasduerenA andreasdueren

                    @robi Unfortunately that's the only full text search provider that's supported by Nextcloud…

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #19

                    @andreasdueren welp it's a large community, perhaps someone can be interested in making a plugin for meilisearch or similar

                    Conscious tech

                    1 Reply Last reply
                    1
                    • andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote on last edited by
                      #20

                      Since this looked to be unlikely to be included into cloudron, I packaged it into a custom app for myself because I need it for Nextcloud. This app will expose Elasticsearch only locally, for other apps to use. Let me know if anyone wants to help me test it.

                      M 1 Reply Last reply
                      3
                      • andreasduerenA andreasdueren

                        Since this looked to be unlikely to be included into cloudron, I packaged it into a custom app for myself because I need it for Nextcloud. This app will expose Elasticsearch only locally, for other apps to use. Let me know if anyone wants to help me test it.

                        M Offline
                        M Offline
                        msbt
                        App Dev
                        wrote on last edited by
                        #21

                        @andreasdueren nice, happy to give it a try, which version did you pack?

                        andreasduerenA 1 Reply Last reply
                        1
                        • M msbt

                          @andreasdueren nice, happy to give it a try, which version did you pack?

                          andreasduerenA Offline
                          andreasduerenA Offline
                          andreasdueren
                          wrote on last edited by
                          #22

                          @msbt 8.17.3: https://git.due.ren/andreas/elasticsearch-cloudron

                          KubernetesK 1 Reply Last reply
                          1
                          • andreasduerenA andreasdueren

                            @msbt 8.17.3: https://git.due.ren/andreas/elasticsearch-cloudron

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

                            @andreasdueren said in Elasticsearch:

                            https://git.due.ren/andreas/elasticsearch-cloudron

                            Great! Thanks for taking the initiative.

                            The .env file or a template is missing in the source, therefore the package.sh file fails to copy and build.

                            elasticsearch.yaml needs to be added to the copy command in package.sh, too

                            and the command "cloudron package" needs to be "cloudron build" ?

                            And you should use Cloudron Base Image 5.0.0 instead of 4.0.0

                            It is up and running now on my Cloudron and I still need to connect it with my Nextcloud.

                            I noticed that the Cloudron Proxy is exposing Elasticsearch (protected by username and password from credentials.txt)

                            It was a bit tricky to understand where to use the curl to create the indices. Best was to execute it inside of the container (IPADDRESS 127.0.0.1)

                            andreasduerenA 3 Replies Last reply
                            3
                            • KubernetesK Kubernetes

                              @andreasdueren said in Elasticsearch:

                              https://git.due.ren/andreas/elasticsearch-cloudron

                              Great! Thanks for taking the initiative.

                              The .env file or a template is missing in the source, therefore the package.sh file fails to copy and build.

                              elasticsearch.yaml needs to be added to the copy command in package.sh, too

                              and the command "cloudron package" needs to be "cloudron build" ?

                              And you should use Cloudron Base Image 5.0.0 instead of 4.0.0

                              It is up and running now on my Cloudron and I still need to connect it with my Nextcloud.

                              I noticed that the Cloudron Proxy is exposing Elasticsearch (protected by username and password from credentials.txt)

                              It was a bit tricky to understand where to use the curl to create the indices. Best was to execute it inside of the container (IPADDRESS 127.0.0.1)

                              andreasduerenA Offline
                              andreasduerenA Offline
                              andreasdueren
                              wrote on last edited by
                              #24

                              @Kubernetes Strange, it should build fine without it, at least it is for me. Are you sure it's not just taking a little to load? I did just make your modifications and pushed those, please try again.

                              1 Reply Last reply
                              2
                              • KubernetesK Kubernetes

                                @andreasdueren said in Elasticsearch:

                                https://git.due.ren/andreas/elasticsearch-cloudron

                                Great! Thanks for taking the initiative.

                                The .env file or a template is missing in the source, therefore the package.sh file fails to copy and build.

                                elasticsearch.yaml needs to be added to the copy command in package.sh, too

                                and the command "cloudron package" needs to be "cloudron build" ?

                                And you should use Cloudron Base Image 5.0.0 instead of 4.0.0

                                It is up and running now on my Cloudron and I still need to connect it with my Nextcloud.

                                I noticed that the Cloudron Proxy is exposing Elasticsearch (protected by username and password from credentials.txt)

                                It was a bit tricky to understand where to use the curl to create the indices. Best was to execute it inside of the container (IPADDRESS 127.0.0.1)

                                andreasduerenA Offline
                                andreasduerenA Offline
                                andreasdueren
                                wrote on last edited by
                                #25

                                @Kubernetes said in Elasticsearch:

                                It is up and running now on my Cloudron and I still need to connect it with my Nextcloud.

                                In the admin notes it's talking about localhost but I think that won't work. You need the local IP of the app which you should be able to find in the logs.

                                I noticed that the Cloudron Proxy is exposing Elasticsearch (protected by username and password from credentials.txt)

                                Oops, something I need to fix.

                                1 Reply Last reply
                                1
                                • KubernetesK Kubernetes

                                  @andreasdueren said in Elasticsearch:

                                  https://git.due.ren/andreas/elasticsearch-cloudron

                                  Great! Thanks for taking the initiative.

                                  The .env file or a template is missing in the source, therefore the package.sh file fails to copy and build.

                                  elasticsearch.yaml needs to be added to the copy command in package.sh, too

                                  and the command "cloudron package" needs to be "cloudron build" ?

                                  And you should use Cloudron Base Image 5.0.0 instead of 4.0.0

                                  It is up and running now on my Cloudron and I still need to connect it with my Nextcloud.

                                  I noticed that the Cloudron Proxy is exposing Elasticsearch (protected by username and password from credentials.txt)

                                  It was a bit tricky to understand where to use the curl to create the indices. Best was to execute it inside of the container (IPADDRESS 127.0.0.1)

                                  andreasduerenA Offline
                                  andreasduerenA Offline
                                  andreasdueren
                                  wrote on last edited by
                                  #26

                                  @Kubernetes said in Elasticsearch:

                                  It was a bit tricky to understand where to use the curl to create the indices. Best was to execute it inside of the container (IPADDRESS 127.0.0.1)

                                  I did that in the nextcloud apps terminal since I also set up the configuration there. But yes maybe good to clarify in the docs.

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

                                    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?

                                    andreasduerenA 1 Reply Last reply
                                    1
                                    • KubernetesK Kubernetes

                                      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?

                                      andreasduerenA Offline
                                      andreasduerenA Offline
                                      andreasdueren
                                      wrote on last edited by
                                      #28

                                      @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 1 Reply Last reply
                                      2
                                      • 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
                                          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