504 Gateway Time-out nginx - upstream timed out

Hi,
i have a problem with roundcube.

I install mail in a box. Install OK and admin section is OK. Mail server works fine but roundcube not work. If i login to mailbox, firefox show 504 Gateway Time-out nginx.

In nginx log is:
2018/09/13 08:31:36 [error] 18342#18342: *15 upstream timed out (110: Connection timed out) while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: mail.my.domain.cz, request: “POST /mail/?_task=login HTTP/2.0”, $2.0", upstream: “fastcgi://unix:/var/run/php/php7.0-fpm.sock”, host: “mail.my.domain.cz”, referrer: “https://mail.my.domain.cz/mail/?_task=login

Sorry for my bad english.

Also having this issue after rerunning sudo mailinabox to fix the Lets Encrypt error for accepting the ToS.

Older posts suggested logging into the specific account with nextcloud before roundcube as a fix. Can confirm it works.

edit: This worked for some accounts, other accounts won’t login at all. Anyone have solutions?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.