1 (edited by rayatnip 2020-08-19 22:59:21)

Topic: Mail server broken after upgrade of iredAPD fails

after following upgrade procedure for iredapd got the following error
Centos 8

Aug 18 13:10:24 mail.atnip.net systemd[1]: Starting iRedAPD (A simple posfix policy server)...
Aug 18 13:10:25 mail.atnip.net python3[97279]: Traceback (most recent call last):
Aug 18 13:10:25 mail.atnip.net python3[97279]:   File "/opt/iredapd/iredapd.py", line 20, in <module>
Aug 18 13:10:25 mail.atnip.net python3[97279]:     from libs import __version__, daemon, utils
Aug 18 13:10:25 mail.atnip.net python3[97279]:   File "/opt/iRedAPD-4.4/libs/utils.py", line 19, in <module>
Aug 18 13:10:25 mail.atnip.net python3[97279]:     from web import sqlquote
Aug 18 13:10:25 mail.atnip.net python3[97279]: ModuleNotFoundError: No module named 'web'
Aug 18 13:10:25 mail.atnip.net systemd[1]: iredapd.service: Control process exited, code=exited status=1
Aug 18 13:10:25 mail.atnip.net systemd[1]: iredapd.service: Failed with result 'exit-code'.
Aug 18 13:10:25 mail.atnip.net systemd[1]: Failed to start iRedAPD (A simple posfix policy server).
~

----

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

2

Re: Mail server broken after upgrade of iredAPD fails

Had a same problem.
Solution was:
pip3.6 install web.py

and:
systemctl restart iredapd.service