1 (edited by ramonalonso 2017-02-09 01:20:53)

Topic: New Bug

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 16.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? No.
- Related log if you're reporting an issue:

====

Hello, I'm trying to create email accounts through the Panel and I'm not getting. See how is showing:

Post's attachments

Screenshot_20170208_142011.png 133.69 kb, file has never been downloaded. 

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

----

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

2

Re: New Bug

I've rebooted the server also, but didn't solve the problem.

3

Re: New Bug

Excuse me, i didn't understand the point of the screenshot in first post. What's the issue?

4

Re: New Bug

I'm sorry if I wasn't clear. See the list box which should be the address of the domain I am creating the email. It's not showing up anything. If I continue to fill in the other fields, I can't create a new e-mail.

5

Re: New Bug

Oh, i saw the issue now.

This issue was reported few times before, but i cannot reproduce it at all. Could you please try this:

- Logout
- Clear web browser cache
- Restart uwsgi service
- Login

6

Re: New Bug

Had already done that. Even rebooted until the server to see if it had any problem. But nothing so far decided.

This is the log of uwsgi


Log uwsgi

------------------------------------------------------------------------------------------------------------------------------------------

root@srv-mx2:/# cat /var/log/uwsgi/app/iredadmin.log
Fri Feb 10 15:20:08 2017 - WSGI app 0 (mountpoint='srv-mx2.ideacorp.com.br|/iredadmin') ready in 0 seconds on interpreter 0x1b601b0 pid: 1684
srv-mx2.ideacorp.com.br [pid: 1684|app: 0|req: 1/9] 177.206.173.225 () {50 vars in 844 bytes} [Fri Feb 10 15:20:08 2017] GET /iredadmin/ => generated 4880 bytes in 287 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1683|app: 0|req: 9/10] 177.206.173.225 () {62 vars in 1163 bytes} [Fri Feb 10 15:20:12 2017] POST /iredadmin/login => generated 0 bytes in 14 msecs (HTTP/1.1 303) 3 headers in 215 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1684|app: 0|req: 2/11] 177.206.173.225 () {56 vars in 1034 bytes} [Fri Feb 10 15:20:13 2017] GET /iredadmin/dashboard/checknew => generated 10802 bytes in 791 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1683|app: 0|req: 10/12] 177.206.173.225 () {54 vars in 999 bytes} [Fri Feb 10 15:20:15 2017] GET /iredadmin/domains => generated 17072 bytes in 443 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1684|app: 0|req: 3/13] 177.206.173.225 () {54 vars in 1000 bytes} [Fri Feb 10 15:20:22 2017] GET /iredadmin/create/domain => generated 8089 bytes in 372 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1683|app: 0|req: 11/14] 177.206.173.225 () {54 vars in 994 bytes} [Fri Feb 10 15:20:24 2017] GET /iredadmin/domains => generated 17072 bytes in 407 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1684|app: 0|req: 4/15] 177.206.173.225 () {54 vars in 1064 bytes} [Fri Feb 10 15:20:30 2017] GET /iredadmin/profile/domain/general/startengenharia.eng.br => generated 9575 bytes in 405 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1683|app: 0|req: 12/16] 177.206.173.225 () {54 vars in 1068 bytes} [Fri Feb 10 15:20:33 2017] GET /iredadmin/users/startengenharia.eng.br => generated 10579 bytes in 408 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1684|app: 0|req: 5/17] 177.206.173.225 () {54 vars in 1063 bytes} [Fri Feb 10 15:20:34 2017] GET /iredadmin/create/user/startengenharia.eng.br => generated 10681 bytes in 410 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1684|app: 0|req: 6/18] 177.206.173.225 () {54 vars in 1013 bytes} [Fri Feb 10 15:24:05 2017] GET /iredadmin/logout => generated 0 bytes in 8 msecs (HTTP/1.1 303) 3 headers in 241 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 1683|app: 0|req: 13/19] 177.206.173.225 () {52 vars in 946 bytes} [Fri Feb 10 15:24:05 2017] GET /iredadmin/login => generated 4880 bytes in 151 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
Fri Feb 10 15:24:23 2017 - SIGINT/SIGQUIT received...killing workers...
Fri Feb 10 15:24:24 2017 - worker 1 buried after 1 seconds
Fri Feb 10 15:24:24 2017 - worker 2 buried after 1 seconds
Fri Feb 10 15:24:24 2017 - goodbye to uWSGI.
Fri Feb 10 15:24:25 2017 - *** Starting uWSGI 2.0.12-debian (64bit) on [Fri Feb 10 15:24:25 2017] ***
Fri Feb 10 15:24:25 2017 - compiled with version: 5.3.1 20160412 on 13 April 2016 08:36:06
Fri Feb 10 15:24:25 2017 - os: Linux-4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:10:15 UTC 2017
Fri Feb 10 15:24:25 2017 - nodename: srv-mx2.ideacorp.com.br
Fri Feb 10 15:24:25 2017 - machine: x86_64
Fri Feb 10 15:24:25 2017 - clock source: unix
Fri Feb 10 15:24:25 2017 - pcre jit disabled
Fri Feb 10 15:24:25 2017 - detected number of CPU cores: 2
Fri Feb 10 15:24:25 2017 - current working directory: /
Fri Feb 10 15:24:25 2017 - writing pidfile to /run/uwsgi/app/iredadmin/pid
Fri Feb 10 15:24:25 2017 - detected binary path: /usr/bin/uwsgi-core
Fri Feb 10 15:24:25 2017 - your processes number limit is 7843
Fri Feb 10 15:24:25 2017 - your memory page size is 4096 bytes
Fri Feb 10 15:24:25 2017 - detected max file descriptor number: 1024
Fri Feb 10 15:24:25 2017 - VirtualHosting mode enabled.
Fri Feb 10 15:24:25 2017 - lock engine: pthread robust mutexes
Fri Feb 10 15:24:25 2017 - thunder lock: disabled (you can enable it with --thunder-lock)
Fri Feb 10 15:24:25 2017 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/iredadmin/socket fd 3
Fri Feb 10 15:24:25 2017 - uwsgi socket 1 bound to UNIX address /var/run/uwsgi_iredadmin.socket fd 5
Fri Feb 10 15:24:25 2017 - setgid() to 2001
Fri Feb 10 15:24:25 2017 - setuid() to 2001
Fri Feb 10 15:24:25 2017 - Python version: 2.7.12 (default, Nov 19 2016, 06:48:10)  [GCC 5.4.0 20160609]
Fri Feb 10 15:24:25 2017 - Python main interpreter initialized at 0x1deb1b0
Fri Feb 10 15:24:25 2017 - python threads support enabled
Fri Feb 10 15:24:25 2017 - your server socket listen backlog is limited to 100 connections
Fri Feb 10 15:24:25 2017 - your mercy for graceful operations on workers is 60 seconds
Fri Feb 10 15:24:25 2017 - mapped 218304 bytes (213 KB) for 2 cores
Fri Feb 10 15:24:25 2017 - *** Operational MODE: preforking ***
Fri Feb 10 15:24:25 2017 - *** no app loaded. going in full dynamic mode ***
Fri Feb 10 15:24:25 2017 - *** uWSGI is running in multiple interpreter mode ***
Fri Feb 10 15:24:25 2017 - spawned uWSGI master process (pid: 26632)
Fri Feb 10 15:24:25 2017 - spawned uWSGI worker 1 (pid: 26638, cores: 1)
Fri Feb 10 15:24:25 2017 - spawned uWSGI worker 2 (pid: 26639, cores: 1)
Fri Feb 10 15:24:39 2017 - WSGI app 0 (mountpoint='srv-mx2.ideacorp.com.br|/iredadmin') ready in 1 seconds on interpreter 0x1deb1b0 pid: 26638
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 1/1] 177.206.173.225 () {50 vars in 844 bytes} [Fri Feb 10 15:24:38 2017] GET /iredadmin/ => generated 4880 bytes in 232 msecs (HTTP/1.1 200) 2 headers in 136 bytes (3 switches on core 0)
Fri Feb 10 15:24:44 2017 - WSGI app 0 (mountpoint='srv-mx2.ideacorp.com.br|/iredadmin') ready in 0 seconds on interpreter 0x1deb1b0 pid: 26639
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 1/2] 177.206.173.225 () {62 vars in 1163 bytes} [Fri Feb 10 15:24:44 2017] POST /iredadmin/login => generated 0 bytes in 90 msecs (HTTP/1.1 303) 3 headers in 215 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 2/3] 177.206.173.225 () {56 vars in 1034 bytes} [Fri Feb 10 15:24:44 2017] GET /iredadmin/dashboard/checknew => generated 10371 bytes in 301 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 2/4] 177.206.173.225 () {54 vars in 999 bytes} [Fri Feb 10 15:25:07 2017] GET /iredadmin/domains => generated 17072 bytes in 429 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 3/5] 177.206.173.225 () {54 vars in 1072 bytes} [Fri Feb 10 15:25:27 2017] GET /iredadmin/profile/domain/general/goldcorrespondentes.com.br => generated 9599 bytes in 386 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 4/6] 177.206.173.225 () {54 vars in 1080 bytes} [Fri Feb 10 15:25:29 2017] GET /iredadmin/users/goldcorrespondentes.com.br => generated 10615 bytes in 422 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 3/7] 177.206.173.225 () {54 vars in 1075 bytes} [Fri Feb 10 15:25:31 2017] GET /iredadmin/create/user/goldcorrespondentes.com.br => generated 10701 bytes in 389 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)

