1

Topic: Iredapd fails in Debian 11

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.4.0 MARIADB edition.
- Deployed with Downloadable Installed
- Linux/BSD distribution name and version: Debian GNU/Linux 11 (bullseye)
- Store mail accounts in which backend: Mysql
- 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.
====

Hello!
We recently upgraded from Debian 10 to Debian 11, and /iredadmin no longer works, throws "Internal Server Error"
when I try restart iredapd service it says
Aug 28 01:28:37 nedova.server-host.top systemd[1]: Starting iRedAPD (A simple posfix policy server)...
Aug 28 01:28:37 nedova.server-host.top python3[45000]: Traceback (most recent call last):
Aug 28 01:28:37 nedova.server-host.top python3[45000]:   File "/opt/iredapd/iredapd.py", line 20, in <module>
Aug 28 01:28:37 nedova.server-host.top python3[45000]:     from libs import __version__, daemon, utils
Aug 28 01:28:37 nedova.server-host.top python3[45000]:   File "/opt/iRedAPD-5.0/libs/utils.py", line 19, in <module>
Aug 28 01:28:37 nedova.server-host.top python3[45000]:     from web import sqlquote
Aug 28 01:28:37 nedova.server-host.top python3[45000]: ModuleNotFoundError: No module named 'web'

Please help

----

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

2

Re: Iredapd fails in Debian 11

seems like a python error for me

pip3 install web.py could fix this

3

Re: Iredapd fails in Debian 11

Debian 11 offers newer Python release, please re-install Python module "web.py" and restart iredapd/iredadmin services.

pip3 install -U web.py