1 (edited by mkr 2023-07-28 17:08:05)

Topic: iRedAPD 5.3

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

While upgrading to iredapd5.3 in iredmail 1.6.4 I got below error. I later added proxy in env variable and reran bash upgrade_iredapd.sh which was succesful. Did error in 1st upgrade process might have broken iredAPD ? as Iam getting in status:Jul 28 14:36:29 systemd[1]: iredapd.service: Can't open PID file /run/iredapd.pid (yet?) after start: Operation not permitted
Jul 28 14:36:29  systemd[1]: Started iRedAPD (A simple posfix policy server).

Errror in first attempt:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3e837f1100>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/web-py/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3e837f1970>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/web-py/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3e837f17c0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/web-py/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3e837f1460>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/web-py/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3e837f15e0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/web-py/
ERROR: Could not find a version that satisfies the requirement web.py>=0.61 (from versions: none)
ERROR: No matching distribution found for web.py>=0.61
* Found iRedAPD directory: /opt/iredapd, symbol link of /opt/iRedAPD-5.3
* Found iRedAPD config file: /opt/iredapd/settings.py
* Add new SQL tables - if there's any
* Copying new version to /opt/iRedAPD-5.3
* Copy old config file: settings.py (/opt/iredapd/settings.py -> /opt/iRedAPD-5.3/settings.py)
cp: '/opt/iredapd/settings.py' and '/opt/iRedAPD-5.3/settings.py' are the same file
* Copy custom plugins: /opt/iRedAPD-5.3/plugins/custom_*.py.
* Set correct owner and permission for /opt/iRedAPD-5.3: root:root, 0500.
* Set permission for iRedAPD config file: /opt/iRedAPD-5.3/settings.py -> 0400.
* Re-create symbol link: /opt/iredapd -> /opt/iRedAPD-5.3
* Remove existing systemd service files.
* Copy systemd service file: /opt/iredapd/rc_scripts/iredapd.service -> /lib/systemd/system/iredapd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/iredapd.service -> /usr/lib/systemd/system/iredapd.service.
Redirecting to /bin/systemctl restart rsyslog.service
* Replace py2 by py3 in cron jobs.
* Restarting iRedAPD service.
Redirecting to /bin/systemctl restart iredapd.service
* Upgrade completed.

----

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

2

Re: iRedAPD 5.3

mkr wrote:

ERROR: Could not find a version that satisfies the requirement web.py>=0.61 (from versions: none)

It's safe to ignore this error in this case, because recent iRedAPD releases ship web.py internally.

3

Re: iRedAPD 5.3

ZhangHuangbin wrote:
mkr wrote:

ERROR: Could not find a version that satisfies the requirement web.py>=0.61 (from versions: none)

It's safe to ignore this error in this case, because recent iRedAPD releases ship web.py internally.

I reran upgrade 5.3 twice after setting http proxy. Now iam getting below error in systemctl status iredapd . Is it safe to run upgrade twice?

Jul 28 14:36:29 systemd[1]: iredapd.service: Can't open PID file /run/iredapd.pid (yet?) after start: Operation not permitted