Topic: Upgrading IredAdminPro from 4.2 to 4.7 - Server 500 error
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.12
- Deployed with iRedMail Easy or the downloadable installer? Downloadable
- Linux/BSD distribution name and version: Ubuntu 18.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mySQl
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
On upgrading from 1.1 Iredmail to Iredmail 1.2 - enabled Fail2ban.
Tried iRedAdminPro - Opend, then Show Banned IP address - Server error.
So upgraded IredAdminPro from 4.2 to 4.7 and now 500 Server error when opening IredAdmin
error.log
mod_wsgi (pid=1581): Target WSGI script '/opt/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
mod_wsgi (pid=1581): Exception occurred processing WSGI script '/opt/www/iredadmin/iredadmin.py'.
Traceback (most recent call last):
File "/opt/www/iredadmin/iredadmin.py", line 8, in <module>
from libs import iredbase
File "/opt/www/iredadmin/libs/iredbase.py", line 18, in <module>
from . import iredutils
File "/opt/www/iredadmin/libs/iredutils.py", line 92
def is_auth_email(s) -> bool:
^
SyntaxError: invalid syntax
Please advise.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.