1 (edited by kivial 2014-02-04 15:59:21)

Topic: "500 Internal Server Error" when accessing /iredadmin after 1.8.1 upg

======== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.4
- Related log if you're reporting an issue:
====

Dear all,

I just upgraded iRedAdmin-Pro from 1.7.0 to 1.8.1, but when I try to access <domain>/iredadmin, I receive a 500 Internal Server Error.

Here is an excerpt from the ssl_error_log of the webserver:

[Tue Feb 04 08:44:34 2014] [error] [client x] mod_wsgi (pid=6298): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Tue Feb 04 08:44:34 2014] [error] [client x] mod_wsgi (pid=6298): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
[Tue Feb 04 08:44:34 2014] [error] [client x] Traceback (most recent call last):
[Tue Feb 04 08:44:34 2014] [error] [client x]   File "/var/www/iredadmin/iredadmin.py", line 8, in <module>
[Tue Feb 04 08:44:34 2014] [error] [client x]     from libs import iredbase
[Tue Feb 04 08:44:34 2014] [error] [client x]   File "/var/www/iredadmin/libs/iredbase.py", line 21, in <module>
[Tue Feb 04 08:44:34 2014] [error] [client x]     web.config.debug = settings.DEBUG
[Tue Feb 04 08:44:34 2014] [error] [client x] AttributeError: 'module' object has no attribute 'DEBUG'

If I delete the link to iRedAdmin-Pro 1.8.1 and make it back to version 1.7.0, after restarting the webserver everything's ok.
System is updated with latest versions of the software installed.

Thank you if you can help me on this matter!

Best regards,

Luca

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: "500 Internal Server Error" when accessing /iredadmin after 1.8.1 upg

Hi kivial,

Sorry about this trouble. Did you restart Apache service after upgraded iRedAdmin-Pro?

3

Re: "500 Internal Server Error" when accessing /iredadmin after 1.8.1 upg

Hi Zhang,

as I was having troubles with cluebringer too, I reinstalled the last version of iredmail from scratch (backing up and restoring the dbs), and now everything's ok!
Thank you.

ZhangHuangbin wrote:

Hi kivial,

Sorry about this trouble. Did you restart Apache service after upgraded iRedAdmin-Pro?