Topic: iRedAdmin Internal Server Error
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3
- Deployed with iRedMail Easy or the downloadable installer? downloadable-installer
- Linux/BSD distribution name and version: Debian 9.12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
Apache error.log:
SyntaxError: invalid syntax
mod_wsgi (pid=824): Target WSGI script '/opt/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
mod_wsgi (pid=824): Exception occurred processing WSGI script '/opt/www/iredadmin/iredadmin.py'.
Traceback (most recent call last):
File "/opt/www/iredadmin/iredadmin.py", line 9, in <module>
from libs import iredbase
File "/opt/www/iredadmin/libs/iredbase.py", line 202
except Exception, e:
^
SyntaxError: invalid syntax
====
Hi Guys,
Today i decide that i needed to update iRedMail to the latest version which meant i had to update Debian from version 8 to 9 so after a backup i proceeded to follow a guide to update Debian and it all is working well apart from access to the iredadmin page where i get an internal server error. I did read that i had to install a new python version which i have done and i have updated WSGI to the python3 version but it hasn't fixed my issue. Could i be missing any python3 dependencies?
I am using mod_wsgi 4.5.11 with Python/3.5.
Any help getting iredadmin working again would be amazing.
Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.