1

Topic: internal server error after iredadmin login

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.0
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 10 Buster
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
when I login in iredadmin I only get an internal server error.

In /var/log/messages I found the following error:

Traceback (most recent call last):
#012  File "/usr/lib/python2.7/dist-packages/web/application.py", line 287, in process
#012    return p(lambda: process(processors))
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 97, in _processor
#012    self._load()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 113, in _load
#012    self._check_expiry()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 136, in _check_expiry
#012    return self.expired()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 209, in expired
#012    self._save()
#012  File "/usr/lib/python2.7/dist-packages/web/session.py", line 147, in _save
#012    del current_values["ip"]
#012KeyError: 'ip'

Any idea what's the problem?

----

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

2

Re: internal server error after iredadmin login

Could you try this fix?
https://github.com/iredmail/iRedAdmin/c … d7cbbc1bc3

Restarting "iredadmin" service is required after changed any *.py file.

3

Re: internal server error after iredadmin login

Thanks for the fix, we had exactly the same problem on the same config ^_^