1 (edited by ochyst 2020-10-07 15:04:15)

Topic: FreeBSD installation failed

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: FreeBSD 11.3-RELEASE-p14
- 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.
====
root@newiredmail:~/iRedMail-1.3.1 # ./iRedMail.sh
[ INFO ] Checking configuration file: /root/iRedMail-1.3.1/config ... [FOUND]
< Question > Use it for mail server setting? [y|N]y
[ INFO ] Use config file: /root/iRedMail-1.3.1/config for mail server setting.
[ INFO ] Import installation process status from file: /root/iRedMail-1.3.1/runtime/install.status.
< SKIP > Function: fetch_all_src_tarballs.
[ INFO ] All ports:  databases/mariadb104-client databases/mariadb104-server mail/dovecot mail/dovecot-pigeonhole mail/spamassassin security/amavisd-new mail/postfix www/nginx www/uwsgi lang/php74 mail/php74-imap archivers/php74-zip archivers/php74-bz2 archivers/php74-zlib devel/php74-gettext security/php74-openssl www/php74-session converters/php74-iconv textproc/php74-pspell textproc/php74-dom databases/php74-mysqli devel/p5-Exporter-Tiny security/clamav mail/mlmmj www/py-requests mail/roundcube devel/sope4 www/sogo4 databases/py-pymysql databases/py-sqlalchemy10 dns/py-dnspython www/webpy ftp/py-pycurl sysutils/logwatch
[ INFO ] All ports for Python 2:  devel/py-Jinja2 net/py-netifaces security/py-bcrypt www/py-requests databases/py-pymysql www/py-cheroot www/webpy ftp/py-pycurl
[ INFO ] Install port: databases/mariadb104-client
< SKIP > Installing port: databases/mariadb104-client.
[ INFO ] Install port: databases/mariadb104-server
< SKIP > Installing port: databases/mariadb104-server.
[ INFO ] Install port: mail/dovecot
< SKIP > Installing port: mail/dovecot.
[ INFO ] Install port: mail/dovecot-pigeonhole
< SKIP > Installing port: mail/dovecot-pigeonhole.
[ INFO ] Install port: mail/spamassassin
< SKIP > Installing port: mail/spamassassin.
[ INFO ] Install port: security/amavisd-new
< SKIP > Installing port: security/amavisd-new.
[ INFO ] Install port: mail/postfix
< SKIP > Installing port: mail/postfix.
[ INFO ] Install port: www/nginx
< SKIP > Installing port: www/nginx.
[ INFO ] Install port: www/uwsgi
< SKIP > Installing port: www/uwsgi.
[ INFO ] Install port: lang/php74
< SKIP > Installing port: lang/php74.
[ INFO ] Install port: mail/php74-imap
< SKIP > Installing port: mail/php74-imap.
[ INFO ] Install port: archivers/php74-zip
< SKIP > Installing port: archivers/php74-zip.
[ INFO ] Install port: archivers/php74-bz2
< SKIP > Installing port: archivers/php74-bz2.
[ INFO ] Install port: archivers/php74-zlib
< SKIP > Installing port: archivers/php74-zlib.
[ INFO ] Install port: devel/php74-gettext
< SKIP > Installing port: devel/php74-gettext.
[ INFO ] Install port: security/php74-openssl
< SKIP > Installing port: security/php74-openssl.
[ INFO ] Install port: www/php74-session
< SKIP > Installing port: www/php74-session.
[ INFO ] Install port: converters/php74-iconv
< SKIP > Installing port: converters/php74-iconv.
[ INFO ] Install port: textproc/php74-pspell
< SKIP > Installing port: textproc/php74-pspell.
[ INFO ] Install port: textproc/php74-dom
< SKIP > Installing port: textproc/php74-dom.
[ INFO ] Install port: databases/php74-mysqli
< SKIP > Installing port: databases/php74-mysqli.
[ INFO ] Install port: devel/p5-Exporter-Tiny
< SKIP > Installing port: devel/p5-Exporter-Tiny.
[ INFO ] Install port: security/clamav
< SKIP > Installing port: security/clamav.
[ INFO ] Install port: mail/mlmmj
< SKIP > Installing port: mail/mlmmj.
[ INFO ] Install port: www/py-requests
< SKIP > Installing port: www/py-requests.
[ INFO ] Install port: mail/roundcube
< SKIP > Installing port: mail/roundcube.
[ INFO ] Install port: devel/sope4
< SKIP > Installing port: devel/sope4.
[ INFO ] Install port: www/sogo4
< SKIP > Installing port: www/sogo4.
[ INFO ] Install port: databases/py-pymysql
< SKIP > Installing port: databases/py-pymysql.
[ INFO ] Install port: databases/py-sqlalchemy10
< SKIP > Installing port: databases/py-sqlalchemy10.
[ INFO ] Install port: dns/py-dnspython
< SKIP > Installing port: dns/py-dnspython.
[ INFO ] Install port: www/webpy
< SKIP > Installing port: www/webpy.
[ INFO ] Install port: ftp/py-pycurl
< SKIP > Installing port: ftp/py-pycurl.
[ INFO ] Install port: sysutils/logwatch
< SKIP > Installing port: sysutils/logwatch.
[ INFO ] Install port: devel/py-Jinja2
< SKIP > Installing port: devel/py-Jinja2.
[ INFO ] Install port: net/py-netifaces
< SKIP > Installing port: net/py-netifaces.
[ INFO ] Install port: security/py-bcrypt
< SKIP > Installing port: security/py-bcrypt.
[ INFO ] Install port: www/py-requests
< SKIP > Installing port: www/py-requests.
[ INFO ] Install port: databases/py-pymysql
< SKIP > Installing port: databases/py-pymysql.
[ INFO ] Install port: www/py-cheroot
< SKIP > Installing port: www/py-cheroot.
[ INFO ] Install port: www/webpy
[ INFO ] Installing port: www/webpy (2020-10-07 08:54:03) ...
===>  Cleaning for py38-webpy-0.61
===>   py27-webpy-0.61 depends on package: py27-setuptools>0 - found
===>   py27-webpy-0.61 depends on file: /usr/local/bin/python2.7 - found
===>  Configuring for py27-webpy-0.61
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 7, in <module>
    from web import __version__
  File "web/__init__.py", line 4, in <module>
    from . import (  # noqa: F401
  File "web/db.py", line 771
    print("ERR:", str(sql_query), file=debug)
                                      ^
SyntaxError: invalid syntax
*** Error code 1

Stop.
make: stopped in /usr/ports/www/webpy
<< ERROR >> Port was not successfully installed, please fix it manually and then re-execute this script.

Please can you help me fix it? The port py27-webpy-0.61 is EOL.

----

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

2

Re: FreeBSD installation failed

FreeBSD support is currently broken, we're working on it.

We ported mlmmjadmin, iRedAPD, iRedAdmin(-Pro) from Python 2 to 3, now the latest git version is almost working, still testing and fixing minor issues. Stay tuned.

Track the changes here: https://github.com/iredmail/iRedMail