1

Topic: Error 502 Bad Gateway

Log nginx:
2019/03/08 21:43:48 [error] 12595#0: *2 upstream prematurely closed connection while reading response header from upstream, client: 171.241.22.14, server: webmail.drhaile.vn, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://unix:/var/run/uwsgi/uwsgi_iredadmin.socket:", host: "webmail.drhaile.vn"
Please help me why?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error 502 Bad Gateway

iRedAdmin(-Pro) is now a standalone service called "iredadmin", it's not ran by uwsgi service anymore, you need to replace  "uwsgi://unix:/var/run/uwsgi/uwsgi_iredadmin.socket" by "127.0.0.1:7791" in /etc/nginx/templates/iredadmin*.tmpl.

3

Re: Error 502 Bad Gateway

My version is 0.9.0
Can be upgraded from 0.9.0 to 0.9.9?
How to solve this problem
Thanks you

4

Re: Error 502 Bad Gateway

cuongpv1984 wrote:

My version is 0.9.0
Can be upgraded from 0.9.0 to 0.9.9?

Upgrade to 0.9.1 first, then 0.9.2, then 0.9.3, and so on.
All upgrade tutorials are available here:
https://docs.iredmail.org/iredmail.releases.html