1

Topic: iRedMail Easy 1.7.0 - upgrade failed because of resolvconf

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
Latest version
- Deployed with iRedMail Easy or the downloadable installer?
iRedMail Easy
- Linux/BSD distribution name and version:
Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
MariaDB
- Web server (Apache or Nginx):
Nginx
- Manage mail accounts with iRedAdmin-Pro?
iRedAdmin-Pro-SQL

- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

When I tried to upgrade the server to iRedMail Easy 1.7.0, an error occurred stating that the task failed because "Destination /etc/systemd/resolved.conf does not exist!" Relevant log details are provided below.

Thank you in advance,
T

2024-07-17 21:31:17,729 [iRedMail Easy] | TASK [bind : Debian/Ubuntu: Install package 'resolvconf' on Debian/Ubuntu.] ****
2024-07-17 21:31:17,730 [iRedMail Easy] | TASK [bind : Debian/Ubuntu: Install package 'resolvconf' on Debian/Ubuntu.] ****
2024-07-17 21:31:17,730 [iRedMail Easy] | ok: [ mail.XxXxXxX.ba]
2024-07-17 21:31:17,912 [iRedMail Easy] | TASK [bind : Debian/Ubuntu: Enable service 'resolvconf' on Debian/Ubuntu.] *****
2024-07-17 21:31:17,912 [iRedMail Easy] | TASK [bind : Debian/Ubuntu: Enable service 'resolvconf' on Debian/Ubuntu.] *****
2024-07-17 21:31:17,912 [iRedMail Easy] | ok: [ mail.XxXxXxX.ba]
2024-07-17 21:31:18,007 [iRedMail Easy] | TASK [bind : Debian/Ubuntu: Use 127.0.0.1 as local DNS server in /etc/resolvconf/resolv.conf.d/head] ***
2024-07-17 21:31:18,007 [iRedMail Easy] | TASK [bind : Debian/Ubuntu: Use 127.0.0.1 as local DNS server in /etc/resolvconf/resolv.conf.d/head] ***
2024-07-17 21:31:18,007 [iRedMail Easy] | ok: [ mail.XxXxXxX.ba]
2024-07-17 21:31:18,177 [iRedMail Easy] | TASK [bind : Detect /var/spool/postfix/etc/resolv.conf] ************************
2024-07-17 21:31:18,177 [iRedMail Easy] | TASK [bind : Detect /var/spool/postfix/etc/resolv.conf] ************************
2024-07-17 21:31:18,177 [iRedMail Easy] | ok: [ mail.XxXxXxX.ba]
2024-07-17 21:31:18,271 [iRedMail Easy] | TASK [bind : Use 127.0.0.1 as first DNS server in /var/spool/postfix/etc/resolv.conf.] ***
2024-07-17 21:31:18,271 [iRedMail Easy] | TASK [bind : Use 127.0.0.1 as first DNS server in /var/spool/postfix/etc/resolv.conf.] ***
2024-07-17 21:31:18,271 [iRedMail Easy] | ok: [ mail.XxXxXxX.ba]
2024-07-17 21:31:18,358 [iRedMail Easy] | TASK [bind : Use 127.0.0.1 default DNS server in /etc/systemd/resolved.conf.] ***
2024-07-17 21:31:18,359 [iRedMail Easy] | TASK [bind : Use 127.0.0.1 default DNS server in /etc/systemd/resolved.conf.] ***
2024-07-17 21:31:18,359 [iRedMail Easy] | fatal: [ mail.XxXxXxX.ba]: FAILED! => {"changed": false, "msg": "Destination /etc/systemd/resolved.conf does not exist !", "rc": 257}

----

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

2

Re: iRedMail Easy 1.7.0 - upgrade failed because of resolvconf

So sorry about this trouble.
Should be fixed now, please try upgrade again.

3

Re: iRedMail Easy 1.7.0 - upgrade failed because of resolvconf

Thank you, now the upgrade is complete without any errors.