Topic: internal server error /system/throttle after upgrade to 4.8
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.2 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu 20.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySql
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? yes. 4.8
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello I upgraded 2 days ago from iRedAdmin.
I dowloaded iRedAdmin-Pro-SQL-4.8 package and I run tools/upgrade_iredadmin.sh
After upgrade I'm unable to access /system/throttle while I was previously able to access it.
inside /var/log/syslog I see the following everytime I try to access that page:
Apr 15 10:17:45 mail001 iredadmin: Traceback (most recent call last):#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 280, in process#012 return self.handle() #012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 271, in handle#012 return self._delegate(fn, self.fvars, args)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 514, in _delegate#012 return handle_class(cls)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 492, in handle_class#012 return tocall(*args)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/decorators.py",
line 58, in proxyfunc#012 return func(*args, **kw)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/iredapd/throttle.py",
line 23, in GET#012 return web.render('iredapd/throttle_global.html',#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/iredbase.py",
line 178, in render_template#012 return jinja_env.get_template(template_name).render(kwargs)#012 File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py",
line 76, in render#012 return original_render(self, *args, **kwargs)#012 File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 1008, in render#012 return self.environment.handle_exception(exc_info, True)#012 File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 780, in handle_exception#012 reraise(exc_type, exc_value, tb)#012 File "/usr/lib/python3/dist-packages/jinja2/_compat.py",
line 37, in reraise#012 raise value.with_traceback(tb)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/iredapd/throttle_global.html",
line 19, in <module>#012 {% from "macros/msg_handlers.html" import throttle_msg_handler with context %}#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/layout.html",
line 205, in <module>#012 {% block main %}{% endblock %}#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/iredapd/throttle_global.html",
line 49, in <module>#012 {{ display_throttle_setting(#012 File "/usr/lib/python3/dist-packages/jinja2/runtime.py",
line 583, in _invoke#012 rv = self._func(*arguments)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/macros/iredapd.html",
line 382, in <module>#012 value="{% if setting.max_rcpts > 0 %}{{ setting.max_rcpts |e }}{% endif %}"#012jinja2.exceptions.UndefinedError: 'web.utils.Storage object' has no attribute 'max_rcpts'#012#012Traceback (most recent call last):#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 280, in process#012 return self.handle()#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 271, in handle#012 return self._delegate(fn, self.fvars, args)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 514, in _delegate#012 return handle_class(cls)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 492, in handle_class#012 return tocall(*args)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/decorators.py",
line 58, in proxyfunc#012 return func(*args, **kw)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/iredapd/throttle.py",
line 23, in GET#012 return web.render('iredapd/throttle_global.html',#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/iredbase.py",
line 178, in render_template#012 return jinja_env.get_template(template_name).render(kwargs)#012 File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py",
line 76, in render#012 return original_render(self, *args, **kwargs)#012 File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 1008, in render#012 return self.environment.handle_exception(exc_info, True)#012 File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 780, in handle_exception#012 reraise(exc_type, exc_value, tb)#012 File "/usr/lib/python3/dist-packages/jinja2/_compat.py",
line 37, in reraise#012 raise value.with_traceback(tb)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/iredapd/throttle_global.html",
line 19, in <module>#012 {% from "macros/msg_handlers.html" import throttle_msg_handler with context %}#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/layout.html",
line 205, in <module>#012 {% block main %}{% endblock %}#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/iredapd/throttle_global.html",
line 49, in <module>#012 {{ display_throttle_setting(#012 File "/usr/lib/python3/dist-packages/jinja2/runtime.py",
line 583, in _invoke#012 rv = self._func(*arguments)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/macros/iredapd.html",
line 382, in <module>#012 value="{% if setting.max_rcpts > 0 %}{{ setting.max_rcpts |e }}{% endif %}"#012jinja2.exceptions.UndefinedError: 'web.utils.Storage object' has no attribute 'max_rcpts'#012#012Traceback (most recent call last):#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 280, in process#012 return self.handle()#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 271, in handle#012 return self._delegate(fn, self.fvars, args)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 514, in _delegate#012 return handle_class(cls)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 492, in handle_class#012 return tocall(*args)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/decorators.py",
line 58, in proxyfunc#012 return func(*args, **kw)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/iredapd/throttle.py",
line 23, in GET#012 return web.render('iredapd/throttle_global.html',#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/iredbase.py",
line 178, in render_template#012 return jinja_env.get_template(template_name).render(kwargs)#012 File "/usr/lib/python3/dist-packages/jinja2/asyncsupport.py",
line 76, in render#012 return original_render(self, *args, **kwargs)#012 File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 1008, in render#012 return self.environment.handle_exception(exc_info, True)#012 File "/usr/lib/python3/dist-packages/jinja2/environment.py",
line 780, in handle_exception#012 reraise(exc_type, exc_value, tb)#012 File "/usr/lib/python3/dist-packages/jinja2/_compat.py",
line 37, in reraise#012 raise value.with_traceback(tb)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/iredapd/throttle_global.html",
line 19, in <module>#012 {% from "macros/msg_handlers.html" import throttle_msg_handler with context %}#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/layout.html",
line 205, in <module>#012 {% block main %}{% endblock %}#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/iredapd/throttle_global.html",
line 49, in <module>#012 {{ display_throttle_setting(#012 File "/usr/lib/python3/dist-packages/jinja2/runtime.py",
line 583, in _invoke#012 rv = self._func(*arguments)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/libs/../templates/default/macros/iredapd.html",
line 382, in <module>#012 value="{% if setting.max_rcpts > 0 %}{{ setting.max_rcpts |e }}{% endif %}"#012jinja2.exceptions.UndefinedError: 'web.utils.Storage object' has no attribute 'max_rcpts'#012#012Traceback (most recent call last):#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 280, in process#012 return self.handle()#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 271, in handle#012 return self._delegate(fn, self.fvars, args)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 514, in _delegate#012 return handle_class(cls)#012 File "/usr/local/lib/python3.8/dist-packages/web/application.py",
line 492, in handle_class#012 return tocall(*args)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/decorators.py",
line 58, in proxyfunc#012 return func(*args, **kw)#012 File "/opt/www/iRedAdmin-Pro-SQL-4.8/controllers/iredapd/thro
How can I fix it?
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.