Topic: iRedAdmin Problem after 0.9.5(-1) Upgrade
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache2
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: /var/log/apache2/error.log
====
Hi there. After having upgraded to 0.9.5-1, I seem to have a problem with Apache and iRedAdmin. I'm not quite sure why I'm getting a 500 Internal Server Error, but the related logs for apache (/var/log/apache2/error.log) has this to say:
[Mon May 23 23:04:27.055754 2016] [core:notice] [pid 18476] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 23 23:04:33.213604 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] mod_wsgi (pid=18480): Target WSGI script '/opt/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Mon May 23 23:04:33.214114 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] mod_wsgi (pid=18480): Exception occurred processing WSGI script '/opt/www/iredadmin/iredadmin.py'.
[Mon May 23 23:04:33.214288 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] Traceback (most recent call last):
[Mon May 23 23:04:33.214408 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] File "/opt/www/iredadmin/iredadmin.py", line 9, in <module>
[Mon May 23 23:04:33.214809 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] from libs import iredbase
[Mon May 23 23:04:33.214909 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] File "/opt/www/iredadmin/libs/iredbase.py", line 18, in <module>
[Mon May 23 23:04:33.215346 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] import iredutils
[Mon May 23 23:04:33.215448 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] File "/opt/www/iredadmin/libs/iredutils.py", line 14, in <module>
[Mon May 23 23:04:33.216236 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] import settings
[Mon May 23 23:04:33.216428 2016] [wsgi:error] [pid 18480] [remote 192.168.1.1:512] ImportError: No module named settings
Anyone have any advice as to how to fix this?
Thanks in advance!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.