1

Topic: internal server error after upgrade to iRedMail-0.8.7

==== Required information ====
- iRedMail version: 0.8.7  (mysql pro 1.8.1)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7.5
- Related log if you're reporting an issue:
====

After the upgrade from 0.8.6 to 0.8.7

If i click on a domain to manage it on the pro gui i see:

internal server error

apache error log:
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x] Traceback (most recent call last):
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in process
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return self.handle()
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 230, in handle
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return self._delegate(fn, self.fvars, args)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 420, in _delegate
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return handle_class(cls)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/lib/python2.7/dist-packages/web/application.py", line 396, in handle_class
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return tocall(*args)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/share/apache2/iredadmin/controllers/decorators.py", line 11, in proxyfunc
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return func(self, *args, **kw)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/share/apache2/iredadmin/controllers/mysql/domain.py", line 155, in GET
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     msg=i.get('msg'),
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 187, in render_template
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return jinja_env.get_template(template_name).render(context)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return self.environment.handle_exception(exc_info, True)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/share/apache2/iredadmin/libs/../templates/default/mysql/domain/profile.html", line 36, in top-level template code
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     {% from "macros/msgHandlers.html" import domainMsgHandler with context %}
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/share/apache2/iredadmin/libs/../templates/default/layout.html", line 156, in top-level template code
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     {% block main %}{% endblock %}
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/share/apache2/iredadmin/libs/../templates/default/mysql/domain/profile.html", line 506, in block "main"
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     {% set defaultUserAliases = profile.defaultuseraliases.split(',') %}
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]   File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 372, in getattr
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]     return getattr(obj, attribute)
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x] UndefinedError: 'web.utils.Storage object' has no attribute 'defaultuseraliases'
[Wed May 14 11:12:54 2014] [error] [client x.x.x.x]


Whant do i miss?

GaXy

----

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 upgrade to iRedMail-0.8.7

So sorry about this issue.
I will release new version of iRedAdmin-Pro tomorrow, please upgrade iRedAdmin-Pro to fix this issue.

3

Re: internal server error after upgrade to iRedMail-0.8.7

will do so, no problem.

4

Re: internal server error after upgrade to iRedMail-0.8.7

Hi gaxy,

iRedAdmin-Pro-MySQL-1.8.2 is now available, please follow our tutorial to upgrade it:
http://www.iredmail.org/wiki/index.php? … .8.1-1.8.2

5

Re: internal server error after upgrade to iRedMail-0.8.7

works for me