Topic: A number of problems after upgarde of Ubuntu from 18.04->20.04
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.2
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: Ubuntu server 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): 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.
Apr 24 10:37:00 multibot systemd[1]: Starting iRedAPD (A simple posfix policy server)...
Apr 24 10:37:00 multibot python2[8692]: Traceback (most recent call last):
Apr 24 10:37:00 multibot python2[8692]: File "/opt/iredapd/iredapd.py", line 20, in <module>
Apr 24 10:37:00 multibot python2[8692]: from libs import __version__, daemon, utils
Apr 24 10:37:00 multibot python2[8692]: File "/opt/iRedAPD-3.6/libs/utils.py", line 17, in <module>
Apr 24 10:37:00 multibot python2[8692]: from web import sqlquote
Apr 24 10:37:00 multibot python2[8692]: ImportError: No module named web
Apr 24 10:37:00 multibot systemd[1]: iredapd.service: Control process exited, code=exited, status=1/FAILURE
Apr 24 10:37:00 multibot systemd[1]: iredapd.service: Failed with result 'exit-code'.
Apr 24 10:37:00 multibot systemd[1]: Failed to start iRedAPD (A simple posfix policy server).
====
I have a number of problems after upgrading my server to 20.04. I am not sure what comes first. But IRedAPD cannot start. I did install web.py==0.51 hoping that would solve the issue, but it did not.
I get below fault when trying to send an email
warning: connect to 127.0.0.1:7777: Connection refused
When I send a mail to my server I get the following
postfix/smtpd[12254]: NOQUEUE: reject: RCPT from
Apart from this roundcube does not work. I get 502 Bad gatway. The /var/log/nginx/error.log gives
2020/04/24 10:41:08 [error] 1992#1992: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 5.101.0.209, server: adress.nu, request: "GET /index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP HTTP/1.1", upstream: "fastcgi://127.0.0.1:9999", host: "IP:443"
root@multibot:/var/log/nginx#
Can anyone advice where to start the troubleshooting?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.