1

Topic: error: search() got an unexpected keyword argument 'accountType'

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

Searching for mail accounts fails with Error: search() got an unexpected keyword argument 'accountType'

Worked fine yesterday with previous version of iRedAdmin.

Thanks.
Tom

----

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

2

Re: error: search() got an unexpected keyword argument 'accountType'

Fixed, i sent you (tim@) an email with download link of a patched version, please follow our upgrade tutorial to upgrade it:
http://www.iredmail.org/docs/migrate.or … admin.html

3

Re: error: search() got an unexpected keyword argument 'accountType'

I noticed that I am running v9.5-1 and your docs say this requires v9.6. Could that be the problem?
If that is it then what do you charge do this upgrade to v9.6?
How long would the server be down?

4

Re: error: search() got an unexpected keyword argument 'accountType'

tom cotton wrote:

I noticed that I am running v9.5-1 and your docs say this requires v9.6. Could that be the problem?

In this case, it's not caused by iRedMail-0.9.5-1. But you must upgrade to iRedMail-0.9.6 because we have a new LDAP schema file with 2 new LDAP attributes.

tom cotton wrote:

If that is it then what do you charge do this upgrade to v9.6?
How long would the server be down?

Check our web site here: http://www.iredmail.org/support.html
Upgrading may restart few services, usually each of them take 1-5 seconds to restart. smile

5

Re: error: search() got an unexpected keyword argument 'accountType'

Okay, purchased upgrade support. Please let me know what you require for access.

6

Re: error: search() got an unexpected keyword argument 'accountType'

tom cotton wrote:

Okay, purchased upgrade support. Please let me know what you require for access.

I sent you email, waiting for your reply. smile

7 (edited by jobu 2017-02-07 21:55:14)

Re: error: search() got an unexpected keyword argument 'accountType'

Hello Zhang,

i have the same issue on iRedMail v0.9.6 with iRedAdmin-Pro v2.7.0 (LDAP) ... can you send me the link for the fixed download, too ?

Regards

8

Re: error: search() got an unexpected keyword argument 'accountType'

Hi @jobu,

Sent. smile

9

Re: error: search() got an unexpected keyword argument 'accountType'

Thanks, it works now. I had to create the mentionend /root/.my.cnf with the mysql-credentials for the upgrade script.