Topic: Dashboard Slow

==== Provide required information ====
- iRedMail version and backend (LDAP/MySQL/PGSQL):iredmail-pro latest MYSQL
- Linux/BSD distribution name and version:Redman
- Any related log? Log is helpful for troubleshooting.

Every time we login to iredmail the dashboard pins the mysql server and it takes about 5 min to log me in. Once i am logged in search domain list is fast just the dashboard. Is there a way to bypass the dashboard when i login.



Re: Dashboard Slow

Reference: http://www.iredmail.org/forum/post16552.html#p16552


Re: Dashboard Slow

Looks like that option is not working anymore.


Re: Dashboard Slow

What do you mean "not working"? It still works.


Re: Dashboard Slow

ZhangHuangbin wrote:

What do you mean "not working"? It still works.

I have followed the following steps

1- Created file settings_local.py Added the following line in /var/www/iredadmin/libs


2- Saved the file with correct permissions and user

3- Restarted Apache

Logged into the system and it still takes me to the dashboard.


Re: Dashboard Slow

You didn't carefully read the referred forum post.  Let me quote it here:

You can do it with below change:
1: Open controllers/mysql/basic.py, find below two lines:

            raise web.seeother('/dashboard')
            raise web.seeother('/dashboard/checknew')

2: Change both "/dashboard" and "/dashboard/checknew" to "/domains". Save changes.
Restarting Apache is required. This works with all editions of iRedAdmin-Pro: LDAP, MySQL, PGSQL.

It does mention "REDIRECT_TO_DOMAIN_LIST_AFTER_LOGIN", but it says "Will consider make it configurable in next release of iRedAdmin-Pro" too.