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. WordPress (Developer)
  3. Wordpress site not responding - Healtheck error: Error: connect ECONNREFUSED

Wordpress site not responding - Healtheck error: Error: connect ECONNREFUSED

Scheduled Pinned Locked Moved Solved WordPress (Developer)
wordpress
12 Posts 2 Posters 2.3k Views 2 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.
    • E Offline
      E Offline
      eddowding
      wrote on last edited by
      #1

      This is rather odd. I've been working on the site all day and must have just done something to upset it.

      1. it was stuck in a loop and not allowing access to admin -> No Update Required - Your WordPress database is already up to date! -> boot to home page
      2. restarted redis & app
      3. app failed to restart
      4. disabled all plugins using wp cli
      5. app now totally unresponsive. Logs say "Healtheck error: Error: connect ECONNREFUSED"

      Pointers appreciated.

      girishG 1 Reply Last reply
      0
      • E eddowding

        This is rather odd. I've been working on the site all day and must have just done something to upset it.

        1. it was stuck in a loop and not allowing access to admin -> No Update Required - Your WordPress database is already up to date! -> boot to home page
        2. restarted redis & app
        3. app failed to restart
        4. disabled all plugins using wp cli
        5. app now totally unresponsive. Logs say "Healtheck error: Error: connect ECONNREFUSED"

        Pointers appreciated.

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

        @eddowding If you restart the app, don't you see any errors in the logs ?

        Another idea is put the app in recovery mode and then in web terminal, start it manually with /app/pkg/start.sh. That will tell you if there where it's stopping.

        E 1 Reply Last reply
        0
        • girishG girish

          @eddowding If you restart the app, don't you see any errors in the logs ?

          Another idea is put the app in recovery mode and then in web terminal, start it manually with /app/pkg/start.sh. That will tell you if there where it's stopping.

          E Offline
          E Offline
          eddowding
          wrote on last edited by eddowding
          #3

          @girish thanks!

          Success: Value passed for 'home' option is unchanged.
          ==> Configuring LDAP
          => Configuring WP Mail SMTP plugin
          Error: Could not update option 'wp_mail_smtp'
          

          I just tried deleting the plugin, then start.sh and same outcome

          girishG 1 Reply Last reply
          0
          • girishG girish moved this topic from Support on
          • E eddowding

            @girish thanks!

            Success: Value passed for 'home' option is unchanged.
            ==> Configuring LDAP
            => Configuring WP Mail SMTP plugin
            Error: Could not update option 'wp_mail_smtp'
            

            I just tried deleting the plugin, then start.sh and same outcome

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

            @eddowding Looks like you configure the SMTP plugin to use another mail provider (i.e not send mails via Cloudron). When you do this, Cloudron is unable to update the mail config settings inside WP.

            The solution is to just disable mail configuration by Cloudron - https://docs.cloudron.io/apps/#mail-from-address . "Do not configure app's mail settings" . Alternately, you can configure email relay in Cloudron.

            E 1 Reply Last reply
            0
            • girishG girish

              @eddowding Looks like you configure the SMTP plugin to use another mail provider (i.e not send mails via Cloudron). When you do this, Cloudron is unable to update the mail config settings inside WP.

              The solution is to just disable mail configuration by Cloudron - https://docs.cloudron.io/apps/#mail-from-address . "Do not configure app's mail settings" . Alternately, you can configure email relay in Cloudron.

              E Offline
              E Offline
              eddowding
              wrote on last edited by
              #5

              @girish That's interesting. But I didn't change anything... and there are no other mail configs or plugins. 😕

              girishG 2 Replies Last reply
              0
              • E eddowding

                @girish That's interesting. But I didn't change anything... and there are no other mail configs or plugins. 😕

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

                @eddowding When I checked, it was configured to use mailgun or something I think? Unfortunately, I didn't quite make a note of it. If you are not customizing it, can we try enabling Cloudron email back on? Does it fail again?

                1 Reply Last reply
                0
                • E eddowding

                  @girish That's interesting. But I didn't change anything... and there are no other mail configs or plugins. 😕

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

                  @eddowding OK, what I found is that old installation of Cloudron WP package used wp-mail-smtp plugin. We have since switched to smtp-mailer plugin. Your instance was still using the old one and apparently it has some trouble updating it's settings. I am not sure why.

                  What I did now was:

                  • Deleted the wp-mail-smtp plugin
                  • Ran, wp --path=/app/data/public/ plugin install /app/pkg/smtp-mailer.zip
                  • Then, wp --path=/app/data/public/ plugin activate smtp-mailer

                  That fixes it.

                  E 1 Reply Last reply
                  2
                  • girishG girish

                    @eddowding OK, what I found is that old installation of Cloudron WP package used wp-mail-smtp plugin. We have since switched to smtp-mailer plugin. Your instance was still using the old one and apparently it has some trouble updating it's settings. I am not sure why.

                    What I did now was:

                    • Deleted the wp-mail-smtp plugin
                    • Ran, wp --path=/app/data/public/ plugin install /app/pkg/smtp-mailer.zip
                    • Then, wp --path=/app/data/public/ plugin activate smtp-mailer

                    That fixes it.

                    E Offline
                    E Offline
                    eddowding
                    wrote on last edited by
                    #8

                    @girish thank you! I'm still stuck in this loop when I login though. I appreciate it's a differentish issue, but it feels related.

                    7b9e7822-ce7e-45d3-b096-522fdc9f1515-image.png

                    girishG 1 Reply Last reply
                    0
                    • E eddowding

                      @girish thank you! I'm still stuck in this loop when I login though. I appreciate it's a differentish issue, but it feels related.

                      7b9e7822-ce7e-45d3-b096-522fdc9f1515-image.png

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

                      @eddowding oh, I think this is something else. The initial issue was just the app not starting at all because of the packaging script.

                      What happens if you click Continue? It keeps dropping you into the same screen ? This seems something in WP though, have you tried disabling all plugins altogether ?

                      E 1 Reply Last reply
                      0
                      • girishG girish

                        @eddowding oh, I think this is something else. The initial issue was just the app not starting at all because of the packaging script.

                        What happens if you click Continue? It keeps dropping you into the same screen ? This seems something in WP though, have you tried disabling all plugins altogether ?

                        E Offline
                        E Offline
                        eddowding
                        wrote on last edited by eddowding
                        #10

                        @girish all plugins are disabled. The loop is eternal:
                        https://app.usebubbles.com/uMbhuxSPkNEn39YMRTx2QB/ctl-can-t-login-issue

                        Also searching for this yields nothing.

                        girishG 1 Reply Last reply
                        0
                        • E eddowding

                          @girish all plugins are disabled. The loop is eternal:
                          https://app.usebubbles.com/uMbhuxSPkNEn39YMRTx2QB/ctl-can-t-login-issue

                          Also searching for this yields nothing.

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

                          @eddowding I see. Not sure what will keep it looping, then. The developer package is just a LAMP app with WP installed by default. After that, it doesn't actually do anything.

                          Many sites are suggesting this is a caching issue. https://www.wpkube.com/how-to-fix-the-no-update-required-your-wordpress-database-is-already-up-to-date-error/ Can you try the suggestions there? Did you use any caching plugin previously?

                          E 1 Reply Last reply
                          1
                          • girishG girish

                            @eddowding I see. Not sure what will keep it looping, then. The developer package is just a LAMP app with WP installed by default. After that, it doesn't actually do anything.

                            Many sites are suggesting this is a caching issue. https://www.wpkube.com/how-to-fix-the-no-update-required-your-wordpress-database-is-already-up-to-date-error/ Can you try the suggestions there? Did you use any caching plugin previously?

                            E Offline
                            E Offline
                            eddowding
                            wrote on last edited by
                            #12

                            @girish WHOOP!! deleteing object-cache.php solved it! Thank you so much!!!

                            1 Reply Last reply
                            1
                            • nebulonN nebulon marked this topic as a question on
                            • nebulonN nebulon 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