1 (edited by info@2secure.biz 2018-12-21 07:46:14)

Topic: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version:  Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mariadb
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hello,

When accessing /mail np.
When accessing /iredadmin get that error.

services running:
nginx
php7.0-fpm
uwsgi
nginx.log file:

2018/12/20 16:27:10 [error] 1300#1300: *23 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.15, server: _, request: "GET /iredadmin HTTP/1.1", upstream:$
2018/12/20 18:01:03 [error] 1300#1300: *27 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.15, server: _, request: "GET /iredadmin HTTP/1.1", upstream:$
2018/12/20 18:01:05 [error] 1300#1300: *27 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.15, server: _, request: "GET /iredadmin HTTP/1.1", upstream:$
2018/12/20 18:09:01 [error] 1300#1300: *48 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.15, server: _, request: "GET /iredadmin HTTP/1.1", upstream:$
2018/12/20 18:09:02 [error] 1300#1300: *48 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.15, server: _, request: "GET /iredadmin HTTP/1.1", upstream:$
2018/12/20 18:09:13 [error] 1300#1300: *48 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.10.15, server: _, request: "GET /iredadmin HTTP/1.1", upstream:$

Thanks/ Yigal

----

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

2

Re: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

Is "iredadmin" service running?

iRedAdmin (and iRedAdmin-Pro) is now running as a standalone service named "iredadmin". Please try to restart it then try again.

3

Re: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

unit iredadmin.service not found.

4

Re: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

- Did you upgrade iRedMail to the latest 0.9.9?
- Try to download iRedAdmin-0.9.3 and upgrade: https://dl.iredmail.org/yum/misc/iRedAd … .3.tar.bz2
  upgrade tutorial: https://docs.iredmail.org/migrate.or.up … admin.html

5

Re: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

ZhangHuangbin wrote:

- Did you upgrade iRedMail to the latest 0.9.9?
- Try to download iRedAdmin-0.9.3 and upgrade: https://dl.iredmail.org/yum/misc/iRedAd … .3.tar.bz2
  upgrade tutorial: https://docs.iredmail.org/migrate.or.up … admin.html

no upgrade. downloaded and installed 0.9.9 on a fresh system.

6

Re: 502 Bad Gateway when accessing iredadmin iredadmin 0.9.9

info@2secure.biz wrote:
ZhangHuangbin wrote:

- Did you upgrade iRedMail to the latest 0.9.9?
- Try to download iRedAdmin-0.9.3 and upgrade: https://dl.iredmail.org/yum/misc/iRedAd … .3.tar.bz2
  upgrade tutorial: https://docs.iredmail.org/migrate.or.up … admin.html

no upgrade. downloaded and installed 0.9.9 on a fresh system.

This worked for me. Debian9 had same error, no iredamin installed. Downloaded the file and installed. Download and run bash upgrade_iredadmin.sh from the tools folder. Thanks.