1

Topic: FreeBDs installation fails

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

I'm initiating a new installation of Iredmail and get into some issue:

[ INFO ] Checking configuration file: /root/iRedMail-1.4.2/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail-1.4.2/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-1.4.2/runtime/install.status.
[ INFO ] Ports tree: /usr/ports
[ INFO ] Fetching all distfiles for required ports (make fetch-recursive)
[ INFO ] Fetching all distfiles for port: devel/py-Jinja2
===> Fetching all distfiles for py38-Jinja2-2.11.2_1 and dependencies
===>   py38-Jinja2-2.11.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py38-Jinja2-2.11.2_1 for building
===> Fetching all distfiles required by pkg-1.16.3 for building
===>   py38-setuptools-44.0.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py38-setuptools-44.0.0 for building
===>   python38-3.8.7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by python38-3.8.7 for building
===>   pkgconf-1.7.3,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pkgconf-1.7.3,1 for building
===>   kyua-0.13_5,3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by kyua-0.13_5,3 for building
===>   atf-0.21 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by atf-0.21 for building
===>   lutok-0.4_7 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by lutok-0.4_7 for building
===>   lua52-5.2.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by lua52-5.2.4 for building
===>   libedit-3.1.20191231,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libedit-3.1.20191231,1 for building
===>   sqlite3-3.34.0,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by sqlite3-3.34.0,1 for building
===>  openssl-1.1.1k,1 Invalid perl5 version 5.34.
*** Error code 1

Stop.
make[1]: stopped in /basejail/usr/ports/security/openssl
*** Error code 1

Stop.
make: stopped in /basejail/usr/ports/devel/py-Jinja2
<< ERROR >> Tarballs were not downloaded correctly, please fix it manually and then re-execute iRedMail.sh.

this is due to something that iredmail added to the /etc/make.conf "DEFAULT_VERSIONS [..] perl5=5.34"
When using quarterly port branches (which i believe is now the default for FreeBSD) perl 5.34 is not yet available.

Removing that entry allows the installer to continue.

----

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

2

Re: FreeBDs installation fails

We usually use the latest ports tree for testing.

3

Re: FreeBDs installation fails

I figured you are using "latest", but it is a moving target, it changes one hour with the next...
Have you considered switching to using packages for everything except the few that need customization?
It would simplify and speedup the installer and likely make the whole installation more reliable.