1

Topic: Errors when trying to access settings to Domains.

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

I keep getting internal server error and cant figure it out. The logs are as follows

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class
    return tocall(*args)
  File "/usr/share/apache2/iredadmin/controllers/decorators.py", line 11, in proxyfunc
    return func(self, *args, **kw)
  File "/usr/share/apache2/iredadmin/controllers/mysql/domain.py", line 147, in GET
    domain_settings=iredutils.convert_sql_account_settings_to_dict(domain_profile['settings']),
KeyError: 'settings'

2

Re: Errors when trying to access settings to Domains.

Please upgrade iRedMail to the latest stable release (iRedMail-0.8.7) first, there're some SQL structure change in this release.

3

Re: Errors when trying to access settings to Domains.

Updating the tables in the mysql fixed it. Thanks!