------------------------------------------------------------------------------------------------------------------------------

7

Re: New Bug

No error in uwsgi log file. No idea yet.

A quick and dirty solution: Point to the url to 'https://<server>/iredadmin/create/user/<domain>', replace <domain> by the real domain name you want to create a new user.

8

Re: New Bug

I already tried this way too. But when you click the button to create the new user and returns to the part of the areas reporting the following error:

https://uploaddeimagens.com.br/imagens/ … 113253-png

9

Re: New Bug

I found these logs for the error:

Access Nginx

-----------------------------------------------------------------------------------------------------------------------------------------------------------

177.13.35.4 - - [11/Feb/2017:14:54:32 +0000] "POST /iredadmin/create/user/ideacorp.com.br HTTP/1.1" 303 5 "https://srv-mx2.ideacorp.com.br/iredadm … orp.com.br" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
177.13.35.4 - - [11/Feb/2017:14:54:32 +0000] "GET /iredadmin/create/user/?msg=INVALID_DOMAIN_NAME HTTP/1.1" 303 5 "https://srv-mx2.ideacorp.com.br/iredadm … orp.com.br" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
177.13.35.4 - - [11/Feb/2017:14:54:32 +0000] "GET /iredadmin/create/user HTTP/1.1" 303 5 "https://srv-mx2.ideacorp.com.br/iredadm … orp.com.br" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"
177.13.35.4 - - [11/Feb/2017:14:54:32 +0000] "GET /iredadmin/domains?msg=NO_DOMAIN_AVAILABLE HTTP/1.1" 200 3416 "https://srv-mx2.ideacorp.com.br/iredadm … orp.com.br" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36"

