1

Topic: After upgrading to iRedAdmin-Pro-2.1.1 login returned as plain text

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

I have upgraded iRedAdmin-Pro from 2.0 to 2.1.1
Initial error (from /var/log/apache2/error.log) ;
mod_wsgi: Target WSGI script /usr/share/apache2/iredadmin/iredadmin.py can not be loaded as Python module

Attempts to run this script in stand-alone mode also failed.

After changing permissions on /usr/share/apache2/iredadmin/settings.py to 444 stand-alone version began to work fine, but if used with apache, it returns login page as plain text instead of text/html.

Apache runs as www-data, iredadmin is owned as irderadmin.iredadmin

Can you suggest what might be causing this issue? Thanks.

2

Re: After upgrading to iRedAdmin-Pro-2.1.1 login returned as plain text

lenmaxco wrote:

Initial error (from /var/log/apache2/error.log) ;
mod_wsgi: Target WSGI script /usr/share/apache2/iredadmin/iredadmin.py can not be loaded as Python module

Please show us context log before/after this line.

lenmaxco wrote:

Attempts to run this script in stand-alone mode also failed.

And the error message?