Topic: 502 Bad Gateway problem on /iredadmin/
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2.2 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? Deopled per git (git clone https://github.com/iredmail/iRedMail.git)
- Linux/BSD distribution name and version: Debian 4.19.118-2 (2020-04-29) x86_64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello, im sitting in front of this Problem now for days I hope someone here can help me. I would really appreciate!
So I was installing iredmail after this guide https://www.linuxbabe.com/mail-server/d … ail-server on my KVM vServer.
All this worked fine so far. I can log-in on roundcube mail, I can send and recieve mails without any Problems. /netdata/ works fine aswell.
But when I try to access /iredadmin/ I get an 502 bad gateway
nginx error.log
2020/05/16 00:47:04 [error] 598#598: *24 upstream prematurely closed connection while reading response header from upstream, client: XX.XXX.XXX.XXX, server: _, request: "GET /iredadmin HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "mail.xxxxxxx.net"
Ports are open on iptables (7791)
I thougt its a problem with uwsgi, so I installed it. But the problem still exists!
also /var/run/uwsgi/uwsgi_iredadmin.socket does not exist like mentioned in this Post (https://forum.iredmail.org/topic15374-n … teway.html)
not even the folder uwsgi exits...
So is there a fix for that, because I guess uwgsi is the Problem.
Thanks in advance!
best regards,
Reventex
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.