SOLVED Unable to access mailbox list
jegillikin 0 last edited by girish
I've been trying to add an email address, but from the control panel, when I go to the Email menu, I can't edit any of the email settings for any of my associated domains. I can see all eight domains, and I can send a test message from any of them, but clicking the pencil icon to edit them just sends me to a page with a spinning ring that never resolves.
Anyone have advice on how to fix this problem?
(Yes, I've already tried rebooting the Cloudron server.)
@jegillikin-0 do you see any errors in the browser console? also, if you go to the Services view, do you see
micmc last edited by
What browser are you using, have you tried different ones and getting the same result?
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:
Step 2: Get the spinny donut:
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.
d19dotca last edited by
@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.
@d19dotca Neither Edge nor Chrome nor Firefox nor Opera ...
It simply isn't working, and nothing in the logs explains why.
scooke last edited by 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-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.
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.
@nebulon Sure -- enabled, and email sent. Thanks!
@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
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.
Many thanks for the prompt assist -- all is now well in the world.
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.