1

Topic: Can´t open Iredadmin

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

Hello , I tried every solution here regarding this topic but I keep getting the Gateway-Timeout 504 in 99% of my logins...

2021/02/11 12:46:02
[error] 21991#21991: *138 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 213.1x..., server: _, request: "GET /iredadmin/dashboard?checknew HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "xxx", referrer: "https://xxx/iredadmin"

----

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

2

Re: Can´t open Iredadmin

Like root, show the status:

cd /opt/www/iredadmin
rc_scripts/iredadmin.debian status

3

Re: Can´t open Iredadmin

root@mail:/opt/www/iredadmin# rc_scripts/iredadmin.debian status
iredadmin is running.
root@mail:/opt/www/iredadmin#

It´s running.

4 (edited by elmau 2021-02-20 10:02:47)

Re: Can´t open Iredadmin

ok, in the same folder, stop

rc_scripts/iredadmin.debian stop

get you public IP and test directly with:

python3 iredadmin.py

go to YOUR_IP:8080 in your browser

CTRL+C for cancel and start

rc_scripts/iredadmin.debian start

5

Re: Can´t open Iredadmin

- You should not run scripts under /opt/www/iredadmin/rc_scripts/, iRedAdmin-Pro installer or upgrade script will copy the correct one to systemd folder, then you just run "systemctl start/stop/restart iredadmin" to control it.
- What's the output of commands below?

systemctl stop iredadmin
systemctl start iredadmin
ps aux |grep iredadmin