1

Topic: Iredadmin 1.2 - 500 error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.3.2
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian 9.13
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Maria DB
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? No
====

When I try to access iredadmin panel, I get an internal server error 500.
if I launch iredadmin manually:
python3 /opt/www/iredadmin/iredadmin.py

I have fount this Posting: https://forum.iredmail.org/topic17597-i … r-500.html

And i have done this fix:

"pip3 install -U web.py
service iredadmin restart"


Unfortunately the bug still persists

2

Re: Iredadmin 1.2 - 500 error

I get the same currently at 1.0, cannot upgrade to 1.1 or 1.2 without  500 error.

3

Re: Iredadmin 1.2 - 500 error

Any relevant error in /var/log/syslog? If not, also check other log files under /var/log/.

----

Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee

4 (edited by Almotzo 2021-01-15 02:39:40)

Re: Iredadmin 1.2 - 500 error

In the Apache2 Error Log:
[Thu Jan 14 ] [wsgi:error] [pid 15857] [remote] mod_wsgi (pid=15857): Target WSGI script '/opt/www/iredadmin/iredadmin.py' cannot be loaded as Python module.

My Solutions:

Step 1: apt-get remove libapache2-mod-wsgi
Step 2: apache2 restart (Error Config iredadmin.conf)
Step 3: apt-get install libapache2-mod-wsgi-py3  (for Phyton 3 Support)
Step 4: apache2 restart again (No Error)

iredadmin Page is running again.