Topic: internal server error on all internal pages
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: CentOS release 6.8 (Final)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- Related log if you're reporting an issue:
====
After yum update and rebooting all internal pages return internal server error. Apache error log:
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] Traceback (most recent call last):
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return self.handle()
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return self._delegate(fn, self.fvars, args)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return handle_class(cls)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return tocall(*args)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/var/www/iredadmin/controllers/decorators.py", line 40, in proxyfunc
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return func(self, *args, **kw)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/var/www/iredadmin/controllers/sql/basic.py", line 261, in GET
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] removeQuarantinedInDays=settings.AMAVISD_REMOVE_QUARANTINED_IN_DAYS,
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/var/www/iredadmin/libs/iredbase.py", line 181, in render_template
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return jinja_env.get_template(template_name).render(context)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 669, in render
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] return self.environment.handle_exception(exc_info, True)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/var/www/iredadmin/libs/../templates/default/dashboard.html", line 4, in top-level template code
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] {% from "macros/msgHandlers.html" import successInfo, errorInfo with context %}
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/var/www/iredadmin/libs/../templates/default/layout.html", line 167, in top-level template code
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] {% block main %}{% endblock %}
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] File "/var/www/iredadmin/libs/../templates/default/dashboard.html", line 140, in block "main"
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] <td class="full"><a href="{{ctx.homepath}}/activities/sent/user/{{ s.mail |e }}">{{ s.mail |e }}</a></td>
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231] UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 9: ordinal not in range(128)
[Fri Apr 14 14:51:14 2017] [error] [client 109.67.251.231]
I've returned a system to a previous snapshot and all returned to work.
I didn't upgrade Pro to 2.6.0, still 2.5.0.
Python 2.6.6
Below result of yum update command - it may help to understand a reason of the issue:
Dependencies Resolved
Regards,
Roman
=================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================
Installing:
kernel x86_64 2.6.32-696.1.1.el6 updates 32 M
Updating:
acl x86_64 2.2.49-7.el6 base 75 k
audit x86_64 2.4.5-6.el6 base 204 k
audit-libs x86_64 2.4.5-6.el6 base 74 k
bash x86_64 4.1.2-48.el6 base 910 k
bind-libs x86_64 32:9.8.2-0.62.rc1.el6 base 891 k
bind-utils x86_64 32:9.8.2-0.62.rc1.el6 base 188 k
binutils x86_64 2.20.51.0.2-5.47.el6_9.1 updates 2.8 M
centos-release x86_64 6-9.el6.12.3 base 22 k
clamav x86_64 0.99.2-2.el6 epel 4.3 M
clamav-db x86_64 0.99.2-2.el6 epel 110 M
clamd x86_64 0.99.2-2.el6 epel 167 k
coreutils x86_64 8.4-46.el6 base 3.0 M
coreutils-libs x86_64 8.4-46.el6 base 52 k
cpio x86_64 2.10-13.el6 base 192 k
curl x86_64 7.19.7-53.el6_9 updates 197 k
db4 x86_64 4.7.25-22.el6 base 564 k
db4-cxx x86_64 4.7.25-22.el6 base 589 k
db4-devel x86_64 4.7.25-22.el6 base 6.6 M
db4-utils x86_64 4.7.25-22.el6 base 131 k
device-mapper x86_64 1.02.117-12.el6 base 218 k
device-mapper-event x86_64 1.02.117-12.el6 base 134 k
device-mapper-event-libs x86_64 1.02.117-12.el6 base 126 k
device-mapper-libs x86_64 1.02.117-12.el6 base 257 k
device-mapper-multipath x86_64 0.4.9-100.el6 base 132 k
device-mapper-multipath-libs x86_64 0.4.9-100.el6 base 202 k
dhclient x86_64 12:4.1.1-53.P1.el6.centos base 322 k
dhcp-common x86_64 12:4.1.1-53.P1.el6.centos base 144 k
dialog x86_64 1.1-10.20080819.el6 base 196 k
efibootmgr x86_64 0.5.4-15.el6 base 38 k
fail2ban noarch 0.9.6-1.el6.1 epel 468 k
glib2 x86_64 2.28.8-9.el6 base 1.7 M
glibc i686 2.12-1.209.el6_9.1 updates 4.4 M
glibc x86_64 2.12-1.209.el6_9.1 updates 3.8 M
glibc-common x86_64 2.12-1.209.el6_9.1 updates 14 M
glibc-devel x86_64 2.12-1.209.el6_9.1 updates 991 k
glibc-headers x86_64 2.12-1.209.el6_9.1 updates 619 k
gmp x86_64 4.3.1-12.el6 base 207 k
gnutls x86_64 2.12.23-21.el6 base 389 k
grep x86_64 2.20-6.el6 base 345 k
grub x86_64 1:0.97-99.el6 base 939 k
gzip x86_64 1.3.12-24.el6 base 116 k
hwdata noarch 0.233-18.1.el6 base 1.3 M
initscripts x86_64 9.03.58-1.el6.centos base 949 k
iputils x86_64 20071127-24.el6 base 121 k
iscsi-initiator-utils x86_64 6.2.0.873-26.el6 base 731 k
kernel-firmware noarch 2.6.32-696.1.1.el6 updates 29 M
kernel-headers x86_64 2.6.32-696.1.1.el6 updates 4.5 M
kpartx x86_64 0.4.9-100.el6 base 70 k
libX11 x86_64 1.6.4-3.el6 base 587 k
libX11-common noarch 1.6.4-3.el6 base 171 k
libacl x86_64 2.2.49-7.el6 base 24 k
libblkid x86_64 2.17.2-12.28.el6 base 118 k
libcurl x86_64 7.19.7-53.el6_9 updates 169 k
libstdc++ i686 4.4.7-18.el6 base 303 k
libstdc++ x86_64 4.4.7-18.el6 base 295 k
libuuid x86_64 2.17.2-12.28.el6 base 71 k
libxcb x86_64 1.12-4.el6 base 180 k
logrotate x86_64 3.7.8-28.el6 base 59 k
logwatch noarch 7.3.6-55.el6 base 303 k
lvm2 x86_64 2.02.143-12.el6 base 941 k
lvm2-libs x86_64 2.02.143-12.el6 base 1.0 M
man x86_64 1.6f-39.el6 base 265 k
mdadm x86_64 3.3.4-8.el6 base 348 k
module-init-tools x86_64 3.9-26.el6 base 467 k
mutt x86_64 5:1.5.20-8.20091214hg736b6a.el6 base 1.2 M
net-snmp x86_64 1:5.5-60.el6 base 309 k
net-snmp-libs x86_64 1:5.5-60.el6 base 1.5 M
net-snmp-utils x86_64 1:5.5-60.el6 base 177 k
net-tools x86_64 1.60-114.el6 base 269 k
newt x86_64 0.52.11-4.el6 base 97 k
newt-python x86_64 0.52.11-4.el6 base 48 k
nspr x86_64 4.13.1-1.el6 base 114 k
nss x86_64 3.28.3-3.el6_9 updates 880 k
nss-sysinit x86_64 3.28.3-3.el6_9 updates 51 k
nss-tools x86_64 3.28.3-3.el6_9 updates 446 k
nss-util x86_64 3.28.3-1.el6_9 updates 68 k
openldap x86_64 2.4.40-16.el6 base 285 k
openssh x86_64 5.3p1-122.el6 base 277 k
openssh-clients x86_64 5.3p1-122.el6 base 443 k
openssh-server x86_64 5.3p1-122.el6 base 329 k
pam x86_64 1.1.1-24.el6 base 659 k
perl x86_64 4:5.10.1-144.el6 base 10 M
perl-Archive-Tar x86_64 1.58-144.el6 base 74 k
perl-CGI x86_64 3.51-144.el6 base 210 k
perl-CPAN x86_64 1.9402-144.el6 base 247 k
perl-Compress-Raw-Zlib x86_64 1:2.021-144.el6 base 70 k
perl-Compress-Zlib x86_64 2.021-144.el6 base 46 k
perl-Digest-SHA x86_64 1:5.47-144.el6 base 65 k
perl-ExtUtils-MakeMaker x86_64 6.55-144.el6 base 294 k
perl-ExtUtils-ParseXS x86_64 1:2.2003.0-144.el6 base 46 k
perl-IO-Compress-Base x86_64 2.021-144.el6 base 70 k
perl-IO-Compress-Zlib x86_64 2.021-144.el6 base 136 k
perl-IO-Zlib x86_64 1:1.09-144.el6 base 34 k
perl-LDAP noarch 1:0.40-3.el6 base 354 k
perl-Module-Pluggable x86_64 1:3.90-144.el6 base 41 k
perl-Package-Constants x86_64 1:0.02-144.el6 base 27 k
perl-Pod-Escapes x86_64 1:1.04-144.el6 base 33 k
perl-Pod-Simple x86_64 1:3.13-144.el6 base 213 k
perl-Test-Harness x86_64 3.17-144.el6 base 232 k
perl-Time-HiRes x86_64 4:1.9721-144.el6 base 49 k
perl-devel x86_64 4:5.10.1-144.el6 base 424 k
perl-libs x86_64 4:5.10.1-144.el6 base 579 k
perl-libwww-perl noarch 5.833-5.el6 base 390 k
perl-version x86_64 3:0.77-144.el6 base 52 k
php x86_64 5.3.3-49.el6 base 1.1 M
php-bcmath x86_64 5.3.3-49.el6 base 40 k
php-cli x86_64 5.3.3-49.el6 base 2.2 M
php-common x86_64 5.3.3-49.el6 base 530 k
php-fpm x86_64 5.3.3-49.el6 base 1.1 M
php-gd x86_64 5.3.3-49.el6 base 111 k
php-imap x86_64 5.3.3-49.el6 base 55 k
php-ldap x86_64 5.3.3-49.el6 base 43 k
php-mbstring x86_64 5.3.3-49.el6 base 460 k
php-mysql x86_64 5.3.3-49.el6 base 86 k
php-pdo x86_64 5.3.3-49.el6 base 80 k
php-pgsql x86_64 5.3.3-49.el6 base 75 k
php-process x86_64 5.3.3-49.el6 base 44 k
php-tidy x86_64 5.3.3-49.el6 base 41 k
php-xml x86_64 5.3.3-49.el6 base 108 k
phpMyAdmin noarch 4.0.10.19-1.el6 epel 4.2 M
plymouth x86_64 0.8.3-29.el6.centos base 89 k
plymouth-core-libs x86_64 0.8.3-29.el6.centos base 88 k
plymouth-scripts x86_64 0.8.3-29.el6.centos base 31 k
postgresql-libs x86_64 8.4.20-7.el6 base 202 k
procps x86_64 3.2.8-45.el6 base 219 k
psmisc x86_64 22.6-24.el6 base 82 k
python-dateutil noarch 1.4.1-7.el6 base 84 k
python-jinja2 x86_64 2.2.1-3.el6 base 466 k
selinux-policy noarch 3.7.19-307.el6 base 894 k
selinux-policy-targeted noarch 3.7.19-307.el6 base 3.1 M
setup noarch 2.8.14-23.el6 base 151 k
sudo x86_64 1.8.6p3-27.el6 base 711 k
tcpdump x86_64 14:4.0.0-11.20090921gitdf3cb4.2.el6 base 339 k
tzdata noarch 2017b-1.el6 updates 455 k
unzip x86_64 6.0-5.el6 base 152 k
util-linux-ng x86_64 2.17.2-12.28.el6 base 1.6 M
uwsgi x86_64 2.0.14-11.el6 epel 352 k
uwsgi-plugin-common x86_64 2.0.14-11.el6 epel 48 k
uwsgi-plugin-python x86_64 2.0.14-11.el6 epel 73 k
wget x86_64 1.12-10.el6 base 484 k
xfsprogs x86_64 3.1.1-20.el6 base 725 k
yum noarch 3.2.29-81.el6.centos base 1.0 M
yum-plugin-fastestmirror noarch 1.1.30-40.el6 base 33 k
Removing:
kernel x86_64 2.6.32-642.4.2.el6 @updates 131 M
Installing for dependencies:
python-six noarch 1.9.0-2.el6 base 28 k
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.