1

Topic: iredadmin problem after upgrade to Pro

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version:  FreeBSD
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue: /var/log/httpd-error.log
====

Yesterday I solved a similar problem with the following:

Re: Problem with iRedAdmin on fresh install


Fixed on Aug 17:
https://bitbucket.org/zhb/iredadmin-ose … 675484c5e0

Open file templates/default/macros/general.html, remove macro `display_per_user_wblist`.


But today after upgrading to iRedAdmin Pro 2.1.3 I am getting a similar problem, it log in and shows me the initial page but once I click on domains for example, I get the 500 error. I have gone and removed the per-user wblist macro and it can access the first page of the admin panel (dashboard) but as soon as I click on anything like the domain name in order to manage it, I get the HTTP 500 Internal Server Error.

Is there anything else I need to remove? (or add?)

----

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

2

Re: iredadmin problem after upgrade to Pro

What's the related log in Apache log file?

3

Re: iredadmin problem after upgrade to Pro

[Wed Sep 02 07:45:22.145650 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0] Traceback (most recent call last):
[Wed Sep 02 07:45:22.145680 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 239, in process
[Wed Sep 02 07:45:22.145685 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return self.handle()
[Wed Sep 02 07:45:22.145690 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
[Wed Sep 02 07:45:22.145699 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return self._delegate(fn, self.fvars, args)
[Wed Sep 02 07:45:22.145703 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 420, in _delegate
[Wed Sep 02 07:45:22.145707 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return handle_class(cls)
[Wed Sep 02 07:45:22.145728 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 396, in handle_class
[Wed Sep 02 07:45:22.145732 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return tocall(*args)
[Wed Sep 02 07:45:22.145735 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/controllers/decorators.py", line 22, in proxyfunc
[Wed Sep 02 07:45:22.145739 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return func(self, *args, **kw)
[Wed Sep 02 07:45:22.145748 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/controllers/sql/domain.py", line 212, in GET
[Wed Sep 02 07:45:22.145752 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     msg=i.get('msg'),
[Wed Sep 02 07:45:22.145759 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/iredbase.py", line 196, in render_template
[Wed Sep 02 07:45:22.145764 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return jinja_env.get_template(template_name).render(context)
[Wed Sep 02 07:45:22.145769 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
[Wed Sep 02 07:45:22.145776 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     return self.environment.handle_exception(exc_info, True)
[Wed Sep 02 07:45:22.145784 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
[Wed Sep 02 07:45:22.145789 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     reraise(exc_type, exc_value, tb)
[Wed Sep 02 07:45:22.145793 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/../templates/default/sql/domain/profile.html", line 43, in top-level template code
[Wed Sep 02 07:45:22.145797 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     {% from "macros/msgHandlers.html" import domainMsgHandler with context %}
[Wed Sep 02 07:45:22.145801 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/../templates/default/layout.html", line 162, in top-level template code
[Wed Sep 02 07:45:22.145806 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     {% block main %}{% endblock %}
[Wed Sep 02 07:45:22.145809 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/../templates/default/sql/domain/profile.html", line 446, in block "main"
[Wed Sep 02 07:45:22.145814 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     {{ display_per_account_wblist(values=whitelists,
[Wed Sep 02 07:45:22.145818 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0] UndefinedError: the template 'macros/general.html' (imported on line 3 in 'sql/domain/profile.html') does not export the requested name 'display_per_account_wblist'
[Wed Sep 02 07:45:22.145828 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]

4

Re: iredadmin problem after upgrade to Pro

Fixed on Aug 17:
https://bitbucket.org/zhb/iredadmin-ose … 675484c5e0

Open file templates/default/macros/general.html, remove the last macro: display_per_user_wblist.

5

Re: iredadmin problem after upgrade to Pro

ZhangHuangbin wrote:

Fixed on Aug 17:
https://bitbucket.org/zhb/iredadmin-ose … 675484c5e0

Open file templates/default/macros/general.html, remove the last macro: display_per_user_wblist.

Hi,

Please note that this is what you already instructed me to do before for the free version, it worked fine but then I installed the iredadmin-pro and the same problem came back and there is no last macro with that name, there is something else.

6

Re: iredadmin problem after upgrade to Pro

Oops, my mistake, i apologize for my misunderstanding the issue.

agodinho wrote:

[Wed Sep 02 07:45:22.145809 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/../templates/default/sql/domain/profile.html", line 446, in block "main"
[Wed Sep 02 07:45:22.145814 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0]     {{ display_per_account_wblist(values=whitelists,
[Wed Sep 02 07:45:22.145818 2015] [wsgi:error] [pid 10660] [remote 192.168.200.40:0] UndefinedError: the template 'macros/general.html' (imported on line 3 in 'sql/domain/profile.html') does not export the requested name 'display_per_account_wblist'

I checked source code, file templates/default/macros/genera.html correctly exported macro "display_per_account_wblist", and templates/default/sql/domain/profile.html correctly imported "display_per_account_wblist".

I will test it again and come back to you later. Sorry about this trouble.

7

Re: iredadmin problem after upgrade to Pro

I actually removed the macro display_per_account_wblist in order to be able to login, after that it logs in but other things don't work.

8

Re: iredadmin problem after upgrade to Pro

Dear agodinho,

Please reverse your change, iRedAdmin-Pro requires display_per_account_wblist macro in templates/default/macros/general.html. But you should remove it in iRedAdmin open source edition.

I apologize for my mistake.

9

Re: iredadmin problem after upgrade to Pro

ZhangHuangbin wrote:

Dear agodinho,

Please reverse your change, iRedAdmin-Pro requires display_per_account_wblist macro in templates/default/macros/general.html. But you should remove it in iRedAdmin open source edition.

I apologize for my mistake.

Hi,

When I reverse the removal, I can not login, it gives me the HTTP 500 error straight away. I can only login if I remove that macro. What to do now?

10

Re: iredadmin problem after upgrade to Pro

Could you please remove current iRedAdmin-Pro directory, and extract from the downloaded iRedAdmin-Pro tarball file? I'm afraid that you modified some file improperly.

11

Re: iredadmin problem after upgrade to Pro

ZhangHuangbin wrote:

Could you please remove current iRedAdmin-Pro directory, and extract from the downloaded iRedAdmin-Pro tarball file? I'm afraid that you modified some file improperly.

Hi,

I have removed the directory and then copied the one from the tarball but there are rights problems and some files don't seem to exist like settings.py. Is there any script I can run to create the setup? Or maybe just reinstall the iRedAdmin-Pro? Remember that I had changed the general.html in the free version before installing the Pro version, does that change anything?

12

Re: iredadmin problem after upgrade to Pro

What I have done now is to remove the iRedAdmin-Pro directory, moved the symbolic link back to the previous iredadmin free version and it is working with the modified general.html file. Then I reinstalled the iRedAdmin-Pro, now I have not changed any file yet and I can not login, I get the HTTP 500 error after I put the username and password. Please help solve this problem.

13

Re: iredadmin problem after upgrade to Pro

OK, what's the new error message in Apache error log file?

14

Re: iredadmin problem after upgrade to Pro

This is the error now on apache log:

[Tue Sep 08 11:33:23.233464 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0] Traceback (most recent call last):
[Tue Sep 08 11:33:23.233492 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 239, in process
[Tue Sep 08 11:33:23.233498 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return self.handle()
[Tue Sep 08 11:33:23.233504 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
[Tue Sep 08 11:33:23.233513 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return self._delegate(fn, self.fvars, args)
[Tue Sep 08 11:33:23.233518 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 420, in _delegate
[Tue Sep 08 11:33:23.233522 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return handle_class(cls)
[Tue Sep 08 11:33:23.233526 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 396, in handle_class
[Tue Sep 08 11:33:23.233530 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return tocall(*args)
[Tue Sep 08 11:33:23.233534 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/controllers/decorators.py", line 22, in proxyfunc
[Tue Sep 08 11:33:23.233537 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return func(self, *args, **kw)
[Tue Sep 08 11:33:23.233547 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/controllers/sql/basic.py", line 236, in GET
[Tue Sep 08 11:33:23.233551 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     removeQuarantinedInDays=settings.AMAVISD_REMOVE_QUARANTINED_IN_DAYS,
[Tue Sep 08 11:33:23.233558 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/iredbase.py", line 196, in render_template
[Tue Sep 08 11:33:23.233581 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return jinja_env.get_template(template_name).render(context)
[Tue Sep 08 11:33:23.233587 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
[Tue Sep 08 11:33:23.233591 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     return self.environment.handle_exception(exc_info, True)
[Tue Sep 08 11:33:23.233595 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
[Tue Sep 08 11:33:23.233600 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     reraise(exc_type, exc_value, tb)
[Tue Sep 08 11:33:23.233608 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]   File "/usr/local/www/iredadmin/libs/../templates/default/macros/general.html", line 1218, in template
[Tue Sep 08 11:33:23.233616 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     {% macro display_per_account_wblist(values=[], htmlInputName, label) -%}
[Tue Sep 08 11:33:23.233621 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0] TemplateSyntaxError: non-default argument follows default argument
[Tue Sep 08 11:33:23.233632 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]

15

Re: iredadmin problem after upgrade to Pro

agodinho wrote:

[Tue Sep 08 11:33:23.233616 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     {% macro display_per_account_wblist(values=[], htmlInputName, label) -%}

Same error. This is weird, because iRedAdmin-Pro doesn't have this issue, it happens with iRedAdmin open source edition.

Could you please show me output of command below?

# ls -l /usr/local/www/

16

Re: iredadmin problem after upgrade to Pro

ZhangHuangbin wrote:
agodinho wrote:

[Tue Sep 08 11:33:23.233616 2015] [wsgi:error] [pid 24125] [remote 192.168.200.40:0]     {% macro display_per_account_wblist(values=[], htmlInputName, label) -%}

Same error. This is weird, because iRedAdmin-Pro doesn't have this issue, it happens with iRedAdmin open source edition.

Could you please show me output of command below?

# ls -l /usr/local/www/

Here is the output:

[root@mail /var/log]# ls -l /usr/local/www/
total 32
drwxr-xr-x   6 root       wheel       512 Aug 31 12:43 apache24
drwxr-xr-x   8 root       wheel       512 Aug 31 12:59 awstats
dr-xr-xr-x   9 iredadmin  iredadmin   512 Sep  1 02:01 iRedAdmin-0.4.2
dr-xr-xr-x   9 iredadmin  iredadmin   512 Sep  8 09:06 iRedAdmin-Pro-SQL-2.1.3
dr-xr-xr-x   9 iredadmin  iredadmin   512 Sep  2 02:01 iRedAdmin-Pro-SQL-2.1.3.previous
lrwxr-xr-x   1 root       wheel        23 Sep  8 09:06 iredadmin -> iRedAdmin-Pro-SQL-2.1.3
drwxr-xr-x   5 root       wheel      3072 Aug 31 12:50 policyd
drwxr-xr-x   2 root       wheel       512 Aug 31 13:04 proxy
drwxr-xr-x  12 root       wheel       512 Aug 31 12:59 roundcube

17

Re: iredadmin problem after upgrade to Pro

I had installed the open source edition before as I always do. It had that problem with the macro and it got solved, everything was working fine until I installed the Pro edition.

18

Re: iredadmin problem after upgrade to Pro

could you please show me output of command below:

# ls -l /usr/local/www/iRedAdmin-Pro-SQL-2.1.3
# find /usr/local/www/iredadmin/

19

Re: iredadmin problem after upgrade to Pro

[root@mail /var/log]# ls -l /usr/local/www/iRedAdmin-Pro-SQL-2.1.3
total 96
-r-xr-xr-x   1 iredadmin  iredadmin     36 Sep  8 09:06 AUTHORS
-r-xr-xr-x   1 iredadmin  iredadmin  29755 Sep  8 09:06 ChangeLog.sql
-r-xr-xr-x   1 iredadmin  iredadmin    550 Sep  8 09:06 EULA
-r-xr-xr-x   1 iredadmin  iredadmin    724 Sep  8 09:06 README
dr-xr-xr-x   7 iredadmin  iredadmin    512 Sep  8 09:06 controllers
dr-xr-xr-x   4 iredadmin  iredadmin    512 Sep  8 09:06 docs
dr-xr-xr-x  19 iredadmin  iredadmin    512 Sep  8 09:06 i18n
-r-xr-xr-x   1 iredadmin  iredadmin    384 Sep  8 09:06 iredadmin.py
dr-xr-xr-x   7 iredadmin  iredadmin    512 Sep  8 09:06 libs
-r--------   1 iredadmin  iredadmin   4067 Sep  8 09:06 settings.py
-r-xr-xr-x   1 iredadmin  iredadmin   4430 Sep  8 09:06 settings.py.mysql.sample
-r-xr-xr-x   1 iredadmin  iredadmin   4412 Sep  8 09:06 settings.py.pgsql.sample
dr-xr-xr-x   4 iredadmin  iredadmin    512 Sep  8 09:06 static
dr-xr-xr-x   3 iredadmin  iredadmin    512 Sep  8 09:06 templates
dr-xr-xr-x   2 iredadmin  iredadmin    512 Sep  8 09:06 tools

20

Re: iredadmin problem after upgrade to Pro

[root@mail /usr/local/www]# find /usr/local/www/iredadmin/
/usr/local/www/iredadmin/
/usr/local/www/iredadmin/EULA
/usr/local/www/iredadmin/i18n
/usr/local/www/iredadmin/i18n/es_ES
/usr/local/www/iredadmin/i18n/es_ES/LC_MESSAGES
/usr/local/www/iredadmin/i18n/es_ES/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/es_ES/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/iredadmin.po
/usr/local/www/iredadmin/i18n/sr
/usr/local/www/iredadmin/i18n/sr/LC_MESSAGES
/usr/local/www/iredadmin/i18n/sr/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/sr/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/ko_KR
/usr/local/www/iredadmin/i18n/ko_KR/LC_MESSAGES
/usr/local/www/iredadmin/i18n/ko_KR/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/ko_KR/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/pl_PL
/usr/local/www/iredadmin/i18n/pl_PL/LC_MESSAGES
/usr/local/www/iredadmin/i18n/pl_PL/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/pl_PL/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/babel.cfg
/usr/local/www/iredadmin/i18n/fr_FR
/usr/local/www/iredadmin/i18n/fr_FR/LC_MESSAGES
/usr/local/www/iredadmin/i18n/fr_FR/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/fr_FR/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/de_DE
/usr/local/www/iredadmin/i18n/de_DE/LC_MESSAGES
/usr/local/www/iredadmin/i18n/de_DE/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/de_DE/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/fi_FI
/usr/local/www/iredadmin/i18n/fi_FI/LC_MESSAGES
/usr/local/www/iredadmin/i18n/fi_FI/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/fi_FI/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/translation.sh
/usr/local/www/iredadmin/i18n/ru_RU
/usr/local/www/iredadmin/i18n/ru_RU/LC_MESSAGES
/usr/local/www/iredadmin/i18n/ru_RU/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/ru_RU/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/cs_CZ
/usr/local/www/iredadmin/i18n/cs_CZ/LC_MESSAGES
/usr/local/www/iredadmin/i18n/cs_CZ/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/cs_CZ/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/sl_SI
/usr/local/www/iredadmin/i18n/sl_SI/LC_MESSAGES
/usr/local/www/iredadmin/i18n/sl_SI/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/sl_SI/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/it_IT
/usr/local/www/iredadmin/i18n/it_IT/LC_MESSAGES
/usr/local/www/iredadmin/i18n/it_IT/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/it_IT/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/hu_HU
/usr/local/www/iredadmin/i18n/hu_HU/LC_MESSAGES
/usr/local/www/iredadmin/i18n/hu_HU/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/hu_HU/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/en_US
/usr/local/www/iredadmin/i18n/en_US/LC_MESSAGES
/usr/local/www/iredadmin/i18n/en_US/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/en_US/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/nl_NL
/usr/local/www/iredadmin/i18n/nl_NL/LC_MESSAGES
/usr/local/www/iredadmin/i18n/nl_NL/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/nl_NL/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/zh_TW
/usr/local/www/iredadmin/i18n/zh_TW/LC_MESSAGES
/usr/local/www/iredadmin/i18n/zh_TW/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/zh_TW/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/pt_BR
/usr/local/www/iredadmin/i18n/pt_BR/LC_MESSAGES
/usr/local/www/iredadmin/i18n/pt_BR/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/pt_BR/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/i18n/zh_CN
/usr/local/www/iredadmin/i18n/zh_CN/LC_MESSAGES
/usr/local/www/iredadmin/i18n/zh_CN/LC_MESSAGES/iredadmin.po
/usr/local/www/iredadmin/i18n/zh_CN/LC_MESSAGES/iredadmin.mo
/usr/local/www/iredadmin/libs
/usr/local/www/iredadmin/libs/default_settings.py
/usr/local/www/iredadmin/libs/ireddate.py
/usr/local/www/iredadmin/libs/languages.py
/usr/local/www/iredadmin/libs/panel
/usr/local/www/iredadmin/libs/panel/log.py
/usr/local/www/iredadmin/libs/panel/__init__.py
/usr/local/www/iredadmin/libs/amavisd
/usr/local/www/iredadmin/libs/amavisd/log.py
/usr/local/www/iredadmin/libs/amavisd/core.py
/usr/local/www/iredadmin/libs/amavisd/wblist.py
/usr/local/www/iredadmin/libs/amavisd/utils.py
/usr/local/www/iredadmin/libs/amavisd/spampolicy.py
/usr/local/www/iredadmin/libs/amavisd/quarantine.py
/usr/local/www/iredadmin/libs/amavisd/__init__.py
/usr/local/www/iredadmin/libs/iredutils.py
/usr/local/www/iredadmin/libs/iredpwd.py
/usr/local/www/iredadmin/libs/md5crypt.py
/usr/local/www/iredadmin/libs/policyd
/usr/local/www/iredadmin/libs/policyd/core.py
/usr/local/www/iredadmin/libs/policyd/greylist.py
/usr/local/www/iredadmin/libs/policyd/blacklist.py
/usr/local/www/iredadmin/libs/policyd/whitelist.py
/usr/local/www/iredadmin/libs/policyd/throttle.py
/usr/local/www/iredadmin/libs/policyd/__init__.py
/usr/local/www/iredadmin/libs/form_utils.py
/usr/local/www/iredadmin/libs/cluebringer
/usr/local/www/iredadmin/libs/cluebringer/core.py
/usr/local/www/iredadmin/libs/cluebringer/wblist.py
/usr/local/www/iredadmin/libs/cluebringer/greylist.py
/usr/local/www/iredadmin/libs/cluebringer/connUtils.py
/usr/local/www/iredadmin/libs/cluebringer/throttle.py
/usr/local/www/iredadmin/libs/cluebringer/__init__.py
/usr/local/www/iredadmin/libs/sqllib
/usr/local/www/iredadmin/libs/sqllib/domain.py
/usr/local/www/iredadmin/libs/sqllib/decorators.py
/usr/local/www/iredadmin/libs/sqllib/utils.py
/usr/local/www/iredadmin/libs/sqllib/admin.py
/usr/local/www/iredadmin/libs/sqllib/alias.py
/usr/local/www/iredadmin/libs/sqllib/sqlutils.py
/usr/local/www/iredadmin/libs/sqllib/general.py
/usr/local/www/iredadmin/libs/sqllib/__init__.py
/usr/local/www/iredadmin/libs/sqllib/user.py
/usr/local/www/iredadmin/libs/sqllib/auth.py
/usr/local/www/iredadmin/libs/__init__.py
/usr/local/www/iredadmin/libs/iredbase.py
/usr/local/www/iredadmin/libs/mailparser.py
/usr/local/www/iredadmin/libs/__init__.pyc
/usr/local/www/iredadmin/libs/default_settings.pyc
/usr/local/www/iredadmin/libs/iredutils.pyc
/usr/local/www/iredadmin/libs/iredbase.pyc
/usr/local/www/iredadmin/libs/iredpwd.pyc
/usr/local/www/iredadmin/libs/md5crypt.pyc
/usr/local/www/iredadmin/libs/ireddate.pyc
/usr/local/www/iredadmin/libs/languages.pyc
/usr/local/www/iredadmin/tools
/usr/local/www/iredadmin/tools/delete_sessions.py
/usr/local/www/iredadmin/tools/wblist_admin.py
/usr/local/www/iredadmin/tools/notify_quarantined_recipients.html
/usr/local/www/iredadmin/tools/migrate_cluebringer_wblist_to_amavisd.py
/usr/local/www/iredadmin/tools/cleanup_amavisd_db.py
/usr/local/www/iredadmin/tools/sync_cluebringer_internal_domains.py
/usr/local/www/iredadmin/tools/dump_disclaimer.py
/usr/local/www/iredadmin/tools/convert_ini_to_py.sh
/usr/local/www/iredadmin/tools/README.md
/usr/local/www/iredadmin/tools/notify_quarantined_recipients.py
/usr/local/www/iredadmin/tools/upgrade_iredadmin.sh
/usr/local/www/iredadmin/tools/__init__.py
/usr/local/www/iredadmin/tools/ira_tool_lib.py
/usr/local/www/iredadmin/tools/__init__.pyc
/usr/local/www/iredadmin/tools/ira_tool_lib.pyc
/usr/local/www/iredadmin/iredadmin.py
/usr/local/www/iredadmin/docs
/usr/local/www/iredadmin/docs/samples
/usr/local/www/iredadmin/docs/samples/iredadmin.sql
/usr/local/www/iredadmin/docs/samples/iredadmin.pgsql
/usr/local/www/iredadmin/docs/hooks
/usr/local/www/iredadmin/docs/README.customization
/usr/local/www/iredadmin/static
/usr/local/www/iredadmin/static/default
/usr/local/www/iredadmin/static/default/images
/usr/local/www/iredadmin/static/default/images/line.gif
/usr/local/www/iredadmin/static/default/images/ball_blue_16.png
/usr/local/www/iredadmin/static/default/images/ball_red_16.png
/usr/local/www/iredadmin/static/default/images/button_glas1_ovr.png
/usr/local/www/iredadmin/static/default/images/ball_black_16.png
/usr/local/www/iredadmin/static/default/images/ico_success.png
/usr/local/www/iredadmin/static/default/images/ico_add_12.png
/usr/local/www/iredadmin/static/default/images/ico_close_ovr.png
/usr/local/www/iredadmin/static/default/images/arrow_left_ovr.png
/usr/local/www/iredadmin/static/default/images/arrow_sm_grey.gif
/usr/local/www/iredadmin/static/default/images/ico_error.png
/usr/local/www/iredadmin/static/default/images/arrow_leftend_off.png
/usr/local/www/iredadmin/static/default/images/tablesorter
/usr/local/www/iredadmin/static/default/images/tablesorter/asc.gif
/usr/local/www/iredadmin/static/default/images/tablesorter/desc.gif
/usr/local/www/iredadmin/static/default/images/tablesorter/bg.gif
/usr/local/www/iredadmin/static/default/images/bck_black_10.png
/usr/local/www/iredadmin/static/default/images/page_active.gif
/usr/local/www/iredadmin/static/default/images/login.jpg
/usr/local/www/iredadmin/static/default/images/action_edit.png
/usr/local/www/iredadmin/static/default/images/ico_info.png
/usr/local/www/iredadmin/static/default/images/action_search.png
/usr/local/www/iredadmin/static/default/images/bck_main.png
/usr/local/www/iredadmin/static/default/images/login_header.png
/usr/local/www/iredadmin/static/default/images/gear.png
/usr/local/www/iredadmin/static/default/images/bck_white_75.png
/usr/local/www/iredadmin/static/default/images/enabled.png
/usr/local/www/iredadmin/static/default/images/but_slide.png
/usr/local/www/iredadmin/static/default/images/relayed.png
/usr/local/www/iredadmin/static/default/images/fancybox
/usr/local/www/iredadmin/static/default/images/fancybox/fancybox-x.png
/usr/local/www/iredadmin/static/default/images/fancybox/blank.gif
/usr/local/www/iredadmin/static/default/images/fancybox/fancybox-y.png
/usr/local/www/iredadmin/static/default/images/fancybox/fancybox.png
/usr/local/www/iredadmin/static/default/images/arrow_right_off.png
/usr/local/www/iredadmin/static/default/images/ball_yellow_13.png
/usr/local/www/iredadmin/static/default/images/bck_black_70.png
/usr/local/www/iredadmin/static/default/images/bck_white_90.png
/usr/local/www/iredadmin/static/default/images/databases.png
/usr/local/www/iredadmin/static/default/images/bck_white_95.png
/usr/local/www/iredadmin/static/default/images/ico_close_off.png
/usr/local/www/iredadmin/static/default/images/graph_16.png
/usr/local/www/iredadmin/static/default/images/members.png
/usr/local/www/iredadmin/static/default/images/ico_help_16.png
/usr/local/www/iredadmin/static/default/images/bck_black_5.png
/usr/local/www/iredadmin/static/default/images/button_glas1.png
/usr/local/www/iredadmin/static/default/images/ball_grey_16.png
/usr/local/www/iredadmin/static/default/images/arrow_leftend_ovr.png
/usr/local/www/iredadmin/static/default/images/bck_white_10.png
/usr/local/www/iredadmin/static/default/images/backupmx.png
/usr/local/www/iredadmin/static/default/images/arrow_rightend_ovr.png
/usr/local/www/iredadmin/static/default/images/button_glas2.png
/usr/local/www/iredadmin/static/default/images/ico_attention.png
/usr/local/www/iredadmin/static/default/images/bck_header.png
/usr/local/www/iredadmin/static/default/images/ball_green_16.png
/usr/local/www/iredadmin/static/default/images/lock.png
/usr/local/www/iredadmin/static/default/images/arrow_rightend_off.png
/usr/local/www/iredadmin/static/default/images/rule2.gif
/usr/local/www/iredadmin/static/default/images/arrow_left_off.png
/usr/local/www/iredadmin/static/default/images/arrow_sm_black.gif
/usr/local/www/iredadmin/static/default/images/user_admin.png
/usr/local/www/iredadmin/static/default/images/bck_white_50.png
/usr/local/www/iredadmin/static/default/images/user_16.png
/usr/local/www/iredadmin/static/default/images/arrow_right_ovr.png
/usr/local/www/iredadmin/static/default/images/ico_info_16.png
/usr/local/www/iredadmin/static/default/images/rule.gif
/usr/local/www/iredadmin/static/default/images/header.png
/usr/local/www/iredadmin/static/default/css
/usr/local/www/iredadmin/static/default/css/ie7.css
/usr/local/www/iredadmin/static/default/css/screen.css
/usr/local/www/iredadmin/static/default/css/fancybox.css
/usr/local/www/iredadmin/static/default/css/reset.css
/usr/local/www/iredadmin/static/logo.png
/usr/local/www/iredadmin/static/.htaccess
/usr/local/www/iredadmin/static/js
/usr/local/www/iredadmin/static/js/jquery-1.4.2.min.js
/usr/local/www/iredadmin/static/js/jquery.fancybox.js
/usr/local/www/iredadmin/static/js/jquery.quicksearch.js
/usr/local/www/iredadmin/static/js/jquery.tooltip.js
/usr/local/www/iredadmin/static/js/jquery.tablesorter.js
/usr/local/www/iredadmin/static/js/jquery.idtabs.js
/usr/local/www/iredadmin/controllers
/usr/local/www/iredadmin/controllers/decorators.py
/usr/local/www/iredadmin/controllers/panel
/usr/local/www/iredadmin/controllers/panel/log.py
/usr/local/www/iredadmin/controllers/panel/urls.py
/usr/local/www/iredadmin/controllers/panel/__init__.py
/usr/local/www/iredadmin/controllers/panel/__init__.pyc
/usr/local/www/iredadmin/controllers/panel/urls.pyc
/usr/local/www/iredadmin/controllers/amavisd
/usr/local/www/iredadmin/controllers/amavisd/log.py
/usr/local/www/iredadmin/controllers/amavisd/wblist.py
/usr/local/www/iredadmin/controllers/amavisd/spampolicy.py
/usr/local/www/iredadmin/controllers/amavisd/urls.py
/usr/local/www/iredadmin/controllers/amavisd/__init__.py
/usr/local/www/iredadmin/controllers/amavisd/__init__.pyc
/usr/local/www/iredadmin/controllers/amavisd/urls.pyc
/usr/local/www/iredadmin/controllers/sql
/usr/local/www/iredadmin/controllers/sql/domain.py
/usr/local/www/iredadmin/controllers/sql/admin.py
/usr/local/www/iredadmin/controllers/sql/alias.py
/usr/local/www/iredadmin/controllers/sql/urls.py
/usr/local/www/iredadmin/controllers/sql/__init__.py
/usr/local/www/iredadmin/controllers/sql/basic.py
/usr/local/www/iredadmin/controllers/sql/user.py
/usr/local/www/iredadmin/controllers/sql/__init__.pyc
/usr/local/www/iredadmin/controllers/sql/urls.pyc
/usr/local/www/iredadmin/controllers/utils.py
/usr/local/www/iredadmin/controllers/policyd
/usr/local/www/iredadmin/controllers/policyd/blacklist.py
/usr/local/www/iredadmin/controllers/policyd/whitelist.py
/usr/local/www/iredadmin/controllers/policyd/urls.py
/usr/local/www/iredadmin/controllers/policyd/__init__.py
/usr/local/www/iredadmin/controllers/cluebringer
/usr/local/www/iredadmin/controllers/cluebringer/wblist.py
/usr/local/www/iredadmin/controllers/cluebringer/greylist.py
/usr/local/www/iredadmin/controllers/cluebringer/throttle.py
/usr/local/www/iredadmin/controllers/cluebringer/urls.py
/usr/local/www/iredadmin/controllers/cluebringer/__init__.py
/usr/local/www/iredadmin/controllers/cluebringer/__init__.pyc
/usr/local/www/iredadmin/controllers/cluebringer/urls.pyc
/usr/local/www/iredadmin/controllers/__init__.py
/usr/local/www/iredadmin/controllers/__init__.pyc
/usr/local/www/iredadmin/templates
/usr/local/www/iredadmin/templates/default
/usr/local/www/iredadmin/templates/default/macros
/usr/local/www/iredadmin/templates/default/macros/msgHandlers.html
/usr/local/www/iredadmin/templates/default/macros/sql.html
/usr/local/www/iredadmin/templates/default/macros/general.html
/usr/local/www/iredadmin/templates/default/macros/cluebringer.html
/usr/local/www/iredadmin/templates/default/macros/policyd.html
/usr/local/www/iredadmin/templates/default/macros/amavisd.html
/usr/local/www/iredadmin/templates/default/macros/general.html.original
/usr/local/www/iredadmin/templates/default/error_csrf.html
/usr/local/www/iredadmin/templates/default/panel
/usr/local/www/iredadmin/templates/default/panel/license.html
/usr/local/www/iredadmin/templates/default/panel/log.html
/usr/local/www/iredadmin/templates/default/login.html
/usr/local/www/iredadmin/templates/default/amavisd
/usr/local/www/iredadmin/templates/default/amavisd/wblist
/usr/local/www/iredadmin/templates/default/amavisd/wblist/global.html
/usr/local/www/iredadmin/templates/default/amavisd/wblist/create.html
/usr/local/www/iredadmin/templates/default/amavisd/wblist/user.html
/usr/local/www/iredadmin/templates/default/amavisd/inout.html
/usr/local/www/iredadmin/templates/default/amavisd/quarantined_raw.html
/usr/local/www/iredadmin/templates/default/amavisd/quarantined.html
/usr/local/www/iredadmin/templates/default/amavisd/spampolicy.html
/usr/local/www/iredadmin/templates/default/amavisd/quarantined_user.html
/usr/local/www/iredadmin/templates/default/sql
/usr/local/www/iredadmin/templates/default/sql/admin
/usr/local/www/iredadmin/templates/default/sql/admin/list.html
/usr/local/www/iredadmin/templates/default/sql/admin/profile.html
/usr/local/www/iredadmin/templates/default/sql/admin/create.html
/usr/local/www/iredadmin/templates/default/sql/domain
/usr/local/www/iredadmin/templates/default/sql/domain/list.html
/usr/local/www/iredadmin/templates/default/sql/domain/profile.html
/usr/local/www/iredadmin/templates/default/sql/domain/create.html
/usr/local/www/iredadmin/templates/default/sql/user
/usr/local/www/iredadmin/templates/default/sql/user/preferences.html
/usr/local/www/iredadmin/templates/default/sql/user/list.html
/usr/local/www/iredadmin/templates/default/sql/user/profile.html
/usr/local/www/iredadmin/templates/default/sql/user/create.html
/usr/local/www/iredadmin/templates/default/sql/search.html
/usr/local/www/iredadmin/templates/default/sql/alias
/usr/local/www/iredadmin/templates/default/sql/alias/list.html
/usr/local/www/iredadmin/templates/default/sql/alias/profile.html
/usr/local/www/iredadmin/templates/default/sql/alias/create.html
/usr/local/www/iredadmin/templates/default/layout.html
/usr/local/www/iredadmin/templates/default/dashboard.html
/usr/local/www/iredadmin/templates/default/layout_user.html
/usr/local/www/iredadmin/templates/default/policyd
/usr/local/www/iredadmin/templates/default/policyd/whitelist
/usr/local/www/iredadmin/templates/default/policyd/whitelist/create.html
/usr/local/www/iredadmin/templates/default/policyd/blacklist
/usr/local/www/iredadmin/templates/default/policyd/blacklist/create.html
/usr/local/www/iredadmin/templates/default/policyd/wblist.html
/usr/local/www/iredadmin/templates/default/cluebringer
/usr/local/www/iredadmin/templates/default/cluebringer/wblist
/usr/local/www/iredadmin/templates/default/cluebringer/wblist/list.html
/usr/local/www/iredadmin/templates/default/cluebringer/wblist/create.html
/usr/local/www/iredadmin/templates/default/cluebringer/throttle.html
/usr/local/www/iredadmin/templates/default/cluebringer/greylist.html
/usr/local/www/iredadmin/settings.py.mysql.sample
/usr/local/www/iredadmin/AUTHORS
/usr/local/www/iredadmin/ChangeLog.sql
/usr/local/www/iredadmin/README
/usr/local/www/iredadmin/settings.py.pgsql.sample
/usr/local/www/iredadmin/settings.py
/usr/local/www/iredadmin/settings.pyc

21

Re: iredadmin problem after upgrade to Pro

OK, i just realized that this is a syntax error in template. sorry about this trouble.

*) Please open file templates/default/macros/general.html, find this line (line 1218):

{% macro display_per_account_wblist(values=[], htmlInputName, label) -%}

*) Remove '=[]':

{% macro display_per_account_wblist(values, htmlInputName, label) -%}

*) Save your change and try again.

22

Re: iredadmin problem after upgrade to Pro

Hi,

Thanks, it is working now.