1 (edited by paradox5566 2013-07-22 13:37:08)

Topic: Cannot create new user after upgrade to v1.7.0

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: iRedAdmin-Pro-MySQL-1.7.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version: FreeBSD 9.1
- Related log if you're reporting an issue:
====
After upgrading, I cannot create user with the warning:
int() argument must be a string or a number, not 'NoneType'
though I had insert every bottom
=====

Post's attachments

iredadmin.png
iredadmin.png 68.23 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

2

Re: Cannot create new user after upgrade to v1.7.0

hi paradox5566,

Could you please paste me full error log in Apache log file?
Also, iRedAdmin-Pro-MySQL-1.7.0 requires the latest iRedMail, 0.8.5, did you upgrade iRedMail?

3 (edited by paradox5566 2013-07-22 14:08:58)

Re: Cannot create new user after upgrade to v1.7.0

[Thu Jul 18 13:26:40 2013] [warn] RSA server certificate CommonName (CN) `www.(example).com' does NOT match server name!?
[Thu Jul 18 13:26:40 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
[Thu Jul 18 13:26:40 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jul 18 13:26:40 2013] [warn] RSA server certificate CommonName (CN) `www.(example).com' does NOT match server name!?
[Thu Jul 18 13:26:41 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 18 13:26:41 2013] [notice] Digest: done
[Thu Jul 18 13:26:41 2013] [notice] Apache/2.2.25 (FreeBSD) mod_ssl/2.2.25 OpenSSL/0.9.8x DAV/2 mod_wsgi/2.8 Python/2.7.5 configured -- resuming normal opera
[Thu Jul 18 13:29:15 2013] [error] Exception KeyError: KeyError(679494400,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[Thu Jul 18 13:29:35 2013] [error] Exception KeyError: KeyError(679494400,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[Thu Jul 18 13:29:40 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/roundcube
[Thu Jul 18 13:29:40 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:30:04 2013] [error] Exception KeyError: KeyError(679494400,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[Thu Jul 18 13:30:41 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:30:58 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:07 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:12 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:17 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:26 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:33 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:41 2013] [error] Exception KeyError: KeyError(679494400,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[Thu Jul 18 13:31:46 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:31:51 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:32:06 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:34:15 2013] [error] Exception KeyError: KeyError(679494400,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[Thu Jul 18 13:36:16 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:36:20 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:36:40 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:36:47 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:36:53 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:36:57 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:37:20 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:37:30 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:39:13 2013] [error] Exception KeyError: KeyError(679494400,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[Thu Jul 18 13:40:11 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:40:14 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:40:19 2013] [error] [client 220.130.187.241] File does not exist: /usr/local/www/apache22/data/favicon.ico
[Thu Jul 18 13:26:40 2013] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
=============================================================================================================
Here it is.
But still found nothing wrong = =
I'm sure i've installed iRedMail v0.8.5 first.

My upgrade process is iRedMail 0.8.5 to iRedAdmin 1.6.0 to iRedAdmin 1.7.0
Maybe somewhere went wrong??

PS:But I can still add user in the domain which I created before upgrading to iRedAdmin.

4

Re: Cannot create new user after upgrade to v1.7.0

Do below steps work for you?

*) deleting all records in SQL table `iredadmin.sessions`
*) Restarting Apache web server
*) Re-login

5

Re: Cannot create new user after upgrade to v1.7.0

Sorry for another question.
I look at the online demo,and found that the throttling by domain actives but blank on my server?
I can just operate the throttling by users.

6

Re: Cannot create new user after upgrade to v1.7.0

ZhangHuangbin wrote:

Do below steps work for you?

*) deleting all records in SQL table `iredadmin.sessions`
*) Restarting Apache web server
*) Re-login

Thanks a lot. It works ~.
And could you please help me with the throttling problem above?

7

Re: Cannot create new user after upgrade to v1.7.0

Do you mean it shows a blank page? Any related error in Apache log file?

8 (edited by paradox5566 2013-07-23 11:20:37)

Re: Cannot create new user after upgrade to v1.7.0

ZhangHuangbin wrote:

Do you mean it shows a blank page? Any related error in Apache log file?

No, it just show me a blank function table,  I can still click the others w/o throttling by domain.
By the way, I've a new problem like yesterday . I created 2 accounts which can be sampled like A.com
& B.com . After I upgraded the system from iRedMail 0.8.5 to iRedAdmin 1.7 , there were 2 new accounts I add in. We can call its C.com & D.com. The problem which cannot create new user happened last day and it was completely solved.

But after that, I found that C.com & D.com can only send mails but not receive ,without any record in 
maillog . In dovecot.log , I just see the mail-receive account log in and out everytime (It shows it was normally work in checking if there were new mails?) And my sending-out mail account (gmail) didn't receive any fail msg . Except that , A.com & B.com works normally. Could you help me handle these problem?

I've search for someone who'd the same problem like this http://www.iredmail.org/forum/topic5154 … -logs.html
My C.com & D.com are completely working like above links said.
But I have static IP , A.com & B.com works normally can proved this.
===============================update 11:08========================================
Sorry for my stupid. I've found that I forgot to set back the right DNS. But now the problem is
554 5.7.1 <example@domain>:Relay access denied
Still no error msg or log.

Post's attachments

123.png
123.png 51.57 kb, 1 downloads since 2013-07-22 

You don't have the permssions to download the attachments of this post.

9

Re: Cannot create new user after upgrade to v1.7.0

- Do you have Policyd integration enabled in iRedAdmin-Pro config file (settings.ini)?
- Do you have correct DNS records for all mail domains? If no log in Postfix log file, you may have incorrect DNS record (A/MX).