Topic: Error 500 when accessing iredadmin
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: CentOS Linux release 7.6.1810 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? 3.1 ()
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Suddenly without a warning our admin panel decided to quit. As far as I know there were no changes done. We restarted the following services:
service iredapd restart && service memcached restart && service uwsgi restart && service nginx restart
Logfiles
Feb 10 12:45:13 pepper uwsgi: Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process#012 return self.handle()#012 File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle#012 return self._delegate(fn, self.fvars, args)#012 File "/usr/lib/python2.7/site-packages/web/application.py", line 416, in _delegate#012 mod = __import__(mod, None, None, [''])#012 File "/var/www/iRedAdmin-Pro-SQL-3.1/controllers/sql/basic.py", line 15, in <module>#012 from libs.sqllib import utils as sql_lib_utils#012 File "/var/www/iRedAdmin-Pro-SQL-3.1/libs/sqllib/utils.py", line 9, in <module>#012 from libs.sqllib import user as sql_lib_user#012 File "/var/www/iRedAdmin-Pro-SQL-3.1/libs/sqllib/user.py", line 18, in <module>#012 from libs import mlmmj#012 File "/var/www/iRedAdmin-Pro-SQL-3.1/libs/mlmmj/__init__.py", line 1, in <module>#012 qr = get_subscribed_lists(mail=subscriber, email_only=True)#012NameError: name 'get_subscribed_lists' is not defined
Feb 10 12:45:13 pepper uwsgi: #002
Feb 10 12:45:13 pepper uwsgi: pepper.mailknecht.net [pid: 1406|app: 1|req: 22/32] 88.152.92.69 () {52 vars in 856 bytes} [Sun Feb 10 12:45:13 2019] GET /iredadmin => generated 21 bytes in 30 msecs (HTTP/1.1 500) 2 headers in 165 bytes (2 switches on core 0)
________________________________
88.152.92.69 - - [10/Feb/2019:11:32:59 +0100] "GET /iredadmin HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15"
88.152.92.69 - - [10/Feb/2019:11:33:00 +0100] "GET /iredadmin HTTP/1.1" 500 32 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15"
Any ideas?
TIA Jens
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.