1

Topic: iRedAdmin Internal Server Error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: AlmaLinux 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MARIADB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Fresh install of AlmaLinux 8 with iRedMail. /mail/, /SOGo/, /netdata/ all seem to work but /iredadmin/ throws an Internal Server Error.

From /var/log/messages:

Oct 16 07:38:52 galadriel iredadmin[1676]: Traceback (most recent call last):
Oct 16 07:38:52 galadriel iredadmin[1676]:  File "/opt/www/iRedAdmin-1.8.1/iredadmin.py", line 8, in <module>
Oct 16 07:38:52 galadriel iredadmin[1676]:    from libs import iredbase
Oct 16 07:38:52 galadriel iredadmin[1676]:  File "/opt/www/iRedAdmin-1.8.1/libs/iredbase.py", line 5, in <module>
Oct 16 07:38:52 galadriel iredadmin[1676]:    import web
Oct 16 07:38:52 galadriel iredadmin[1676]: ModuleNotFoundError: No module named 'web'
Oct 16 07:38:52 galadriel iredadmin[1676]: unable to load app 0 (mountpoint='galadriel.ntrmx.be|/iredadmin') (callable not found or import error)
Oct 16 07:38:52 galadriel iredadmin[1676]: --- no python application found, check your startup logs for errors ---
Oct 16 07:38:52 galadriel iredadmin[1676]: [162.158.233.17] GET /iredadmin/ 500 104 "-"

Any idea where to look?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedAdmin Internal Server Error

Run commands below to fix it:

pip3 install -U web.py
service iredadmin restart

3

Re: iRedAdmin Internal Server Error

Thank you. That fixed it.