1

Topic: iRedMail Easy error installing

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
iRedMail Eaasy
- Linux/BSD distribution name and version:
Debian  12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
Maria
- 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.
====


I'm trying to pre-install iRedMail Easy on a test machine with a fresh, clean installation of Linux Debian 12 before purchasing and deploying the production version, and during deployment, I encounter the following errors.

...
...
...
2024-03-23 15:32:51,033 [iRedMail Easy] | TASK [iredapd : [PIP] Check existence of Python module: web] *******************
2024-03-23 15:32:51,033 [iRedMail Easy] | TASK [iredapd : [PIP] Check existence of Python module: web] *******************
2024-03-23 15:32:51,034 [iRedMail Easy] | fatal: [mail.xxxxxxxxxxxxx.com]: FAILED! => {"changed": true, "cmd": "/usr/bin/python3 -c 'import web'", "delta": "0:00:00.030126", "end": "2024-03-23 16:32:51.000026", "msg": "non-zero return code", "rc": 1, "start": "2024-03-23 16:32:50.969900", "stderr": "Traceback (most recent call last):\n  File \"\", line 1, in \nModuleNotFoundError: No module named 'web'", "stderr_lines": ["Traceback (most recent call last):", "  File \"\", line 1, in ", "ModuleNotFoundError: No module named 'web'"], "stdout": "", "stdout_lines": []}
2024-03-23 15:32:51,034 [iRedMail Easy] | ...ignoring
...
...
...
2024-03-23 15:32:53,278 [iRedMail Easy] | TASK [iredapd : [PIP] Install package '0.62.tar.gz' with pip (/usr/bin/pip3).] ***
2024-03-23 15:32:53,279 [iRedMail Easy] | fatal: [mail.xxxxxxxxxxxxx.com]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip3", "install", "file:///tmp/iredmail-dl-mail.xxxxxxxxxxxxx.com-0.62.tar.gz"], "msg": "\n:stderr: error: externally-managed-environment\n\n× This environment is externally managed\n╰─> To install Python packages system-wide, try apt install\n    python3-xyz, where xyz is the package you are trying to\n    install.\n    \n    If you wish to install a non-Debian-packaged Python package,\n    create a virtual environment using python3 -m venv path/to/venv.\n    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make\n    sure you have python3-full installed.\n    \n    If you wish to install a non-Debian packaged Python application,\n    it may be easiest to use pipx install xyz, which will manage a\n    virtual environment for you. Make sure you have pipx installed.\n    \n    See /usr/share/doc/python3.11/README.venv for more information.\n\nnote: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.\nhint: See PEP 668 for the detailed specification.\n"}
2024-03-23 15:32:53,279 [iRedMail Easy] | NO MORE HOSTS LEFT *************************************************************
2024-03-23 15:32:53,286 [iRedMail Easy] | PLAY RECAP *********************************************************************
2024-03-23 15:32:53,286 [iRedMail Easy] | mail.xxxxxxxxxxxxx.com      : ok=239  changed=27   unreachable=0    failed=1    skipped=250  rescued=0    ignored=9   


After which the installation is interrupted and it states that it has failed.

Thank you for advance.

----

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 error installing

Sorry about this trouble.
This issue has been fixed, please try again. smile

3

Re: iRedMail Easy error installing

Thank you smile

ZhangHuangbin wrote:

Sorry about this trouble.
This issue has been fixed, please try again. smile