Topic: Upgrading to Debian 11 (bullseye)
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.2
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 10.11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL (MariaDB 10.3)
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Are there any known issues when when upgrading from Debian 10 to 11?
On a test machine, I followed the official Debian guide:
https://www.debian.org/releases/stable/ … ng.en.html
After upgrading and rebooting, Dovecot and Postfix and SOGo started OK but iRedAPD threw an error:
someuser@testhost:~$ sudo systemctl status iredapd
● iredapd.service - iRedAPD (A simple posfix policy server)
Loaded: loaded (/lib/systemd/system/iredapd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-12-08 22:27:12 PST; 1min 36s ago
Process: 572 ExecStart=/usr/bin/python3 /opt/iredapd/iredapd.py (code=exited, status=1/FAILURE)
CPU: 1.934s
Dec 08 22:27:11 testhost python3[572]: Traceback (most recent call last):
Dec 08 22:27:11 testhost python3[572]: File "/opt/iredapd/iredapd.py", line 20, in <module>
Dec 08 22:27:11 testhost python3[572]: from libs import __version__, daemon, utils
Dec 08 22:27:11 testhost python3[572]: File "/opt/iRedAPD-5.0.3/libs/utils.py", line 19, in <module>
Dec 08 22:27:11 testhost python3[572]: from web import sqlquote
Dec 08 22:27:11 testhost python3[572]: ModuleNotFoundError: No module named 'web'
Dec 08 22:27:12 testhost systemd[1]: iredapd.service: Control process exited, code=exited, status=1/FAILURE
Dec 08 22:27:12 testhost systemd[1]: iredapd.service: Failed with result 'exit-code'.
Dec 08 22:27:12 testhost systemd[1]: Failed to start iRedAPD (A simple posfix policy server).
Dec 08 22:27:12 testhost systemd[1]: iredapd.service: Consumed 1.934s CPU time.
And that's just the iRedAPD service. I don't know what else within iRedMail and iRedAdmin-Pro might be broken.
Thanks in advance for troubleshooting clues.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.