Topic: web GUI is down: error 502 Bad Gateway
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1 MariaDB
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu 24.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- 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.
====
Good evening,
after running and updating over years (Ubuntu18 => 20 => 22 => 24), I get following issue that I can not fix:
I noticed "accidentally" today that the management web GUI (server.domain.tld/iredadmin) of my server is down and returns "502 Badgateway nginx".
SOGo is running well (with clients and via webGUI), email jobs are running well too. Only the admin GUI is broken.
Weeks (months?) ago, I updated Ubuntu 22 => 24 without noticed issue. This tuto docs.iredmail.org/upgrade.ubuntu.22.04-24.04 was not available at this time (or I didn't see it). I can't say when exactly the issue appears. I'm not 100% sure having tested the WebGUI after the upgrade.
Today I follow the tuto, hoping it would solve the problem but unfortunately it didn't and in addition adds new problems (massive error emails were generated). I hadn't the time to inspect them, so I rolled back the status before the tuto (the server iredmail is a VM) to get the normal mails jobs running again.
What I tried / noticed:
- nginx is running
systemctl status nginx
- running version of php:
# php -v
PHP 8.3.6 (cli) (built: Dec 2 2024 12:36:18) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies
- php seems to run
# systemctl status php8.3-fpm
So, could somebody put me in the right direction?
Thanks.
Bye Arnaud
PS: I was not able to post the complete return to the systemctl status into the post: too much links...Why?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.