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. Support
  3. Solr+SOGo

Solr+SOGo

Scheduled Pinned Locked Moved Solved Support
mailsolr
9 Posts 2 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic was forked from Solr for full text email search is great! girish
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AartJansen
    wrote on last edited by girish
    #1

    Does solr work with sogo without any changes? Does it take a while to build an index ?
    I have a big mailbox and searching with solr enable and via sogo is very slow.
    Is there a way to view the indexing progress? I found a reference to /solr/admin/cores?action=REPORT&wt=xml
    But I have no idea of the rest of the URL might be on cloudron (or if its workable).

    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @AartJansen yes, it should work with no changes. I am not sure why it's slow though. SOLR is quite the memory and CPU hog. Do you have enough server resources to run SOLR? How large is your index? You will find the index files in /home/yellowtent/boxdata/mail/solr/dovecot .

      1 Reply Last reply
      1
      • A Offline
        A Offline
        AartJansen
        wrote on last edited by AartJansen
        #3

        Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.

        On clients server enabling solr, just goes back to disabled, so the dovecot folder doesn't exist. I had set the mail memory to 16Gb, so much more than 3Gb required. I guess thats why their search is slow.
        Is there a log to see why it wont stay enabled?
        friendcloudronservices.png

        girishG 2 Replies Last reply
        0
        • A AartJansen

          Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.

          On clients server enabling solr, just goes back to disabled, so the dovecot folder doesn't exist. I had set the mail memory to 16Gb, so much more than 3Gb required. I guess thats why their search is slow.
          Is there a log to see why it wont stay enabled?
          friendcloudronservices.png

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @AartJansen Can you SSH into the server and try this

          docker exec -it mail /bin/bash
          supervisorctl status solr
          

          If solr is not running, can you check contents of /sys/fs/cgroup/memory.max or /sys/fs/cgroup/memory/memory.limit_in_bytes (inside the mail container) ?

          A 1 Reply Last reply
          0
          • A AartJansen

            Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.

            On clients server enabling solr, just goes back to disabled, so the dovecot folder doesn't exist. I had set the mail memory to 16Gb, so much more than 3Gb required. I guess thats why their search is slow.
            Is there a log to see why it wont stay enabled?
            friendcloudronservices.png

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @AartJansen said in Solr+SOGo:

            Index here is 20480kb... is that the set limit ?, or just coincidentally exactly 20mb.

            there is no limit here. In fact, our mail server index is over 20GB.

            1 Reply Last reply
            0
            • girishG girish

              @AartJansen Can you SSH into the server and try this

              docker exec -it mail /bin/bash
              supervisorctl status solr
              

              If solr is not running, can you check contents of /sys/fs/cgroup/memory.max or /sys/fs/cgroup/memory/memory.limit_in_bytes (inside the mail container) ?

              A Offline
              A Offline
              AartJansen
              wrote on last edited by
              #6

              @girish Running those commands : solr STOPPED Not started
              memory.max 13743685632

              theres no memory.limit_in_bytes

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @AartJansen the memory limit looks OK . If the memory limit is less than 1073741824 (1GB), it will refuse to start solr. The only reason why solr might otherwise not be running is that it is disabled. Or there was an issue that the change was not applied properly. Can you try disabling solr and reenabling it in the UI?

                Otherwise, if that still doesn't work, please write to support@cloudron.io and we can investigate.

                1 Reply Last reply
                0
                • girishG girish moved this topic from Discuss on
                • girishG girish marked this topic as a question on
                • A Offline
                  A Offline
                  AartJansen
                  wrote on last edited by
                  #8

                  Yeah I've click enable a few times, and when the page refreshs it goes back to disabled. I checked the memory usage screen again this morning mail was using 99% of its 16GB, so I pushed it up to 20Gb. Seems a lot, for 10 mailboxes.
                  I'll send an email.

                  1 Reply Last reply
                  0
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    This was a regression in Cloudron 7.7. Thanks for reporting @AartJansen

                    Fixed in https://git.cloudron.io/cloudron/box/-/commit/1afa2e87ec93881ebcd1f79d83d4477467b40770

                    1 Reply Last reply
                    1
                    • girishG girish has marked this topic as solved on
                    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