Topic: iredadmin dashboard no longer works after upgrade to 1.2 from 1.0
Red Hat Enterprise Linux Server release 7.9 (Maipo)
0.9.9 MARIADB edition.
using the upgrade_iredadmin.sh tool
The upgrade appears to be successful
bash upgrade_iredadmin.sh
* Detected Linux/BSD distribution: RHEL
* HTTP server root: /opt/www
* Found iRedAdmin directory: /opt/www/iredadmin, symbol link of iRedAdmin-1.2
* Found iRedAdmin config file: /opt/www/iredadmin/settings.py
* Copying new version to /opt/www/iRedAdmin-1.2
* Copy /opt/www/iredadmin/settings.py.
cp: '/opt/www/iredadmin/settings.py' and '/opt/www/iRedAdmin-1.2/settings.py' are the same file
* Remove existing systemd service files.
* Copy systemd service file: /lib/systemd/system/iredadmin.service.
* Removing old symbol link /opt/www/iredadmin
* Creating symbol link /opt/www/iredadmin to /opt/www/iRedAdmin-1.2
* Enable mlmmj integration.
* Restarting service: mlmmjadmin.
* Check and install required packages.
* Check SQL tables, and add missed ones - if there's any
* Replace py2 by py3 in cron jobs.
* Clean up.
* Delete all existing sessions to force all admins to re-login.
* iRedAdmin has been successfully upgraded.
* Restarting iredadmin service.
Redirecting to /bin/systemctl restart iredadmin.service
* Enable service: iredadmin
Created symlink from /etc/systemd/system/multi-user.target.wants/iredadmin.service to /usr/lib/systemd/system/iredadmin.service.
* Upgrading completed.
<<< NOTE >>> If iRedAdmin doesn't work as expected, please post your issue in
<<< NOTE >>> our online support forum: http://www.iredmail.org/forum/
The web server is Nginx
The dashboard after reboot throws the following error
502 Bad Gateway
nginx
The Nginx log has the following error.
2020/12/28 14:54:07 [error] 1891#0: *276 upstream prematurely closed connection while reading response header from upstream, client: 172.16.1.233, server: _, request: "GET /iredadmin/dashboard/checknew HTTP/1.1", upstream: "uwsgi://127.0.0.1:7791", host: "172.16.1.68"p
All other web based services are working except the iredadmin dashboard. I have done multiple reboots but it may be some configuration file is corrupted or did not get moved correctly
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.