Topic: Internal Server Error - bug class 'jinja2.exceptions.TemplateNotFound'
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: iRedAdmin-Pro-MySQL-1.9.2 with 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Ubutnu 14.04 LTS
- Related log if you're reporting an issue:
====
I am getting "internal server error" when i open link https://<url>/iredadmin/aliases/<domain>.
Because I set debug=true I´m getting a mail with the following log and a file which is called bug.html with further debug infos like bug class 'jinja2.exceptions.TemplateNotFound'.
It is confusing because it tells something about missing pgsql templates , but i use Mysql.
GET https://<url>/iredadmin/aliases/<domain>
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/web/application.py", line 242, in process
return self.handle()
File "/usr/lib/pymodules/python2.7/web/application.py", line 233, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/pymodules/python2.7/web/application.py", line 415, in _delegate
return handle_class(cls)
File "/usr/lib/pymodules/python2.7/web/application.py", line 390, in handle_class
return tocall(*args)
File "/usr/share/apache2/iredadmin/controllers/decorators.py", line 22, in proxyfunc
return func(self, *args, **kw)
File "/usr/share/apache2/iredadmin/controllers/mysql/alias.py", line 39, in GET
msg=web.input().get('msg', None),
File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 199, in render_template
return jinja_env.get_template(template_name).render(context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 719, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 693, in _load_template
template = self.loader.load(self, name, globals)
File "/usr/lib/python2.7/dist-packages/jinja2/loaders.py", line 115, in load
source, filename, uptodate = self.get_source(environment, name)
File "/usr/lib/python2.7/dist-packages/jinja2/loaders.py", line 180, in get_source
raise TemplateNotFound(template)
TemplateNotFound: pgsql/alias/list.html
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.