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. How to disable Solr

How to disable Solr

Scheduled Pinned Locked Moved Solved Support
ftssolremail
13 Posts 4 Posters 2.3k Views 4 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.
    • infogulchI Offline
      infogulchI Offline
      infogulch
      wrote on last edited by girish
      #1

      I enabled Solr to try it out, but using 3GB is a bit much on my 4GB server and a bunch of my apps started crashing with OOM errors, so I need to disable it. I didn't see the option to disable it in mail settings, so I lowered the mail memory down to 512MB, which (perhaps predictably) caused even more problems and now the box app is not responding at all.

      I'm able to ssh into the server, but neither the cloudron web app nor cli works and instead gives "Login failed: Status code: 500 message: connect ECONNREFUSED 127.0.0.1:3306".

      Any ideas to un-f*** myself?

      BrutalBirdieB 1 Reply Last reply
      0
      • infogulchI infogulch

        I enabled Solr to try it out, but using 3GB is a bit much on my 4GB server and a bunch of my apps started crashing with OOM errors, so I need to disable it. I didn't see the option to disable it in mail settings, so I lowered the mail memory down to 512MB, which (perhaps predictably) caused even more problems and now the box app is not responding at all.

        I'm able to ssh into the server, but neither the cloudron web app nor cli works and instead gives "Login failed: Status code: 500 message: connect ECONNREFUSED 127.0.0.1:3306".

        Any ideas to un-f*** myself?

        BrutalBirdieB Online
        BrutalBirdieB Online
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        @infogulch hello.

        First of all what do you mean by I enabled Solr to try it out?
        If you installed solar on the root system then just uninstall it..

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #3

          Does it not work if you disable solr again by unchecking the same checkbox where you enabled it?

          infogulchI 1 Reply Last reply
          0
          • nebulonN nebulon

            Does it not work if you disable solr again by unchecking the same checkbox where you enabled it?

            infogulchI Offline
            infogulchI Offline
            infogulch
            wrote on last edited by infogulch
            #4

            @nebulon There was no checkbox. The email config page said that solr was enabled, but the button to open the config dialog was just missing.

            This button was just absent:

            b645b851-9140-420b-9ef9-859953bcbb47-image.png

            @BrutalBirdie I'm referring to the Full Text Search feature in Email settings which is powered by Solr.

            girishG 1 Reply Last reply
            0
            • infogulchI infogulch

              @nebulon There was no checkbox. The email config page said that solr was enabled, but the button to open the config dialog was just missing.

              This button was just absent:

              b645b851-9140-420b-9ef9-859953bcbb47-image.png

              @BrutalBirdie I'm referring to the Full Text Search feature in Email settings which is powered by Solr.

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

              @infogulch Clicking that button is supposed to bring up the dialog again which will let you disable solr. Do you see any errors in the browser console when you click that button?

              0cd35c9f-8c00-4bea-8d97-098a537a7637-image.png

              infogulchI 1 Reply Last reply
              0
              • girishG girish

                @infogulch Clicking that button is supposed to bring up the dialog again which will let you disable solr. Do you see any errors in the browser console when you click that button?

                0cd35c9f-8c00-4bea-8d97-098a537a7637-image.png

                infogulchI Offline
                infogulchI Offline
                infogulch
                wrote on last edited by infogulch
                #6

                @girish I'm saying the button was missing entirely. There was no button.

                the button to open the config dialog was just missing.

                Edit: to be clear, the screenshot above came directly from the cloudron.io docs pages, sorry if that was confusing.

                And I can't get to the admin page right now because it's been down since this occurred.

                girishG 1 Reply Last reply
                0
                • infogulchI infogulch

                  @girish I'm saying the button was missing entirely. There was no button.

                  the button to open the config dialog was just missing.

                  Edit: to be clear, the screenshot above came directly from the cloudron.io docs pages, sorry if that was confusing.

                  And I can't get to the admin page right now because it's been down since this occurred.

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

                  @infogulch Oh ok, so the first step is to get the admin page up. I would stop the mail container first to get back some memory, docker stop mail. Then systemctl restart box. Does this get the dashboard up? If not, can you check /home/yellowtent/platformdata/logs/box.log ?

                  infogulchI 1 Reply Last reply
                  0
                  • girishG girish

                    @infogulch Oh ok, so the first step is to get the admin page up. I would stop the mail container first to get back some memory, docker stop mail. Then systemctl restart box. Does this get the dashboard up? If not, can you check /home/yellowtent/platformdata/logs/box.log ?

                    infogulchI Offline
                    infogulchI Offline
                    infogulch
                    wrote on last edited by
                    #8

                    mail container is stopped, after systemctl restart box the logs transitioned from

                    2021-05-10T18:04:40.001Z box:apphealthmonitor run: could not check app health. connect ECONNREFUSED 127.0.0.1:3306
                    Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 1.351 ms - 217
                    Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 1.692 ms - 217
                    Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 2.145 ms - 217
                    Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 2.381 ms - 217
                    2021-05-10T18:04:50.002Z box:apphealthmonitor run: could not check app health. connect ECONNREFUSED 127.0.0.1:3306
                    Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 1.853 ms - 217
                    

                    ... into this:

                    2021-05-10T18:04:51.732Z box:box Received SIGTERM. Shutting down.
                    2021-05-10T18:04:51.733Z box:tasks stopTask: stopping all tasks
                    2021-05-10T18:04:51.734Z box:shell stopTask spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
                    2021-05-10T18:04:56.425Z box:server ==========================================
                    2021-05-10T18:04:57.946Z box:server ==========================================
                    2021-05-10T18:04:59.324Z box:server ==========================================
                    2021-05-10T18:05:00.540Z box:server ==========================================
                    2021-05-10T18:05:02.024Z box:server ==========================================
                    

                    Which if I tail the log it is still printing every second or so.

                    However the my. admin page is still returning a 503.

                    girishG 1 Reply Last reply
                    0
                    • infogulchI infogulch

                      mail container is stopped, after systemctl restart box the logs transitioned from

                      2021-05-10T18:04:40.001Z box:apphealthmonitor run: could not check app health. connect ECONNREFUSED 127.0.0.1:3306
                      Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 1.351 ms - 217
                      Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 1.692 ms - 217
                      Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 2.145 ms - 217
                      Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 2.381 ms - 217
                      2021-05-10T18:04:50.002Z box:apphealthmonitor run: could not check app health. connect ECONNREFUSED 127.0.0.1:3306
                      Box GET /api/v1/cloudron/status 500 Internal Server Error connect ECONNREFUSED 127.0.0.1:3306 1.853 ms - 217
                      

                      ... into this:

                      2021-05-10T18:04:51.732Z box:box Received SIGTERM. Shutting down.
                      2021-05-10T18:04:51.733Z box:tasks stopTask: stopping all tasks
                      2021-05-10T18:04:51.734Z box:shell stopTask spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
                      2021-05-10T18:04:56.425Z box:server ==========================================
                      2021-05-10T18:04:57.946Z box:server ==========================================
                      2021-05-10T18:04:59.324Z box:server ==========================================
                      2021-05-10T18:05:00.540Z box:server ==========================================
                      2021-05-10T18:05:02.024Z box:server ==========================================
                      

                      Which if I tail the log it is still printing every second or so.

                      However the my. admin page is still returning a 503.

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

                      @infogulch It seems the box code is crashing instantly on start up. Can you check if there is disk space (df -h) and also if mysql is running using systemctl status mysql.

                      infogulchI 1 Reply Last reply
                      0
                      • girishG girish

                        @infogulch It seems the box code is crashing instantly on start up. Can you check if there is disk space (df -h) and also if mysql is running using systemctl status mysql.

                        infogulchI Offline
                        infogulchI Offline
                        infogulch
                        wrote on last edited by
                        #10

                        @girish df -h shows 23G Avail, so I suppose it's not a full disk.

                        systemctl status mysql showed

                        ● mysql.service - MySQL Community Server
                             Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
                             Active: inactive (dead) since Sun 2021-05-09 20:01:10 UTC; 22h ago
                        

                        systemctl start mysql brought the admin page back up.

                        infogulchI 1 Reply Last reply
                        0
                        • infogulchI infogulch

                          @girish df -h shows 23G Avail, so I suppose it's not a full disk.

                          systemctl status mysql showed

                          ● mysql.service - MySQL Community Server
                               Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
                               Active: inactive (dead) since Sun 2021-05-09 20:01:10 UTC; 22h ago
                          

                          systemctl start mysql brought the admin page back up.

                          infogulchI Offline
                          infogulchI Offline
                          infogulch
                          wrote on last edited by infogulch
                          #11

                          And after starting the mail container, I was able to disable solr.

                          Everything seems to be back online again. Thanks for your help.

                          My guess is that some general slowness (perhaps due to memory overcommit and swap?) was preventing the mail app from responding to queries about its status, which I percieved as "the button didn't show up".

                          girishG 1 Reply Last reply
                          0
                          • infogulchI infogulch

                            And after starting the mail container, I was able to disable solr.

                            Everything seems to be back online again. Thanks for your help.

                            My guess is that some general slowness (perhaps due to memory overcommit and swap?) was preventing the mail app from responding to queries about its status, which I percieved as "the button didn't show up".

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

                            @infogulch said in How to disable Solr:

                            My guess is that some general slowness (perhaps due to memory overcommit and swap?) was preventing the mail app from responding to queries about its status, which I percieved as "the button didn't show up".

                            Yes, exactly this. I can actually reproduce this. If the mail container is not responding, the button is not appearing. Maybe I will show some spinner or equivalent instead of the UI disappearing with no feedback.

                            infogulchI 1 Reply Last reply
                            2
                            • girishG girish

                              @infogulch said in How to disable Solr:

                              My guess is that some general slowness (perhaps due to memory overcommit and swap?) was preventing the mail app from responding to queries about its status, which I percieved as "the button didn't show up".

                              Yes, exactly this. I can actually reproduce this. If the mail container is not responding, the button is not appearing. Maybe I will show some spinner or equivalent instead of the UI disappearing with no feedback.

                              infogulchI Offline
                              infogulchI Offline
                              infogulch
                              wrote on last edited by
                              #13

                              @girish I think that would be a good change.

                              I also think I should have gone through the Troubleshooting document sooner 😸 :

                              https://docs.cloudron.io/troubleshooting/

                              Thanks!

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