1 (edited by bb 2014-06-18 15:43:00)

Topic: iRedadmin-Pro 1.8.2 i can't user add "internal server error"?

==== Required information ====
- iRedMail version: 0.8.7  iRedAdmin-Pro-MySQL 1.8.2
- Store mail accounts in which backend (MySQL:
- Linux/BSD distribution name and version: Centos 6.5
- Related log if you're reporting an issue:
=======

Dear ZhangHuangbin

My Login username as admin account.
If i click on "Preferences" green button and "add user" button than white page with error "internal server error"?

internal server error after upgrade to iRedMail-Pro 1.8.2.

how can i fix? 
could you please kindly advise me about this error,

2

Re: iRedadmin-Pro 1.8.2 i can't user add "internal server error"?

Any related error log in Apache log file (/var/log/httpd/ssl_error_log)?

3

Re: iRedadmin-Pro 1.8.2 i can't user add "internal server error"?

Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
     return self.handle()
   File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
     return self._delegate(fn, self.fvars, args)
   File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
     return handle_class(cls)
   File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
     return tocall(*args)
   File "/var/www/iredadmin/controllers/decorators.py", line 11, in proxyfunc
     return func(self, *args, **kw)
   File "/var/www/iredadmin/controllers/mysql/user.py", line 329, in GET
     domain_settings = iredutils.convert_sql_account_settings_to_dict(domain_profile['settings'])
KeyError: 'settings'

Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
     return self.handle()
   File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
     return self._delegate(fn, self.fvars, args)
   File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
     return handle_class(cls)
   File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
     return tocall(*args)
   File "/var/www/iredadmin/controllers/decorators.py", line 11, in proxyfunc
     return func(self, *args, **kw)
   File "/var/www/iredadmin/controllers/mysql/user.py", line 329, in GET
     domain_settings = iredutils.convert_sql_account_settings_to_dict(domain_profile['settings'])
KeyError: 'settings'

Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
     return self.handle()
   File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
     return self._delegate(fn, self.fvars, args)

4

Re: iRedadmin-Pro 1.8.2 i can't user add "internal server error"?

Please upgrade your iRedMail to the latest iRedMail-0.8.7 first, we have some SQL structure change in this release.
Upgrade tutorials are available here:
http://www.iredmail.org/doc.html#upgrade_tutorial