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?

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.

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

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

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee