1

Topic: Unable to access emails in iRedAdmin Pro after upgrade

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2.9
- Linux/BSD distribution name and version: Ubuntu 16
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I get an "internal server error" on the browser when trying to access domains after upgrading to the latest iRedMail and iRedAdmin.

Below are the error logs from apache

[Mon Oct 08 14:26:35.505409 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644] Traceback (most recent call last):
[Mon Oct 08 14:26:35.505454 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process
[Mon Oct 08 14:26:35.505462 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     return self.handle()
[Mon Oct 08 14:26:35.505468 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle
[Mon Oct 08 14:26:35.505473 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     return self._delegate(fn, self.fvars, args)
[Mon Oct 08 14:26:35.505479 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate
[Mon Oct 08 14:26:35.505485 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     return handle_class(cls)
[Mon Oct 08 14:26:35.505490 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class
[Mon Oct 08 14:26:35.505496 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     return tocall(*args)
[Mon Oct 08 14:26:35.505502 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/opt/www/iredadmin/controllers/sql/user.py", line 322, in GET
[Mon Oct 08 14:26:35.505507 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     _qr = mlmmj.get_subscribed_lists(mail=mail, query_all_lists=False)
[Mon Oct 08 14:26:35.505513 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/opt/www/iredadmin/libs/mlmmj/__init__.py", line 327, in get_subscribed_lists
[Mon Oct 08 14:26:35.505518 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     r = requests.get(url, params=params, headers=api_headers, verify=_verify_ssl)
[Mon Oct 08 14:26:35.505524 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/requests/api.py", line 67, in get
[Mon Oct 08 14:26:35.505529 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     return request('get', url, params=params, **kwargs)
[Mon Oct 08 14:26:35.505535 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/requests/api.py", line 53, in request
[Mon Oct 08 14:26:35.505541 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     return session.request(method=method, url=url, **kwargs)
[Mon Oct 08 14:26:35.505546 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
[Mon Oct 08 14:26:35.505552 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     resp = self.send(prep, **send_kwargs)
[Mon Oct 08 14:26:35.505557 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
[Mon Oct 08 14:26:35.505563 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     r = adapter.send(request, **kwargs)
[Mon Oct 08 14:26:35.505568 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]   File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 437, in send
[Mon Oct 08 14:26:35.505592 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]     raise ConnectionError(e, request=request)
[Mon Oct 08 14:26:35.505599 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644] ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=7790): Max retries exceeded with url: /api/subscriber/abdullah@77-m.com/subscribed?query_all_lists=no&email_only=no (Caused by NewConnectionError('<reque$
[Mon Oct 08 14:26:35.505614 2018] [wsgi:error] [pid 1434] [remote 31.166.107.107:38644]



Please advise.

----

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

2

Re: Unable to access emails in iRedAdmin Pro after upgrade

Sorry about this trouble. it’s caused by mlmmjadmin not running, you can easily fix it by start or restart mlmmjadmin service.