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. Unable to access mailbox list

Unable to access mailbox list

Scheduled Pinned Locked Moved Solved Support
mail
18 Posts 6 Posters 2.5k Views 6 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.
  • jegillikin 0J jegillikin 0

    Gaah, sorry for the long-delayed follow up. I blame the ... oh, look, a squirrel. 🙂

    After server and Cloudron restarts, the problem persists. Email works just fine, and the email service is active and well within memory limits. I even tried a DNS resync, and a quick scan of the email logs does not suggest that anything is amiss. But when I access the Email option from the control panel menu -- regardless of the domain -- all I see is a spinning ring.

    Step 1: Click the wrench of any domain:
    4zPr9NXuoR.png

    Step 2: Get the spinny donut:
    yD0PxI3nrf.png

    The grey- and red-dotted domains are doing what they should; one is expired and will eventually be deleted, and the other has no email service through the Cloudron instance. Everything else is green, and works -- no problems with sending and receiving. I just can't enable/disable email for a new domain or configure email on a per-domain basis.

    Any insight?

    d19dotcaD Offline
    d19dotcaD Offline
    d19dotca
    wrote on last edited by
    #5

    @jegillikin-0 This may sound silly, but perhaps try in a new web browser or disable all the extensions and try again... I suggest this because it almost seems like there could be a security plugin for example (or any plugin really) that's interfering with the operation of that web page. Alternatively, perhaps looking at the logs for both the Cloudron server itself and the Mail service would be helpful, might point you in the right direction.

    --
    Dustin Dauncey
    www.d19.ca

    jegillikin 0J 1 Reply Last reply
    0
    • d19dotcaD d19dotca

      @jegillikin-0 This may sound silly, but perhaps try in a new web browser or disable all the extensions and try again... I suggest this because it almost seems like there could be a security plugin for example (or any plugin really) that's interfering with the operation of that web page. Alternatively, perhaps looking at the logs for both the Cloudron server itself and the Mail service would be helpful, might point you in the right direction.

      jegillikin 0J Offline
      jegillikin 0J Offline
      jegillikin 0
      wrote on last edited by
      #6

      @d19dotca Neither Edge nor Chrome nor Firefox nor Opera ...

      It simply isn't working, and nothing in the logs explains why.

      nebulonN girishG 2 Replies Last reply
      0
      • jegillikin 0J jegillikin 0

        @d19dotca Neither Edge nor Chrome nor Firefox nor Opera ...

        It simply isn't working, and nothing in the logs explains why.

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #7

        @jegillikin-0 this probably is an issue then in the dashboard code, not so much in the backend maybe. If you open the browser devtools, and then refresh the page, do you see any javascript errors or such?

        jegillikin 0J 1 Reply Last reply
        0
        • scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by scooke
          #8

          Are you using any IDN domains? Perhaps it's getting stuck on something like that.

          Did this work before, and now isn't? When did it stop working? do you recall if it was after adding a certain domain, or a certain email address?

          You've tried different browsers... have you tried Incognito mode (that's what it is called on Chrome)? I've been able to narrow down problems by checking things out in Incognito mode (but that means you need to have the cloudron login password ready as it won't automatically log you in!).

          Finally, having the web browsers Developers Tools window open while you are checking things out in both Incognito and regular mode can reveal some error messages that Cloudron's logs might not show.

          A life lived in fear is a life half-lived

          jegillikin 0J 1 Reply Last reply
          1
          • jegillikin 0J jegillikin 0

            @d19dotca Neither Edge nor Chrome nor Firefox nor Opera ...

            It simply isn't working, and nothing in the logs explains why.

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

            @jegillikin-0 Which version of Cloudron are you on? I remember there was a similar bug in the past but that was a while ago. The latest version is 6.3.4.

            1 Reply Last reply
            0
            • nebulonN nebulon

              @jegillikin-0 this probably is an issue then in the dashboard code, not so much in the backend maybe. If you open the browser devtools, and then refresh the page, do you see any javascript errors or such?

              jegillikin 0J Offline
              jegillikin 0J Offline
              jegillikin 0
              wrote on last edited by
              #10

              @nebulon
              Here's what I see with devtools active:
              bd642728-7e31-4dc8-bce7-3fbcc486af7d-image.png

              The domain jegillikin.com does NOT have mail configured, by design -- I use Microsoft 365 for email services. It's focused on that domain even when I click the pencil icon for a different domain.

              I'm currently on 6.3.4 on Ubuntu 18.04.4 LTS, and my subscription is active.

              nebulonN 1 Reply Last reply
              1
              • scookeS scooke

                Are you using any IDN domains? Perhaps it's getting stuck on something like that.

                Did this work before, and now isn't? When did it stop working? do you recall if it was after adding a certain domain, or a certain email address?

                You've tried different browsers... have you tried Incognito mode (that's what it is called on Chrome)? I've been able to narrow down problems by checking things out in Incognito mode (but that means you need to have the cloudron login password ready as it won't automatically log you in!).

                Finally, having the web browsers Developers Tools window open while you are checking things out in both Incognito and regular mode can reveal some error messages that Cloudron's logs might not show.

                jegillikin 0J Offline
                jegillikin 0J Offline
                jegillikin 0
                wrote on last edited by
                #11

                @scooke Thanks for the thoughts!

                1. No IDNs.
                2. Yeah, it worked as recently as six months or so ago, which was the last time I adjusted email stuff. Then I went in around when I opened this thread and ... nothing. And still nothing, after some time elapsed and upgrades/reboots.
                3. Nothing much different between InPrivate and normal browsing, nor when I disable anti-tracking plugins and allow third-party cookies on the dashboard's domain.

                I'm wondering, based on those 404s, whether I need to re-provision the API key into Digital Ocean for one of those domains. Hmm.

                1 Reply Last reply
                0
                • jegillikin 0J jegillikin 0

                  @nebulon
                  Here's what I see with devtools active:
                  bd642728-7e31-4dc8-bce7-3fbcc486af7d-image.png

                  The domain jegillikin.com does NOT have mail configured, by design -- I use Microsoft 365 for email services. It's focused on that domain even when I click the pencil icon for a different domain.

                  I'm currently on 6.3.4 on Ubuntu 18.04.4 LTS, and my subscription is active.

                  nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #12

                  @jegillikin-0 can you maybe enable remote SSH support for us and send us a mail to support@cloudron.io so I can take a direct look at this? Generally this should not fail regardless if mail is enabled or not.

                  jegillikin 0J 1 Reply Last reply
                  0
                  • nebulonN nebulon

                    @jegillikin-0 can you maybe enable remote SSH support for us and send us a mail to support@cloudron.io so I can take a direct look at this? Generally this should not fail regardless if mail is enabled or not.

                    jegillikin 0J Offline
                    jegillikin 0J Offline
                    jegillikin 0
                    wrote on last edited by
                    #13

                    @nebulon Sure -- enabled, and email sent. Thanks!

                    nebulonN 1 Reply Last reply
                    0
                    • jegillikin 0J jegillikin 0

                      @nebulon Sure -- enabled, and email sent. Thanks!

                      nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #14

                      @jegillikin-0 thanks, I am updating this thread then so others can see the details.

                      The root cause is that this domain has not entry in the mail config database table for some unknown reason. Not sure how this could have happened.

                      In either case, I've manually added that db record with:

                      mysql -uroot -ppassword box -e "INSERT INTO mail (domain, enabled, mailFromValidation, catchAllJson, relayJson, dkimSelector, bannerJson) VALUES ('example.com', 0, 0, NULL, NULL, 'cloudron', NULL);"
                      

                      and things are working now as expected. I will see how to ensure the dashboard does not break entirely when this happens.

                      jegillikin 0J girishG 2 Replies Last reply
                      3
                      • nebulonN nebulon

                        @jegillikin-0 thanks, I am updating this thread then so others can see the details.

                        The root cause is that this domain has not entry in the mail config database table for some unknown reason. Not sure how this could have happened.

                        In either case, I've manually added that db record with:

                        mysql -uroot -ppassword box -e "INSERT INTO mail (domain, enabled, mailFromValidation, catchAllJson, relayJson, dkimSelector, bannerJson) VALUES ('example.com', 0, 0, NULL, NULL, 'cloudron', NULL);"
                        

                        and things are working now as expected. I will see how to ensure the dashboard does not break entirely when this happens.

                        jegillikin 0J Offline
                        jegillikin 0J Offline
                        jegillikin 0
                        wrote on last edited by
                        #15

                        @nebulon

                        Many thanks for the prompt assist -- all is now well in the world. 🙂

                        1 Reply Last reply
                        1
                        • nebulonN nebulon

                          @jegillikin-0 thanks, I am updating this thread then so others can see the details.

                          The root cause is that this domain has not entry in the mail config database table for some unknown reason. Not sure how this could have happened.

                          In either case, I've manually added that db record with:

                          mysql -uroot -ppassword box -e "INSERT INTO mail (domain, enabled, mailFromValidation, catchAllJson, relayJson, dkimSelector, bannerJson) VALUES ('example.com', 0, 0, NULL, NULL, 'cloudron', NULL);"
                          

                          and things are working now as expected. I will see how to ensure the dashboard does not break entirely when this happens.

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

                          @nebulon said in Unable to access mailbox list:

                          Not sure how this could have happened.

                          This used to happen in some old releases which tried to remove a domain without a database transaction. @jegillikin-0 Do you happen to remember if you tried to delete this domain by any chance (which would have failed partially but not have given you correct feedback?)?

                          jegillikin 0J 1 Reply Last reply
                          0
                          • girishG girish

                            @nebulon said in Unable to access mailbox list:

                            Not sure how this could have happened.

                            This used to happen in some old releases which tried to remove a domain without a database transaction. @jegillikin-0 Do you happen to remember if you tried to delete this domain by any chance (which would have failed partially but not have given you correct feedback?)?

                            jegillikin 0J Offline
                            jegillikin 0J Offline
                            jegillikin 0
                            wrote on last edited by
                            #17

                            @girish Come to think of it, I didn't try to delete it, but one of the domains is no longer active in DNS and I removed it entirely from Digital Ocean, but I never bothered to remove it from Cloudron. So I suppose the API is calling nothing. Would that make a difference?

                            girishG 1 Reply Last reply
                            0
                            • jegillikin 0J jegillikin 0

                              @girish Come to think of it, I didn't try to delete it, but one of the domains is no longer active in DNS and I removed it entirely from Digital Ocean, but I never bothered to remove it from Cloudron. So I suppose the API is calling nothing. Would that make a difference?

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

                              @jegillikin-0 mm, that shouldn't be the reason. But something for me to ask future users who hit the same problem.

                              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