-----------------------------------------------------------------------------------------------------------------------------------------------------------

IREDADMIN Log

-----------------------------------------------------------------------------------------------------------------------------------------------------------

root@srv-mx2:/# tail -f /var/log/uwsgi/app/iredadmin.log
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 56/93] 177.13.35.4 () {56 vars in 1292 bytes} [Sat Feb 11 15:07:55 2017] GET /iredadmin/create/user/?msg=INVALID_DOMAIN_NAME => generated 0 bytes in 7 msecs (HTTP/1.1 303) 3 headers in 208 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 57/94] 177.13.35.4 () {56 vars in 1243 bytes} [Sat Feb 11 15:07:56 2017] GET /iredadmin/create/user => generated 0 bytes in 7 msecs (HTTP/1.1 303) 3 headers in 228 bytes (3 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 38/95] 177.13.35.4 () {56 vars in 1282 bytes} [Sat Feb 11 15:07:56 2017] GET /iredadmin/domains?msg=NO_DOMAIN_AVAILABLE => generated 13925 bytes in 413 msecs (HTTP/1.1 200) 2 headers in 136 bytes (3 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 58/96] 177.13.35.4 () {54 vars in 1275 bytes} [Sat Feb 11 15:09:57 2017] GET /iredadmin/profile/domain/general/ampereimoveis.com.br => generated 9563 bytes in 398 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 39/97] 177.13.35.4 () {54 vars in 1253 bytes} [Sat Feb 11 15:10:00 2017] GET /iredadmin/users/ampereimoveis.com.br => generated 13044 bytes in 408 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 59/98] 177.13.35.4 () {54 vars in 1248 bytes} [Sat Feb 11 15:10:03 2017] GET /iredadmin/create/user/ampereimoveis.com.br => generated 10671 bytes in 391 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 40/99] 177.13.35.4 () {62 vars in 1442 bytes} [Sat Feb 11 15:10:16 2017] POST /iredadmin/create/user/ampereimoveis.com.br => generated 0 bytes in 11 msecs (HTTP/1.1 303) 3 headers in 233 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26638|app: 0|req: 41/100] 177.13.35.4 () {56 vars in 1292 bytes} [Sat Feb 11 15:10:16 2017] GET /iredadmin/create/user/?msg=INVALID_DOMAIN_NAME => generated 0 bytes in 5 msecs (HTTP/1.1 303) 3 headers in 208 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 60/101] 177.13.35.4 () {56 vars in 1243 bytes} [Sat Feb 11 15:10:16 2017] GET /iredadmin/create/user => generated 0 bytes in 10 msecs (HTTP/1.1 303) 3 headers in 228 bytes (2 switches on core 0)
srv-mx2.ideacorp.com.br [pid: 26639|app: 0|req: 61/102] 177.13.35.4 () {56 vars in 1282 bytes} [Sat Feb 11 15:10:16 2017] GET /iredadmin/domains?msg=NO_DOMAIN_AVAILABLE => generated 13925 bytes in 420 msecs (HTTP/1.1 200) 2 headers in 136 bytes (2 switches on core 0)

-----------------------------------------------------------------------------------------------------------------------------------------------------------

10

Re: New Bug

Also tried it on another browser (Firefox) and presented the same problems.

11

Re: New Bug

Looks like a bug of iRedAdmin open source edition.

I cannot reproduce this issue on my testing machine, is it possible to give me direct ssh access (with root privilege) to your server for debugging? Mail me please: zhb _at_ iredmail _dot_ org

12

Re: New Bug

I sent you an email. Confirms the receipt?

13

Re: New Bug

Fixed, it's a bug of iRedAdmin open source edition.
https://bitbucket.org/zhb/iredadmin-ose … 893938d51f