Unable to access mailbox list
-
@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?
-
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-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.
-
@nebulon
Here's what I see with devtools active:
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.
-
@scooke Thanks for the thoughts!
- No IDNs.
- 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.
- 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.
-
@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-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.
-
@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?)?
-
@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?
-
@jegillikin-0 mm, that shouldn't be the reason. But something for me to ask future users who hit the same problem.