Login to a blank page
Hello, just installed Sogo. Logged in for the first time and all I get is a blank page.
Logs show a lot of " No child available to handle incoming request!"
Anyone have any ideas?
When I google the problem I see a lot of editing the 'PREFORK=' in /etc/default/sogo to start more workers but there is no such file.
@brynjar can you retarting the app (it's in the Repair section) ? Also, maybe try giving it a bit more memory (under Resources).
@girish I have restarted, given it up to 4GB of ram and tried re installing. Always the same result.
@brynjar So, what you can do is open a web terminal. Then edit the file
/run/sogo.conf. Then you can do
supervisorctl restart allin the web terminal. This is not the final fix, but atleast it will help figure if that WOWorkersCount fixes it for you.
FWIW, I tried installing SOGo now on a couple of cloudrons and it seems to install fine. Strange.
@girish Did not help, now all I get is
"[WARN] <0x0x55e73349a5b0[WOWatchDog]> listening socket: attempt 5 failed"
@girish This error is common to
"Feb 12 19:12:35 Feb 12 19:12:35 sogod : [WARN] <0x0x55be928acad0[WOWatchDogChild]> pid 39 has been hanging in the same request for 1 minutes
Feb 12 19:12:35 Feb 12 19:12:35 sogod : [WARN] <0x0x55be9281e400[WOWatchDogChild]> pid 36 has been hanging in the same request for 1 minutes"
@brynjar Is there anything interesting in
/run/sogo.log(in the app's web terminal)?
"Feb 12 19:28:28 sogod : [ERROR] <0x55a7b4350e20[SOGoMailAccount]:0> Could not connect IMAP4
Feb 12 19:28:28 sogod : [ERROR] <0x55a7b3d5f3d0[SOGoMailAccount]:0> Could not connect IMAP4"
"Feb 12 19:30:03 sogod : [ERROR] <0x0x55a7b3a2bcd0[NGImap4ConnectionManager]> IMAP4 login failed:"
@girish Hmm strange, for some reason the old MX settings are active. I am going to look into it further.
also, SOGo is meant to work only with the Cloudron mail server and the package pre-configures for login with the mail server.
@girish Going directly to the mail url changed nothing, still blank. I tried connecting to IMAP with Thunderbird and I get my mail fine so the problem is not IMAP. More like Sogo is not able to talk to it maby?
In dns my old mail server and the new cloudron were both added and with same priority, 10. I deleted the old server from dns.
@girish I see the sogo server is trying to log in to my main url. The server is not directly connected to its external ip, it is behind nat. Can that be causing this?
@brynjar Do you know if hairpin routing works on your setup? Essentially, you should be able to curl the external IP from the Cloudron. Does that work? You can try
curl https://my.domain.comfrom the server. If that doesn't work, then I can provide some alternate solutions.
@girish I get this:
<head><title>301 Moved Permanently</title></head>
<center><h1>301 Moved Permanently</h1></center>
@brynjar Did you do http by any chance or was it https? Can you paste the output of
curl -v https://my.domain.com(maybe remove any sensitive stuff). But I feel this is probably your router login page or something, let's see.
@girish This is from http - https gives an ssl error.
"curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
curl -kv https://my.domain.comthen (-k will accept self-signed cert)